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 */
33 vga_memory: region@bf000000 {
35 compatible = "shared-dma-pool";
36 reg = <0xbf000000 0x01000000>; /* 16M */
41 compatible = "gpio-keys";
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 = "iio-hwmon";
89 io-channels = <&dps 0>;
93 compatible = "iio-hwmon";
94 io-channels = <&bmp 1>;
104 /*A0-A7*/ "","","","","","","","",
105 /*B0-B7*/ "fsi-mux","","","","","","","",
106 /*C0-C7*/ "","","","","","","","",
107 /*D0-D7*/ "","","","","","","","",
108 /*E0-E7*/ "power-button","","","checkstop","","presence-ps1","","led-rear-fault",
109 /*F0-F7*/ "","","","","","","","",
110 /*G0-G7*/ "","","","","","","","",
111 /*H0-H7*/ "","","","presence-ps0","","","","",
112 /*I0-I7*/ "","","","","","","","",
113 /*J0-J7*/ "","","","","","","","",
114 /*K0-K7*/ "","","","","","","","",
115 /*L0-L7*/ "","","","","","","","",
116 /*M0-M7*/ "","","","","","","","",
117 /*N0-N7*/ "","","","","","","","",
118 /*O0-O7*/ "led-rear-power","led-rear-id","","usb-power","","","","",
119 /*P0-P7*/ "","","","","","","","",
120 /*Q0-Q7*/ "cfam-reset","","","","","","","fsi-routing",
121 /*R0-R7*/ "","","","","","","","",
122 /*S0-S7*/ "","","","","","","","",
123 /*T0-T7*/ "","","","","","","","",
124 /*U0-U7*/ "","","","","","","","",
125 /*V0-V7*/ "","","","","","","","",
126 /*W0-W7*/ "","","","","","","","",
127 /*X0-X7*/ "","","","","","","","",
128 /*Y0-Y7*/ "","","","","","","","",
129 /*Z0-Z7*/ "","","","","","","","",
130 /*AA0-AA7*/ "","","","","","","","",
131 /*AB0-AB7*/ "","","","","","","","",
132 /*AC0-AC7*/ "","","","","","","","";
141 spi-max-frequency = <50000000>;
142 #include "openbmc-flash-layout-128.dtsi"
149 spi-max-frequency = <50000000>;
155 pinctrl-names = "default";
156 pinctrl-0 = <&pinctrl_spi1_default>;
162 spi-max-frequency = <100000000>;
168 pinctrl-names = "default";
169 pinctrl-0 = <&pinctrl_rmii3_default>;
170 clocks = <&syscon ASPEED_CLK_GATE_MAC3CLK>,
171 <&syscon ASPEED_CLK_MAC3RCLK>;
172 clock-names = "MACCLK", "RCLK";
187 #address-cells = <2>;
190 fsi-routing-gpios = <&gpio0 ASPEED_GPIO(Q, 7) GPIO_ACTIVE_HIGH>;
191 fsi-mux-gpios = <&gpio0 ASPEED_GPIO(B, 0) GPIO_ACTIVE_HIGH>;
192 cfam-reset-gpios = <&gpio0 ASPEED_GPIO(Q, 0) GPIO_ACTIVE_LOW>;
196 #address-cells = <1>;
201 compatible = "ibm,fsi2pib";
202 reg = <0x1000 0x400>;
206 compatible = "ibm,fsi-i2c-master";
207 reg = <0x1800 0x400>;
208 #address-cells = <1>;
211 cfam0_i2c0: i2c-bus@0 {
215 cfam0_i2c1: i2c-bus@1 {
219 cfam0_i2c2: i2c-bus@2 {
223 cfam0_i2c3: i2c-bus@3 {
227 cfam0_i2c4: i2c-bus@4 {
231 cfam0_i2c5: i2c-bus@5 {
235 cfam0_i2c6: i2c-bus@6 {
239 cfam0_i2c7: i2c-bus@7 {
243 cfam0_i2c8: i2c-bus@8 {
247 cfam0_i2c9: i2c-bus@9 {
251 cfam0_i2c10: i2c-bus@a {
255 cfam0_i2c11: i2c-bus@b {
259 cfam0_i2c12: i2c-bus@c {
263 cfam0_i2c13: i2c-bus@d {
267 cfam0_i2c14: i2c-bus@e {
273 compatible = "ibm,p9-sbefifo";
274 reg = <0x2400 0x400>;
275 #address-cells = <1>;
279 compatible = "ibm,p9-occ";
284 compatible = "fsi-master-hub";
285 reg = <0x3400 0x400>;
286 #address-cells = <2>;
297 #address-cells = <1>;
302 compatible = "ibm,fsi2pib";
303 reg = <0x1000 0x400>;
307 compatible = "ibm,fsi-i2c-master";
308 reg = <0x1800 0x400>;
309 #address-cells = <1>;
312 cfam1_i2c0: i2c-bus@0 {
316 cfam1_i2c1: i2c-bus@1 {
320 cfam1_i2c2: i2c-bus@2 {
324 cfam1_i2c3: i2c-bus@3 {
328 cfam1_i2c4: i2c-bus@4 {
332 cfam1_i2c5: i2c-bus@5 {
336 cfam1_i2c6: i2c-bus@6 {
340 cfam1_i2c7: i2c-bus@7 {
344 cfam1_i2c8: i2c-bus@8 {
348 cfam1_i2c9: i2c-bus@9 {
352 cfam1_i2c10: i2c-bus@a {
356 cfam1_i2c11: i2c-bus@b {
360 cfam1_i2c12: i2c-bus@c {
364 cfam1_i2c13: i2c-bus@d {
368 cfam1_i2c14: i2c-bus@e {
374 compatible = "ibm,p9-sbefifo";
375 reg = <0x2400 0x400>;
376 #address-cells = <1>;
380 compatible = "ibm,p9-occ";
385 compatible = "fsi-master-hub";
386 reg = <0x3400 0x400>;
387 #address-cells = <2>;
395 /* Legacy OCC numbering (to get rid of when userspace is fixed) */
406 i2c100 = &cfam0_i2c0;
407 i2c101 = &cfam0_i2c1;
408 i2c102 = &cfam0_i2c2;
409 i2c103 = &cfam0_i2c3;
410 i2c104 = &cfam0_i2c4;
411 i2c105 = &cfam0_i2c5;
412 i2c106 = &cfam0_i2c6;
413 i2c107 = &cfam0_i2c7;
414 i2c108 = &cfam0_i2c8;
415 i2c109 = &cfam0_i2c9;
416 i2c110 = &cfam0_i2c10;
417 i2c111 = &cfam0_i2c11;
418 i2c112 = &cfam0_i2c12;
419 i2c113 = &cfam0_i2c13;
420 i2c114 = &cfam0_i2c14;
421 i2c200 = &cfam1_i2c0;
422 i2c201 = &cfam1_i2c1;
423 i2c202 = &cfam1_i2c2;
424 i2c203 = &cfam1_i2c3;
425 i2c204 = &cfam1_i2c4;
426 i2c205 = &cfam1_i2c5;
427 i2c206 = &cfam1_i2c6;
428 i2c207 = &cfam1_i2c7;
429 i2c208 = &cfam1_i2c8;
430 i2c209 = &cfam1_i2c9;
431 i2c210 = &cfam1_i2c10;
432 i2c211 = &cfam1_i2c11;
433 i2c212 = &cfam1_i2c12;
434 i2c213 = &cfam1_i2c13;
435 i2c214 = &cfam1_i2c14;
448 compatible = "tcg,tpm-tis-i2c";
461 compatible = "bosch,bmp280";
463 #io-channel-cells = <1>;
467 compatible = "maxim,max31785a";
469 #address-cells = <1>;
473 compatible = "pmbus-fan";
476 maxim,fan-rotor-input = "tach";
477 maxim,fan-pwm-freq = <25000>;
479 maxim,fan-no-watchdog;
480 maxim,fan-no-fault-ramp;
481 maxim,fan-ramp = <2>;
482 maxim,fan-fault-pin-mon;
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;
526 compatible = "infineon,dps310";
528 #io-channel-cells = <0>;
532 compatible = "nxp,pca9552";
534 #address-cells = <1>;
542 type = <PCA955X_TYPE_GPIO>;
547 type = <PCA955X_TYPE_GPIO>;
552 type = <PCA955X_TYPE_GPIO>;
557 type = <PCA955X_TYPE_GPIO>;
562 type = <PCA955X_TYPE_GPIO>;
567 type = <PCA955X_TYPE_GPIO>;
572 type = <PCA955X_TYPE_GPIO>;
577 type = <PCA955X_TYPE_GPIO>;
582 type = <PCA955X_TYPE_GPIO>;
587 type = <PCA955X_TYPE_GPIO>;
592 type = <PCA955X_TYPE_GPIO>;
597 type = <PCA955X_TYPE_GPIO>;
602 type = <PCA955X_TYPE_GPIO>;
607 type = <PCA955X_TYPE_GPIO>;
612 type = <PCA955X_TYPE_GPIO>;
617 type = <PCA955X_TYPE_GPIO>;
622 compatible = "ibm,cffps1";
627 compatible = "ibm,cffps1";
636 compatible = "ti,tmp423";
641 compatible = "infineon,ir35221";
646 compatible = "infineon,ir35221";
655 compatible = "ti,tmp423";
660 compatible = "infineon,ir35221";
665 compatible = "infineon,ir35221";
678 compatible = "ti,tmp275";
690 pca9552: pca9552@60 {
691 compatible = "nxp,pca9552";
693 #address-cells = <1>;
698 gpio-line-names = "PS_SMBUS_RESET_N", "APSS_RESET_N",
699 "GPU0_TH_OVERT_N_BUFF", "GPU1_TH_OVERT_N_BUFF",
700 "GPU2_TH_OVERT_N_BUFF", "GPU3_TH_OVERT_N_BUFF",
701 "GPU4_TH_OVERT_N_BUFF", "GPU5_TH_OVERT_N_BUFF",
702 "GPU0_PWR_GOOD_BUFF", "GPU1_PWR_GOOD_BUFF",
703 "GPU2_PWR_GOOD_BUFF", "GPU3_PWR_GOOD_BUFF",
704 "GPU4_PWR_GOOD_BUFF", "GPU5_PWR_GOOD_BUFF",
705 "12V_BREAKER_FLT_N", "THROTTLE_UNLATCHED_N";
709 type = <PCA955X_TYPE_GPIO>;
714 type = <PCA955X_TYPE_GPIO>;
719 type = <PCA955X_TYPE_GPIO>;
724 type = <PCA955X_TYPE_GPIO>;
729 type = <PCA955X_TYPE_GPIO>;
734 type = <PCA955X_TYPE_GPIO>;
739 type = <PCA955X_TYPE_GPIO>;
744 type = <PCA955X_TYPE_GPIO>;
749 type = <PCA955X_TYPE_GPIO>;
754 type = <PCA955X_TYPE_GPIO>;
759 type = <PCA955X_TYPE_GPIO>;
764 type = <PCA955X_TYPE_GPIO>;
769 type = <PCA955X_TYPE_GPIO>;
774 type = <PCA955X_TYPE_GPIO>;
779 type = <PCA955X_TYPE_GPIO>;
784 type = <PCA955X_TYPE_GPIO>;
789 compatible = "epson,rx8900";
794 compatible = "atmel,24c64";
799 compatible = "ti,ucd90160";
819 compatible = "snps,dw-apb-uart";
824 compatible = "snps,dw-apb-uart";
837 memory-region = <&flash_memory>;
842 aspeed,reset-type = "none";
843 aspeed,external-signal;
844 aspeed,ext-push-pull;
845 aspeed,ext-active-high;
847 pinctrl-names = "default";
848 pinctrl-0 = <&pinctrl_wdtrst1_default>;
856 /* Hog these as no driver is probed for the entire LPC block */
857 pinctrl-names = "default";
858 pinctrl-0 = <&pinctrl_lpc_default>,
859 <&pinctrl_lsirq_default>;
864 memory-region = <&vga_memory>;