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";
12 bootargs = "console=ttyS4,115200 earlyprintk";
16 reg = <0x80000000 0x40000000>;
24 flash_memory: region@98000000 {
26 reg = <0x98000000 0x04000000>; /* 64M */
31 compatible = "w1-gpio";
32 gpios = <&gpio ASPEED_GPIO(H, 0) GPIO_ACTIVE_HIGH>;
36 compatible = "w1-gpio";
37 gpios = <&gpio ASPEED_GPIO(H, 1) GPIO_ACTIVE_HIGH>;
41 compatible = "w1-gpio";
42 gpios = <&gpio ASPEED_GPIO(H, 2) GPIO_ACTIVE_HIGH>;
46 compatible = "w1-gpio";
47 gpios = <&gpio ASPEED_GPIO(H, 3) GPIO_ACTIVE_HIGH>;
51 compatible = "gpio-keys";
55 gpios = <&gpio ASPEED_GPIO(F, 7) GPIO_ACTIVE_LOW>;
56 linux,code = <ASPEED_GPIO(F, 7)>;
60 label = "pcie-e2b-present";
61 gpios = <&gpio ASPEED_GPIO(E, 7) GPIO_ACTIVE_LOW>;
62 linux,code = <ASPEED_GPIO(E, 7)>;
67 compatible = "gpio-leds";
70 label = "System boot status";
71 gpios = <&gpio ASPEED_GPIO(D, 5) GPIO_ACTIVE_LOW>;
76 gpios = <&gpio ASPEED_GPIO(D, 6) GPIO_ACTIVE_LOW>;
80 label = "Platform fault";
81 gpios = <&gpio ASPEED_GPIO(D, 7) GPIO_ACTIVE_LOW>;
85 label = "Onboard drive fault";
86 gpios = <&gpio ASPEED_GPIO(AA, 2) GPIO_ACTIVE_LOW>;
91 compatible = "fsi-master-gpio", "fsi-master";
96 trans-gpios = <&gpio ASPEED_GPIO(O, 6) GPIO_ACTIVE_HIGH>;
97 enable-gpios = <&gpio ASPEED_GPIO(D, 0) GPIO_ACTIVE_HIGH>;
98 clock-gpios = <&gpio ASPEED_GPIO(G, 0) GPIO_ACTIVE_HIGH>;
99 data-gpios = <&gpio ASPEED_GPIO(G, 1) GPIO_ACTIVE_HIGH>;
100 mux-gpios = <&gpio ASPEED_GPIO(P, 6) GPIO_ACTIVE_HIGH>;
104 compatible = "iio-hwmon";
105 io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>,
106 <&adc 4>, <&adc 5>, <&adc 6>, <&adc 7>,
107 <&adc 8>, <&adc 9>, <&adc 10>, <&adc 11>,
108 <&adc 13>, <&adc 14>, <&adc 15>;
112 compatible = "iio-hwmon";
113 io-channels = <&adc 12>;
125 #include "openbmc-flash-layout.dtsi"
131 pinctrl-names = "default";
132 pinctrl-0 = <&pinctrl_spi1_default>;
143 pinctrl-names = "default";
144 pinctrl-0 = <&pinctrl_spi2ck_default
145 &pinctrl_spi2cs0_default
146 &pinctrl_spi2cs1_default
147 &pinctrl_spi2miso_default
148 &pinctrl_spi2mosi_default>;
157 pinctrl-names = "default";
158 pinctrl-0 = <&pinctrl_txd1_default
159 &pinctrl_rxd1_default>;
164 memory-region = <&flash_memory>;
170 snoop-ports = <0x80>;
180 pinctrl-names = "default";
181 pinctrl-0 = <&pinctrl_rmii1_default>;
188 pinctrl-names = "default";
189 pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>;
196 compatible = "atmel,24c64";
202 compatible = "nxp,pcf8523";
207 compatible = "ti,ucd90160";
211 /* Power sequencer UCD90160 PMBUS @64h
214 * Clock buffer 9DBL04 @6dh
222 compatible = "nxp,pca9546";
224 #address-cells = <1>;
228 /* MUX1 PCA9546A @71h
239 /* OCP Mezz Connector A (OOB SMBUS) */
245 /* OCP Mezz Connector A (PCIe slot SMBUS) */
252 compatible = "nxp,pca9546";
254 #address-cells = <1>;
258 /* MUX1 PCA9546A @71h
269 /* CPU0 PRM 1.2V CH03 */
271 /* CPU0 PRM 1.2V CH47 */
278 /* CPU1 PRM 1.2V CH03 */
280 /* CPU1 PRM 1.2V CH47 */
287 compatible = "nxp,pca9541";
291 #address-cells = <1>;
295 compatible = "ti,lm5066i";
301 /* Master selector PCA9541A @70h (other master: CPU0)
305 /* 12V Quarter Brick DC/DC Converter Q54SJ12050 @61h */
307 compatible = "delta,dps800";
311 /* CPU0 VR ISL68137 0.7V, 0.96V PMBUS @64h */
312 /* CPU0 VR ISL68137 1.2V CH03 PMBUS @40h */
313 /* CPU0 VR ISL68137 0.8V PMBUS @60h */
314 /* CPU0 VR 1.0V IR38064 I2C @11h, PMBUS @41h */
315 /* CPU0 VR ISL68137 1.2V CH47 PMBUS @41h */
321 /* CPU1 VR ISL68137 0.7V, 0.96V PMBUS @65h */
322 /* CPU1 VR ISL68137 1.2V CH03 PMBUS @44h */
323 /* CPU1 VR ISL68137 0.8V PMBUS @61h */
324 /* CPU1 VR 1.0V IR38064 I2C @12h, PMBUS @42h */
325 /* CPU0 VR ISL68137 1.2V CH47 PMBUS @45h */
359 aspeed,external-nodes = <&gfx &lhc>;
361 pinctrl_gpioh_unbiased: gpioi_unbiased {
362 pins = "A8", "C7", "B7", "A7", "D7", "B6", "A6", "E7";
368 pinctrl-names = "default";
369 pinctrl-0 = <&pinctrl_gpioh_unbiased>;
373 gpios = <ASPEED_GPIO(O, 4) GPIO_ACTIVE_HIGH>;
375 line-name = "iso_u164_en";
380 gpios = <ASPEED_GPIO(P, 0) GPIO_ACTIVE_HIGH>;
382 line-name = "ncsi_mux_en_n";
385 line_bmc_i2c2_sw_rst_n {
387 gpios = <ASPEED_GPIO(P, 1) GPIO_ACTIVE_HIGH>;
389 line-name = "bmc_i2c2_sw_rst_n";
392 line_bmc_i2c5_sw_rst_n {
394 gpios = <ASPEED_GPIO(P, 3) GPIO_ACTIVE_HIGH>;
396 line-name = "bmc_i2c5_sw_rst_n";
410 pinctrl-names = "default";
411 pinctrl-0 = <&pinctrl_pwm0_default &pinctrl_pwm1_default
412 &pinctrl_pwm2_default &pinctrl_pwm3_default>;
416 aspeed,fan-tach-ch = /bits/ 8 <0x00>;
421 aspeed,fan-tach-ch = /bits/ 8 <0x01>;
426 aspeed,fan-tach-ch = /bits/ 8 <0x02>;
431 aspeed,fan-tach-ch = /bits/ 8 <0x03>;