1 // SPDX-License-Identifier: GPL-2.0+
3 #include "aspeed-g5.dtsi"
4 #include <dt-bindings/gpio/aspeed-gpio.h>
5 #include <dt-bindings/leds/leds-pca955x.h>
8 model = "Witherspoon BMC";
9 compatible = "ibm,witherspoon-bmc", "aspeed,ast2500";
13 bootargs = "console=ttyS4,115200 earlyprintk";
17 reg = <0x80000000 0x20000000>;
25 flash_memory: region@98000000 {
27 reg = <0x98000000 0x04000000>; /* 64M */
32 compatible = "gpio-keys";
36 gpios = <&gpio ASPEED_GPIO(B, 5) GPIO_ACTIVE_LOW>;
37 linux,code = <ASPEED_GPIO(B, 5)>;
42 gpios = <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>;
43 linux,code = <ASPEED_GPIO(J, 2)>;
47 label = "ps0-presence";
48 gpios = <&gpio ASPEED_GPIO(P, 7) GPIO_ACTIVE_LOW>;
49 linux,code = <ASPEED_GPIO(P, 7)>;
53 label = "ps1-presence";
54 gpios = <&gpio ASPEED_GPIO(N, 0) GPIO_ACTIVE_LOW>;
55 linux,code = <ASPEED_GPIO(N, 0)>;
60 compatible = "iio-hwmon";
61 io-channels = <&adc 12>;
65 compatible = "gpio-keys-polled";
68 poll-interval = <1000>;
71 label = "fan0-presence";
72 gpios = <&pca0 4 GPIO_ACTIVE_LOW>;
77 label = "fan1-presence";
78 gpios = <&pca0 5 GPIO_ACTIVE_LOW>;
83 label = "fan2-presence";
84 gpios = <&pca0 6 GPIO_ACTIVE_LOW>;
89 label = "fan3-presence";
90 gpios = <&pca0 7 GPIO_ACTIVE_LOW>;
96 compatible = "gpio-leds";
99 retain-state-shutdown;
100 default-state = "keep";
101 gpios = <&pca0 0 GPIO_ACTIVE_LOW>;
105 retain-state-shutdown;
106 default-state = "keep";
107 gpios = <&pca0 1 GPIO_ACTIVE_LOW>;
111 retain-state-shutdown;
112 default-state = "keep";
113 gpios = <&pca0 2 GPIO_ACTIVE_LOW>;
117 retain-state-shutdown;
118 default-state = "keep";
119 gpios = <&pca0 3 GPIO_ACTIVE_LOW>;
123 retain-state-shutdown;
124 default-state = "keep";
125 gpios = <&pca0 13 GPIO_ACTIVE_LOW>;
129 retain-state-shutdown;
130 default-state = "keep";
131 gpios = <&pca0 14 GPIO_ACTIVE_LOW>;
135 retain-state-shutdown;
136 default-state = "keep";
137 gpios = <&pca0 15 GPIO_ACTIVE_LOW>;
141 gpios = <&gpio ASPEED_GPIO(N, 2) GPIO_ACTIVE_LOW>;
145 gpios = <&gpio ASPEED_GPIO(N, 4) GPIO_ACTIVE_LOW>;
149 gpios = <&gpio ASPEED_GPIO(N, 3) GPIO_ACTIVE_LOW>;
153 gpios = <&gpio ASPEED_GPIO(R, 5) GPIO_ACTIVE_LOW>;
158 compatible = "fsi-master-gpio", "fsi-master";
159 #address-cells = <2>;
163 clock-gpios = <&gpio ASPEED_GPIO(AA, 0) GPIO_ACTIVE_HIGH>;
164 data-gpios = <&gpio ASPEED_GPIO(E, 0) GPIO_ACTIVE_HIGH>;
165 mux-gpios = <&gpio ASPEED_GPIO(A, 6) GPIO_ACTIVE_HIGH>;
166 enable-gpios = <&gpio ASPEED_GPIO(D, 0) GPIO_ACTIVE_HIGH>;
167 trans-gpios = <&gpio ASPEED_GPIO(R, 2) GPIO_ACTIVE_HIGH>;
171 compatible = "iio-hwmon";
172 io-channels = <&dps 0>;
176 compatible = "iio-hwmon";
177 io-channels = <&bmp 1>;
189 #include "openbmc-flash-layout.dtsi"
201 pinctrl-names = "default";
202 pinctrl-0 = <&pinctrl_spi1_default>;
212 /* Rear RS-232 connector */
214 pinctrl-names = "default";
215 pinctrl-0 = <&pinctrl_txd1_default
216 &pinctrl_rxd1_default
217 &pinctrl_nrts1_default
218 &pinctrl_ndtr1_default
219 &pinctrl_ndsr1_default
220 &pinctrl_ncts1_default
221 &pinctrl_ndcd1_default
222 &pinctrl_nri1_default>;
228 pinctrl-names = "default";
229 pinctrl-0 = <&pinctrl_txd2_default &pinctrl_rxd2_default>;
238 memory-region = <&flash_memory>;
244 pinctrl-names = "default";
245 pinctrl-0 = <&pinctrl_rmii1_default>;
262 compatible = "bosch,bmp280";
264 #io-channel-cells = <1>;
268 compatible = "maxim,max31785a";
270 #address-cells = <1>;
275 compatible = "infineon,dps310";
277 #io-channel-cells = <0>;
281 compatible = "nxp,pca9552";
283 #address-cells = <1>;
291 type = <PCA955X_TYPE_GPIO>;
296 type = <PCA955X_TYPE_GPIO>;
301 type = <PCA955X_TYPE_GPIO>;
306 type = <PCA955X_TYPE_GPIO>;
311 type = <PCA955X_TYPE_GPIO>;
316 type = <PCA955X_TYPE_GPIO>;
321 type = <PCA955X_TYPE_GPIO>;
326 type = <PCA955X_TYPE_GPIO>;
331 type = <PCA955X_TYPE_GPIO>;
336 type = <PCA955X_TYPE_GPIO>;
341 type = <PCA955X_TYPE_GPIO>;
346 type = <PCA955X_TYPE_GPIO>;
351 type = <PCA955X_TYPE_GPIO>;
356 type = <PCA955X_TYPE_GPIO>;
361 type = <PCA955X_TYPE_GPIO>;
366 type = <PCA955X_TYPE_GPIO>;
371 compatible = "ibm,cffps1";
376 compatible = "ibm,cffps1";
385 compatible = "ti,tmp423";
390 compatible = "infineon,ir35221";
395 compatible = "infineon,ir35221";
405 compatible = "ti,tmp423";
410 compatible = "infineon,ir35221";
415 compatible = "infineon,ir35221";
424 compatible = "ti,tmp275";
440 pca9552: pca9552@60 {
441 compatible = "nxp,pca9552";
443 #address-cells = <1>;
448 gpio-line-names = "PS_SMBUS_RESET_N", "APSS_RESET_N",
449 "GPU0_TH_OVERT_N_BUFF", "GPU1_TH_OVERT_N_BUFF",
450 "GPU2_TH_OVERT_N_BUFF", "GPU3_TH_OVERT_N_BUFF",
451 "GPU4_TH_OVERT_N_BUFF", "GPU5_TH_OVERT_N_BUFF",
452 "GPU0_PWR_GOOD_BUFF", "GPU1_PWR_GOOD_BUFF",
453 "GPU2_PWR_GOOD_BUFF", "GPU3_PWR_GOOD_BUFF",
454 "GPU4_PWR_GOOD_BUFF", "GPU5_PWR_GOOD_BUFF",
455 "12V_BREAKER_FLT_N", "THROTTLE_UNLATCHED_N";
459 type = <PCA955X_TYPE_GPIO>;
464 type = <PCA955X_TYPE_GPIO>;
469 type = <PCA955X_TYPE_GPIO>;
474 type = <PCA955X_TYPE_GPIO>;
479 type = <PCA955X_TYPE_GPIO>;
484 type = <PCA955X_TYPE_GPIO>;
489 type = <PCA955X_TYPE_GPIO>;
494 type = <PCA955X_TYPE_GPIO>;
499 type = <PCA955X_TYPE_GPIO>;
504 type = <PCA955X_TYPE_GPIO>;
509 type = <PCA955X_TYPE_GPIO>;
514 type = <PCA955X_TYPE_GPIO>;
519 type = <PCA955X_TYPE_GPIO>;
524 type = <PCA955X_TYPE_GPIO>;
529 type = <PCA955X_TYPE_GPIO>;
534 type = <PCA955X_TYPE_GPIO>;
539 compatible = "epson,rx8900";
544 compatible = "atmel,24c64";
549 compatible = "ti,ucd90160";
571 aspeed,external-nodes = <&gfx &lhc>;
575 aspeed,reset-type = "none";
576 aspeed,external-signal;
577 aspeed,ext-push-pull;
578 aspeed,ext-active-high;
580 pinctrl-names = "default";
581 pinctrl-0 = <&pinctrl_wdtrst1_default>;