Loading...
Note: File does not exist in v4.10.11.
1// SPDX-License-Identifier: GPL-2.0+
2// Copyright 2019 YADRO
3/dts-v1/;
4
5#include "aspeed-g4.dtsi"
6#include <dt-bindings/gpio/aspeed-gpio.h>
7
8/ {
9 model = "Vesnin BMC";
10 compatible = "yadro,vesnin-bmc", "aspeed,ast2400";
11
12 chosen {
13 stdout-path = &uart5;
14 bootargs = "console=ttyS4,115200 earlyprintk";
15 };
16
17 memory {
18 reg = <0x40000000 0x20000000>;
19 };
20
21 reserved-memory {
22 #address-cells = <1>;
23 #size-cells = <1>;
24 ranges;
25
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 };
35
36 leds {
37 compatible = "gpio-leds";
38
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 };
45
46 id_blue {
47 gpios = <&gpio ASPEED_GPIO(O, 0) GPIO_ACTIVE_LOW>;
48 };
49
50 alarm_red {
51 gpios = <&gpio ASPEED_GPIO(N, 6) GPIO_ACTIVE_LOW>;
52 };
53
54 alarm_yel {
55 gpios = <&gpio ASPEED_GPIO(N, 7) GPIO_ACTIVE_HIGH>;
56 };
57 };
58
59 gpio-keys {
60 compatible = "gpio-keys";
61
62 button_checkstop {
63 label = "checkstop";
64 linux,code = <74>;
65 gpios = <&gpio ASPEED_GPIO(P, 5) GPIO_ACTIVE_LOW>;
66 };
67
68 button_identify {
69 label = "identify";
70 linux,code = <152>;
71 gpios = <&gpio ASPEED_GPIO(O, 7) GPIO_ACTIVE_LOW>;
72 };
73 };
74};
75
76&fmc {
77 status = "okay";
78 flash@0 {
79 status = "okay";
80 m25p,fast-read;
81 label = "bmc";
82#include "openbmc-flash-layout.dtsi"
83 };
84
85 flash@1 {
86 status = "okay";
87 m25p,fast-read;
88 label = "alt";
89 };
90};
91
92&spi {
93 status = "okay";
94 pinctrl-names = "default";
95 pinctrl-0 = <&pinctrl_spi1debug_default>;
96
97 flash@0 {
98 status = "okay";
99 label = "pnor";
100 m25p,fast-read;
101 };
102};
103
104&mac0 {
105 status = "okay";
106
107 use-ncsi;
108 no-hw-checksum;
109
110 pinctrl-names = "default";
111 pinctrl-0 = <&pinctrl_rmii1_default>;
112};
113
114
115&uart5 {
116 status = "okay";
117};
118
119&lpc_ctrl {
120 status = "okay";
121 memory-region = <&flash_memory>;
122 flash = <&spi>;
123};
124
125&ibt {
126 status = "okay";
127};
128
129&uart3 {
130 status = "okay";
131 pinctrl-names = "default";
132 pinctrl-0 = <&pinctrl_txd2_default &pinctrl_rxd2_default>;
133};
134
135&i2c0 {
136 status = "okay";
137
138 eeprom@50 {
139 compatible = "atmel,24c256";
140 reg = <0x50>;
141 pagesize = <64>;
142 };
143};
144
145&i2c1 {
146 status = "okay";
147
148 tmp75@49 {
149 compatible = "ti,tmp75";
150 reg = <0x49>;
151 };
152};
153
154&i2c2 {
155 status = "okay";
156};
157
158&i2c3 {
159 status = "okay";
160};
161
162&i2c4 {
163 status = "okay";
164
165 occ-hwmon@50 {
166 compatible = "ibm,p8-occ-hwmon";
167 reg = <0x50>;
168 };
169};
170
171&i2c5 {
172 status = "okay";
173
174 occ-hwmon@51 {
175 compatible = "ibm,p8-occ-hwmon";
176 reg = <0x51>;
177 };
178};
179
180&i2c6 {
181 status = "okay";
182
183 w83795g@2f {
184 compatible = "nuvoton,w83795g";
185 reg = <0x2f>;
186 };
187};
188
189&i2c7 {
190 status = "okay";
191
192 occ-hwmon@56 {
193 compatible = "ibm,p8-occ-hwmon";
194 reg = <0x56>;
195 };
196};
197
198&i2c9 {
199 status = "okay";
200};
201
202&i2c10 {
203 status = "okay";
204};
205
206&i2c11 {
207 status = "okay";
208
209 occ-hwmon@57 {
210 compatible = "ibm,p8-occ-hwmon";
211 reg = <0x57>;
212 };
213};
214
215&i2c12 {
216 status = "okay";
217
218 rtc@68 {
219 compatible = "maxim,ds3231";
220 reg = <0x68>;
221 };
222};
223
224&i2c13 {
225 status = "okay";
226};
227
228&vuart {
229 status = "okay";
230};
231
232&wdt2 {
233 aspeed,alt-boot;
234};