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";
68 poll-interval = <1000>;
71 label = "fan0-presence";
72 gpios = <&pca0 4 GPIO_ACTIVE_LOW>;
77 label = "fan1-presence";
78 gpios = <&pca0 5 GPIO_ACTIVE_LOW>;
83 label = "fan2-presence";
84 gpios = <&pca0 6 GPIO_ACTIVE_LOW>;
89 label = "fan3-presence";
90 gpios = <&pca0 7 GPIO_ACTIVE_LOW>;
96 compatible = "iio-hwmon";
97 io-channels = <&dps 0>;
101 compatible = "iio-hwmon";
102 io-channels = <&bmp 1>;
112 /*A0-A7*/ "","","","","","","","",
113 /*B0-B7*/ "fsi-mux","","","","","","","",
114 /*C0-C7*/ "","","","","","","","",
115 /*D0-D7*/ "","","","","","","","",
116 /*E0-E7*/ "power-button","","","checkstop","","presence-ps1","","led-rear-fault",
117 /*F0-F7*/ "","","","","","","","",
118 /*G0-G7*/ "","","","","","","","",
119 /*H0-H7*/ "","","","presence-ps0","","","","",
120 /*I0-I7*/ "","","","","","","","",
121 /*J0-J7*/ "","","","","","","","",
122 /*K0-K7*/ "","","","","","","","",
123 /*L0-L7*/ "","","","","","","","",
124 /*M0-M7*/ "","","","","","","","",
125 /*N0-N7*/ "","","","","","","","",
126 /*O0-O7*/ "led-rear-power","led-rear-id","","usb-power","","","","",
127 /*P0-P7*/ "","","","","","bmc-tpm-reset","","",
128 /*Q0-Q7*/ "cfam-reset","","","","","","","fsi-routing",
129 /*R0-R7*/ "","","","","","","","",
130 /*S0-S7*/ "","","","","","","","",
131 /*T0-T7*/ "","","","","","","","",
132 /*U0-U7*/ "","","","","","","","",
133 /*V0-V7*/ "","","","","","","","",
134 /*W0-W7*/ "","","","","","","","",
135 /*X0-X7*/ "","","","","","","","",
136 /*Y0-Y7*/ "","","","","","","","",
137 /*Z0-Z7*/ "","","","","","","","";
146 spi-max-frequency = <50000000>;
147 #include "openbmc-flash-layout-128.dtsi"
154 spi-max-frequency = <50000000>;
160 pinctrl-names = "default";
161 pinctrl-0 = <&pinctrl_spi1_default>;
167 spi-max-frequency = <100000000>;
173 pinctrl-names = "default";
174 pinctrl-0 = <&pinctrl_rmii3_default>;
175 clocks = <&syscon ASPEED_CLK_GATE_MAC3CLK>,
176 <&syscon ASPEED_CLK_MAC3RCLK>;
177 clock-names = "MACCLK", "RCLK";
187 clk-phase-mmc-hs200 = <36>, <270>;
193 #address-cells = <2>;
196 fsi-routing-gpios = <&gpio0 ASPEED_GPIO(Q, 7) GPIO_ACTIVE_HIGH>;
197 fsi-mux-gpios = <&gpio0 ASPEED_GPIO(B, 0) GPIO_ACTIVE_HIGH>;
201 #address-cells = <1>;
206 compatible = "ibm,fsi2pib";
207 reg = <0x1000 0x400>;
211 compatible = "ibm,fsi-i2c-master";
212 reg = <0x1800 0x400>;
213 #address-cells = <1>;
216 cfam0_i2c0: i2c-bus@0 {
220 cfam0_i2c1: i2c-bus@1 {
224 cfam0_i2c2: i2c-bus@2 {
228 cfam0_i2c3: i2c-bus@3 {
232 cfam0_i2c4: i2c-bus@4 {
236 cfam0_i2c5: i2c-bus@5 {
240 cfam0_i2c6: i2c-bus@6 {
244 cfam0_i2c7: i2c-bus@7 {
248 cfam0_i2c8: i2c-bus@8 {
252 cfam0_i2c9: i2c-bus@9 {
256 cfam0_i2c10: i2c-bus@a {
260 cfam0_i2c11: i2c-bus@b {
264 cfam0_i2c12: i2c-bus@c {
268 cfam0_i2c13: i2c-bus@d {
272 cfam0_i2c14: i2c-bus@e {
278 compatible = "ibm,p9-sbefifo";
279 reg = <0x2400 0x400>;
280 #address-cells = <1>;
284 compatible = "ibm,p9-occ";
289 compatible = "fsi-master-hub";
290 reg = <0x3400 0x400>;
291 #address-cells = <2>;
302 #address-cells = <1>;
307 compatible = "ibm,fsi2pib";
308 reg = <0x1000 0x400>;
312 compatible = "ibm,fsi-i2c-master";
313 reg = <0x1800 0x400>;
314 #address-cells = <1>;
317 cfam1_i2c0: i2c-bus@0 {
321 cfam1_i2c1: i2c-bus@1 {
325 cfam1_i2c2: i2c-bus@2 {
329 cfam1_i2c3: i2c-bus@3 {
333 cfam1_i2c4: i2c-bus@4 {
337 cfam1_i2c5: i2c-bus@5 {
341 cfam1_i2c6: i2c-bus@6 {
345 cfam1_i2c7: i2c-bus@7 {
349 cfam1_i2c8: i2c-bus@8 {
353 cfam1_i2c9: i2c-bus@9 {
357 cfam1_i2c10: i2c-bus@a {
361 cfam1_i2c11: i2c-bus@b {
365 cfam1_i2c12: i2c-bus@c {
369 cfam1_i2c13: i2c-bus@d {
373 cfam1_i2c14: i2c-bus@e {
379 compatible = "ibm,p9-sbefifo";
380 reg = <0x2400 0x400>;
381 #address-cells = <1>;
385 compatible = "ibm,p9-occ";
390 compatible = "fsi-master-hub";
391 reg = <0x3400 0x400>;
392 #address-cells = <2>;
400 /* Legacy OCC numbering (to get rid of when userspace is fixed) */
411 i2c100 = &cfam0_i2c0;
412 i2c101 = &cfam0_i2c1;
413 i2c102 = &cfam0_i2c2;
414 i2c103 = &cfam0_i2c3;
415 i2c104 = &cfam0_i2c4;
416 i2c105 = &cfam0_i2c5;
417 i2c106 = &cfam0_i2c6;
418 i2c107 = &cfam0_i2c7;
419 i2c108 = &cfam0_i2c8;
420 i2c109 = &cfam0_i2c9;
421 i2c110 = &cfam0_i2c10;
422 i2c111 = &cfam0_i2c11;
423 i2c112 = &cfam0_i2c12;
424 i2c113 = &cfam0_i2c13;
425 i2c114 = &cfam0_i2c14;
426 i2c200 = &cfam1_i2c0;
427 i2c201 = &cfam1_i2c1;
428 i2c202 = &cfam1_i2c2;
429 i2c203 = &cfam1_i2c3;
430 i2c204 = &cfam1_i2c4;
431 i2c205 = &cfam1_i2c5;
432 i2c206 = &cfam1_i2c6;
433 i2c207 = &cfam1_i2c7;
434 i2c208 = &cfam1_i2c8;
435 i2c209 = &cfam1_i2c9;
436 i2c210 = &cfam1_i2c10;
437 i2c211 = &cfam1_i2c11;
438 i2c212 = &cfam1_i2c12;
439 i2c213 = &cfam1_i2c13;
440 i2c214 = &cfam1_i2c14;
450 compatible = "ibm,op-panel";
451 reg = <(0x62 | I2C_OWN_SLAVE_ADDRESS)>;
459 compatible = "tcg,tpm-tis-i2c";
472 compatible = "bosch,bmp280";
474 #io-channel-cells = <1>;
478 compatible = "maxim,max31785a";
480 #address-cells = <1>;
484 compatible = "pmbus-fan";
487 maxim,fan-rotor-input = "tach";
488 maxim,fan-pwm-freq = <25000>;
490 maxim,fan-no-watchdog;
491 maxim,fan-no-fault-ramp;
492 maxim,fan-ramp = <2>;
493 maxim,fan-fault-pin-mon;
497 compatible = "pmbus-fan";
500 maxim,fan-rotor-input = "tach";
501 maxim,fan-pwm-freq = <25000>;
503 maxim,fan-no-watchdog;
504 maxim,fan-no-fault-ramp;
505 maxim,fan-ramp = <2>;
506 maxim,fan-fault-pin-mon;
510 compatible = "pmbus-fan";
513 maxim,fan-rotor-input = "tach";
514 maxim,fan-pwm-freq = <25000>;
516 maxim,fan-no-watchdog;
517 maxim,fan-no-fault-ramp;
518 maxim,fan-ramp = <2>;
519 maxim,fan-fault-pin-mon;
523 compatible = "pmbus-fan";
526 maxim,fan-rotor-input = "tach";
527 maxim,fan-pwm-freq = <25000>;
529 maxim,fan-no-watchdog;
530 maxim,fan-no-fault-ramp;
531 maxim,fan-ramp = <2>;
532 maxim,fan-fault-pin-mon;
537 compatible = "infineon,dps310";
539 #io-channel-cells = <0>;
543 compatible = "nxp,pca9552";
545 #address-cells = <1>;
553 type = <PCA955X_TYPE_GPIO>;
558 type = <PCA955X_TYPE_GPIO>;
563 type = <PCA955X_TYPE_GPIO>;
568 type = <PCA955X_TYPE_GPIO>;
573 type = <PCA955X_TYPE_GPIO>;
578 type = <PCA955X_TYPE_GPIO>;
583 type = <PCA955X_TYPE_GPIO>;
588 type = <PCA955X_TYPE_GPIO>;
593 type = <PCA955X_TYPE_GPIO>;
598 type = <PCA955X_TYPE_GPIO>;
603 type = <PCA955X_TYPE_GPIO>;
608 type = <PCA955X_TYPE_GPIO>;
613 type = <PCA955X_TYPE_GPIO>;
618 type = <PCA955X_TYPE_GPIO>;
623 type = <PCA955X_TYPE_GPIO>;
628 type = <PCA955X_TYPE_GPIO>;
633 compatible = "ibm,cffps1";
638 compatible = "ibm,cffps1";
647 compatible = "ti,tmp423";
652 compatible = "infineon,ir35221";
657 compatible = "infineon,ir35221";
666 compatible = "ti,tmp423";
671 compatible = "infineon,ir35221";
676 compatible = "infineon,ir35221";
689 compatible = "ti,tmp275";
701 pca9552: pca9552@60 {
702 compatible = "nxp,pca9552";
704 #address-cells = <1>;
709 gpio-line-names = "PS_SMBUS_RESET_N", "APSS_RESET_N",
710 "GPU0_TH_OVERT_N_BUFF", "GPU1_TH_OVERT_N_BUFF",
711 "GPU2_TH_OVERT_N_BUFF", "GPU3_TH_OVERT_N_BUFF",
712 "GPU4_TH_OVERT_N_BUFF", "GPU5_TH_OVERT_N_BUFF",
713 "GPU0_PWR_GOOD_BUFF", "GPU1_PWR_GOOD_BUFF",
714 "GPU2_PWR_GOOD_BUFF", "GPU3_PWR_GOOD_BUFF",
715 "GPU4_PWR_GOOD_BUFF", "GPU5_PWR_GOOD_BUFF",
716 "12V_BREAKER_FLT_N", "THROTTLE_UNLATCHED_N";
720 type = <PCA955X_TYPE_GPIO>;
725 type = <PCA955X_TYPE_GPIO>;
730 type = <PCA955X_TYPE_GPIO>;
735 type = <PCA955X_TYPE_GPIO>;
740 type = <PCA955X_TYPE_GPIO>;
745 type = <PCA955X_TYPE_GPIO>;
750 type = <PCA955X_TYPE_GPIO>;
755 type = <PCA955X_TYPE_GPIO>;
760 type = <PCA955X_TYPE_GPIO>;
765 type = <PCA955X_TYPE_GPIO>;
770 type = <PCA955X_TYPE_GPIO>;
775 type = <PCA955X_TYPE_GPIO>;
780 type = <PCA955X_TYPE_GPIO>;
785 type = <PCA955X_TYPE_GPIO>;
790 type = <PCA955X_TYPE_GPIO>;
795 type = <PCA955X_TYPE_GPIO>;
800 compatible = "epson,rx8900";
805 compatible = "atmel,24c64";
810 compatible = "ti,ucd90160";
830 compatible = "snps,dw-apb-uart";
835 compatible = "snps,dw-apb-uart";
848 memory-region = <&flash_memory>;
853 aspeed,reset-type = "none";
854 aspeed,external-signal;
855 aspeed,ext-push-pull;
856 aspeed,ext-active-high;
858 pinctrl-names = "default";
859 pinctrl-0 = <&pinctrl_wdtrst1_default>;
867 /* Hog these as no driver is probed for the entire LPC block */
868 pinctrl-names = "default";
869 pinctrl-0 = <&pinctrl_lpc_default>,
870 <&pinctrl_lsirq_default>;
875 memory-region = <&vga_memory>;
880 aspeed,lpc-io-reg = <0xca8 0xcac>;
885 aspeed,lpc-io-reg = <0xca2>;
886 aspeed,lpc-interrupts = <11 IRQ_TYPE_LEVEL_LOW>;