1 // SPDX-License-Identifier: GPL-2.0-or-later
2 // Copyright 2022 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,bonnell-bmc", "aspeed,ast2600";
17 i2c110 = &cfam0_i2c10;
18 i2c111 = &cfam0_i2c11;
19 i2c112 = &cfam0_i2c12;
20 i2c113 = &cfam0_i2c13;
21 i2c114 = &cfam0_i2c14;
22 i2c115 = &cfam0_i2c15;
25 i2c210 = &cfam1_i2c10;
26 i2c211 = &cfam1_i2c11;
27 i2c214 = &cfam1_i2c14;
28 i2c215 = &cfam1_i2c15;
29 i2c216 = &cfam1_i2c16;
30 i2c217 = &cfam1_i2c17;
33 i2c16 = &i2c11mux0chn0;
34 i2c17 = &i2c11mux0chn1;
35 i2c18 = &i2c11mux0chn2;
36 i2c19 = &i2c11mux0chn3;
51 bootargs = "console=ttyS4,115200n8 earlycon";
55 device_type = "memory";
56 reg = <0x80000000 0x40000000>;
65 compatible = "ramoops";
66 reg = <0xb3e00000 0x200000>; /* 16 * (4 * 0x8000) */
67 record-size = <0x8000>;
68 console-size = <0x8000>;
69 ftrace-size = <0x8000>;
71 max-reason = <3>; /* KMSG_DUMP_EMERG */
74 /* LPC FW cycle bridge region requires natural alignment */
75 flash_memory: region@b4000000 {
77 reg = <0xb4000000 0x04000000>; /* 64M */
80 /* VGA region is dictated by hardware strapping */
81 vga_memory: region@bf000000 {
83 compatible = "shared-dma-pool";
84 reg = <0xbf000000 0x01000000>; /* 16M */
89 compatible = "gpio-leds";
92 gpios = <&gpio0 ASPEED_GPIO(G, 0) GPIO_ACTIVE_LOW>;
96 gpios = <&gpio0 ASPEED_GPIO(G, 1) GPIO_ACTIVE_LOW>;
100 gpios = <&gpio0 ASPEED_GPIO(H, 2) GPIO_ACTIVE_LOW>;
104 gpios = <&gpio0 ASPEED_GPIO(H, 3) GPIO_ACTIVE_LOW>;
109 compatible = "gpio-keys-polled";
110 #address-cells = <1>;
112 poll-interval = <1000>;
115 label = "fan0-presence";
116 gpios = <&gpio0 ASPEED_GPIO(F, 4) GPIO_ACTIVE_LOW>;
121 label = "fan1-presence";
122 gpios = <&gpio0 ASPEED_GPIO(F, 5) GPIO_ACTIVE_LOW>;
128 compatible = "iio-hwmon";
129 io-channels = <&adc1 7>;
135 aspeed,int-vref-microvolt = <2500000>;
136 pinctrl-names = "default";
137 pinctrl-0 = <&pinctrl_adc8_default &pinctrl_adc9_default
138 &pinctrl_adc10_default &pinctrl_adc11_default
139 &pinctrl_adc12_default &pinctrl_adc13_default
140 &pinctrl_adc14_default &pinctrl_adc15_default>;
153 /*A0-A7*/ "","","","","","","","",
154 /*B0-B7*/ "","","","","","","checkstop","",
155 /*C0-C7*/ "","","","","","","","",
156 /*D0-D7*/ "","","","","","","","",
157 /*E0-E7*/ "","","","","","","","",
158 /*F0-F7*/ "","","rtc-battery-voltage-read-enable","reset-cause-pinhole","","","","",
159 /*G0-G7*/ "fan0","fan1","","","","","","",
160 /*H0-H7*/ "","","rear-enc-id0","rear-enc-fault0","","","","",
161 /*I0-I7*/ "","","","","","","bmc-secure-boot","",
162 /*J0-J7*/ "","","","","","","","",
163 /*K0-K7*/ "","","","","","","","",
164 /*L0-L7*/ "","","","","","","","",
165 /*M0-M7*/ "","","","","","","","",
166 /*N0-N7*/ "","","","","","","","",
167 /*O0-O7*/ "","","","usb-power","","","","",
168 /*P0-P7*/ "","","","","","","","",
169 /*Q0-Q7*/ "cfam-reset","","regulator-standby-faulted","","","","","",
170 /*R0-R7*/ "bmc-tpm-reset","power-chassis-control","power-chassis-good","","","","","",
171 /*S0-S7*/ "presence-ps0","presence-ps1","","","power-ffs-sync-history","","","",
172 /*T0-T7*/ "","","","","","","","",
173 /*U0-U7*/ "","","","","","","","",
174 /*V0-V7*/ "","","","","","","","",
175 /*W0-W7*/ "","","","","","","","",
176 /*X0-X7*/ "","","","","","","","",
177 /*Y0-Y7*/ "","","","","","","","",
178 /*Z0-Z7*/ "","","","","","","","";
182 gpios = <ASPEED_GPIO(O, 3) GPIO_ACTIVE_LOW>;
191 &pinctrl_emmc_default {
197 clk-phase-mmc-hs200 = <180>, <180>;
203 #address-cells = <2>;
206 cfam-reset-gpios = <&gpio0 ASPEED_GPIO(Q, 0) GPIO_ACTIVE_HIGH>;
210 #address-cells = <1>;
215 compatible = "ibm,fsi2pib";
216 reg = <0x1000 0x400>;
220 compatible = "ibm,fsi-i2c-master";
221 reg = <0x1800 0x400>;
222 #address-cells = <1>;
225 cfam0_i2c0: i2c-bus@0 {
226 reg = <0>; /* OMI01 */
229 cfam0_i2c1: i2c-bus@1 {
230 reg = <1>; /* OMI23 */
233 cfam0_i2c10: i2c-bus@a {
234 reg = <10>; /* OP3A */
237 cfam0_i2c11: i2c-bus@b {
238 reg = <11>; /* OP3B */
241 cfam0_i2c12: i2c-bus@c {
242 reg = <12>; /* OP4A */
245 cfam0_i2c13: i2c-bus@d {
246 reg = <13>; /* OP4B */
249 cfam0_i2c14: i2c-bus@e {
250 reg = <14>; /* OP5A */
253 cfam0_i2c15: i2c-bus@f {
254 reg = <15>; /* OP5B */
259 compatible = "ibm,fsi2spi";
260 reg = <0x1c00 0x400>;
261 #address-cells = <1>;
266 #address-cells = <1>;
270 at25,byte-len = <0x80000>;
271 at25,addr-mode = <4>;
272 at25,page-size = <256>;
274 compatible = "atmel,at25";
276 spi-max-frequency = <1000000>;
282 #address-cells = <1>;
286 at25,byte-len = <0x80000>;
287 at25,addr-mode = <4>;
288 at25,page-size = <256>;
290 compatible = "atmel,at25";
292 spi-max-frequency = <1000000>;
298 compatible = "ibm,fsi2spi-restricted";
299 #address-cells = <1>;
303 at25,byte-len = <0x80000>;
304 at25,addr-mode = <4>;
305 at25,page-size = <256>;
307 compatible = "atmel,at25";
309 spi-max-frequency = <1000000>;
315 compatible = "ibm,fsi2spi-restricted";
316 #address-cells = <1>;
320 at25,byte-len = <0x80000>;
321 at25,addr-mode = <4>;
322 at25,page-size = <256>;
324 compatible = "atmel,at25";
326 spi-max-frequency = <1000000>;
332 compatible = "ibm,p9-sbefifo";
333 reg = <0x2400 0x400>;
334 #address-cells = <1>;
338 compatible = "ibm,p10-occ";
341 compatible = "ibm,p10-occ-hwmon";
348 compatible = "fsi-master-hub";
349 reg = <0x3400 0x400>;
350 #address-cells = <2>;
359 #address-cells = <1>;
364 compatible = "ibm,fsi2pib";
365 reg = <0x1000 0x400>;
369 compatible = "ibm,fsi-i2c-master";
370 reg = <0x1800 0x400>;
371 #address-cells = <1>;
374 cfam1_i2c2: i2c-bus@2 {
375 reg = <2>; /* OMI45 */
378 cfam1_i2c3: i2c-bus@3 {
379 reg = <3>; /* OMI67 */
382 cfam1_i2c10: i2c-bus@a {
383 reg = <10>; /* OP3A */
386 cfam1_i2c11: i2c-bus@b {
387 reg = <11>; /* OP3B */
390 cfam1_i2c14: i2c-bus@e {
391 reg = <14>; /* OP5A */
394 cfam1_i2c15: i2c-bus@f {
395 reg = <15>; /* OP5B */
398 cfam1_i2c16: i2c-bus@10 {
399 reg = <16>; /* OP6A */
402 cfam1_i2c17: i2c-bus@11 {
403 reg = <17>; /* OP6B */
408 compatible = "ibm,fsi2spi";
409 reg = <0x1c00 0x400>;
410 #address-cells = <1>;
415 #address-cells = <1>;
419 at25,byte-len = <0x80000>;
420 at25,addr-mode = <4>;
421 at25,page-size = <256>;
423 compatible = "atmel,at25";
425 spi-max-frequency = <1000000>;
431 #address-cells = <1>;
435 at25,byte-len = <0x80000>;
436 at25,addr-mode = <4>;
437 at25,page-size = <256>;
439 compatible = "atmel,at25";
441 spi-max-frequency = <1000000>;
447 compatible = "ibm,fsi2spi-restricted";
448 #address-cells = <1>;
452 at25,byte-len = <0x80000>;
453 at25,addr-mode = <4>;
454 at25,page-size = <256>;
456 compatible = "atmel,at25";
458 spi-max-frequency = <1000000>;
464 compatible = "ibm,fsi2spi-restricted";
465 #address-cells = <1>;
469 at25,byte-len = <0x80000>;
470 at25,addr-mode = <4>;
471 at25,page-size = <256>;
473 compatible = "atmel,at25";
475 spi-max-frequency = <1000000>;
481 compatible = "ibm,p9-sbefifo";
482 reg = <0x2400 0x400>;
483 #address-cells = <1>;
487 compatible = "ibm,p10-occ";
490 compatible = "ibm,p10-occ-hwmon";
497 compatible = "fsi-master-hub";
498 reg = <0x3400 0x400>;
499 #address-cells = <2>;
515 compatible = "atmel,24c64";
520 compatible = "ti,tca9554";
522 #address-cells = <1>;
528 gpio-line-names = "",
529 "RUSSEL_FW_I2C_ENABLE_N",
530 "RUSSEL_OPPANEL_PRESENCE_N",
531 "BLYTH_OPPANEL_PRESENCE_N",
532 "CPU_TPM_CARD_PRESENT_N",
547 compatible = "ti,ucd90160";
556 compatible = "ibm,cffps";
561 compatible = "ibm,cffps";
583 compatible = "silabs,si7020";
588 compatible = "ti,tmp275";
593 compatible = "atmel,24c64";
598 compatible = "atmel,24c64";
603 compatible = "maxim,max31785a";
605 #address-cells = <1>;
609 compatible = "pmbus-fan";
615 compatible = "pmbus-fan";
622 compatible = "nxp,pca9551";
624 #address-cells = <1>;
631 label = "front-sys-id0";
633 retain-state-shutdown;
634 default-state = "keep";
635 type = <PCA955X_TYPE_LED>;
639 label = "front-check-log0";
641 retain-state-shutdown;
642 default-state = "keep";
643 type = <PCA955X_TYPE_LED>;
647 label = "front-enc-fault1";
649 retain-state-shutdown;
650 default-state = "keep";
651 type = <PCA955X_TYPE_LED>;
655 label = "front-sys-pwron0";
657 retain-state-shutdown;
658 default-state = "keep";
659 type = <PCA955X_TYPE_LED>;
664 compatible = "ibm,op-panel";
665 reg = <(0x62 | I2C_OWN_SLAVE_ADDRESS)>;
669 compatible = "infineon,dps310";
671 #io-channel-cells = <0>;
679 compatible = "epson,rx8900";
684 compatible = "ti,tmp275";
689 compatible = "atmel,24c64";
694 compatible = "nxp,pca9551";
696 #address-cells = <1>;
702 gpio-line-names = "",
717 compatible = "ti,tmp423";
730 compatible = "ti,tca9554";
732 #address-cells = <1>;
738 gpio-line-names = "BOOT_RCVRY_TWI",
749 compatible = "ti,tmp435";
754 compatible = "nxp,pca9849";
756 #address-cells = <1>;
759 i2c-mux-idle-disconnect;
761 i2c11mux0chn0: i2c@0 {
762 #address-cells = <1>;
767 i2c11mux0chn1: i2c@1 {
768 #address-cells = <1>;
773 i2c11mux0chn2: i2c@2 {
774 #address-cells = <1>;
779 i2c11mux0chn3: i2c@3 {
780 #address-cells = <1>;
791 compatible = "nuvoton,npct75x";
796 compatible = "atmel,24c64";
805 compatible = "atmel,24c64";
810 compatible = "nxp,pca9551";
812 #address-cells = <1>;
821 retain-state-shutdown;
822 default-state = "keep";
823 type = <PCA955X_TYPE_LED>;
829 retain-state-shutdown;
830 default-state = "keep";
831 type = <PCA955X_TYPE_LED>;
837 retain-state-shutdown;
838 default-state = "keep";
839 type = <PCA955X_TYPE_LED>;
845 retain-state-shutdown;
846 default-state = "keep";
847 type = <PCA955X_TYPE_LED>;
874 memory-region = <&flash_memory>;
879 pinctrl-names = "default";
880 pinctrl-0 = <&pinctrl_rmii3_default>;
881 clocks = <&syscon ASPEED_CLK_GATE_MAC3CLK>,
882 <&syscon ASPEED_CLK_MAC3RCLK>;
883 clock-names = "MACCLK", "RCLK";
889 pinctrl-names = "default";
890 pinctrl-0 = <&pinctrl_rmii4_default>;
891 clocks = <&syscon ASPEED_CLK_GATE_MAC4CLK>,
892 <&syscon ASPEED_CLK_MAC4RCLK>;
893 clock-names = "MACCLK", "RCLK";
898 aspeed,reset-type = "none";
899 aspeed,external-signal;
900 aspeed,ext-push-pull;
901 aspeed,ext-active-high;
903 pinctrl-names = "default";
904 pinctrl-0 = <&pinctrl_wdtrst1_default>;
913 memory-region = <&vga_memory>;
918 aspeed,lpc-io-reg = <0xca8 0xcac>;
923 aspeed,lpc-io-reg = <0xca2>;
924 aspeed,lpc-interrupts = <11 IRQ_TYPE_LEVEL_LOW>;