1 // SPDX-License-Identifier: GPL-2.0+
3 #include "aspeed-g5.dtsi"
4 #include <dt-bindings/gpio/aspeed-gpio.h>
5 #include <dt-bindings/leds/leds-pca955x.h>
8 model = "FP5280G2 BMC";
9 compatible = "inspur,fp5280g2-bmc", "aspeed,ast2500";
13 bootargs = "console=ttyS4,115200 earlyprintk";
17 reg = <0x80000000 0x20000000>;
25 vga_memory: framebuffer@9f000000 {
27 reg = <0x9f000000 0x01000000>; /* 16M */
30 flash_memory: region@98000000 {
32 reg = <0x98000000 0x04000000>; /* 64M */
35 coldfire_memory: codefire_memory@9ef00000 {
36 reg = <0x9ef00000 0x00100000>;
40 gfx_memory: framebuffer {
42 alignment = <0x01000000>;
43 compatible = "shared-dma-pool";
47 video_engine_memory: jpegbuffer {
48 size = <0x02000000>; /* 32M */
49 alignment = <0x01000000>;
50 compatible = "shared-dma-pool";
56 compatible = "aspeed,ast2500-cf-fsi-master", "fsi-master";
61 memory-region = <&coldfire_memory>;
62 aspeed,sram = <&sram>;
63 aspeed,cvic = <&cvic>;
65 clock-gpios = <&gpio ASPEED_GPIO(AA, 0) GPIO_ACTIVE_HIGH>;
66 data-gpios = <&gpio ASPEED_GPIO(AA, 2) GPIO_ACTIVE_HIGH>;
67 mux-gpios = <&gpio ASPEED_GPIO(I, 2) GPIO_ACTIVE_HIGH>;
68 enable-gpios = <&gpio ASPEED_GPIO(I, 3) GPIO_ACTIVE_HIGH>;
69 trans-gpios = <&gpio ASPEED_GPIO(R, 2) GPIO_ACTIVE_HIGH>;
73 compatible = "gpio-keys";
77 gpios = <&gpio ASPEED_GPIO(B, 3) GPIO_ACTIVE_LOW>;
78 linux,code = <ASPEED_GPIO(B, 3)>;
82 label = "ps0-presence";
83 gpios = <&gpio ASPEED_GPIO(F, 0) GPIO_ACTIVE_LOW>;
84 linux,code = <ASPEED_GPIO(F, 0)>;
88 label = "ps1-presence";
89 gpios = <&gpio ASPEED_GPIO(F, 1) GPIO_ACTIVE_LOW>;
90 linux,code = <ASPEED_GPIO(F, 1)>;
96 compatible = "gpio-keys-polled";
97 poll-interval = <1000>;
100 label = "fan0-presence";
101 gpios = <&pca1 0 GPIO_ACTIVE_LOW>;
106 label = "fan1-presence";
107 gpios = <&pca1 1 GPIO_ACTIVE_LOW>;
112 label = "fan2-presence";
113 gpios = <&pca1 2 GPIO_ACTIVE_LOW>;
118 label = "fan3-presence";
119 gpios = <&pca1 3 GPIO_ACTIVE_LOW>;
124 label = "fan4-presence";
125 gpios = <&pca1 4 GPIO_ACTIVE_LOW>;
130 label = "fan5-presence";
131 gpios = <&pca1 5 GPIO_ACTIVE_LOW>;
136 label = "fan6-presence";
137 gpios = <&pca1 6 GPIO_ACTIVE_LOW>;
142 label = "fan7-presence";
143 gpios = <&pca1 7 GPIO_ACTIVE_LOW>;
149 compatible = "gpio-leds";
153 /* TODO: dummy gpio */
154 gpios = <&gpio ASPEED_GPIO(R, 1) GPIO_ACTIVE_LOW>;
159 gpios = <&gpio ASPEED_GPIO(B, 7) GPIO_ACTIVE_LOW>;
163 label = "front-memory";
164 gpios = <&gpio ASPEED_GPIO(F, 4) GPIO_ACTIVE_LOW>;
168 label = "front-syshot";
169 gpios = <&gpio ASPEED_GPIO(I, 1) GPIO_ACTIVE_LOW>;
173 label = "front-syshealth";
174 gpios = <&gpio ASPEED_GPIO(I, 0) GPIO_ACTIVE_LOW>;
179 gpios = <&gpio ASPEED_GPIO(H, 4) GPIO_ACTIVE_LOW>;
184 gpios = <&gpio ASPEED_GPIO(B, 2) GPIO_ACTIVE_LOW>;
189 gpios = <&gpio ASPEED_GPIO(Z, 7) GPIO_ACTIVE_LOW>;
194 compatible = "iio-hwmon";
195 io-channels = <&adc 15>;
199 compatible = "iio-hwmon";
200 io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>, <&adc 4>,
201 <&adc 5>, <&adc 6>, <&adc 7>, <&adc 8>, <&adc 9>,
202 <&adc 10>, <&adc 11>, <&adc 12>, <&adc 13>, <&adc 14>;
214 spi-max-frequency = <50000000>;
215 #include "openbmc-flash-layout.dtsi"
221 pinctrl-names = "default";
222 pinctrl-0 = <&pinctrl_spi1_default>;
228 spi-max-frequency = <100000000>;
233 /* Rear RS-232 connector */
235 pinctrl-names = "default";
236 pinctrl-0 = <&pinctrl_txd1_default
237 &pinctrl_rxd1_default
238 &pinctrl_nrts1_default
239 &pinctrl_ndtr1_default
240 &pinctrl_ndsr1_default
241 &pinctrl_ncts1_default
242 &pinctrl_ndcd1_default
243 &pinctrl_nri1_default>;
249 pinctrl-names = "default";
250 pinctrl-0 = <&pinctrl_txd2_default &pinctrl_rxd2_default>;
256 pinctrl-names = "default";
257 pinctrl-0 = <&pinctrl_txd3_default &pinctrl_rxd3_default>;
266 memory-region = <&flash_memory>;
272 pinctrl-names = "default";
273 pinctrl-0 = <&pinctrl_rmii1_default>;
274 clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>,
275 <&syscon ASPEED_CLK_MAC1RCLK>;
276 clock-names = "MACCLK", "RCLK";
282 pinctrl-names = "default";
283 pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>;
295 compatible = "atmel,24c256";
306 compatible = "ti,tmp112";
312 compatible = "ti,tmp112";
318 compatible = "nxp,pca9546";
320 #address-cells = <1>;
324 #address-cells = <1>;
329 compatible = "ti,tmp112";
337 #address-cells = <1>;
342 compatible = "ti,tmp112";
349 #address-cells = <1>;
354 compatible = "ti,tmp112";
361 #address-cells = <1>;
366 compatible = "microchip,emc1413";
383 compatible = "dallas,ds3232";
402 compatible = "nxp,pca9546";
404 #address-cells = <1>;
408 #address-cells = <1>;
413 compatible = "adi,adm1278";
418 compatible = "adi,adm1278";
423 compatible = "adi,adm1278";
428 compatible = "adi,adm1278";
443 compatible = "nxp,pca9555";
445 #address-cells = <1>;
453 type = <PCA955X_TYPE_GPIO>;
458 type = <PCA955X_TYPE_GPIO>;
463 type = <PCA955X_TYPE_GPIO>;
468 type = <PCA955X_TYPE_GPIO>;
473 type = <PCA955X_TYPE_GPIO>;
478 type = <PCA955X_TYPE_GPIO>;
483 type = <PCA955X_TYPE_GPIO>;
488 type = <PCA955X_TYPE_GPIO>;
494 compatible = "nxp,pca9555";
496 #address-cells = <1>;
504 type = <PCA955X_TYPE_GPIO>;
509 type = <PCA955X_TYPE_GPIO>;
514 type = <PCA955X_TYPE_GPIO>;
519 type = <PCA955X_TYPE_GPIO>;
524 type = <PCA955X_TYPE_GPIO>;
529 type = <PCA955X_TYPE_GPIO>;
534 type = <PCA955X_TYPE_GPIO>;
539 type = <PCA955X_TYPE_GPIO>;
544 compatible = "nxp,pca9555";
546 #address-cells = <1>;
554 type = <PCA955X_TYPE_GPIO>;
559 type = <PCA955X_TYPE_GPIO>;
564 type = <PCA955X_TYPE_GPIO>;
569 type = <PCA955X_TYPE_GPIO>;
574 type = <PCA955X_TYPE_GPIO>;
579 type = <PCA955X_TYPE_GPIO>;
584 type = <PCA955X_TYPE_GPIO>;
589 type = <PCA955X_TYPE_GPIO>;
594 compatible = "nxp,pca9555";
596 #address-cells = <1>;
604 type = <PCA955X_TYPE_GPIO>;
609 type = <PCA955X_TYPE_GPIO>;
614 type = <PCA955X_TYPE_GPIO>;
619 type = <PCA955X_TYPE_GPIO>;
624 type = <PCA955X_TYPE_GPIO>;
629 type = <PCA955X_TYPE_GPIO>;
634 type = <PCA955X_TYPE_GPIO>;
639 type = <PCA955X_TYPE_GPIO>;
644 compatible = "nxp,pca9555";
646 #address-cells = <1>;
654 type = <PCA955X_TYPE_GPIO>;
659 type = <PCA955X_TYPE_GPIO>;
664 type = <PCA955X_TYPE_GPIO>;
669 type = <PCA955X_TYPE_GPIO>;
674 type = <PCA955X_TYPE_GPIO>;
679 type = <PCA955X_TYPE_GPIO>;
684 type = <PCA955X_TYPE_GPIO>;
689 type = <PCA955X_TYPE_GPIO>;
694 compatible = "nxp,pca9555";
696 #address-cells = <1>;
704 type = <PCA955X_TYPE_GPIO>;
709 type = <PCA955X_TYPE_GPIO>;
714 type = <PCA955X_TYPE_GPIO>;
719 type = <PCA955X_TYPE_GPIO>;
724 type = <PCA955X_TYPE_GPIO>;
729 type = <PCA955X_TYPE_GPIO>;
734 type = <PCA955X_TYPE_GPIO>;
739 type = <PCA955X_TYPE_GPIO>;
759 compatible = "pmbus";
764 compatible = "pmbus";
780 memory-region = <&gfx_memory>;
784 aspeed,external-nodes = <&gfx &lhc>;
788 aspeed,reset-type = "none";
789 aspeed,external-signal;
790 aspeed,ext-push-pull;
791 aspeed,ext-active-high;
793 pinctrl-names = "default";
794 pinctrl-0 = <&pinctrl_wdtrst1_default>;
804 pinctrl-names = "default";
805 pinctrl-0 = <&pinctrl_adc0_default &pinctrl_adc1_default
806 &pinctrl_adc2_default &pinctrl_adc3_default &pinctrl_adc4_default
807 &pinctrl_adc5_default &pinctrl_adc6_default &pinctrl_adc7_default
808 &pinctrl_adc8_default &pinctrl_adc9_default &pinctrl_adc10_default
809 &pinctrl_adc11_default &pinctrl_adc12_default &pinctrl_adc13_default
810 &pinctrl_adc14_default &pinctrl_adc15_default>;
819 memory-region = <&video_engine_memory>;
824 pinctrl-names = "default";
825 pinctrl-0 = <&pinctrl_pwm0_default &pinctrl_pwm1_default
826 &pinctrl_pwm2_default &pinctrl_pwm3_default
827 &pinctrl_pwm4_default &pinctrl_pwm5_default
828 &pinctrl_pwm6_default &pinctrl_pwm7_default>;
832 aspeed,fan-tach-ch = /bits/ 8 <0x00 0x01>;
837 aspeed,fan-tach-ch = /bits/ 8 <0x02 0x03>;
842 aspeed,fan-tach-ch = /bits/ 8 <0x04 0x05>;
847 aspeed,fan-tach-ch = /bits/ 8 <0x06 0x07>;
852 aspeed,fan-tach-ch = /bits/ 8 <0x08 0x09>;
857 aspeed,fan-tach-ch = /bits/ 8 <0x0a 0x0b>;
862 aspeed,fan-tach-ch = /bits/ 8 <0x0c 0x0d>;
867 aspeed,fan-tach-ch = /bits/ 8 <0x0e 0x0f>;
872 #include "ibm-power9-dual.dtsi"