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>;
209 /*A0-A7*/ "","","","","","","","",
210 /*B0-B7*/ "","","front-psu","checkstop","cfam-reset","","","init-ok",
211 /*C0-C7*/ "","","","","","","","",
212 /*D0-D7*/ "","","","","","","","",
213 /*E0-E7*/ "","","","","","","","",
214 /*F0-F7*/ "ps0-presence","ps1-presence","","","front-memory","","","",
215 /*G0-G7*/ "","","","","","","","",
216 /*H0-H7*/ "","","","","front-fan","","","",
217 /*I0-I7*/ "front-syshealth","front-syshot","mux-gpios","enable-gpios","","","","",
218 /*J0-J7*/ "","","","","","","","",
219 /*K0-K7*/ "","","","","","","","",
220 /*L0-L7*/ "","","","","","","","",
221 /*M0-M7*/ "","","","","","","","",
222 /*N0-N7*/ "","","","","","","","",
223 /*O0-O7*/ "","","","","","","","",
224 /*P0-P7*/ "","","","","","","","",
225 /*Q0-Q7*/ "","","","","","","","",
226 /*R0-R7*/ "","power","trans-gpios","","","","","",
227 /*S0-S7*/ "","","","","","","","",
228 /*T0-T7*/ "","","","","","","","",
229 /*U0-U7*/ "","","","","","","","",
230 /*V0-V7*/ "","","","","","","","",
231 /*W0-W7*/ "","","","","","","","",
232 /*X0-X7*/ "","","","","","","","",
233 /*Y0-Y7*/ "","","","","","","","",
234 /*Z0-Z7*/ "","","","","","","","identify",
235 /*AA0-AA7*/ "clock-gpios","","data-gpios","","","","","",
236 /*AB0-AB7*/ "","","","","","","","",
237 /*AC0-AC7*/ "","","","","","","","";
247 spi-max-frequency = <50000000>;
248 #include "openbmc-flash-layout.dtsi"
254 pinctrl-names = "default";
255 pinctrl-0 = <&pinctrl_spi1_default>;
261 spi-max-frequency = <100000000>;
266 /* Rear RS-232 connector */
268 pinctrl-names = "default";
269 pinctrl-0 = <&pinctrl_txd1_default
270 &pinctrl_rxd1_default
271 &pinctrl_nrts1_default
272 &pinctrl_ndtr1_default
273 &pinctrl_ndsr1_default
274 &pinctrl_ncts1_default
275 &pinctrl_ndcd1_default
276 &pinctrl_nri1_default>;
282 pinctrl-names = "default";
283 pinctrl-0 = <&pinctrl_txd2_default &pinctrl_rxd2_default>;
289 pinctrl-names = "default";
290 pinctrl-0 = <&pinctrl_txd3_default &pinctrl_rxd3_default>;
299 memory-region = <&flash_memory>;
305 pinctrl-names = "default";
306 pinctrl-0 = <&pinctrl_rmii1_default>;
307 clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>,
308 <&syscon ASPEED_CLK_MAC1RCLK>;
309 clock-names = "MACCLK", "RCLK";
315 pinctrl-names = "default";
316 pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>;
328 compatible = "atmel,24c256";
339 compatible = "ti,tmp112";
345 compatible = "ti,tmp112";
351 compatible = "nxp,pca9546";
353 #address-cells = <1>;
357 #address-cells = <1>;
362 compatible = "ti,tmp112";
370 #address-cells = <1>;
375 compatible = "ti,tmp112";
382 #address-cells = <1>;
387 compatible = "ti,tmp112";
394 #address-cells = <1>;
399 compatible = "microchip,emc1413";
416 compatible = "dallas,ds3232";
435 compatible = "nxp,pca9546";
437 #address-cells = <1>;
441 #address-cells = <1>;
446 compatible = "adi,adm1278";
451 compatible = "adi,adm1278";
456 compatible = "adi,adm1278";
461 compatible = "adi,adm1278";
476 compatible = "nxp,pca9555";
478 #address-cells = <1>;
486 type = <PCA955X_TYPE_GPIO>;
491 type = <PCA955X_TYPE_GPIO>;
496 type = <PCA955X_TYPE_GPIO>;
501 type = <PCA955X_TYPE_GPIO>;
506 type = <PCA955X_TYPE_GPIO>;
511 type = <PCA955X_TYPE_GPIO>;
516 type = <PCA955X_TYPE_GPIO>;
521 type = <PCA955X_TYPE_GPIO>;
527 compatible = "nxp,pca9555";
529 #address-cells = <1>;
537 type = <PCA955X_TYPE_GPIO>;
542 type = <PCA955X_TYPE_GPIO>;
547 type = <PCA955X_TYPE_GPIO>;
552 type = <PCA955X_TYPE_GPIO>;
557 type = <PCA955X_TYPE_GPIO>;
562 type = <PCA955X_TYPE_GPIO>;
567 type = <PCA955X_TYPE_GPIO>;
572 type = <PCA955X_TYPE_GPIO>;
577 compatible = "nxp,pca9555";
579 #address-cells = <1>;
587 type = <PCA955X_TYPE_GPIO>;
592 type = <PCA955X_TYPE_GPIO>;
597 type = <PCA955X_TYPE_GPIO>;
602 type = <PCA955X_TYPE_GPIO>;
607 type = <PCA955X_TYPE_GPIO>;
612 type = <PCA955X_TYPE_GPIO>;
617 type = <PCA955X_TYPE_GPIO>;
622 type = <PCA955X_TYPE_GPIO>;
627 compatible = "nxp,pca9555";
629 #address-cells = <1>;
637 type = <PCA955X_TYPE_GPIO>;
642 type = <PCA955X_TYPE_GPIO>;
647 type = <PCA955X_TYPE_GPIO>;
652 type = <PCA955X_TYPE_GPIO>;
657 type = <PCA955X_TYPE_GPIO>;
662 type = <PCA955X_TYPE_GPIO>;
667 type = <PCA955X_TYPE_GPIO>;
672 type = <PCA955X_TYPE_GPIO>;
677 compatible = "nxp,pca9555";
679 #address-cells = <1>;
687 type = <PCA955X_TYPE_GPIO>;
692 type = <PCA955X_TYPE_GPIO>;
697 type = <PCA955X_TYPE_GPIO>;
702 type = <PCA955X_TYPE_GPIO>;
707 type = <PCA955X_TYPE_GPIO>;
712 type = <PCA955X_TYPE_GPIO>;
717 type = <PCA955X_TYPE_GPIO>;
722 type = <PCA955X_TYPE_GPIO>;
727 compatible = "nxp,pca9555";
729 #address-cells = <1>;
737 type = <PCA955X_TYPE_GPIO>;
742 type = <PCA955X_TYPE_GPIO>;
747 type = <PCA955X_TYPE_GPIO>;
752 type = <PCA955X_TYPE_GPIO>;
757 type = <PCA955X_TYPE_GPIO>;
762 type = <PCA955X_TYPE_GPIO>;
767 type = <PCA955X_TYPE_GPIO>;
772 type = <PCA955X_TYPE_GPIO>;
792 compatible = "inspur,ipsps1";
797 compatible = "inspur,ipsps1";
813 memory-region = <&gfx_memory>;
817 aspeed,external-nodes = <&gfx &lhc>;
821 aspeed,reset-type = "none";
822 aspeed,external-signal;
823 aspeed,ext-push-pull;
824 aspeed,ext-active-high;
826 pinctrl-names = "default";
827 pinctrl-0 = <&pinctrl_wdtrst1_default>;
837 pinctrl-names = "default";
838 pinctrl-0 = <&pinctrl_adc0_default &pinctrl_adc1_default
839 &pinctrl_adc2_default &pinctrl_adc3_default &pinctrl_adc4_default
840 &pinctrl_adc5_default &pinctrl_adc6_default &pinctrl_adc7_default
841 &pinctrl_adc8_default &pinctrl_adc9_default &pinctrl_adc10_default
842 &pinctrl_adc11_default &pinctrl_adc12_default &pinctrl_adc13_default
843 &pinctrl_adc14_default &pinctrl_adc15_default>;
852 memory-region = <&video_engine_memory>;
857 pinctrl-names = "default";
858 pinctrl-0 = <&pinctrl_pwm0_default &pinctrl_pwm1_default
859 &pinctrl_pwm2_default &pinctrl_pwm3_default
860 &pinctrl_pwm4_default &pinctrl_pwm5_default
861 &pinctrl_pwm6_default &pinctrl_pwm7_default>;
865 aspeed,fan-tach-ch = /bits/ 8 <0x00 0x01>;
870 aspeed,fan-tach-ch = /bits/ 8 <0x02 0x03>;
875 aspeed,fan-tach-ch = /bits/ 8 <0x04 0x05>;
880 aspeed,fan-tach-ch = /bits/ 8 <0x06 0x07>;
885 aspeed,fan-tach-ch = /bits/ 8 <0x08 0x09>;
890 aspeed,fan-tach-ch = /bits/ 8 <0x0a 0x0b>;
895 aspeed,fan-tach-ch = /bits/ 8 <0x0c 0x0d>;
900 aspeed,fan-tach-ch = /bits/ 8 <0x0e 0x0f>;
905 #include "ibm-power9-dual.dtsi"