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 */
30 gfx_memory: framebuffer {
32 alignment = <0x01000000>;
33 compatible = "shared-dma-pool";
37 video_engine_memory: jpegbuffer {
38 size = <0x02000000>; /* 32MM */
39 alignment = <0x01000000>;
40 compatible = "shared-dma-pool";
46 compatible = "gpio-keys";
50 gpios = <&gpio ASPEED_GPIO(B, 5) GPIO_ACTIVE_LOW>;
51 linux,code = <ASPEED_GPIO(B, 5)>;
56 gpios = <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>;
57 linux,code = <ASPEED_GPIO(J, 2)>;
61 label = "ps0-presence";
62 gpios = <&gpio ASPEED_GPIO(P, 7) GPIO_ACTIVE_LOW>;
63 linux,code = <ASPEED_GPIO(P, 7)>;
67 label = "ps1-presence";
68 gpios = <&gpio ASPEED_GPIO(N, 0) GPIO_ACTIVE_LOW>;
69 linux,code = <ASPEED_GPIO(N, 0)>;
74 compatible = "iio-hwmon";
75 io-channels = <&adc 12>;
79 compatible = "gpio-keys-polled";
80 poll-interval = <1000>;
83 label = "fan0-presence";
84 gpios = <&pca0 4 GPIO_ACTIVE_LOW>;
89 label = "fan1-presence";
90 gpios = <&pca0 5 GPIO_ACTIVE_LOW>;
95 label = "fan2-presence";
96 gpios = <&pca0 6 GPIO_ACTIVE_LOW>;
101 label = "fan3-presence";
102 gpios = <&pca0 7 GPIO_ACTIVE_LOW>;
108 compatible = "gpio-leds";
111 retain-state-shutdown;
112 default-state = "keep";
113 gpios = <&pca0 0 GPIO_ACTIVE_LOW>;
117 retain-state-shutdown;
118 default-state = "keep";
119 gpios = <&pca0 1 GPIO_ACTIVE_LOW>;
123 retain-state-shutdown;
124 default-state = "keep";
125 gpios = <&pca0 2 GPIO_ACTIVE_LOW>;
129 retain-state-shutdown;
130 default-state = "keep";
131 gpios = <&pca0 3 GPIO_ACTIVE_LOW>;
135 retain-state-shutdown;
136 default-state = "keep";
137 gpios = <&pca0 13 GPIO_ACTIVE_LOW>;
141 retain-state-shutdown;
142 default-state = "keep";
143 gpios = <&pca0 14 GPIO_ACTIVE_LOW>;
147 retain-state-shutdown;
148 default-state = "keep";
149 gpios = <&pca0 15 GPIO_ACTIVE_LOW>;
153 gpios = <&gpio ASPEED_GPIO(N, 2) GPIO_ACTIVE_LOW>;
157 gpios = <&gpio ASPEED_GPIO(N, 4) GPIO_ACTIVE_LOW>;
161 gpios = <&gpio ASPEED_GPIO(N, 3) GPIO_ACTIVE_LOW>;
165 gpios = <&gpio ASPEED_GPIO(R, 5) GPIO_ACTIVE_LOW>;
170 compatible = "fsi-master-gpio", "fsi-master";
171 #address-cells = <2>;
175 clock-gpios = <&gpio ASPEED_GPIO(AA, 0) GPIO_ACTIVE_HIGH>;
176 data-gpios = <&gpio ASPEED_GPIO(E, 0) GPIO_ACTIVE_HIGH>;
177 mux-gpios = <&gpio ASPEED_GPIO(A, 6) GPIO_ACTIVE_HIGH>;
178 enable-gpios = <&gpio ASPEED_GPIO(D, 0) GPIO_ACTIVE_HIGH>;
179 trans-gpios = <&gpio ASPEED_GPIO(R, 2) GPIO_ACTIVE_HIGH>;
183 compatible = "iio-hwmon";
184 io-channels = <&dps 0>;
188 compatible = "iio-hwmon";
189 io-channels = <&bmp 1>;
196 /*A0-A7*/ "","cfam-reset","","","","","fsi-mux","",
197 /*B0-B7*/ "","","","","","air-water","","",
198 /*C0-C7*/ "","","","","","","","",
199 /*D0-D7*/ "fsi-enable","","","","","","","",
200 /*E0-E7*/ "fsi-data","","","","","","","",
201 /*F0-F7*/ "","","","","","","","",
202 /*G0-G7*/ "","","","","","","","",
203 /*H0-H7*/ "","","","","","","","",
204 /*I0-I7*/ "","","","","","","","",
205 /*J0-J7*/ "","","checkstop","","","","","",
206 /*K0-K7*/ "","","","","","","","",
207 /*L0-L7*/ "","","","","","","","",
208 /*M0-M7*/ "","","","","","","","",
209 /*N0-N7*/ "presence-ps1","","led-rear-fault","led-rear-power",
210 "led-rear-id","","","",
211 /*O0-O7*/ "","","","","","","","",
212 /*P0-P7*/ "","","","","","","","presence-ps0",
213 /*Q0-Q7*/ "","","","","","","","",
214 /*R0-R7*/ "","","fsi-trans","","","power-button","","",
215 /*S0-S7*/ "","","","","","","","",
216 /*T0-T7*/ "","","","","","","","",
217 /*U0-U7*/ "","","","","","","","",
218 /*V0-V7*/ "","","","","","","","",
219 /*W0-W7*/ "","","","","","","","",
220 /*X0-X7*/ "","","","","","","","",
221 /*Y0-Y7*/ "","","","","","","","",
222 /*Z0-Z7*/ "","","","","","","","",
223 /*AA0-AA7*/ "fsi-clock","","","","","","","",
224 /*AB0-AB7*/ "","","","","","","","",
225 /*AC0-AC7*/ "","","","","","","","";
235 spi-max-frequency = <50000000>;
238 #address-cells = < 1 >;
240 compatible = "fixed-partitions";
246 reg = < 0x60000 0x20000 >;
247 label = "u-boot-env";
250 reg = < 0x80000 0x1F80000 >;
260 spi-max-frequency = <50000000>;
263 #address-cells = < 1 >;
265 compatible = "fixed-partitions";
268 label = "alt-u-boot";
271 reg = < 0x60000 0x20000 >;
272 label = "alt-u-boot-env";
275 reg = < 0x80000 0x1F80000 >;
276 label = "alt-obmc-ubi";
284 pinctrl-names = "default";
285 pinctrl-0 = <&pinctrl_spi1_default>;
291 spi-max-frequency = <100000000>;
296 /* Rear RS-232 connector */
298 pinctrl-names = "default";
299 pinctrl-0 = <&pinctrl_txd1_default
300 &pinctrl_rxd1_default
301 &pinctrl_nrts1_default
302 &pinctrl_ndtr1_default
303 &pinctrl_ndsr1_default
304 &pinctrl_ncts1_default
305 &pinctrl_ndcd1_default
306 &pinctrl_nri1_default>;
312 pinctrl-names = "default";
313 pinctrl-0 = <&pinctrl_txd2_default &pinctrl_rxd2_default>;
322 memory-region = <&flash_memory>;
328 pinctrl-names = "default";
329 pinctrl-0 = <&pinctrl_rmii1_default>;
330 clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>,
331 <&syscon ASPEED_CLK_MAC1RCLK>;
332 clock-names = "MACCLK", "RCLK";
349 compatible = "bosch,bmp280";
351 #io-channel-cells = <1>;
355 compatible = "maxim,max31785a";
357 #address-cells = <1>;
362 compatible = "infineon,dps310";
364 #io-channel-cells = <0>;
368 compatible = "nxp,pca9552";
370 #address-cells = <1>;
378 type = <PCA955X_TYPE_GPIO>;
383 type = <PCA955X_TYPE_GPIO>;
388 type = <PCA955X_TYPE_GPIO>;
393 type = <PCA955X_TYPE_GPIO>;
398 type = <PCA955X_TYPE_GPIO>;
403 type = <PCA955X_TYPE_GPIO>;
408 type = <PCA955X_TYPE_GPIO>;
413 type = <PCA955X_TYPE_GPIO>;
418 type = <PCA955X_TYPE_GPIO>;
423 type = <PCA955X_TYPE_GPIO>;
428 type = <PCA955X_TYPE_GPIO>;
433 type = <PCA955X_TYPE_GPIO>;
438 type = <PCA955X_TYPE_GPIO>;
443 type = <PCA955X_TYPE_GPIO>;
448 type = <PCA955X_TYPE_GPIO>;
453 type = <PCA955X_TYPE_GPIO>;
458 compatible = "ibm,cffps1";
463 compatible = "ibm,cffps1";
472 compatible = "ti,tmp423";
477 compatible = "infineon,ir35221";
482 compatible = "infineon,ir35221";
492 compatible = "ti,tmp423";
497 compatible = "infineon,ir35221";
502 compatible = "infineon,ir35221";
511 compatible = "ti,tmp275";
527 pca9552: pca9552@60 {
528 compatible = "nxp,pca9552";
530 #address-cells = <1>;
535 gpio-line-names = "PS_SMBUS_RESET_N", "APSS_RESET_N",
536 "GPU0_TH_OVERT_N_BUFF", "GPU1_TH_OVERT_N_BUFF",
537 "GPU2_TH_OVERT_N_BUFF", "GPU3_TH_OVERT_N_BUFF",
538 "GPU4_TH_OVERT_N_BUFF", "GPU5_TH_OVERT_N_BUFF",
539 "GPU0_PWR_GOOD_BUFF", "GPU1_PWR_GOOD_BUFF",
540 "GPU2_PWR_GOOD_BUFF", "GPU3_PWR_GOOD_BUFF",
541 "GPU4_PWR_GOOD_BUFF", "GPU5_PWR_GOOD_BUFF",
542 "12V_BREAKER_FLT_N", "THROTTLE_UNLATCHED_N";
546 type = <PCA955X_TYPE_GPIO>;
551 type = <PCA955X_TYPE_GPIO>;
556 type = <PCA955X_TYPE_GPIO>;
561 type = <PCA955X_TYPE_GPIO>;
566 type = <PCA955X_TYPE_GPIO>;
571 type = <PCA955X_TYPE_GPIO>;
576 type = <PCA955X_TYPE_GPIO>;
581 type = <PCA955X_TYPE_GPIO>;
586 type = <PCA955X_TYPE_GPIO>;
591 type = <PCA955X_TYPE_GPIO>;
596 type = <PCA955X_TYPE_GPIO>;
601 type = <PCA955X_TYPE_GPIO>;
606 type = <PCA955X_TYPE_GPIO>;
611 type = <PCA955X_TYPE_GPIO>;
616 type = <PCA955X_TYPE_GPIO>;
621 type = <PCA955X_TYPE_GPIO>;
626 compatible = "epson,rx8900";
631 compatible = "atmel,24c64";
636 compatible = "ti,ucd90160";
655 memory-region = <&gfx_memory>;
659 aspeed,external-nodes = <&gfx &lhc>;
663 aspeed,reset-type = "none";
664 aspeed,external-signal;
665 aspeed,ext-push-pull;
666 aspeed,ext-active-high;
668 pinctrl-names = "default";
669 pinctrl-0 = <&pinctrl_wdtrst1_default>;
690 memory-region = <&video_engine_memory>;
693 #include "ibm-power9-dual.dtsi"