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 vga_memory: region@9f000000 {
32 compatible = "shared-dma-pool";
33 reg = <0x9f000000 0x01000000>; /* 16M */
36 gfx_memory: framebuffer {
38 alignment = <0x01000000>;
39 compatible = "shared-dma-pool";
43 video_engine_memory: jpegbuffer {
44 size = <0x02000000>; /* 32MM */
45 alignment = <0x01000000>;
46 compatible = "shared-dma-pool";
52 compatible = "gpio-keys";
56 gpios = <&gpio ASPEED_GPIO(B, 5) GPIO_ACTIVE_LOW>;
57 linux,code = <ASPEED_GPIO(B, 5)>;
62 gpios = <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>;
63 linux,code = <ASPEED_GPIO(J, 2)>;
67 label = "ps0-presence";
68 gpios = <&gpio ASPEED_GPIO(P, 7) GPIO_ACTIVE_LOW>;
69 linux,code = <ASPEED_GPIO(P, 7)>;
73 label = "ps1-presence";
74 gpios = <&gpio ASPEED_GPIO(N, 0) GPIO_ACTIVE_LOW>;
75 linux,code = <ASPEED_GPIO(N, 0)>;
80 compatible = "iio-hwmon";
81 io-channels = <&adc 12>;
85 compatible = "gpio-keys-polled";
86 poll-interval = <1000>;
89 label = "fan0-presence";
90 gpios = <&pca0 4 GPIO_ACTIVE_LOW>;
95 label = "fan1-presence";
96 gpios = <&pca0 5 GPIO_ACTIVE_LOW>;
101 label = "fan2-presence";
102 gpios = <&pca0 6 GPIO_ACTIVE_LOW>;
107 label = "fan3-presence";
108 gpios = <&pca0 7 GPIO_ACTIVE_LOW>;
114 compatible = "gpio-leds";
117 retain-state-shutdown;
118 default-state = "keep";
119 gpios = <&pca0 0 GPIO_ACTIVE_LOW>;
123 retain-state-shutdown;
124 default-state = "keep";
125 gpios = <&pca0 1 GPIO_ACTIVE_LOW>;
129 retain-state-shutdown;
130 default-state = "keep";
131 gpios = <&pca0 2 GPIO_ACTIVE_LOW>;
135 retain-state-shutdown;
136 default-state = "keep";
137 gpios = <&pca0 3 GPIO_ACTIVE_LOW>;
141 retain-state-shutdown;
142 default-state = "keep";
143 gpios = <&pca0 13 GPIO_ACTIVE_LOW>;
147 retain-state-shutdown;
148 default-state = "keep";
149 gpios = <&pca0 14 GPIO_ACTIVE_LOW>;
153 retain-state-shutdown;
154 default-state = "keep";
155 gpios = <&pca0 15 GPIO_ACTIVE_LOW>;
159 gpios = <&gpio ASPEED_GPIO(N, 2) GPIO_ACTIVE_LOW>;
163 gpios = <&gpio ASPEED_GPIO(N, 4) GPIO_ACTIVE_LOW>;
167 gpios = <&gpio ASPEED_GPIO(N, 3) GPIO_ACTIVE_LOW>;
171 gpios = <&gpio ASPEED_GPIO(R, 5) GPIO_ACTIVE_LOW>;
176 compatible = "fsi-master-gpio", "fsi-master";
177 #address-cells = <2>;
181 clock-gpios = <&gpio ASPEED_GPIO(AA, 0) GPIO_ACTIVE_HIGH>;
182 data-gpios = <&gpio ASPEED_GPIO(E, 0) GPIO_ACTIVE_HIGH>;
183 mux-gpios = <&gpio ASPEED_GPIO(A, 6) GPIO_ACTIVE_HIGH>;
184 enable-gpios = <&gpio ASPEED_GPIO(D, 0) GPIO_ACTIVE_HIGH>;
185 trans-gpios = <&gpio ASPEED_GPIO(R, 2) GPIO_ACTIVE_HIGH>;
189 compatible = "iio-hwmon";
190 io-channels = <&dps 0>;
194 compatible = "iio-hwmon";
195 io-channels = <&bmp 1>;
202 /*A0-A7*/ "","cfam-reset","","","","","fsi-mux","",
203 /*B0-B7*/ "","","","","","air-water","","",
204 /*C0-C7*/ "","","","","","","","",
205 /*D0-D7*/ "fsi-enable","","","","","","","",
206 /*E0-E7*/ "fsi-data","","","","","","","",
207 /*F0-F7*/ "","","","","","","","",
208 /*G0-G7*/ "","","","","","","","",
209 /*H0-H7*/ "","","","","","","","",
210 /*I0-I7*/ "","","","","","","","",
211 /*J0-J7*/ "","","checkstop","","","","","",
212 /*K0-K7*/ "","","","","","","","",
213 /*L0-L7*/ "","","","","","","","",
214 /*M0-M7*/ "","","","","","","","",
215 /*N0-N7*/ "presence-ps1","","led-rear-fault","led-rear-power",
216 "led-rear-id","","","",
217 /*O0-O7*/ "","","","","","","","",
218 /*P0-P7*/ "","","","","","","","presence-ps0",
219 /*Q0-Q7*/ "","","","","","","","",
220 /*R0-R7*/ "","","fsi-trans","","","power-button","","",
221 /*S0-S7*/ "","","","","","","","",
222 /*T0-T7*/ "","","","","","","","",
223 /*U0-U7*/ "","","","","","","","",
224 /*V0-V7*/ "","","","","","","","",
225 /*W0-W7*/ "","","","","","","","",
226 /*X0-X7*/ "","","","","","","","",
227 /*Y0-Y7*/ "","","","","","","","",
228 /*Z0-Z7*/ "","","","","","","","",
229 /*AA0-AA7*/ "fsi-clock","","","","","","","",
230 /*AB0-AB7*/ "","","","","","","","",
231 /*AC0-AC7*/ "","","","","","","","";
241 spi-max-frequency = <50000000>;
244 #address-cells = < 1 >;
246 compatible = "fixed-partitions";
252 reg = < 0x60000 0x20000 >;
253 label = "u-boot-env";
256 reg = < 0x80000 0x1F80000 >;
266 spi-max-frequency = <50000000>;
269 #address-cells = < 1 >;
271 compatible = "fixed-partitions";
274 label = "alt-u-boot";
277 reg = < 0x60000 0x20000 >;
278 label = "alt-u-boot-env";
281 reg = < 0x80000 0x1F80000 >;
282 label = "alt-obmc-ubi";
290 pinctrl-names = "default";
291 pinctrl-0 = <&pinctrl_spi1_default>;
297 spi-max-frequency = <100000000>;
302 /* Rear RS-232 connector */
304 pinctrl-names = "default";
305 pinctrl-0 = <&pinctrl_txd1_default
306 &pinctrl_rxd1_default
307 &pinctrl_nrts1_default
308 &pinctrl_ndtr1_default
309 &pinctrl_ndsr1_default
310 &pinctrl_ncts1_default
311 &pinctrl_ndcd1_default
312 &pinctrl_nri1_default>;
318 pinctrl-names = "default";
319 pinctrl-0 = <&pinctrl_txd2_default &pinctrl_rxd2_default>;
328 memory-region = <&flash_memory>;
334 pinctrl-names = "default";
335 pinctrl-0 = <&pinctrl_rmii1_default>;
336 clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>,
337 <&syscon ASPEED_CLK_MAC1RCLK>;
338 clock-names = "MACCLK", "RCLK";
355 compatible = "bosch,bmp280";
357 #io-channel-cells = <1>;
361 compatible = "maxim,max31785a";
363 #address-cells = <1>;
368 compatible = "infineon,dps310";
370 #io-channel-cells = <0>;
374 compatible = "nxp,pca9552";
376 #address-cells = <1>;
384 type = <PCA955X_TYPE_GPIO>;
389 type = <PCA955X_TYPE_GPIO>;
394 type = <PCA955X_TYPE_GPIO>;
399 type = <PCA955X_TYPE_GPIO>;
404 type = <PCA955X_TYPE_GPIO>;
409 type = <PCA955X_TYPE_GPIO>;
414 type = <PCA955X_TYPE_GPIO>;
419 type = <PCA955X_TYPE_GPIO>;
424 type = <PCA955X_TYPE_GPIO>;
429 type = <PCA955X_TYPE_GPIO>;
434 type = <PCA955X_TYPE_GPIO>;
439 type = <PCA955X_TYPE_GPIO>;
444 type = <PCA955X_TYPE_GPIO>;
449 type = <PCA955X_TYPE_GPIO>;
454 type = <PCA955X_TYPE_GPIO>;
459 type = <PCA955X_TYPE_GPIO>;
464 compatible = "ibm,cffps1";
469 compatible = "ibm,cffps1";
478 compatible = "ti,tmp423";
483 compatible = "infineon,ir35221";
488 compatible = "infineon,ir35221";
498 compatible = "ti,tmp423";
503 compatible = "infineon,ir35221";
508 compatible = "infineon,ir35221";
517 compatible = "ti,tmp275";
533 pca9552: pca9552@60 {
534 compatible = "nxp,pca9552";
536 #address-cells = <1>;
541 gpio-line-names = "PS_SMBUS_RESET_N", "APSS_RESET_N",
542 "GPU0_TH_OVERT_N_BUFF", "GPU1_TH_OVERT_N_BUFF",
543 "GPU2_TH_OVERT_N_BUFF", "GPU3_TH_OVERT_N_BUFF",
544 "GPU4_TH_OVERT_N_BUFF", "GPU5_TH_OVERT_N_BUFF",
545 "GPU0_PWR_GOOD_BUFF", "GPU1_PWR_GOOD_BUFF",
546 "GPU2_PWR_GOOD_BUFF", "GPU3_PWR_GOOD_BUFF",
547 "GPU4_PWR_GOOD_BUFF", "GPU5_PWR_GOOD_BUFF",
548 "12V_BREAKER_FLT_N", "THROTTLE_UNLATCHED_N";
552 type = <PCA955X_TYPE_GPIO>;
557 type = <PCA955X_TYPE_GPIO>;
562 type = <PCA955X_TYPE_GPIO>;
567 type = <PCA955X_TYPE_GPIO>;
572 type = <PCA955X_TYPE_GPIO>;
577 type = <PCA955X_TYPE_GPIO>;
582 type = <PCA955X_TYPE_GPIO>;
587 type = <PCA955X_TYPE_GPIO>;
592 type = <PCA955X_TYPE_GPIO>;
597 type = <PCA955X_TYPE_GPIO>;
602 type = <PCA955X_TYPE_GPIO>;
607 type = <PCA955X_TYPE_GPIO>;
612 type = <PCA955X_TYPE_GPIO>;
617 type = <PCA955X_TYPE_GPIO>;
622 type = <PCA955X_TYPE_GPIO>;
627 type = <PCA955X_TYPE_GPIO>;
632 compatible = "epson,rx8900";
637 compatible = "atmel,24c64";
642 compatible = "ti,ucd90160";
661 memory-region = <&gfx_memory>;
665 aspeed,external-nodes = <&gfx &lhc>;
669 aspeed,reset-type = "none";
670 aspeed,external-signal;
671 aspeed,ext-push-pull;
672 aspeed,ext-active-high;
674 pinctrl-names = "default";
675 pinctrl-0 = <&pinctrl_wdtrst1_default>;
696 memory-region = <&video_engine_memory>;
701 memory-region = <&vga_memory>;
704 #include "ibm-power9-dual.dtsi"