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/leds/leds-pca955x.h>
11 compatible = "ibm,tacoma-bmc", "aspeed,ast2600";
15 bootargs = "console=ttyS4,115200n8";
19 device_type = "memory";
20 reg = <0x80000000 0x40000000>;
28 flash_memory: region@ba000000 {
30 reg = <0xb8000000 0x4000000>; /* 64M */
35 compatible = "gpio-keys";
39 gpios = <&gpio0 ASPEED_GPIO(E, 3) GPIO_ACTIVE_LOW>;
40 linux,code = <ASPEED_GPIO(E, 3)>;
44 label = "ps0-presence";
45 gpios = <&gpio0 ASPEED_GPIO(H, 3) GPIO_ACTIVE_LOW>;
46 linux,code = <ASPEED_GPIO(H, 3)>;
50 label = "ps1-presence";
51 gpios = <&gpio0 ASPEED_GPIO(E, 5) GPIO_ACTIVE_LOW>;
52 linux,code = <ASPEED_GPIO(E, 5)>;
57 compatible = "gpio-keys-polled";
60 poll-interval = <1000>;
63 label = "fan0-presence";
64 gpios = <&pca0 4 GPIO_ACTIVE_LOW>;
69 label = "fan1-presence";
70 gpios = <&pca0 5 GPIO_ACTIVE_LOW>;
75 label = "fan2-presence";
76 gpios = <&pca0 6 GPIO_ACTIVE_LOW>;
81 label = "fan3-presence";
82 gpios = <&pca0 7 GPIO_ACTIVE_LOW>;
88 compatible = "gpio-keys";
92 gpios = <&gpio0 ASPEED_GPIO(Q, 7) GPIO_ACTIVE_LOW>;
93 linux,code = <ASPEED_GPIO(Q, 7)>;
98 gpios = <&gpio0 ASPEED_GPIO(E, 3) GPIO_ACTIVE_LOW>;
99 linux,code = <ASPEED_GPIO(E, 3)>;
103 label = "ps0-presence";
104 gpios = <&gpio0 ASPEED_GPIO(H, 3) GPIO_ACTIVE_LOW>;
105 linux,code = <ASPEED_GPIO(H, 3)>;
109 label = "ps1-presence";
110 gpios = <&gpio0 ASPEED_GPIO(E, 5) GPIO_ACTIVE_LOW>;
111 linux,code = <ASPEED_GPIO(E, 5)>;
116 compatible = "gpio-keys-polled";
117 #address-cells = <1>;
119 poll-interval = <1000>;
122 label = "fan0-presence";
123 gpios = <&pca0 4 GPIO_ACTIVE_LOW>;
128 label = "fan1-presence";
129 gpios = <&pca0 5 GPIO_ACTIVE_LOW>;
134 label = "fan2-presence";
135 gpios = <&pca0 6 GPIO_ACTIVE_LOW>;
140 label = "fan3-presence";
141 gpios = <&pca0 7 GPIO_ACTIVE_LOW>;
147 compatible = "iio-hwmon";
148 io-channels = <&dps 0>;
152 compatible = "iio-hwmon";
153 io-channels = <&bmp 1>;
159 /*A0-A7*/ "","","","","","","","",
160 /*B0-B7*/ "fsi-mux","","","","","","","",
161 /*C0-C7*/ "","","","","","","","",
162 /*D0-D7*/ "","","","","","","","",
163 /*E0-E7*/ "power-button","","","checkstop","","presence-ps1","","led-rear-fault",
164 /*F0-F7*/ "","","","","","","","",
165 /*G0-G7*/ "","","","","","","","",
166 /*H0-H7*/ "","","","presence-ps0","","","","",
167 /*I0-I7*/ "","","","","","","","",
168 /*J0-J7*/ "","","","","","","","",
169 /*K0-K7*/ "","","","","","","","",
170 /*L0-L7*/ "","","","","","","","",
171 /*M0-M7*/ "","","","","","","","",
172 /*N0-N7*/ "","","","","","","","",
173 /*O0-O7*/ "led-rear-power","led-rear-id","","","","","","",
174 /*P0-P7*/ "","","","","","","","",
175 /*Q0-Q7*/ "cfam-reset","","","","","","","fsi-routing",
176 /*R0-R7*/ "","","","","","","","",
177 /*S0-S7*/ "","","","","","","","",
178 /*T0-T7*/ "","","","","","","","",
179 /*U0-U7*/ "","","","","","","","",
180 /*V0-V7*/ "","","","","","","","",
181 /*W0-W7*/ "","","","","","","","",
182 /*X0-X7*/ "","","","","","","","",
183 /*Y0-Y7*/ "","","","","","","","",
184 /*Z0-Z7*/ "","","","","","","","",
185 /*AA0-AA7*/ "","","","","","","","",
186 /*AB0-AB7*/ "","","","","","","","",
187 /*AC0-AC7*/ "","","","","","","","";
196 spi-max-frequency = <50000000>;
197 #include "openbmc-flash-layout-128.dtsi"
204 spi-max-frequency = <50000000>;
210 pinctrl-names = "default";
211 pinctrl-0 = <&pinctrl_spi1_default>;
217 spi-max-frequency = <100000000>;
223 pinctrl-names = "default";
224 pinctrl-0 = <&pinctrl_rmii3_default>;
225 clocks = <&syscon ASPEED_CLK_GATE_MAC3CLK>,
226 <&syscon ASPEED_CLK_MAC3RCLK>;
227 clock-names = "MACCLK", "RCLK";
242 #address-cells = <2>;
245 fsi-routing-gpios = <&gpio0 ASPEED_GPIO(Q, 7) GPIO_ACTIVE_HIGH>;
246 fsi-mux-gpios = <&gpio0 ASPEED_GPIO(B, 0) GPIO_ACTIVE_HIGH>;
250 #address-cells = <1>;
255 compatible = "ibm,fsi2pib";
256 reg = <0x1000 0x400>;
260 compatible = "ibm,fsi-i2c-master";
261 reg = <0x1800 0x400>;
262 #address-cells = <1>;
265 cfam0_i2c0: i2c-bus@0 {
269 cfam0_i2c1: i2c-bus@1 {
273 cfam0_i2c2: i2c-bus@2 {
277 cfam0_i2c3: i2c-bus@3 {
281 cfam0_i2c4: i2c-bus@4 {
285 cfam0_i2c5: i2c-bus@5 {
289 cfam0_i2c6: i2c-bus@6 {
293 cfam0_i2c7: i2c-bus@7 {
297 cfam0_i2c8: i2c-bus@8 {
301 cfam0_i2c9: i2c-bus@9 {
305 cfam0_i2c10: i2c-bus@a {
309 cfam0_i2c11: i2c-bus@b {
313 cfam0_i2c12: i2c-bus@c {
317 cfam0_i2c13: i2c-bus@d {
321 cfam0_i2c14: i2c-bus@e {
327 compatible = "ibm,p9-sbefifo";
328 reg = <0x2400 0x400>;
329 #address-cells = <1>;
333 compatible = "ibm,p9-occ";
338 compatible = "fsi-master-hub";
339 reg = <0x3400 0x400>;
340 #address-cells = <2>;
351 #address-cells = <1>;
356 compatible = "ibm,fsi2pib";
357 reg = <0x1000 0x400>;
361 compatible = "ibm,fsi-i2c-master";
362 reg = <0x1800 0x400>;
363 #address-cells = <1>;
366 cfam1_i2c0: i2c-bus@0 {
370 cfam1_i2c1: i2c-bus@1 {
374 cfam1_i2c2: i2c-bus@2 {
378 cfam1_i2c3: i2c-bus@3 {
382 cfam1_i2c4: i2c-bus@4 {
386 cfam1_i2c5: i2c-bus@5 {
390 cfam1_i2c6: i2c-bus@6 {
394 cfam1_i2c7: i2c-bus@7 {
398 cfam1_i2c8: i2c-bus@8 {
402 cfam1_i2c9: i2c-bus@9 {
406 cfam1_i2c10: i2c-bus@a {
410 cfam1_i2c11: i2c-bus@b {
414 cfam1_i2c12: i2c-bus@c {
418 cfam1_i2c13: i2c-bus@d {
422 cfam1_i2c14: i2c-bus@e {
428 compatible = "ibm,p9-sbefifo";
429 reg = <0x2400 0x400>;
430 #address-cells = <1>;
434 compatible = "ibm,p9-occ";
439 compatible = "fsi-master-hub";
440 reg = <0x3400 0x400>;
441 #address-cells = <2>;
449 /* Legacy OCC numbering (to get rid of when userspace is fixed) */
460 i2c100 = &cfam0_i2c0;
461 i2c101 = &cfam0_i2c1;
462 i2c102 = &cfam0_i2c2;
463 i2c103 = &cfam0_i2c3;
464 i2c104 = &cfam0_i2c4;
465 i2c105 = &cfam0_i2c5;
466 i2c106 = &cfam0_i2c6;
467 i2c107 = &cfam0_i2c7;
468 i2c108 = &cfam0_i2c8;
469 i2c109 = &cfam0_i2c9;
470 i2c110 = &cfam0_i2c10;
471 i2c111 = &cfam0_i2c11;
472 i2c112 = &cfam0_i2c12;
473 i2c113 = &cfam0_i2c13;
474 i2c114 = &cfam0_i2c14;
475 i2c200 = &cfam1_i2c0;
476 i2c201 = &cfam1_i2c1;
477 i2c202 = &cfam1_i2c2;
478 i2c203 = &cfam1_i2c3;
479 i2c204 = &cfam1_i2c4;
480 i2c205 = &cfam1_i2c5;
481 i2c206 = &cfam1_i2c6;
482 i2c207 = &cfam1_i2c7;
483 i2c208 = &cfam1_i2c8;
484 i2c209 = &cfam1_i2c9;
485 i2c210 = &cfam1_i2c10;
486 i2c211 = &cfam1_i2c11;
487 i2c212 = &cfam1_i2c12;
488 i2c213 = &cfam1_i2c13;
489 i2c214 = &cfam1_i2c14;
502 compatible = "tcg,tpm-tis-i2c";
515 compatible = "bosch,bmp280";
517 #io-channel-cells = <1>;
521 compatible = "maxim,max31785a";
523 #address-cells = <1>;
527 compatible = "pmbus-fan";
530 maxim,fan-rotor-input = "tach";
531 maxim,fan-pwm-freq = <25000>;
533 maxim,fan-no-watchdog;
534 maxim,fan-no-fault-ramp;
535 maxim,fan-ramp = <2>;
536 maxim,fan-fault-pin-mon;
540 compatible = "pmbus-fan";
543 maxim,fan-rotor-input = "tach";
544 maxim,fan-pwm-freq = <25000>;
546 maxim,fan-no-watchdog;
547 maxim,fan-no-fault-ramp;
548 maxim,fan-ramp = <2>;
549 maxim,fan-fault-pin-mon;
553 compatible = "pmbus-fan";
556 maxim,fan-rotor-input = "tach";
557 maxim,fan-pwm-freq = <25000>;
559 maxim,fan-no-watchdog;
560 maxim,fan-no-fault-ramp;
561 maxim,fan-ramp = <2>;
562 maxim,fan-fault-pin-mon;
566 compatible = "pmbus-fan";
569 maxim,fan-rotor-input = "tach";
570 maxim,fan-pwm-freq = <25000>;
572 maxim,fan-no-watchdog;
573 maxim,fan-no-fault-ramp;
574 maxim,fan-ramp = <2>;
575 maxim,fan-fault-pin-mon;
580 compatible = "infineon,dps310";
582 #io-channel-cells = <0>;
586 compatible = "nxp,pca9552";
588 #address-cells = <1>;
596 type = <PCA955X_TYPE_GPIO>;
601 type = <PCA955X_TYPE_GPIO>;
606 type = <PCA955X_TYPE_GPIO>;
611 type = <PCA955X_TYPE_GPIO>;
616 type = <PCA955X_TYPE_GPIO>;
621 type = <PCA955X_TYPE_GPIO>;
626 type = <PCA955X_TYPE_GPIO>;
631 type = <PCA955X_TYPE_GPIO>;
636 type = <PCA955X_TYPE_GPIO>;
641 type = <PCA955X_TYPE_GPIO>;
646 type = <PCA955X_TYPE_GPIO>;
651 type = <PCA955X_TYPE_GPIO>;
656 type = <PCA955X_TYPE_GPIO>;
661 type = <PCA955X_TYPE_GPIO>;
666 type = <PCA955X_TYPE_GPIO>;
671 type = <PCA955X_TYPE_GPIO>;
676 compatible = "ibm,cffps1";
681 compatible = "ibm,cffps1";
690 compatible = "ti,tmp423";
695 compatible = "infineon,ir35221";
700 compatible = "infineon,ir35221";
709 compatible = "ti,tmp423";
714 compatible = "infineon,ir35221";
719 compatible = "infineon,ir35221";
732 compatible = "ti,tmp275";
744 pca9552: pca9552@60 {
745 compatible = "nxp,pca9552";
747 #address-cells = <1>;
752 gpio-line-names = "PS_SMBUS_RESET_N", "APSS_RESET_N",
753 "GPU0_TH_OVERT_N_BUFF", "GPU1_TH_OVERT_N_BUFF",
754 "GPU2_TH_OVERT_N_BUFF", "GPU3_TH_OVERT_N_BUFF",
755 "GPU4_TH_OVERT_N_BUFF", "GPU5_TH_OVERT_N_BUFF",
756 "GPU0_PWR_GOOD_BUFF", "GPU1_PWR_GOOD_BUFF",
757 "GPU2_PWR_GOOD_BUFF", "GPU3_PWR_GOOD_BUFF",
758 "GPU4_PWR_GOOD_BUFF", "GPU5_PWR_GOOD_BUFF",
759 "12V_BREAKER_FLT_N", "THROTTLE_UNLATCHED_N";
763 type = <PCA955X_TYPE_GPIO>;
768 type = <PCA955X_TYPE_GPIO>;
773 type = <PCA955X_TYPE_GPIO>;
778 type = <PCA955X_TYPE_GPIO>;
783 type = <PCA955X_TYPE_GPIO>;
788 type = <PCA955X_TYPE_GPIO>;
793 type = <PCA955X_TYPE_GPIO>;
798 type = <PCA955X_TYPE_GPIO>;
803 type = <PCA955X_TYPE_GPIO>;
808 type = <PCA955X_TYPE_GPIO>;
813 type = <PCA955X_TYPE_GPIO>;
818 type = <PCA955X_TYPE_GPIO>;
823 type = <PCA955X_TYPE_GPIO>;
828 type = <PCA955X_TYPE_GPIO>;
833 type = <PCA955X_TYPE_GPIO>;
838 type = <PCA955X_TYPE_GPIO>;
843 compatible = "epson,rx8900";
848 compatible = "atmel,24c64";
853 compatible = "ti,ucd90160";
873 compatible = "snps,dw-apb-uart";
878 compatible = "snps,dw-apb-uart";
891 memory-region = <&flash_memory>;
896 aspeed,reset-type = "none";
897 aspeed,external-signal;
898 aspeed,ext-push-pull;
899 aspeed,ext-active-high;
901 pinctrl-names = "default";
902 pinctrl-0 = <&pinctrl_wdtrst1_default>;
910 /* Hog these as no driver is probed for the entire LPC block */
911 pinctrl-names = "default";
912 pinctrl-0 = <&pinctrl_lpc_default>,
913 <&pinctrl_lsirq_default>;