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@ba000000 {
31 reg = <0xb8000000 0x4000000>; /* 64M */
34 vga_memory: region@bf000000 {
36 compatible = "shared-dma-pool";
37 reg = <0xbf000000 0x01000000>; /* 16M */
42 compatible = "gpio-keys";
45 label = "ps0-presence";
46 gpios = <&gpio0 ASPEED_GPIO(H, 3) GPIO_ACTIVE_LOW>;
47 linux,code = <ASPEED_GPIO(H, 3)>;
51 label = "ps1-presence";
52 gpios = <&gpio0 ASPEED_GPIO(E, 5) GPIO_ACTIVE_LOW>;
53 linux,code = <ASPEED_GPIO(E, 5)>;
58 compatible = "gpio-keys-polled";
61 poll-interval = <1000>;
64 label = "fan0-presence";
65 gpios = <&pca0 4 GPIO_ACTIVE_LOW>;
70 label = "fan1-presence";
71 gpios = <&pca0 5 GPIO_ACTIVE_LOW>;
76 label = "fan2-presence";
77 gpios = <&pca0 6 GPIO_ACTIVE_LOW>;
82 label = "fan3-presence";
83 gpios = <&pca0 7 GPIO_ACTIVE_LOW>;
89 compatible = "iio-hwmon";
90 io-channels = <&dps 0>;
94 compatible = "iio-hwmon";
95 io-channels = <&bmp 1>;
105 /*A0-A7*/ "","","","","","","","",
106 /*B0-B7*/ "fsi-mux","","","","","","","",
107 /*C0-C7*/ "","","","","","","","",
108 /*D0-D7*/ "","","","","","","","",
109 /*E0-E7*/ "power-button","","","checkstop","","presence-ps1","","led-rear-fault",
110 /*F0-F7*/ "","","","","","","","",
111 /*G0-G7*/ "","","","","","","","",
112 /*H0-H7*/ "","","","presence-ps0","","","","",
113 /*I0-I7*/ "","","","","","","","",
114 /*J0-J7*/ "","","","","","","","",
115 /*K0-K7*/ "","","","","","","","",
116 /*L0-L7*/ "","","","","","","","",
117 /*M0-M7*/ "","","","","","","","",
118 /*N0-N7*/ "","","","","","","","",
119 /*O0-O7*/ "led-rear-power","led-rear-id","","usb-power","","","","",
120 /*P0-P7*/ "","","","","","","","",
121 /*Q0-Q7*/ "cfam-reset","","","","","","","fsi-routing",
122 /*R0-R7*/ "","","","","","","","",
123 /*S0-S7*/ "","","","","","","","",
124 /*T0-T7*/ "","","","","","","","",
125 /*U0-U7*/ "","","","","","","","",
126 /*V0-V7*/ "","","","","","","","",
127 /*W0-W7*/ "","","","","","","","",
128 /*X0-X7*/ "","","","","","","","",
129 /*Y0-Y7*/ "","","","","","","","",
130 /*Z0-Z7*/ "","","","","","","","",
131 /*AA0-AA7*/ "","","","","","","","",
132 /*AB0-AB7*/ "","","","","","","","",
133 /*AC0-AC7*/ "","","","","","","","";
142 spi-max-frequency = <50000000>;
143 #include "openbmc-flash-layout-128.dtsi"
150 spi-max-frequency = <50000000>;
156 pinctrl-names = "default";
157 pinctrl-0 = <&pinctrl_spi1_default>;
163 spi-max-frequency = <100000000>;
169 pinctrl-names = "default";
170 pinctrl-0 = <&pinctrl_rmii3_default>;
171 clocks = <&syscon ASPEED_CLK_GATE_MAC3CLK>,
172 <&syscon ASPEED_CLK_MAC3RCLK>;
173 clock-names = "MACCLK", "RCLK";
188 #address-cells = <2>;
191 fsi-routing-gpios = <&gpio0 ASPEED_GPIO(Q, 7) GPIO_ACTIVE_HIGH>;
192 fsi-mux-gpios = <&gpio0 ASPEED_GPIO(B, 0) GPIO_ACTIVE_HIGH>;
193 cfam-reset-gpios = <&gpio0 ASPEED_GPIO(Q, 0) GPIO_ACTIVE_LOW>;
197 #address-cells = <1>;
202 compatible = "ibm,fsi2pib";
203 reg = <0x1000 0x400>;
207 compatible = "ibm,fsi-i2c-master";
208 reg = <0x1800 0x400>;
209 #address-cells = <1>;
212 cfam0_i2c0: i2c-bus@0 {
216 cfam0_i2c1: i2c-bus@1 {
220 cfam0_i2c2: i2c-bus@2 {
224 cfam0_i2c3: i2c-bus@3 {
228 cfam0_i2c4: i2c-bus@4 {
232 cfam0_i2c5: i2c-bus@5 {
236 cfam0_i2c6: i2c-bus@6 {
240 cfam0_i2c7: i2c-bus@7 {
244 cfam0_i2c8: i2c-bus@8 {
248 cfam0_i2c9: i2c-bus@9 {
252 cfam0_i2c10: i2c-bus@a {
256 cfam0_i2c11: i2c-bus@b {
260 cfam0_i2c12: i2c-bus@c {
264 cfam0_i2c13: i2c-bus@d {
268 cfam0_i2c14: i2c-bus@e {
274 compatible = "ibm,p9-sbefifo";
275 reg = <0x2400 0x400>;
276 #address-cells = <1>;
280 compatible = "ibm,p9-occ";
285 compatible = "fsi-master-hub";
286 reg = <0x3400 0x400>;
287 #address-cells = <2>;
298 #address-cells = <1>;
303 compatible = "ibm,fsi2pib";
304 reg = <0x1000 0x400>;
308 compatible = "ibm,fsi-i2c-master";
309 reg = <0x1800 0x400>;
310 #address-cells = <1>;
313 cfam1_i2c0: i2c-bus@0 {
317 cfam1_i2c1: i2c-bus@1 {
321 cfam1_i2c2: i2c-bus@2 {
325 cfam1_i2c3: i2c-bus@3 {
329 cfam1_i2c4: i2c-bus@4 {
333 cfam1_i2c5: i2c-bus@5 {
337 cfam1_i2c6: i2c-bus@6 {
341 cfam1_i2c7: i2c-bus@7 {
345 cfam1_i2c8: i2c-bus@8 {
349 cfam1_i2c9: i2c-bus@9 {
353 cfam1_i2c10: i2c-bus@a {
357 cfam1_i2c11: i2c-bus@b {
361 cfam1_i2c12: i2c-bus@c {
365 cfam1_i2c13: i2c-bus@d {
369 cfam1_i2c14: i2c-bus@e {
375 compatible = "ibm,p9-sbefifo";
376 reg = <0x2400 0x400>;
377 #address-cells = <1>;
381 compatible = "ibm,p9-occ";
386 compatible = "fsi-master-hub";
387 reg = <0x3400 0x400>;
388 #address-cells = <2>;
396 /* Legacy OCC numbering (to get rid of when userspace is fixed) */
407 i2c100 = &cfam0_i2c0;
408 i2c101 = &cfam0_i2c1;
409 i2c102 = &cfam0_i2c2;
410 i2c103 = &cfam0_i2c3;
411 i2c104 = &cfam0_i2c4;
412 i2c105 = &cfam0_i2c5;
413 i2c106 = &cfam0_i2c6;
414 i2c107 = &cfam0_i2c7;
415 i2c108 = &cfam0_i2c8;
416 i2c109 = &cfam0_i2c9;
417 i2c110 = &cfam0_i2c10;
418 i2c111 = &cfam0_i2c11;
419 i2c112 = &cfam0_i2c12;
420 i2c113 = &cfam0_i2c13;
421 i2c114 = &cfam0_i2c14;
422 i2c200 = &cfam1_i2c0;
423 i2c201 = &cfam1_i2c1;
424 i2c202 = &cfam1_i2c2;
425 i2c203 = &cfam1_i2c3;
426 i2c204 = &cfam1_i2c4;
427 i2c205 = &cfam1_i2c5;
428 i2c206 = &cfam1_i2c6;
429 i2c207 = &cfam1_i2c7;
430 i2c208 = &cfam1_i2c8;
431 i2c209 = &cfam1_i2c9;
432 i2c210 = &cfam1_i2c10;
433 i2c211 = &cfam1_i2c11;
434 i2c212 = &cfam1_i2c12;
435 i2c213 = &cfam1_i2c13;
436 i2c214 = &cfam1_i2c14;
446 compatible = "ibm,op-panel";
447 reg = <(0x62 | I2C_OWN_SLAVE_ADDRESS)>;
455 compatible = "tcg,tpm-tis-i2c";
468 compatible = "bosch,bmp280";
470 #io-channel-cells = <1>;
474 compatible = "maxim,max31785a";
476 #address-cells = <1>;
480 compatible = "pmbus-fan";
483 maxim,fan-rotor-input = "tach";
484 maxim,fan-pwm-freq = <25000>;
486 maxim,fan-no-watchdog;
487 maxim,fan-no-fault-ramp;
488 maxim,fan-ramp = <2>;
489 maxim,fan-fault-pin-mon;
493 compatible = "pmbus-fan";
496 maxim,fan-rotor-input = "tach";
497 maxim,fan-pwm-freq = <25000>;
499 maxim,fan-no-watchdog;
500 maxim,fan-no-fault-ramp;
501 maxim,fan-ramp = <2>;
502 maxim,fan-fault-pin-mon;
506 compatible = "pmbus-fan";
509 maxim,fan-rotor-input = "tach";
510 maxim,fan-pwm-freq = <25000>;
512 maxim,fan-no-watchdog;
513 maxim,fan-no-fault-ramp;
514 maxim,fan-ramp = <2>;
515 maxim,fan-fault-pin-mon;
519 compatible = "pmbus-fan";
522 maxim,fan-rotor-input = "tach";
523 maxim,fan-pwm-freq = <25000>;
525 maxim,fan-no-watchdog;
526 maxim,fan-no-fault-ramp;
527 maxim,fan-ramp = <2>;
528 maxim,fan-fault-pin-mon;
533 compatible = "infineon,dps310";
535 #io-channel-cells = <0>;
539 compatible = "nxp,pca9552";
541 #address-cells = <1>;
549 type = <PCA955X_TYPE_GPIO>;
554 type = <PCA955X_TYPE_GPIO>;
559 type = <PCA955X_TYPE_GPIO>;
564 type = <PCA955X_TYPE_GPIO>;
569 type = <PCA955X_TYPE_GPIO>;
574 type = <PCA955X_TYPE_GPIO>;
579 type = <PCA955X_TYPE_GPIO>;
584 type = <PCA955X_TYPE_GPIO>;
589 type = <PCA955X_TYPE_GPIO>;
594 type = <PCA955X_TYPE_GPIO>;
599 type = <PCA955X_TYPE_GPIO>;
604 type = <PCA955X_TYPE_GPIO>;
609 type = <PCA955X_TYPE_GPIO>;
614 type = <PCA955X_TYPE_GPIO>;
619 type = <PCA955X_TYPE_GPIO>;
624 type = <PCA955X_TYPE_GPIO>;
629 compatible = "ibm,cffps1";
634 compatible = "ibm,cffps1";
643 compatible = "ti,tmp423";
648 compatible = "infineon,ir35221";
653 compatible = "infineon,ir35221";
662 compatible = "ti,tmp423";
667 compatible = "infineon,ir35221";
672 compatible = "infineon,ir35221";
685 compatible = "ti,tmp275";
697 pca9552: pca9552@60 {
698 compatible = "nxp,pca9552";
700 #address-cells = <1>;
705 gpio-line-names = "PS_SMBUS_RESET_N", "APSS_RESET_N",
706 "GPU0_TH_OVERT_N_BUFF", "GPU1_TH_OVERT_N_BUFF",
707 "GPU2_TH_OVERT_N_BUFF", "GPU3_TH_OVERT_N_BUFF",
708 "GPU4_TH_OVERT_N_BUFF", "GPU5_TH_OVERT_N_BUFF",
709 "GPU0_PWR_GOOD_BUFF", "GPU1_PWR_GOOD_BUFF",
710 "GPU2_PWR_GOOD_BUFF", "GPU3_PWR_GOOD_BUFF",
711 "GPU4_PWR_GOOD_BUFF", "GPU5_PWR_GOOD_BUFF",
712 "12V_BREAKER_FLT_N", "THROTTLE_UNLATCHED_N";
716 type = <PCA955X_TYPE_GPIO>;
721 type = <PCA955X_TYPE_GPIO>;
726 type = <PCA955X_TYPE_GPIO>;
731 type = <PCA955X_TYPE_GPIO>;
736 type = <PCA955X_TYPE_GPIO>;
741 type = <PCA955X_TYPE_GPIO>;
746 type = <PCA955X_TYPE_GPIO>;
751 type = <PCA955X_TYPE_GPIO>;
756 type = <PCA955X_TYPE_GPIO>;
761 type = <PCA955X_TYPE_GPIO>;
766 type = <PCA955X_TYPE_GPIO>;
771 type = <PCA955X_TYPE_GPIO>;
776 type = <PCA955X_TYPE_GPIO>;
781 type = <PCA955X_TYPE_GPIO>;
786 type = <PCA955X_TYPE_GPIO>;
791 type = <PCA955X_TYPE_GPIO>;
796 compatible = "epson,rx8900";
801 compatible = "atmel,24c64";
806 compatible = "ti,ucd90160";
826 compatible = "snps,dw-apb-uart";
831 compatible = "snps,dw-apb-uart";
844 memory-region = <&flash_memory>;
849 aspeed,reset-type = "none";
850 aspeed,external-signal;
851 aspeed,ext-push-pull;
852 aspeed,ext-active-high;
854 pinctrl-names = "default";
855 pinctrl-0 = <&pinctrl_wdtrst1_default>;
863 /* Hog these as no driver is probed for the entire LPC block */
864 pinctrl-names = "default";
865 pinctrl-0 = <&pinctrl_lpc_default>,
866 <&pinctrl_lsirq_default>;
871 memory-region = <&vga_memory>;