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,tacoma-bmc", "aspeed,ast2600";
16 bootargs = "console=ttyS4,115200n8 earlycon";
20 device_type = "memory";
21 reg = <0x80000000 0x40000000>;
29 flash_memory: region@b8000000 {
31 reg = <0xb8000000 0x4000000>; /* 64M */
35 compatible = "ramoops";
36 reg = <0xbc000000 0x180000>; /* 16 * (3 * 0x8000) */
37 record-size = <0x8000>;
38 console-size = <0x8000>;
40 max-reason = <3>; /* KMSG_DUMP_EMERG */
43 vga_memory: region@bf000000 {
45 compatible = "shared-dma-pool";
46 reg = <0xbf000000 0x01000000>; /* 16M */
51 compatible = "gpio-keys";
54 label = "ps0-presence";
55 gpios = <&gpio0 ASPEED_GPIO(H, 3) GPIO_ACTIVE_LOW>;
56 linux,code = <ASPEED_GPIO(H, 3)>;
60 label = "ps1-presence";
61 gpios = <&gpio0 ASPEED_GPIO(E, 5) GPIO_ACTIVE_LOW>;
62 linux,code = <ASPEED_GPIO(E, 5)>;
67 compatible = "gpio-keys-polled";
70 poll-interval = <1000>;
73 label = "fan0-presence";
74 gpios = <&pca0 4 GPIO_ACTIVE_LOW>;
79 label = "fan1-presence";
80 gpios = <&pca0 5 GPIO_ACTIVE_LOW>;
85 label = "fan2-presence";
86 gpios = <&pca0 6 GPIO_ACTIVE_LOW>;
91 label = "fan3-presence";
92 gpios = <&pca0 7 GPIO_ACTIVE_LOW>;
98 compatible = "iio-hwmon";
99 io-channels = <&dps 0>;
103 compatible = "iio-hwmon";
104 io-channels = <&bmp 1>;
114 /*A0-A7*/ "","","","","","","","",
115 /*B0-B7*/ "fsi-mux","","","","","","","",
116 /*C0-C7*/ "","","","","","","","",
117 /*D0-D7*/ "","","","","","","","",
118 /*E0-E7*/ "power-button","","","checkstop","","presence-ps1","","led-rear-fault",
119 /*F0-F7*/ "","","","","","","","",
120 /*G0-G7*/ "","","","","","","","",
121 /*H0-H7*/ "","","","presence-ps0","","","","",
122 /*I0-I7*/ "","","","","","","","",
123 /*J0-J7*/ "","","","","","","","",
124 /*K0-K7*/ "","","","","","","","",
125 /*L0-L7*/ "","","","","","","","",
126 /*M0-M7*/ "","","","","","","","",
127 /*N0-N7*/ "","","","","","","","",
128 /*O0-O7*/ "led-rear-power","led-rear-id","","usb-power","","","","",
129 /*P0-P7*/ "","","","","","bmc-tpm-reset","","",
130 /*Q0-Q7*/ "cfam-reset","","","","","","","fsi-routing",
131 /*R0-R7*/ "","","","","","","","",
132 /*S0-S7*/ "","","","","","","","",
133 /*T0-T7*/ "","","","","","","","",
134 /*U0-U7*/ "","","","","","","","",
135 /*V0-V7*/ "","","","","","","","",
136 /*W0-W7*/ "","","","","","","","",
137 /*X0-X7*/ "","","","","","","","",
138 /*Y0-Y7*/ "","","","","","","","",
139 /*Z0-Z7*/ "","","","","","","","";
148 spi-max-frequency = <50000000>;
149 #include "openbmc-flash-layout-128.dtsi"
156 spi-max-frequency = <50000000>;
162 pinctrl-names = "default";
163 pinctrl-0 = <&pinctrl_spi1_default>;
169 spi-max-frequency = <100000000>;
175 pinctrl-names = "default";
176 pinctrl-0 = <&pinctrl_rmii3_default>;
177 clocks = <&syscon ASPEED_CLK_GATE_MAC3CLK>,
178 <&syscon ASPEED_CLK_MAC3RCLK>;
179 clock-names = "MACCLK", "RCLK";
189 clk-phase-mmc-hs200 = <36>, <270>;
195 #address-cells = <2>;
198 fsi-routing-gpios = <&gpio0 ASPEED_GPIO(Q, 7) GPIO_ACTIVE_HIGH>;
199 fsi-mux-gpios = <&gpio0 ASPEED_GPIO(B, 0) GPIO_ACTIVE_HIGH>;
203 #address-cells = <1>;
208 compatible = "ibm,fsi2pib";
209 reg = <0x1000 0x400>;
213 compatible = "ibm,fsi-i2c-master";
214 reg = <0x1800 0x400>;
215 #address-cells = <1>;
218 cfam0_i2c0: i2c-bus@0 {
222 cfam0_i2c1: i2c-bus@1 {
226 cfam0_i2c2: i2c-bus@2 {
230 cfam0_i2c3: i2c-bus@3 {
234 cfam0_i2c4: i2c-bus@4 {
238 cfam0_i2c5: i2c-bus@5 {
242 cfam0_i2c6: i2c-bus@6 {
246 cfam0_i2c7: i2c-bus@7 {
250 cfam0_i2c8: i2c-bus@8 {
254 cfam0_i2c9: i2c-bus@9 {
258 cfam0_i2c10: i2c-bus@a {
262 cfam0_i2c11: i2c-bus@b {
266 cfam0_i2c12: i2c-bus@c {
270 cfam0_i2c13: i2c-bus@d {
274 cfam0_i2c14: i2c-bus@e {
280 compatible = "ibm,p9-sbefifo";
281 reg = <0x2400 0x400>;
282 #address-cells = <1>;
286 compatible = "ibm,p9-occ";
291 compatible = "fsi-master-hub";
292 reg = <0x3400 0x400>;
293 #address-cells = <2>;
304 #address-cells = <1>;
309 compatible = "ibm,fsi2pib";
310 reg = <0x1000 0x400>;
314 compatible = "ibm,fsi-i2c-master";
315 reg = <0x1800 0x400>;
316 #address-cells = <1>;
319 cfam1_i2c0: i2c-bus@0 {
323 cfam1_i2c1: i2c-bus@1 {
327 cfam1_i2c2: i2c-bus@2 {
331 cfam1_i2c3: i2c-bus@3 {
335 cfam1_i2c4: i2c-bus@4 {
339 cfam1_i2c5: i2c-bus@5 {
343 cfam1_i2c6: i2c-bus@6 {
347 cfam1_i2c7: i2c-bus@7 {
351 cfam1_i2c8: i2c-bus@8 {
355 cfam1_i2c9: i2c-bus@9 {
359 cfam1_i2c10: i2c-bus@a {
363 cfam1_i2c11: i2c-bus@b {
367 cfam1_i2c12: i2c-bus@c {
371 cfam1_i2c13: i2c-bus@d {
375 cfam1_i2c14: i2c-bus@e {
381 compatible = "ibm,p9-sbefifo";
382 reg = <0x2400 0x400>;
383 #address-cells = <1>;
387 compatible = "ibm,p9-occ";
392 compatible = "fsi-master-hub";
393 reg = <0x3400 0x400>;
394 #address-cells = <2>;
402 /* Legacy OCC numbering (to get rid of when userspace is fixed) */
413 i2c100 = &cfam0_i2c0;
414 i2c101 = &cfam0_i2c1;
415 i2c102 = &cfam0_i2c2;
416 i2c103 = &cfam0_i2c3;
417 i2c104 = &cfam0_i2c4;
418 i2c105 = &cfam0_i2c5;
419 i2c106 = &cfam0_i2c6;
420 i2c107 = &cfam0_i2c7;
421 i2c108 = &cfam0_i2c8;
422 i2c109 = &cfam0_i2c9;
423 i2c110 = &cfam0_i2c10;
424 i2c111 = &cfam0_i2c11;
425 i2c112 = &cfam0_i2c12;
426 i2c113 = &cfam0_i2c13;
427 i2c114 = &cfam0_i2c14;
428 i2c200 = &cfam1_i2c0;
429 i2c201 = &cfam1_i2c1;
430 i2c202 = &cfam1_i2c2;
431 i2c203 = &cfam1_i2c3;
432 i2c204 = &cfam1_i2c4;
433 i2c205 = &cfam1_i2c5;
434 i2c206 = &cfam1_i2c6;
435 i2c207 = &cfam1_i2c7;
436 i2c208 = &cfam1_i2c8;
437 i2c209 = &cfam1_i2c9;
438 i2c210 = &cfam1_i2c10;
439 i2c211 = &cfam1_i2c11;
440 i2c212 = &cfam1_i2c12;
441 i2c213 = &cfam1_i2c13;
442 i2c214 = &cfam1_i2c14;
452 compatible = "ibm,op-panel";
453 reg = <(0x62 | I2C_OWN_SLAVE_ADDRESS)>;
461 compatible = "tcg,tpm-tis-i2c";
474 compatible = "bosch,bmp280";
476 #io-channel-cells = <1>;
480 compatible = "maxim,max31785a";
482 #address-cells = <1>;
486 compatible = "pmbus-fan";
489 maxim,fan-rotor-input = "tach";
490 maxim,fan-pwm-freq = <25000>;
492 maxim,fan-no-watchdog;
493 maxim,fan-no-fault-ramp;
494 maxim,fan-ramp = <2>;
495 maxim,fan-fault-pin-mon;
499 compatible = "pmbus-fan";
502 maxim,fan-rotor-input = "tach";
503 maxim,fan-pwm-freq = <25000>;
505 maxim,fan-no-watchdog;
506 maxim,fan-no-fault-ramp;
507 maxim,fan-ramp = <2>;
508 maxim,fan-fault-pin-mon;
512 compatible = "pmbus-fan";
515 maxim,fan-rotor-input = "tach";
516 maxim,fan-pwm-freq = <25000>;
518 maxim,fan-no-watchdog;
519 maxim,fan-no-fault-ramp;
520 maxim,fan-ramp = <2>;
521 maxim,fan-fault-pin-mon;
525 compatible = "pmbus-fan";
528 maxim,fan-rotor-input = "tach";
529 maxim,fan-pwm-freq = <25000>;
531 maxim,fan-no-watchdog;
532 maxim,fan-no-fault-ramp;
533 maxim,fan-ramp = <2>;
534 maxim,fan-fault-pin-mon;
539 compatible = "infineon,dps310";
541 #io-channel-cells = <0>;
545 compatible = "nxp,pca9552";
547 #address-cells = <1>;
555 type = <PCA955X_TYPE_GPIO>;
560 type = <PCA955X_TYPE_GPIO>;
565 type = <PCA955X_TYPE_GPIO>;
570 type = <PCA955X_TYPE_GPIO>;
575 type = <PCA955X_TYPE_GPIO>;
580 type = <PCA955X_TYPE_GPIO>;
585 type = <PCA955X_TYPE_GPIO>;
590 type = <PCA955X_TYPE_GPIO>;
595 type = <PCA955X_TYPE_GPIO>;
600 type = <PCA955X_TYPE_GPIO>;
605 type = <PCA955X_TYPE_GPIO>;
610 type = <PCA955X_TYPE_GPIO>;
615 type = <PCA955X_TYPE_GPIO>;
620 type = <PCA955X_TYPE_GPIO>;
625 type = <PCA955X_TYPE_GPIO>;
630 type = <PCA955X_TYPE_GPIO>;
635 compatible = "ibm,cffps1";
640 compatible = "ibm,cffps1";
649 compatible = "ti,tmp423";
654 compatible = "infineon,ir35221";
659 compatible = "infineon,ir35221";
668 compatible = "ti,tmp423";
673 compatible = "infineon,ir35221";
678 compatible = "infineon,ir35221";
691 compatible = "ti,tmp275";
703 pca9552: pca9552@60 {
704 compatible = "nxp,pca9552";
706 #address-cells = <1>;
711 gpio-line-names = "PS_SMBUS_RESET_N", "APSS_RESET_N",
712 "GPU0_TH_OVERT_N_BUFF", "GPU1_TH_OVERT_N_BUFF",
713 "GPU2_TH_OVERT_N_BUFF", "GPU3_TH_OVERT_N_BUFF",
714 "GPU4_TH_OVERT_N_BUFF", "GPU5_TH_OVERT_N_BUFF",
715 "GPU0_PWR_GOOD_BUFF", "GPU1_PWR_GOOD_BUFF",
716 "GPU2_PWR_GOOD_BUFF", "GPU3_PWR_GOOD_BUFF",
717 "GPU4_PWR_GOOD_BUFF", "GPU5_PWR_GOOD_BUFF",
718 "12V_BREAKER_FLT_N", "THROTTLE_UNLATCHED_N";
722 type = <PCA955X_TYPE_GPIO>;
727 type = <PCA955X_TYPE_GPIO>;
732 type = <PCA955X_TYPE_GPIO>;
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>;
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 compatible = "epson,rx8900";
807 compatible = "atmel,24c64";
812 compatible = "ti,ucd90160";
832 compatible = "snps,dw-apb-uart";
837 compatible = "snps,dw-apb-uart";
850 memory-region = <&flash_memory>;
855 aspeed,reset-type = "none";
856 aspeed,external-signal;
857 aspeed,ext-push-pull;
858 aspeed,ext-active-high;
860 pinctrl-names = "default";
861 pinctrl-0 = <&pinctrl_wdtrst1_default>;
869 /* Hog these as no driver is probed for the entire LPC block */
870 pinctrl-names = "default";
871 pinctrl-0 = <&pinctrl_lpc_default>,
872 <&pinctrl_lsirq_default>;
877 memory-region = <&vga_memory>;
882 aspeed,lpc-io-reg = <0xca8 0xcac>;
887 aspeed,lpc-io-reg = <0xca2>;
888 aspeed,lpc-interrupts = <11 IRQ_TYPE_LEVEL_LOW>;