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 #include "openbmc-flash-layout.dtsi"
139 pinctrl-names = "default";
140 pinctrl-0 = <&pinctrl_spi1_default>;
151 pinctrl-names = "default";
152 pinctrl-0 = <&pinctrl_spi2ck_default
153 &pinctrl_spi2cs0_default
154 &pinctrl_spi2cs1_default
155 &pinctrl_spi2miso_default
156 &pinctrl_spi2mosi_default>;
165 pinctrl-names = "default";
166 pinctrl-0 = <&pinctrl_txd1_default
167 &pinctrl_rxd1_default>;
172 memory-region = <&flash_memory>;
178 snoop-ports = <0x80>;
188 pinctrl-names = "default";
189 pinctrl-0 = <&pinctrl_rmii1_default>;
196 pinctrl-names = "default";
197 pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>;
204 compatible = "atmel,24c64";
210 compatible = "nxp,pcf8523";
215 compatible = "ti,ucd90160";
219 /* Power sequencer UCD90160 PMBUS @64h
222 * Clock buffer 9DBL04 @6dh
230 compatible = "nxp,pca9546";
232 #address-cells = <1>;
236 #address-cells = <1>;
241 #address-cells = <1>;
246 #address-cells = <1>;
251 #address-cells = <1>;
257 /* MUX1 PCA9546A @71h
268 /* OCP Mezz Connector A (OOB SMBUS) */
274 /* OCP Mezz Connector A (PCIe slot SMBUS) */
281 compatible = "nxp,pca9546";
283 #address-cells = <1>;
287 #address-cells = <1>;
292 #address-cells = <1>;
298 /* MUX1 PCA9546A @71h
309 /* CPU0 PRM 1.2V CH03 */
311 /* CPU0 PRM 1.2V CH47 */
318 /* CPU1 PRM 1.2V CH03 */
320 /* CPU1 PRM 1.2V CH47 */
327 compatible = "nxp,pca9541";
331 #address-cells = <1>;
335 compatible = "ti,lm5066i";
343 compatible = "isil,isl68137";
348 compatible = "isil,isl68137";
353 compatible = "isil,isl68137";
358 compatible = "infineon,ir38064";
363 compatible = "isil,isl68137";
367 /* Master selector PCA9541A @70h (other master: CPU0)
372 * Brick will be one of these types/addresses. Depending
373 * on the board SKU only one is actually present and will successfully
374 * instantiate while the others will fail the probe operation.
375 * These are the PVT (and presumably beyond) addresses:
376 * 12V Quarter Brick DC/DC Converter Q54SJ12050 @6Ah
377 * 12V Quarter Brick DC/DC Converter Q54SH12050 @30h
380 compatible = "delta,dps800";
384 compatible = "delta,dps800";
388 /* CPU0 VR ISL68137 0.7V, 0.96V PMBUS @64h */
389 /* CPU0 VR ISL68137 1.2V CH03 PMBUS @40h */
390 /* CPU0 VR ISL68137 0.8V PMBUS @60h */
391 /* CPU0 VR 1.0V IR38064 I2C @11h, PMBUS @43h */
392 /* CPU0 VR ISL68137 1.2V CH47 PMBUS @41h */
393 /* Master selector PCA9541A @70h (other master: CPU0)
402 compatible = "isil,isl68137";
407 compatible = "isil,isl68137";
412 compatible = "isil,isl68137";
417 compatible = "infineon,ir38064";
422 compatible = "isil,isl68137";
426 /* CPU1 VR ISL68137 0.7V, 0.96V PMBUS @64h */
427 /* CPU1 VR ISL68137 1.2V CH03 PMBUS @40h */
428 /* CPU1 VR ISL68137 1.2V CH47 PMBUS @41h */
429 /* CPU1 VR 1.0V IR38064 I2C @12h, PMBUS @42h */
430 /* CPU1 VR ISL68137 0.8V PMBUS @60h */
464 aspeed,external-nodes = <&gfx &lhc>;
466 pinctrl_gpioh_unbiased: gpioi_unbiased {
467 pins = "A8", "C7", "B7", "A7", "D7", "B6", "A6", "E7";
473 pinctrl-names = "default";
474 pinctrl-0 = <&pinctrl_gpioh_unbiased>;
478 gpios = <ASPEED_GPIO(O, 4) GPIO_ACTIVE_HIGH>;
480 line-name = "iso_u164_en";
485 gpios = <ASPEED_GPIO(P, 0) GPIO_ACTIVE_HIGH>;
487 line-name = "ncsi_mux_en_n";
490 line_bmc_i2c2_sw_rst_n {
492 gpios = <ASPEED_GPIO(P, 1) GPIO_ACTIVE_HIGH>;
494 line-name = "bmc_i2c2_sw_rst_n";
497 line_bmc_i2c5_sw_rst_n {
499 gpios = <ASPEED_GPIO(P, 3) GPIO_ACTIVE_HIGH>;
501 line-name = "bmc_i2c5_sw_rst_n";
515 pinctrl-names = "default";
516 pinctrl-0 = <&pinctrl_pwm0_default &pinctrl_pwm1_default
517 &pinctrl_pwm2_default &pinctrl_pwm3_default>;
521 aspeed,fan-tach-ch = /bits/ 8 <0x00>;
526 aspeed,fan-tach-ch = /bits/ 8 <0x01>;
531 aspeed,fan-tach-ch = /bits/ 8 <0x02>;
536 aspeed,fan-tach-ch = /bits/ 8 <0x03>;
544 #include "ibm-power9-dual.dtsi"