WIP FPC-III support
[linux/fpc-iii.git] / arch / arm / boot / dts / aspeed-bmc-arm-centriq2400-rep.dts
blobc2ece0b91885e19a582fd38c8aac6b3b7ef6c985
1 // SPDX-License-Identifier: GPL-2.0+
2 /dts-v1/;
4 #include "aspeed-g5.dtsi"
5 #include <dt-bindings/gpio/aspeed-gpio.h>
7 / {
8         model = "Qualcomm Centriq 2400  REP AST2520";
9         compatible = "qualcomm,centriq2400-rep-bmc", "aspeed,ast2500";
11         chosen {
12                 stdout-path = &uart5;
13                 bootargs = "console=ttyS4,115200 earlyprintk";
14         };
16         memory@80000000 {
17                 reg = <0x80000000 0x40000000>;
18         };
20         iio-hwmon {
21                 compatible = "iio-hwmon";
22                 io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>,
23                         <&adc 4>, <&adc 5>, <&adc 6>, <&adc 8>;
24         };
26         iio-hwmon-battery {
27                 compatible = "iio-hwmon";
28                 io-channels = <&adc 7>;
29         };
31         leds {
32                 compatible = "gpio-leds";
34                 uid_led {
35                         label = "UID_LED";
36                         gpios = <&gpio ASPEED_GPIO(Q, 5) GPIO_ACTIVE_LOW>;
37                 };
39                 ras_error_led {
40                         label = "RAS_ERROR_LED";
41                         gpios = <&gpio ASPEED_GPIO(F, 6) GPIO_ACTIVE_LOW>;
42                 };
44                 system_fault {
45                         label = "System_fault";
46                         gpios = <&gpio ASPEED_GPIO(A, 1) GPIO_ACTIVE_LOW>;
47                 };
48         };
51 &fmc {
52         status = "okay";
53         flash@0 {
54                 status = "okay";
55                 m25p,fast-read;
56                 label = "bmc";
57 #include "openbmc-flash-layout.dtsi"
58         };
61 &spi1 {
62         status = "okay";
63         pinctrl-names = "default";
64         pinctrl-0 = <&pinctrl_spi1_default>;
65         flash@0 {
66                 status = "okay";
67         };
70 &spi2 {
71         pinctrl-names = "default";
72         pinctrl-0 = <&pinctrl_spi2ck_default
73                         &pinctrl_spi2miso_default
74                         &pinctrl_spi2mosi_default
75                         &pinctrl_spi2cs0_default>;
78 &uart3 {
79         status = "okay";
81         pinctrl-names = "default";
82         pinctrl-0 = <&pinctrl_txd3_default &pinctrl_rxd3_default>;
83         current-speed = <115200>;
86 &uart5 {
87         status = "okay";
90 &mac0 {
91         status = "okay";
93         pinctrl-names = "default";
94         pinctrl-0 = <&pinctrl_rgmii1_default &pinctrl_mdio1_default>;
97 &i2c0 {
98         status = "okay";
101 &i2c1 {
102         status = "okay";
104         tmp421@1e {
105                 compatible = "ti,tmp421";
106                 reg = <0x1e>;
107         };
108         tmp421@2a {
109                 compatible = "ti,tmp421";
110                 reg = <0x2a>;
111         };
112         tmp421@4e {
113                 compatible = "ti,tmp421";
114                 reg = <0x4e>;
115         };
116         tmp421@1c {
117                 compatible = "ti,tmp421";
118                 reg = <0x1c>;
119         };
122 &i2c2 {
123         status = "okay";
126 &i2c3 {
127         status = "okay";
130 &i2c4 {
131         status = "okay";
134 &i2c5 {
135         status = "okay";
138 &i2c6 {
139         status = "okay";
141         tmp421@1d {
142                 compatible = "ti,tmp421";
143                 reg = <0x1d>;
144         };
145         tmp421@1f {
146                 compatible = "ti,tmp421";
147                 reg = <0x1f>;
148         };
149         tmp421@4d {
150                 compatible = "ti,tmp421";
151                 reg = <0x4d>;
152         };
153         tmp421@4f {
154                 compatible = "ti,tmp421";
155                 reg = <0x4f>;
156         };
157         nvt210@4c {
158                 compatible = "nvt210";
159                 reg = <0x4c>;
160         };
161         eeprom@50 {
162                 compatible = "atmel,24c128";
163                 reg = <0x50>;
164                 pagesize = <128>;
165         };
168 &i2c7 {
169         status = "okay";
172 &i2c8 {
173         status = "okay";
175         pca9641@70 {
176                 compatible = "nxp,pca9641";
177                 reg = <0x70>;
178                 i2c-arb {
179                         #address-cells = <1>;
180                         #size-cells = <0>;
181                         tmp421@1d {
182                                 compatible = "tmp421";
183                                 reg = <0x1d>;
184                         };
185                         adm1278@12 {
186                                 compatible = "adi,adm1278";
187                                 reg = <0x12>;
188                                 Rsense = <500>;
189                         };
190                         eeprom@50 {
191                                 compatible = "atmel,24c02";
192                                 reg = <0x50>;
193                         };
194                         ds1100@58 {
195                                 compatible = "ds1100";
196                                 reg = <0x58>;
197                         };
198                 };
199         };
202 &i2c9 {
203         status = "okay";
206 &vuart {
207         status = "okay";
210 &gfx {
211         status = "okay";
214 &pinctrl {
215         aspeed,external-nodes = <&gfx &lhc>;
218 &gpio {
219         pin_gpio_c7 {
220                 gpio-hog;
221                 gpios = <ASPEED_GPIO(C, 7) GPIO_ACTIVE_HIGH>;
222                 output;
223                 line-name = "BIOS_SPI_MUX_S";
224         };