1 // SPDX-License-Identifier: GPL-2.0+
2 // Copyright (c) 2018 Facebook Inc.
5 #include "aspeed-g5.dtsi"
8 model = "Facebook Backpack CMM BMC";
9 compatible = "facebook,cmm-bmc", "aspeed,ast2500";
13 * Override the default uart aliases to avoid breaking
14 * the legacy applications.
22 * Hardcode the bus number of i2c switches' channels to
23 * avoid breaking the legacy applications.
53 bootargs = "console=ttyS1,9600n8 root=/dev/ram rw earlyprintk";
57 reg = <0x80000000 0x20000000>;
61 compatible = "iio-hwmon";
62 io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>,
63 <&adc 4>, <&adc 5>, <&adc 6>, <&adc 7>;
68 aspeed,external-nodes = <&gfx &lhc>;
72 * Update reset type to "system" (full chip) to fix warm reboot hang issue
73 * when reset type is set to default ("soc", gated by reset mask registers).
77 aspeed,reset-type = "system";
81 * wdt2 is not used by Backpack CMM.
93 #include "facebook-bmc-flash-layout.dtsi"
99 pinctrl-names = "default";
100 pinctrl-0 = <&pinctrl_txd1_default
101 &pinctrl_rxd1_default
102 &pinctrl_ncts1_default
103 &pinctrl_ndcd1_default
104 &pinctrl_ndsr1_default
105 &pinctrl_ndtr1_default
106 &pinctrl_nrts1_default>;
111 pinctrl-names = "default";
112 pinctrl-0 = <&pinctrl_txd3_default
113 &pinctrl_rxd3_default
114 &pinctrl_ncts3_default
115 &pinctrl_ndcd3_default
116 &pinctrl_nri3_default>;
121 pinctrl-names = "default";
122 pinctrl-0 = <&pinctrl_txd4_default
123 &pinctrl_rxd4_default>;
133 pinctrl-names = "default";
134 pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>;
138 * I2C bus reserved for communication with COM-E.
145 * I2C bus to Line Cards and Fabric Cards.
151 compatible = "nxp,pca9548";
152 #address-cells = <1>;
157 #address-cells = <1>;
163 #address-cells = <1>;
169 #address-cells = <1>;
175 #address-cells = <1>;
181 #address-cells = <1>;
187 #address-cells = <1>;
193 #address-cells = <1>;
199 #address-cells = <1>;
207 * I2C bus to Power Distribution Board.
213 compatible = "nxp,pca9548";
214 #address-cells = <1>;
219 #address-cells = <1>;
225 #address-cells = <1>;
231 #address-cells = <1>;
237 #address-cells = <1>;
243 #address-cells = <1>;
249 #address-cells = <1>;
255 #address-cells = <1>;
261 #address-cells = <1>;
269 * I2c bus connected with temperature sensors on CMM.
276 * I2C bus reserved for communication with COM-E.
283 * I2c bus connected with ADM1278.
290 * I2c bus connected with I/O Expander.
297 * I2c bus connected with I/O Expander and EPROMs.
304 * I2C bus to Fan Control Board.
310 compatible = "nxp,pca9548";
311 #address-cells = <1>;
316 #address-cells = <1>;
322 #address-cells = <1>;
328 #address-cells = <1>;
334 #address-cells = <1>;
340 #address-cells = <1>;
346 #address-cells = <1>;
352 #address-cells = <1>;
358 #address-cells = <1>;
366 * I2C bus to CMM CPLD.