WIP FPC-III support
[linux/fpc-iii.git] / arch / arm / boot / dts / aspeed-bmc-opp-vesnin.dts
blob01074b6e3e03e6e2327e93888f7bc7e133f6ca8f
1 // SPDX-License-Identifier: GPL-2.0+
2 // Copyright 2019 YADRO
3 /dts-v1/;
5 #include "aspeed-g4.dtsi"
6 #include <dt-bindings/gpio/aspeed-gpio.h>
8 / {
9         model = "Vesnin BMC";
10         compatible = "yadro,vesnin-bmc", "aspeed,ast2400";
12         chosen {
13                 stdout-path = &uart5;
14                 bootargs = "console=ttyS4,115200 earlyprintk";
15         };
17         memory@40000000 {
18                 reg = <0x40000000 0x20000000>;
19         };
21         reserved-memory {
22                 #address-cells = <1>;
23                 #size-cells = <1>;
24                 ranges;
26                 vga_memory: framebuffer@5f000000 {
27                         no-map;
28                         reg = <0x5f000000 0x01000000>; /* 16MB */
29                 };
30                 flash_memory: region@5c000000 {
31                         no-map;
32                         reg = <0x5c000000 0x02000000>; /* 32M */
33                 };
34         };
36         leds {
37                 compatible = "gpio-leds";
39                 heartbeat {
40                         gpios = <&gpio ASPEED_GPIO(R, 4) GPIO_ACTIVE_LOW>;
41                 };
42                 power_red {
43                         gpios = <&gpio ASPEED_GPIO(N, 1) GPIO_ACTIVE_LOW>;
44                 };
46                 power_green {
47                         gpios = <&gpio ASPEED_GPIO(F, 1) GPIO_ACTIVE_LOW>;
48                 };
50                 id_blue {
51                         gpios = <&gpio ASPEED_GPIO(O, 0) GPIO_ACTIVE_LOW>;
52                 };
54                 alarm_red {
55                         gpios = <&gpio ASPEED_GPIO(N, 6) GPIO_ACTIVE_LOW>;
56                 };
58                 alarm_yel {
59                         gpios = <&gpio ASPEED_GPIO(N, 7) GPIO_ACTIVE_HIGH>;
60                 };
61         };
63         gpio-keys {
64                 compatible = "gpio-keys";
66                 button_checkstop {
67                         label = "checkstop";
68                         linux,code = <74>;
69                         gpios = <&gpio ASPEED_GPIO(P, 5) GPIO_ACTIVE_LOW>;
70                 };
72                 button_identify {
73                         label = "identify";
74                         linux,code = <152>;
75                         gpios = <&gpio ASPEED_GPIO(O, 7) GPIO_ACTIVE_LOW>;
76                 };
77         };
80 &fmc {
81         status = "okay";
82         flash@0 {
83                 status = "okay";
84                 m25p,fast-read;
85         label = "bmc";
86 #include "openbmc-flash-layout.dtsi"
87         };
89         flash@1 {
90                 status = "okay";
91                 m25p,fast-read;
92                 label = "alt";
93         };
96 &spi {
97         status = "okay";
98         pinctrl-names = "default";
99         pinctrl-0 = <&pinctrl_spi1debug_default>;
101         flash@0 {
102                 status = "okay";
103                 label = "pnor";
104                 m25p,fast-read;
105         };
108 &mac0 {
109         status = "okay";
110         use-ncsi;
111         pinctrl-names = "default";
112         pinctrl-0 = <&pinctrl_rmii1_default>;
116 &uart5 {
117         status = "okay";
120 &lpc_ctrl {
121         status = "okay";
122         memory-region = <&flash_memory>;
123         flash = <&spi>;
126 &ibt {
127         status = "okay";
130 &uart3 {
131         status = "okay";
132         pinctrl-names = "default";
133         pinctrl-0 = <&pinctrl_txd2_default &pinctrl_rxd2_default>;
136 &i2c0 {
137         status = "okay";
139         eeprom@50 {
140                 compatible = "atmel,24c256";
141                 reg = <0x50>;
142                 pagesize = <64>;
143         };
146 &i2c1 {
147         status = "okay";
149         tmp75@49 {
150                 compatible = "ti,tmp75";
151                 reg = <0x49>;
152         };
155 &i2c2 {
156         status = "okay";
159 &i2c3 {
160         status = "okay";
163 &i2c4 {
164         status = "okay";
166         occ-hwmon@50 {
167                 compatible = "ibm,p8-occ-hwmon";
168                 reg = <0x50>;
169         };
172 &i2c5 {
173         status = "okay";
175         occ-hwmon@51 {
176                 compatible = "ibm,p8-occ-hwmon";
177                 reg = <0x51>;
178         };
181 &i2c6 {
182         status = "okay";
184         w83795g@2f {
185                 compatible = "nuvoton,w83795g";
186                 reg = <0x2f>;
187         };
190 &i2c7 {
191         status = "okay";
193         occ-hwmon@56 {
194                 compatible = "ibm,p8-occ-hwmon";
195                 reg = <0x56>;
196         };
199 &i2c9 {
200         status = "okay";
203 &i2c10 {
204         status = "okay";
207 &i2c11 {
208         status = "okay";
210         occ-hwmon@57 {
211                 compatible = "ibm,p8-occ-hwmon";
212                 reg = <0x57>;
213         };
216 &i2c12 {
217         status = "okay";
219         rtc@68 {
220                 compatible = "maxim,ds3231";
221                 reg = <0x68>;
222         };
225 &i2c13 {
226         status = "okay";
229 &vuart {
230         status = "okay";
233 &wdt2 {
234         aspeed,alt-boot;
237 &sdmmc {
238         status = "okay";
241 &sdhci1 {
242         status = "okay";
244         pinctrl-names = "default";
245         pinctrl-0 = <&pinctrl_sd2_default>;
246         cd-inverted;
247         disable-wp;