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>;
200 cfam-reset-gpios = <&gpio0 ASPEED_GPIO(Q, 0) GPIO_ACTIVE_LOW>;
204 #address-cells = <1>;
209 compatible = "ibm,fsi2pib";
210 reg = <0x1000 0x400>;
214 compatible = "ibm,fsi-i2c-master";
215 reg = <0x1800 0x400>;
216 #address-cells = <1>;
219 cfam0_i2c0: i2c-bus@0 {
223 cfam0_i2c1: i2c-bus@1 {
227 cfam0_i2c2: i2c-bus@2 {
231 cfam0_i2c3: i2c-bus@3 {
235 cfam0_i2c4: i2c-bus@4 {
239 cfam0_i2c5: i2c-bus@5 {
243 cfam0_i2c6: i2c-bus@6 {
247 cfam0_i2c7: i2c-bus@7 {
251 cfam0_i2c8: i2c-bus@8 {
255 cfam0_i2c9: i2c-bus@9 {
259 cfam0_i2c10: i2c-bus@a {
263 cfam0_i2c11: i2c-bus@b {
267 cfam0_i2c12: i2c-bus@c {
271 cfam0_i2c13: i2c-bus@d {
275 cfam0_i2c14: i2c-bus@e {
281 compatible = "ibm,p9-sbefifo";
282 reg = <0x2400 0x400>;
283 #address-cells = <1>;
287 compatible = "ibm,p9-occ";
292 compatible = "fsi-master-hub";
293 reg = <0x3400 0x400>;
294 #address-cells = <2>;
305 #address-cells = <1>;
310 compatible = "ibm,fsi2pib";
311 reg = <0x1000 0x400>;
315 compatible = "ibm,fsi-i2c-master";
316 reg = <0x1800 0x400>;
317 #address-cells = <1>;
320 cfam1_i2c0: i2c-bus@0 {
324 cfam1_i2c1: i2c-bus@1 {
328 cfam1_i2c2: i2c-bus@2 {
332 cfam1_i2c3: i2c-bus@3 {
336 cfam1_i2c4: i2c-bus@4 {
340 cfam1_i2c5: i2c-bus@5 {
344 cfam1_i2c6: i2c-bus@6 {
348 cfam1_i2c7: i2c-bus@7 {
352 cfam1_i2c8: i2c-bus@8 {
356 cfam1_i2c9: i2c-bus@9 {
360 cfam1_i2c10: i2c-bus@a {
364 cfam1_i2c11: i2c-bus@b {
368 cfam1_i2c12: i2c-bus@c {
372 cfam1_i2c13: i2c-bus@d {
376 cfam1_i2c14: i2c-bus@e {
382 compatible = "ibm,p9-sbefifo";
383 reg = <0x2400 0x400>;
384 #address-cells = <1>;
388 compatible = "ibm,p9-occ";
393 compatible = "fsi-master-hub";
394 reg = <0x3400 0x400>;
395 #address-cells = <2>;
403 /* Legacy OCC numbering (to get rid of when userspace is fixed) */
414 i2c100 = &cfam0_i2c0;
415 i2c101 = &cfam0_i2c1;
416 i2c102 = &cfam0_i2c2;
417 i2c103 = &cfam0_i2c3;
418 i2c104 = &cfam0_i2c4;
419 i2c105 = &cfam0_i2c5;
420 i2c106 = &cfam0_i2c6;
421 i2c107 = &cfam0_i2c7;
422 i2c108 = &cfam0_i2c8;
423 i2c109 = &cfam0_i2c9;
424 i2c110 = &cfam0_i2c10;
425 i2c111 = &cfam0_i2c11;
426 i2c112 = &cfam0_i2c12;
427 i2c113 = &cfam0_i2c13;
428 i2c114 = &cfam0_i2c14;
429 i2c200 = &cfam1_i2c0;
430 i2c201 = &cfam1_i2c1;
431 i2c202 = &cfam1_i2c2;
432 i2c203 = &cfam1_i2c3;
433 i2c204 = &cfam1_i2c4;
434 i2c205 = &cfam1_i2c5;
435 i2c206 = &cfam1_i2c6;
436 i2c207 = &cfam1_i2c7;
437 i2c208 = &cfam1_i2c8;
438 i2c209 = &cfam1_i2c9;
439 i2c210 = &cfam1_i2c10;
440 i2c211 = &cfam1_i2c11;
441 i2c212 = &cfam1_i2c12;
442 i2c213 = &cfam1_i2c13;
443 i2c214 = &cfam1_i2c14;
453 compatible = "ibm,op-panel";
454 reg = <(0x62 | I2C_OWN_SLAVE_ADDRESS)>;
462 compatible = "tcg,tpm-tis-i2c";
475 compatible = "bosch,bmp280";
477 #io-channel-cells = <1>;
481 compatible = "maxim,max31785a";
483 #address-cells = <1>;
487 compatible = "pmbus-fan";
490 maxim,fan-rotor-input = "tach";
491 maxim,fan-pwm-freq = <25000>;
493 maxim,fan-no-watchdog;
494 maxim,fan-no-fault-ramp;
495 maxim,fan-ramp = <2>;
496 maxim,fan-fault-pin-mon;
500 compatible = "pmbus-fan";
503 maxim,fan-rotor-input = "tach";
504 maxim,fan-pwm-freq = <25000>;
506 maxim,fan-no-watchdog;
507 maxim,fan-no-fault-ramp;
508 maxim,fan-ramp = <2>;
509 maxim,fan-fault-pin-mon;
513 compatible = "pmbus-fan";
516 maxim,fan-rotor-input = "tach";
517 maxim,fan-pwm-freq = <25000>;
519 maxim,fan-no-watchdog;
520 maxim,fan-no-fault-ramp;
521 maxim,fan-ramp = <2>;
522 maxim,fan-fault-pin-mon;
526 compatible = "pmbus-fan";
529 maxim,fan-rotor-input = "tach";
530 maxim,fan-pwm-freq = <25000>;
532 maxim,fan-no-watchdog;
533 maxim,fan-no-fault-ramp;
534 maxim,fan-ramp = <2>;
535 maxim,fan-fault-pin-mon;
540 compatible = "infineon,dps310";
542 #io-channel-cells = <0>;
546 compatible = "nxp,pca9552";
548 #address-cells = <1>;
556 type = <PCA955X_TYPE_GPIO>;
561 type = <PCA955X_TYPE_GPIO>;
566 type = <PCA955X_TYPE_GPIO>;
571 type = <PCA955X_TYPE_GPIO>;
576 type = <PCA955X_TYPE_GPIO>;
581 type = <PCA955X_TYPE_GPIO>;
586 type = <PCA955X_TYPE_GPIO>;
591 type = <PCA955X_TYPE_GPIO>;
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 compatible = "ibm,cffps1";
641 compatible = "ibm,cffps1";
650 compatible = "ti,tmp423";
655 compatible = "infineon,ir35221";
660 compatible = "infineon,ir35221";
669 compatible = "ti,tmp423";
674 compatible = "infineon,ir35221";
679 compatible = "infineon,ir35221";
692 compatible = "ti,tmp275";
704 pca9552: pca9552@60 {
705 compatible = "nxp,pca9552";
707 #address-cells = <1>;
712 gpio-line-names = "PS_SMBUS_RESET_N", "APSS_RESET_N",
713 "GPU0_TH_OVERT_N_BUFF", "GPU1_TH_OVERT_N_BUFF",
714 "GPU2_TH_OVERT_N_BUFF", "GPU3_TH_OVERT_N_BUFF",
715 "GPU4_TH_OVERT_N_BUFF", "GPU5_TH_OVERT_N_BUFF",
716 "GPU0_PWR_GOOD_BUFF", "GPU1_PWR_GOOD_BUFF",
717 "GPU2_PWR_GOOD_BUFF", "GPU3_PWR_GOOD_BUFF",
718 "GPU4_PWR_GOOD_BUFF", "GPU5_PWR_GOOD_BUFF",
719 "12V_BREAKER_FLT_N", "THROTTLE_UNLATCHED_N";
723 type = <PCA955X_TYPE_GPIO>;
728 type = <PCA955X_TYPE_GPIO>;
733 type = <PCA955X_TYPE_GPIO>;
738 type = <PCA955X_TYPE_GPIO>;
743 type = <PCA955X_TYPE_GPIO>;
748 type = <PCA955X_TYPE_GPIO>;
753 type = <PCA955X_TYPE_GPIO>;
758 type = <PCA955X_TYPE_GPIO>;
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 compatible = "epson,rx8900";
808 compatible = "atmel,24c64";
813 compatible = "ti,ucd90160";
833 compatible = "snps,dw-apb-uart";
838 compatible = "snps,dw-apb-uart";
851 memory-region = <&flash_memory>;
856 aspeed,reset-type = "none";
857 aspeed,external-signal;
858 aspeed,ext-push-pull;
859 aspeed,ext-active-high;
861 pinctrl-names = "default";
862 pinctrl-0 = <&pinctrl_wdtrst1_default>;
870 /* Hog these as no driver is probed for the entire LPC block */
871 pinctrl-names = "default";
872 pinctrl-0 = <&pinctrl_lpc_default>,
873 <&pinctrl_lsirq_default>;
878 memory-region = <&vga_memory>;