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";
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*/ "","","","","","","","",
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*/ "","","","","","","","",
140 /*AA0-AA7*/ "","","","","","","","",
141 /*AB0-AB7*/ "","","","","","","","",
142 /*AC0-AC7*/ "","","","","","","","";
151 spi-max-frequency = <50000000>;
152 #include "openbmc-flash-layout-128.dtsi"
159 spi-max-frequency = <50000000>;
165 pinctrl-names = "default";
166 pinctrl-0 = <&pinctrl_spi1_default>;
172 spi-max-frequency = <100000000>;
178 pinctrl-names = "default";
179 pinctrl-0 = <&pinctrl_rmii3_default>;
180 clocks = <&syscon ASPEED_CLK_GATE_MAC3CLK>,
181 <&syscon ASPEED_CLK_MAC3RCLK>;
182 clock-names = "MACCLK", "RCLK";
197 #address-cells = <2>;
200 fsi-routing-gpios = <&gpio0 ASPEED_GPIO(Q, 7) GPIO_ACTIVE_HIGH>;
201 fsi-mux-gpios = <&gpio0 ASPEED_GPIO(B, 0) GPIO_ACTIVE_HIGH>;
202 cfam-reset-gpios = <&gpio0 ASPEED_GPIO(Q, 0) GPIO_ACTIVE_LOW>;
206 #address-cells = <1>;
211 compatible = "ibm,fsi2pib";
212 reg = <0x1000 0x400>;
216 compatible = "ibm,fsi-i2c-master";
217 reg = <0x1800 0x400>;
218 #address-cells = <1>;
221 cfam0_i2c0: i2c-bus@0 {
225 cfam0_i2c1: i2c-bus@1 {
229 cfam0_i2c2: i2c-bus@2 {
233 cfam0_i2c3: i2c-bus@3 {
237 cfam0_i2c4: i2c-bus@4 {
241 cfam0_i2c5: i2c-bus@5 {
245 cfam0_i2c6: i2c-bus@6 {
249 cfam0_i2c7: i2c-bus@7 {
253 cfam0_i2c8: i2c-bus@8 {
257 cfam0_i2c9: i2c-bus@9 {
261 cfam0_i2c10: i2c-bus@a {
265 cfam0_i2c11: i2c-bus@b {
269 cfam0_i2c12: i2c-bus@c {
273 cfam0_i2c13: i2c-bus@d {
277 cfam0_i2c14: i2c-bus@e {
283 compatible = "ibm,p9-sbefifo";
284 reg = <0x2400 0x400>;
285 #address-cells = <1>;
289 compatible = "ibm,p9-occ";
294 compatible = "fsi-master-hub";
295 reg = <0x3400 0x400>;
296 #address-cells = <2>;
307 #address-cells = <1>;
312 compatible = "ibm,fsi2pib";
313 reg = <0x1000 0x400>;
317 compatible = "ibm,fsi-i2c-master";
318 reg = <0x1800 0x400>;
319 #address-cells = <1>;
322 cfam1_i2c0: i2c-bus@0 {
326 cfam1_i2c1: i2c-bus@1 {
330 cfam1_i2c2: i2c-bus@2 {
334 cfam1_i2c3: i2c-bus@3 {
338 cfam1_i2c4: i2c-bus@4 {
342 cfam1_i2c5: i2c-bus@5 {
346 cfam1_i2c6: i2c-bus@6 {
350 cfam1_i2c7: i2c-bus@7 {
354 cfam1_i2c8: i2c-bus@8 {
358 cfam1_i2c9: i2c-bus@9 {
362 cfam1_i2c10: i2c-bus@a {
366 cfam1_i2c11: i2c-bus@b {
370 cfam1_i2c12: i2c-bus@c {
374 cfam1_i2c13: i2c-bus@d {
378 cfam1_i2c14: i2c-bus@e {
384 compatible = "ibm,p9-sbefifo";
385 reg = <0x2400 0x400>;
386 #address-cells = <1>;
390 compatible = "ibm,p9-occ";
395 compatible = "fsi-master-hub";
396 reg = <0x3400 0x400>;
397 #address-cells = <2>;
405 /* Legacy OCC numbering (to get rid of when userspace is fixed) */
416 i2c100 = &cfam0_i2c0;
417 i2c101 = &cfam0_i2c1;
418 i2c102 = &cfam0_i2c2;
419 i2c103 = &cfam0_i2c3;
420 i2c104 = &cfam0_i2c4;
421 i2c105 = &cfam0_i2c5;
422 i2c106 = &cfam0_i2c6;
423 i2c107 = &cfam0_i2c7;
424 i2c108 = &cfam0_i2c8;
425 i2c109 = &cfam0_i2c9;
426 i2c110 = &cfam0_i2c10;
427 i2c111 = &cfam0_i2c11;
428 i2c112 = &cfam0_i2c12;
429 i2c113 = &cfam0_i2c13;
430 i2c114 = &cfam0_i2c14;
431 i2c200 = &cfam1_i2c0;
432 i2c201 = &cfam1_i2c1;
433 i2c202 = &cfam1_i2c2;
434 i2c203 = &cfam1_i2c3;
435 i2c204 = &cfam1_i2c4;
436 i2c205 = &cfam1_i2c5;
437 i2c206 = &cfam1_i2c6;
438 i2c207 = &cfam1_i2c7;
439 i2c208 = &cfam1_i2c8;
440 i2c209 = &cfam1_i2c9;
441 i2c210 = &cfam1_i2c10;
442 i2c211 = &cfam1_i2c11;
443 i2c212 = &cfam1_i2c12;
444 i2c213 = &cfam1_i2c13;
445 i2c214 = &cfam1_i2c14;
455 compatible = "ibm,op-panel";
456 reg = <(0x62 | I2C_OWN_SLAVE_ADDRESS)>;
464 compatible = "tcg,tpm-tis-i2c";
477 compatible = "bosch,bmp280";
479 #io-channel-cells = <1>;
483 compatible = "maxim,max31785a";
485 #address-cells = <1>;
489 compatible = "pmbus-fan";
492 maxim,fan-rotor-input = "tach";
493 maxim,fan-pwm-freq = <25000>;
495 maxim,fan-no-watchdog;
496 maxim,fan-no-fault-ramp;
497 maxim,fan-ramp = <2>;
498 maxim,fan-fault-pin-mon;
502 compatible = "pmbus-fan";
505 maxim,fan-rotor-input = "tach";
506 maxim,fan-pwm-freq = <25000>;
508 maxim,fan-no-watchdog;
509 maxim,fan-no-fault-ramp;
510 maxim,fan-ramp = <2>;
511 maxim,fan-fault-pin-mon;
515 compatible = "pmbus-fan";
518 maxim,fan-rotor-input = "tach";
519 maxim,fan-pwm-freq = <25000>;
521 maxim,fan-no-watchdog;
522 maxim,fan-no-fault-ramp;
523 maxim,fan-ramp = <2>;
524 maxim,fan-fault-pin-mon;
528 compatible = "pmbus-fan";
531 maxim,fan-rotor-input = "tach";
532 maxim,fan-pwm-freq = <25000>;
534 maxim,fan-no-watchdog;
535 maxim,fan-no-fault-ramp;
536 maxim,fan-ramp = <2>;
537 maxim,fan-fault-pin-mon;
542 compatible = "infineon,dps310";
544 #io-channel-cells = <0>;
548 compatible = "nxp,pca9552";
550 #address-cells = <1>;
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 type = <PCA955X_TYPE_GPIO>;
638 compatible = "ibm,cffps1";
643 compatible = "ibm,cffps1";
652 compatible = "ti,tmp423";
657 compatible = "infineon,ir35221";
662 compatible = "infineon,ir35221";
671 compatible = "ti,tmp423";
676 compatible = "infineon,ir35221";
681 compatible = "infineon,ir35221";
694 compatible = "ti,tmp275";
706 pca9552: pca9552@60 {
707 compatible = "nxp,pca9552";
709 #address-cells = <1>;
714 gpio-line-names = "PS_SMBUS_RESET_N", "APSS_RESET_N",
715 "GPU0_TH_OVERT_N_BUFF", "GPU1_TH_OVERT_N_BUFF",
716 "GPU2_TH_OVERT_N_BUFF", "GPU3_TH_OVERT_N_BUFF",
717 "GPU4_TH_OVERT_N_BUFF", "GPU5_TH_OVERT_N_BUFF",
718 "GPU0_PWR_GOOD_BUFF", "GPU1_PWR_GOOD_BUFF",
719 "GPU2_PWR_GOOD_BUFF", "GPU3_PWR_GOOD_BUFF",
720 "GPU4_PWR_GOOD_BUFF", "GPU5_PWR_GOOD_BUFF",
721 "12V_BREAKER_FLT_N", "THROTTLE_UNLATCHED_N";
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 type = <PCA955X_TYPE_GPIO>;
805 compatible = "epson,rx8900";
810 compatible = "atmel,24c64";
815 compatible = "ti,ucd90160";
835 compatible = "snps,dw-apb-uart";
840 compatible = "snps,dw-apb-uart";
853 memory-region = <&flash_memory>;
858 aspeed,reset-type = "none";
859 aspeed,external-signal;
860 aspeed,ext-push-pull;
861 aspeed,ext-active-high;
863 pinctrl-names = "default";
864 pinctrl-0 = <&pinctrl_wdtrst1_default>;
872 /* Hog these as no driver is probed for the entire LPC block */
873 pinctrl-names = "default";
874 pinctrl-0 = <&pinctrl_lpc_default>,
875 <&pinctrl_lsirq_default>;
880 memory-region = <&vga_memory>;