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";
82 poll-interval = <1000>;
85 label = "fan0-presence";
86 gpios = <&pca0 4 GPIO_ACTIVE_LOW>;
91 label = "fan1-presence";
92 gpios = <&pca0 5 GPIO_ACTIVE_LOW>;
97 label = "fan2-presence";
98 gpios = <&pca0 6 GPIO_ACTIVE_LOW>;
103 label = "fan3-presence";
104 gpios = <&pca0 7 GPIO_ACTIVE_LOW>;
110 compatible = "gpio-leds";
113 retain-state-shutdown;
114 default-state = "keep";
115 gpios = <&pca0 0 GPIO_ACTIVE_LOW>;
119 retain-state-shutdown;
120 default-state = "keep";
121 gpios = <&pca0 1 GPIO_ACTIVE_LOW>;
125 retain-state-shutdown;
126 default-state = "keep";
127 gpios = <&pca0 2 GPIO_ACTIVE_LOW>;
131 retain-state-shutdown;
132 default-state = "keep";
133 gpios = <&pca0 3 GPIO_ACTIVE_LOW>;
137 retain-state-shutdown;
138 default-state = "keep";
139 gpios = <&pca0 13 GPIO_ACTIVE_LOW>;
143 retain-state-shutdown;
144 default-state = "keep";
145 gpios = <&pca0 14 GPIO_ACTIVE_LOW>;
149 retain-state-shutdown;
150 default-state = "keep";
151 gpios = <&pca0 15 GPIO_ACTIVE_LOW>;
155 gpios = <&gpio ASPEED_GPIO(N, 2) GPIO_ACTIVE_LOW>;
159 gpios = <&gpio ASPEED_GPIO(N, 4) GPIO_ACTIVE_LOW>;
163 gpios = <&gpio ASPEED_GPIO(N, 3) GPIO_ACTIVE_LOW>;
167 gpios = <&gpio ASPEED_GPIO(R, 5) GPIO_ACTIVE_LOW>;
172 compatible = "fsi-master-gpio", "fsi-master";
173 #address-cells = <2>;
177 clock-gpios = <&gpio ASPEED_GPIO(AA, 0) GPIO_ACTIVE_HIGH>;
178 data-gpios = <&gpio ASPEED_GPIO(E, 0) GPIO_ACTIVE_HIGH>;
179 mux-gpios = <&gpio ASPEED_GPIO(A, 6) GPIO_ACTIVE_HIGH>;
180 enable-gpios = <&gpio ASPEED_GPIO(D, 0) GPIO_ACTIVE_HIGH>;
181 trans-gpios = <&gpio ASPEED_GPIO(R, 2) GPIO_ACTIVE_HIGH>;
185 compatible = "iio-hwmon";
186 io-channels = <&dps 0>;
190 compatible = "iio-hwmon";
191 io-channels = <&bmp 1>;
203 spi-max-frequency = <50000000>;
206 #address-cells = < 1 >;
208 compatible = "fixed-partitions";
214 reg = < 0x60000 0x20000 >;
215 label = "u-boot-env";
218 reg = < 0x80000 0x1F80000 >;
228 spi-max-frequency = <50000000>;
231 #address-cells = < 1 >;
233 compatible = "fixed-partitions";
236 label = "alt-u-boot";
239 reg = < 0x60000 0x20000 >;
240 label = "alt-u-boot-env";
243 reg = < 0x80000 0x1F80000 >;
244 label = "alt-obmc-ubi";
252 pinctrl-names = "default";
253 pinctrl-0 = <&pinctrl_spi1_default>;
259 spi-max-frequency = <100000000>;
264 /* Rear RS-232 connector */
266 pinctrl-names = "default";
267 pinctrl-0 = <&pinctrl_txd1_default
268 &pinctrl_rxd1_default
269 &pinctrl_nrts1_default
270 &pinctrl_ndtr1_default
271 &pinctrl_ndsr1_default
272 &pinctrl_ncts1_default
273 &pinctrl_ndcd1_default
274 &pinctrl_nri1_default>;
280 pinctrl-names = "default";
281 pinctrl-0 = <&pinctrl_txd2_default &pinctrl_rxd2_default>;
290 memory-region = <&flash_memory>;
296 pinctrl-names = "default";
297 pinctrl-0 = <&pinctrl_rmii1_default>;
298 clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>,
299 <&syscon ASPEED_CLK_MAC1RCLK>;
300 clock-names = "MACCLK", "RCLK";
317 compatible = "bosch,bmp280";
319 #io-channel-cells = <1>;
323 compatible = "maxim,max31785a";
325 #address-cells = <1>;
330 compatible = "infineon,dps310";
332 #io-channel-cells = <0>;
336 compatible = "nxp,pca9552";
338 #address-cells = <1>;
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 type = <PCA955X_TYPE_GPIO>;
376 type = <PCA955X_TYPE_GPIO>;
381 type = <PCA955X_TYPE_GPIO>;
386 type = <PCA955X_TYPE_GPIO>;
391 type = <PCA955X_TYPE_GPIO>;
396 type = <PCA955X_TYPE_GPIO>;
401 type = <PCA955X_TYPE_GPIO>;
406 type = <PCA955X_TYPE_GPIO>;
411 type = <PCA955X_TYPE_GPIO>;
416 type = <PCA955X_TYPE_GPIO>;
421 type = <PCA955X_TYPE_GPIO>;
426 compatible = "ibm,cffps1";
431 compatible = "ibm,cffps1";
440 compatible = "ti,tmp423";
445 compatible = "infineon,ir35221";
450 compatible = "infineon,ir35221";
460 compatible = "ti,tmp423";
465 compatible = "infineon,ir35221";
470 compatible = "infineon,ir35221";
479 compatible = "ti,tmp275";
495 pca9552: pca9552@60 {
496 compatible = "nxp,pca9552";
498 #address-cells = <1>;
503 gpio-line-names = "PS_SMBUS_RESET_N", "APSS_RESET_N",
504 "GPU0_TH_OVERT_N_BUFF", "GPU1_TH_OVERT_N_BUFF",
505 "GPU2_TH_OVERT_N_BUFF", "GPU3_TH_OVERT_N_BUFF",
506 "GPU4_TH_OVERT_N_BUFF", "GPU5_TH_OVERT_N_BUFF",
507 "GPU0_PWR_GOOD_BUFF", "GPU1_PWR_GOOD_BUFF",
508 "GPU2_PWR_GOOD_BUFF", "GPU3_PWR_GOOD_BUFF",
509 "GPU4_PWR_GOOD_BUFF", "GPU5_PWR_GOOD_BUFF",
510 "12V_BREAKER_FLT_N", "THROTTLE_UNLATCHED_N";
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 type = <PCA955X_TYPE_GPIO>;
544 type = <PCA955X_TYPE_GPIO>;
549 type = <PCA955X_TYPE_GPIO>;
554 type = <PCA955X_TYPE_GPIO>;
559 type = <PCA955X_TYPE_GPIO>;
564 type = <PCA955X_TYPE_GPIO>;
569 type = <PCA955X_TYPE_GPIO>;
574 type = <PCA955X_TYPE_GPIO>;
579 type = <PCA955X_TYPE_GPIO>;
584 type = <PCA955X_TYPE_GPIO>;
589 type = <PCA955X_TYPE_GPIO>;
594 compatible = "epson,rx8900";
599 compatible = "atmel,24c64";
604 compatible = "ti,ucd90160";
623 memory-region = <&gfx_memory>;
627 aspeed,external-nodes = <&gfx &lhc>;
631 aspeed,reset-type = "none";
632 aspeed,external-signal;
633 aspeed,ext-push-pull;
634 aspeed,ext-active-high;
636 pinctrl-names = "default";
637 pinctrl-0 = <&pinctrl_wdtrst1_default>;
658 memory-region = <&video_engine_memory>;
661 #include "ibm-power9-dual.dtsi"