1 // SPDX-License-Identifier: GPL-2.0-or-later
2 // Copyright 2019 IBM Corp.
5 #include "aspeed-g6.dtsi"
6 #include <dt-bindings/gpio/aspeed-gpio.h>
7 #include <dt-bindings/i2c/i2c.h>
8 #include <dt-bindings/leds/leds-pca955x.h>
12 compatible = "ibm,rainier-bmc", "aspeed,ast2600";
37 bootargs = "console=ttyS4,115200n8";
41 device_type = "memory";
42 reg = <0x80000000 0x40000000>;
50 flash_memory: region@B8000000 {
52 reg = <0xB8000000 0x04000000>; /* 64M */
55 vga_memory: region@bf000000 {
57 compatible = "shared-dma-pool";
58 reg = <0xbf000000 0x01000000>; /* 16M */
63 compatible = "gpio-keys";
66 label = "ps0-presence";
67 gpios = <&gpio0 ASPEED_GPIO(S, 0) GPIO_ACTIVE_LOW>;
68 linux,code = <ASPEED_GPIO(S, 0)>;
72 label = "ps1-presence";
73 gpios = <&gpio0 ASPEED_GPIO(S, 1) GPIO_ACTIVE_LOW>;
74 linux,code = <ASPEED_GPIO(S, 1)>;
78 label = "ps2-presence";
79 gpios = <&gpio0 ASPEED_GPIO(S, 2) GPIO_ACTIVE_LOW>;
80 linux,code = <ASPEED_GPIO(S, 2)>;
84 label = "ps3-presence";
85 gpios = <&gpio0 ASPEED_GPIO(S, 3) GPIO_ACTIVE_LOW>;
86 linux,code = <ASPEED_GPIO(S, 3)>;
91 compatible = "i2c-mux-gpio";
97 mux-gpios = <&gpio0 ASPEED_GPIO(G, 4) GPIO_ACTIVE_HIGH>,
98 <&gpio0 ASPEED_GPIO(G, 5) GPIO_ACTIVE_HIGH>;
102 #address-cells = <1>;
108 #address-cells = <1>;
114 #address-cells = <1>;
120 #address-cells = <1>;
133 /*A0-A7*/ "","","","","","","","",
134 /*B0-B7*/ "","","","","","","checkstop","",
135 /*C0-C7*/ "","","","","","","","",
136 /*D0-D7*/ "","","","","","","","",
137 /*E0-E7*/ "","","","","","","","",
138 /*F0-F7*/ "","","","","","","","",
139 /*G0-G7*/ "","","","","","","","",
140 /*H0-H7*/ "","","","","","","","",
141 /*I0-I7*/ "","","","","","","","",
142 /*J0-J7*/ "","","","","","","","",
143 /*K0-K7*/ "","","","","","","","",
144 /*L0-L7*/ "","","","","","","","",
145 /*M0-M7*/ "","","","","","","","",
146 /*N0-N7*/ "","","","","","","","",
147 /*O0-O7*/ "","","","usb-power","","","","",
148 /*P0-P7*/ "","","","","","","","",
149 /*Q0-Q7*/ "cfam-reset","","","","","","","",
150 /*R0-R7*/ "","","","","","","","",
151 /*S0-S7*/ "presence-ps0","presence-ps1","presence-ps2","presence-ps3",
153 /*T0-T7*/ "","","","","","","","",
154 /*U0-U7*/ "","","","","","","","",
155 /*V0-V7*/ "","","","","","","","",
156 /*W0-W7*/ "","","","","","","","",
157 /*X0-X7*/ "","","","","","","","",
158 /*Y0-Y7*/ "","","","","","","","",
159 /*Z0-Z7*/ "","","","","","","","",
160 /*AA0-AA7*/ "","","","","","","","",
161 /*AB0-AB7*/ "","","","","","","","",
162 /*AC0-AC7*/ "","","","","","","","";
166 gpios = <ASPEED_GPIO(P, 7) GPIO_OPEN_DRAIN>;
168 line-name = "mclr_vpp";
173 gpios = <ASPEED_GPIO(G, 6) GPIO_ACTIVE_LOW>;
175 line-name = "I2C3_MUX_OE_N";
183 &pinctrl_emmc_default {
194 #address-cells = <2>;
198 * CFAM Reset is supposed to be active low but pass1 hardware is wired
201 cfam-reset-gpios = <&gpio0 ASPEED_GPIO(Q, 0) GPIO_ACTIVE_HIGH>;
205 #address-cells = <1>;
210 compatible = "ibm,fsi2pib";
211 reg = <0x1000 0x400>;
215 compatible = "ibm,fsi-i2c-master";
216 reg = <0x1800 0x400>;
217 #address-cells = <1>;
222 compatible = "ibm,fsi2spi";
223 reg = <0x1c00 0x400>;
224 #address-cells = <1>;
229 #address-cells = <1>;
233 at25,byte-len = <0x80000>;
234 at25,addr-mode = <4>;
235 at25,page-size = <256>;
237 compatible = "atmel,at25";
239 spi-max-frequency = <1000000>;
245 #address-cells = <1>;
249 at25,byte-len = <0x80000>;
250 at25,addr-mode = <4>;
251 at25,page-size = <256>;
253 compatible = "atmel,at25";
255 spi-max-frequency = <1000000>;
261 #address-cells = <1>;
265 at25,byte-len = <0x80000>;
266 at25,addr-mode = <4>;
267 at25,page-size = <256>;
269 compatible = "atmel,at25";
271 spi-max-frequency = <1000000>;
277 #address-cells = <1>;
281 at25,byte-len = <0x80000>;
282 at25,addr-mode = <4>;
283 at25,page-size = <256>;
285 compatible = "atmel,at25";
287 spi-max-frequency = <1000000>;
293 compatible = "ibm,p9-sbefifo";
294 reg = <0x2400 0x400>;
295 #address-cells = <1>;
299 compatible = "ibm,p10-occ";
304 compatible = "fsi-master-hub";
305 reg = <0x3400 0x400>;
306 #address-cells = <2>;
317 #address-cells = <1>;
322 compatible = "ibm,fsi2pib";
323 reg = <0x1000 0x400>;
327 compatible = "ibm,fsi-i2c-master";
328 reg = <0x1800 0x400>;
329 #address-cells = <1>;
334 compatible = "ibm,fsi2spi";
335 reg = <0x1c00 0x400>;
336 #address-cells = <1>;
341 #address-cells = <1>;
345 at25,byte-len = <0x80000>;
346 at25,addr-mode = <4>;
347 at25,page-size = <256>;
349 compatible = "atmel,at25";
351 spi-max-frequency = <1000000>;
357 #address-cells = <1>;
361 at25,byte-len = <0x80000>;
362 at25,addr-mode = <4>;
363 at25,page-size = <256>;
365 compatible = "atmel,at25";
367 spi-max-frequency = <1000000>;
373 #address-cells = <1>;
377 at25,byte-len = <0x80000>;
378 at25,addr-mode = <4>;
379 at25,page-size = <256>;
381 compatible = "atmel,at25";
383 spi-max-frequency = <1000000>;
389 #address-cells = <1>;
393 at25,byte-len = <0x80000>;
394 at25,addr-mode = <4>;
395 at25,page-size = <256>;
397 compatible = "atmel,at25";
399 spi-max-frequency = <1000000>;
405 compatible = "ibm,p9-sbefifo";
406 reg = <0x2400 0x400>;
407 #address-cells = <1>;
411 compatible = "ibm,p10-occ";
416 compatible = "fsi-master-hub";
417 reg = <0x3400 0x400>;
418 #address-cells = <2>;
427 #address-cells = <1>;
432 compatible = "ibm,fsi2pib";
433 reg = <0x1000 0x400>;
437 compatible = "ibm,fsi-i2c-master";
438 reg = <0x1800 0x400>;
439 #address-cells = <1>;
444 compatible = "ibm,fsi2spi";
445 reg = <0x1c00 0x400>;
446 #address-cells = <1>;
451 #address-cells = <1>;
455 at25,byte-len = <0x80000>;
456 at25,addr-mode = <4>;
457 at25,page-size = <256>;
459 compatible = "atmel,at25";
461 spi-max-frequency = <1000000>;
467 #address-cells = <1>;
471 at25,byte-len = <0x80000>;
472 at25,addr-mode = <4>;
473 at25,page-size = <256>;
475 compatible = "atmel,at25";
477 spi-max-frequency = <1000000>;
483 #address-cells = <1>;
487 at25,byte-len = <0x80000>;
488 at25,addr-mode = <4>;
489 at25,page-size = <256>;
491 compatible = "atmel,at25";
493 spi-max-frequency = <1000000>;
499 #address-cells = <1>;
503 at25,byte-len = <0x80000>;
504 at25,addr-mode = <4>;
505 at25,page-size = <256>;
507 compatible = "atmel,at25";
509 spi-max-frequency = <1000000>;
515 compatible = "ibm,p9-sbefifo";
516 reg = <0x2400 0x400>;
517 #address-cells = <1>;
521 compatible = "ibm,p10-occ";
526 compatible = "fsi-master-hub";
527 reg = <0x3400 0x400>;
528 #address-cells = <2>;
536 /* Legacy OCC numbering (to get rid of when userspace is fixed) */
557 compatible = "atmel,24c64";
562 compatible = "ti,tca9554";
569 gpios = <4 GPIO_ACTIVE_HIGH>;
571 line-name = "smbus0";
589 compatible = "ibm,cffps";
594 compatible = "ibm,cffps";
599 compatible = "ibm,cffps";
604 compatible = "ibm,cffps";
613 compatible = "ti,tmp275";
618 compatible = "ti,tmp275";
623 compatible = "ti,tmp275";
628 compatible = "atmel,24c64";
633 compatible = "atmel,24c64";
638 compatible = "atmel,24c64";
647 compatible = "ti,tmp275";
652 compatible = "ti,tmp275";
657 compatible = "atmel,24c64";
662 compatible = "atmel,24c64";
671 compatible = "ti,tmp275";
676 compatible = "ti,tmp275";
681 compatible = "ti,tmp275";
686 compatible = "atmel,24c64";
691 compatible = "atmel,24c64";
696 compatible = "atmel,24c64";
701 compatible = "atmel,24c64";
711 compatible = "silabs,si7020";
716 compatible = "ti,tmp275";
721 compatible = "maxim,max31785a";
723 #address-cells = <1>;
727 compatible = "pmbus-fan";
733 compatible = "pmbus-fan";
739 compatible = "pmbus-fan";
745 compatible = "pmbus-fan";
752 compatible = "nxp,pca9552";
754 #address-cells = <1>;
762 type = <PCA955X_TYPE_GPIO>;
767 type = <PCA955X_TYPE_GPIO>;
772 type = <PCA955X_TYPE_GPIO>;
777 type = <PCA955X_TYPE_GPIO>;
782 type = <PCA955X_TYPE_GPIO>;
787 type = <PCA955X_TYPE_GPIO>;
792 type = <PCA955X_TYPE_GPIO>;
797 type = <PCA955X_TYPE_GPIO>;
802 type = <PCA955X_TYPE_GPIO>;
807 type = <PCA955X_TYPE_GPIO>;
812 type = <PCA955X_TYPE_GPIO>;
817 type = <PCA955X_TYPE_GPIO>;
822 type = <PCA955X_TYPE_GPIO>;
827 type = <PCA955X_TYPE_GPIO>;
832 type = <PCA955X_TYPE_GPIO>;
837 type = <PCA955X_TYPE_GPIO>;
842 compatible = "ibm,op-panel";
843 reg = <(0x62 | I2C_OWN_SLAVE_ADDRESS)>;
847 compatible = "infineon,dps310";
849 #io-channel-cells = <0>;
853 compatible = "atmel,24c64";
858 compatible = "atmel,24c64";
867 compatible = "ti,ucd90320";
872 compatible = "epson,rx8900";
877 compatible = "ti,tmp275";
882 compatible = "ti,tmp275";
887 compatible = "atmel,24c64";
892 compatible = "atmel,24c64";
897 compatible = "nxp,pca9552";
899 #address-cells = <1>;
906 type = <PCA955X_TYPE_GPIO>;
911 type = <PCA955X_TYPE_GPIO>;
916 type = <PCA955X_TYPE_GPIO>;
921 type = <PCA955X_TYPE_GPIO>;
926 type = <PCA955X_TYPE_GPIO>;
931 type = <PCA955X_TYPE_GPIO>;
936 type = <PCA955X_TYPE_GPIO>;
941 type = <PCA955X_TYPE_GPIO>;
946 type = <PCA955X_TYPE_GPIO>;
951 type = <PCA955X_TYPE_GPIO>;
956 type = <PCA955X_TYPE_GPIO>;
961 type = <PCA955X_TYPE_GPIO>;
966 type = <PCA955X_TYPE_GPIO>;
971 type = <PCA955X_TYPE_GPIO>;
976 type = <PCA955X_TYPE_GPIO>;
981 type = <PCA955X_TYPE_GPIO>;
991 compatible = "ti,tmp423";
996 compatible = "ti,tmp423";
1001 compatible = "atmel,24c128";
1010 compatible = "ti,tmp423";
1015 compatible = "ti,tmp423";
1020 compatible = "atmel,24c128";
1029 compatible = "ti,tmp275";
1034 compatible = "ti,tmp275";
1039 compatible = "atmel,24c64";
1044 compatible = "atmel,24c64";
1057 compatible = "atmel,24c64";
1066 compatible = "atmel,24c64";
1075 compatible = "atmel,24c64";
1090 memory-region = <&flash_memory>;
1095 pinctrl-names = "default";
1096 pinctrl-0 = <&pinctrl_rmii3_default>;
1097 clocks = <&syscon ASPEED_CLK_GATE_MAC3CLK>,
1098 <&syscon ASPEED_CLK_MAC3RCLK>;
1099 clock-names = "MACCLK", "RCLK";
1105 pinctrl-names = "default";
1106 pinctrl-0 = <&pinctrl_rmii4_default>;
1107 clocks = <&syscon ASPEED_CLK_GATE_MAC4CLK>,
1108 <&syscon ASPEED_CLK_MAC4RCLK>;
1109 clock-names = "MACCLK", "RCLK";
1119 spi-max-frequency = <50000000>;
1120 #include "openbmc-flash-layout-128.dtsi"
1126 pinctrl-names = "default";
1127 pinctrl-0 = <&pinctrl_spi1_default>;
1133 spi-max-frequency = <100000000>;
1139 memory-region = <&vga_memory>;