1 // SPDX-License-Identifier: GPL-2.0+
2 // Copyright (c) 2019 Facebook Inc.
5 #include <dt-bindings/gpio/aspeed-gpio.h>
6 #include "ast2500-facebook-netbmc-common.dtsi"
9 model = "Facebook Wedge 400 BMC";
10 compatible = "facebook,wedge400-bmc", "aspeed,ast2500";
14 * PCA9548 (2-0070) provides 8 channels connecting to
15 * SCM (System Controller Module).
27 * PCA9548 (8-0070) provides 8 channels connecting to
28 * SMB (Switch Main Board).
40 * PCA9548 (11-0076) provides 8 channels connecting to
41 * FCM (Fan Controller Module).
57 bootargs = "console=ttyS0,9600n8 root=/dev/ram rw";
61 compatible = "iio-hwmon";
62 io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>, <&adc 4>;
66 * GPIO-based SPI Master is required to access SPI TPM, because
67 * full-duplex SPI transactions are not supported by ASPEED SPI
72 compatible = "spi-gpio";
76 cs-gpios = <&gpio ASPEED_GPIO(R, 2) GPIO_ACTIVE_LOW>;
77 gpio-sck = <&gpio ASPEED_GPIO(R, 3) GPIO_ACTIVE_HIGH>;
78 gpio-mosi = <&gpio ASPEED_GPIO(R, 4) GPIO_ACTIVE_HIGH>;
79 gpio-miso = <&gpio ASPEED_GPIO(R, 5) GPIO_ACTIVE_HIGH>;
80 num-chipselects = <1>;
83 compatible = "tcg,tpm_tis-spi";
84 spi-max-frequency = <33000000>;
91 * Both firmware flashes are 128MB on Wedge400 BMC.
95 compatible = "fixed-partitions";
100 * u-boot partition: 384KB.
108 * u-boot environment variables: 128KB.
111 reg = <0x60000 0x20000>;
116 * FIT image: 123.5 MB.
119 reg = <0x80000 0x7b80000>;
124 * "data0" partition (4MB) is reserved for persistent
128 reg = <0x7c00000 0x400000>;
133 * "flash0" partition (covering the entire flash) is
134 * explicitly created to avoid breaking legacy applications.
137 reg = <0x0 0x8000000>;
145 compatible = "fixed-partitions";
146 #address-cells = <1>;
150 reg = <0x0 0x8000000>;
158 pinctrl-names = "default";
159 pinctrl-0 = <&pinctrl_txd2_default
160 &pinctrl_rxd2_default>;
165 pinctrl-names = "default";
166 pinctrl-0 = <&pinctrl_txd4_default
167 &pinctrl_rxd4_default>;
171 * I2C bus #0 is multi-master environment dedicated for BMC and Bridge IC
177 bus-frequency = <1000000>;
188 compatible = "nxp,pca9548";
189 #address-cells = <1>;
192 i2c-mux-idle-disconnect;
195 #address-cells = <1>;
201 #address-cells = <1>;
207 #address-cells = <1>;
213 #address-cells = <1>;
219 #address-cells = <1>;
225 #address-cells = <1>;
231 #address-cells = <1>;
237 #address-cells = <1>;
268 compatible = "nxp,pca9548";
269 #address-cells = <1>;
272 i2c-mux-idle-disconnect;
275 #address-cells = <1>;
281 #address-cells = <1>;
287 #address-cells = <1>;
293 #address-cells = <1>;
299 #address-cells = <1>;
305 #address-cells = <1>;
311 #address-cells = <1>;
317 #address-cells = <1>;
337 compatible = "nxp,pca9548";
338 #address-cells = <1>;
341 i2c-mux-idle-disconnect;
344 #address-cells = <1>;
350 #address-cells = <1>;
356 #address-cells = <1>;
362 #address-cells = <1>;
368 #address-cells = <1>;
374 #address-cells = <1>;
380 #address-cells = <1>;
386 #address-cells = <1>;
416 * DMA mode needs to be disabled to avoid conflicts with UHCI
417 * Controller in AST2500 SoC.
419 sdhci-caps-mask = <0x0 0x580000>;