1 // SPDX-License-Identifier: GPL-2.0
3 #include "aspeed-g5.dtsi"
4 #include <dt-bindings/gpio/aspeed-gpio.h>
8 compatible = "ingrasys,zaius-bmc", "aspeed,ast2500";
20 bootargs = "console=ttyS4,115200 earlyprintk";
24 reg = <0x80000000 0x40000000>;
32 flash_memory: region@98000000 {
34 reg = <0x98000000 0x04000000>; /* 64M */
39 compatible = "w1-gpio";
40 gpios = <&gpio ASPEED_GPIO(H, 0) GPIO_ACTIVE_HIGH>;
44 compatible = "w1-gpio";
45 gpios = <&gpio ASPEED_GPIO(H, 1) GPIO_ACTIVE_HIGH>;
49 compatible = "w1-gpio";
50 gpios = <&gpio ASPEED_GPIO(H, 2) GPIO_ACTIVE_HIGH>;
54 compatible = "w1-gpio";
55 gpios = <&gpio ASPEED_GPIO(H, 3) GPIO_ACTIVE_HIGH>;
59 compatible = "gpio-keys";
63 gpios = <&gpio ASPEED_GPIO(F, 7) GPIO_ACTIVE_LOW>;
64 linux,code = <ASPEED_GPIO(F, 7)>;
68 label = "pcie-e2b-present";
69 gpios = <&gpio ASPEED_GPIO(E, 7) GPIO_ACTIVE_LOW>;
70 linux,code = <ASPEED_GPIO(E, 7)>;
75 compatible = "gpio-leds";
78 label = "System boot status";
79 gpios = <&gpio ASPEED_GPIO(D, 5) GPIO_ACTIVE_LOW>;
84 gpios = <&gpio ASPEED_GPIO(D, 6) GPIO_ACTIVE_LOW>;
88 label = "Platform fault";
89 gpios = <&gpio ASPEED_GPIO(D, 7) GPIO_ACTIVE_LOW>;
93 label = "Onboard drive fault";
94 gpios = <&gpio ASPEED_GPIO(AA, 2) GPIO_ACTIVE_LOW>;
99 compatible = "fsi-master-gpio", "fsi-master";
100 #address-cells = <2>;
104 trans-gpios = <&gpio ASPEED_GPIO(O, 6) GPIO_ACTIVE_HIGH>;
105 enable-gpios = <&gpio ASPEED_GPIO(D, 0) GPIO_ACTIVE_HIGH>;
106 clock-gpios = <&gpio ASPEED_GPIO(G, 0) GPIO_ACTIVE_HIGH>;
107 data-gpios = <&gpio ASPEED_GPIO(G, 1) GPIO_ACTIVE_HIGH>;
108 mux-gpios = <&gpio ASPEED_GPIO(P, 6) GPIO_ACTIVE_HIGH>;
112 compatible = "iio-hwmon";
113 io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>,
114 <&adc 4>, <&adc 5>, <&adc 6>, <&adc 7>,
115 <&adc 8>, <&adc 9>, <&adc 10>, <&adc 11>,
116 <&adc 13>, <&adc 14>, <&adc 15>;
120 compatible = "iio-hwmon";
121 io-channels = <&adc 12>;
133 spi-max-frequency = <50000000>;
134 #include "openbmc-flash-layout.dtsi"
140 pinctrl-names = "default";
141 pinctrl-0 = <&pinctrl_spi1_default>;
147 spi-max-frequency = <100000000>;
153 pinctrl-names = "default";
154 pinctrl-0 = <&pinctrl_spi2ck_default
155 &pinctrl_spi2cs0_default
156 &pinctrl_spi2cs1_default
157 &pinctrl_spi2miso_default
158 &pinctrl_spi2mosi_default>;
167 pinctrl-names = "default";
168 pinctrl-0 = <&pinctrl_txd1_default
169 &pinctrl_rxd1_default>;
174 memory-region = <&flash_memory>;
180 snoop-ports = <0x80>;
190 pinctrl-names = "default";
191 pinctrl-0 = <&pinctrl_rmii1_default>;
192 clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>,
193 <&syscon ASPEED_CLK_MAC1RCLK>;
194 clock-names = "MACCLK", "RCLK";
201 pinctrl-names = "default";
202 pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>;
209 compatible = "atmel,24c64";
215 compatible = "nxp,pcf8523";
220 compatible = "ti,ucd90160";
224 /* Power sequencer UCD90160 PMBUS @64h
227 * Clock buffer 9DBL04 @6dh
235 compatible = "nxp,pca9546";
237 #address-cells = <1>;
241 #address-cells = <1>;
246 #address-cells = <1>;
251 #address-cells = <1>;
256 #address-cells = <1>;
262 /* MUX1 PCA9546A @71h
273 /* OCP Mezz Connector A (OOB SMBUS) */
279 /* OCP Mezz Connector A (PCIe slot SMBUS) */
286 compatible = "nxp,pca9546";
288 #address-cells = <1>;
292 #address-cells = <1>;
297 #address-cells = <1>;
303 /* MUX1 PCA9546A @71h
314 /* CPU0 PRM 1.2V CH03 */
316 /* CPU0 PRM 1.2V CH47 */
323 /* CPU1 PRM 1.2V CH03 */
325 /* CPU1 PRM 1.2V CH47 */
332 compatible = "nxp,pca9541";
336 #address-cells = <1>;
340 compatible = "ti,lm5066i";
348 compatible = "isil,isl68137";
353 compatible = "isil,isl68137";
358 compatible = "isil,isl68137";
363 compatible = "infineon,ir38064";
368 compatible = "isil,isl68137";
372 /* Master selector PCA9541A @70h (other master: CPU0)
377 * Brick will be one of these types/addresses. Depending
378 * on the board SKU only one is actually present and will successfully
379 * instantiate while the others will fail the probe operation.
380 * These are the PVT (and presumably beyond) addresses:
381 * 12V Quarter Brick DC/DC Converter Q54SJ12050 @6Ah
382 * 12V Quarter Brick DC/DC Converter Q54SH12050 @30h
385 compatible = "delta,dps800";
389 compatible = "delta,dps800";
393 /* CPU0 VR ISL68137 0.7V, 0.96V PMBUS @64h */
394 /* CPU0 VR ISL68137 1.2V CH03 PMBUS @40h */
395 /* CPU0 VR ISL68137 0.8V PMBUS @60h */
396 /* CPU0 VR 1.0V IR38064 I2C @11h, PMBUS @43h */
397 /* CPU0 VR ISL68137 1.2V CH47 PMBUS @41h */
398 /* Master selector PCA9541A @70h (other master: CPU0)
407 compatible = "isil,isl68137";
412 compatible = "isil,isl68137";
417 compatible = "isil,isl68137";
422 compatible = "infineon,ir38064";
427 compatible = "isil,isl68137";
431 /* CPU1 VR ISL68137 0.7V, 0.96V PMBUS @64h */
432 /* CPU1 VR ISL68137 1.2V CH03 PMBUS @40h */
433 /* CPU1 VR ISL68137 1.2V CH47 PMBUS @41h */
434 /* CPU1 VR 1.0V IR38064 I2C @12h, PMBUS @42h */
435 /* CPU1 VR ISL68137 0.8V PMBUS @60h */
469 aspeed,external-nodes = <&gfx &lhc>;
471 pinctrl_gpioh_unbiased: gpioi_unbiased {
472 pins = "A8", "C7", "B7", "A7", "D7", "B6", "A6", "E7";
478 pinctrl-names = "default";
479 pinctrl-0 = <&pinctrl_gpioh_unbiased>;
482 /*A0-A7*/ "","cfam-reset","","","","","","",
483 /*B0-B7*/ "","","","","","","","",
484 /*C0-C7*/ "","","","","","","","",
485 /*D0-D7*/ "fsi-enable","","","","","led-sys-boot-status","led-attention",
487 /*E0-E7*/ "","","","","","","","presence-pcie-e2b",
488 /*F0-F7*/ "","","","","","","","checkstop",
489 /*G0-G7*/ "fsi-clock","fsi-data","","","","","","",
490 /*H0-H7*/ "onewire0","onewire1","onewire2","onewire3","","","","",
491 /*I0-I7*/ "","","","power-button","","","","",
492 /*J0-J7*/ "","","","","","","","",
493 /*K0-K7*/ "","","","","","","","",
494 /*L0-L7*/ "","","","","","","","",
495 /*M0-M7*/ "","","","","","","","",
496 /*N0-N7*/ "","","","","","","","",
497 /*O0-O7*/ "","","","","iso_u164_en","","fsi-trans","",
498 /*P0-P7*/ "ncsi_mux_en_n","bmc_i2c2_sw_rst_n","","bmc_i2c5_sw_rst_n","",
500 /*Q0-Q7*/ "","","","","","","","",
501 /*R0-R7*/ "","","","","","","","",
502 /*S0-S7*/ "","","","","","","","",
503 /*T0-T7*/ "","","","","","","","",
504 /*U0-U7*/ "","","","","","","","",
505 /*V0-V7*/ "","","","","","","","",
506 /*W0-W7*/ "","","","","","","","",
507 /*X0-X7*/ "","","","","","","","",
508 /*Y0-Y7*/ "","","","","","","","",
509 /*Z0-Z7*/ "","","","","","","","",
510 /*AA0-AA7*/ "","","led-hdd-fault","","","","","",
511 /*AB0-AB7*/ "","","","","","","","",
512 /*AC0-AC7*/ "","","","","","","","";
516 gpios = <ASPEED_GPIO(O, 4) GPIO_ACTIVE_HIGH>;
522 gpios = <ASPEED_GPIO(P, 0) GPIO_ACTIVE_HIGH>;
526 line_bmc_i2c2_sw_rst_n {
528 gpios = <ASPEED_GPIO(P, 1) GPIO_ACTIVE_HIGH>;
532 line_bmc_i2c5_sw_rst_n {
534 gpios = <ASPEED_GPIO(P, 3) GPIO_ACTIVE_HIGH>;
549 pinctrl-names = "default";
550 pinctrl-0 = <&pinctrl_pwm0_default &pinctrl_pwm1_default
551 &pinctrl_pwm2_default &pinctrl_pwm3_default>;
555 aspeed,fan-tach-ch = /bits/ 8 <0x00>;
560 aspeed,fan-tach-ch = /bits/ 8 <0x01>;
565 aspeed,fan-tach-ch = /bits/ 8 <0x02>;
570 aspeed,fan-tach-ch = /bits/ 8 <0x03>;
578 #include "ibm-power9-dual.dtsi"