Loading...
Note: File does not exist in v6.13.7.
1// SPDX-License-Identifier: GPL-2.0+
2/dts-v1/;
3#include "aspeed-g5.dtsi"
4#include <dt-bindings/gpio/aspeed-gpio.h>
5
6/ {
7 model = "Romulus BMC";
8 compatible = "ibm,romulus-bmc", "aspeed,ast2500";
9
10 chosen {
11 stdout-path = &uart5;
12 bootargs = "console=ttyS4,115200 earlyprintk";
13 };
14
15 memory@80000000 {
16 reg = <0x80000000 0x20000000>;
17 };
18
19 reserved-memory {
20 #address-cells = <1>;
21 #size-cells = <1>;
22 ranges;
23
24 vga_memory: framebuffer@bf000000 {
25 no-map;
26 reg = <0xbf000000 0x01000000>; /* 16M */
27 };
28
29 flash_memory: region@98000000 {
30 no-map;
31 reg = <0x98000000 0x04000000>; /* 64M */
32 };
33 };
34
35 leds {
36 compatible = "gpio-leds";
37
38 fault {
39 gpios = <&gpio ASPEED_GPIO(N, 2) GPIO_ACTIVE_LOW>;
40 };
41
42 identify {
43 gpios = <&gpio ASPEED_GPIO(N, 4) GPIO_ACTIVE_HIGH>;
44 };
45
46 power {
47 gpios = <&gpio ASPEED_GPIO(R, 5) GPIO_ACTIVE_LOW>;
48 };
49 };
50
51 fsi: gpio-fsi {
52 compatible = "fsi-master-gpio", "fsi-master";
53 #address-cells = <2>;
54 #size-cells = <0>;
55
56 clock-gpios = <&gpio ASPEED_GPIO(AA, 0) GPIO_ACTIVE_HIGH>;
57 data-gpios = <&gpio ASPEED_GPIO(AA, 2) GPIO_ACTIVE_HIGH>;
58 mux-gpios = <&gpio ASPEED_GPIO(A, 6) GPIO_ACTIVE_HIGH>;
59 enable-gpios = <&gpio ASPEED_GPIO(D, 0) GPIO_ACTIVE_HIGH>;
60 trans-gpios = <&gpio ASPEED_GPIO(R, 2) GPIO_ACTIVE_HIGH>;
61 };
62
63 gpio-keys {
64 compatible = "gpio-keys";
65
66 checkstop {
67 label = "checkstop";
68 gpios = <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>;
69 linux,code = <ASPEED_GPIO(J, 2)>;
70 };
71 };
72};
73
74&fmc {
75 status = "okay";
76 flash@0 {
77 status = "okay";
78 m25p,fast-read;
79 label = "bmc";
80#include "openbmc-flash-layout.dtsi"
81 };
82};
83
84&spi1 {
85 status = "okay";
86 pinctrl-names = "default";
87 pinctrl-0 = <&pinctrl_spi1_default>;
88
89 flash@0 {
90 status = "okay";
91 m25p,fast-read;
92 label = "pnor";
93 };
94};
95
96&lpc_ctrl {
97 status = "okay";
98 memory-region = <&flash_memory>;
99 flash = <&spi1>;
100};
101
102&uart1 {
103 /* Rear RS-232 connector */
104 status = "okay";
105
106 pinctrl-names = "default";
107 pinctrl-0 = <&pinctrl_txd1_default
108 &pinctrl_rxd1_default
109 &pinctrl_nrts1_default
110 &pinctrl_ndtr1_default
111 &pinctrl_ndsr1_default
112 &pinctrl_ncts1_default
113 &pinctrl_ndcd1_default
114 &pinctrl_nri1_default>;
115};
116
117&uart5 {
118 status = "okay";
119};
120
121&mac0 {
122 status = "okay";
123
124 use-ncsi;
125
126 pinctrl-names = "default";
127 pinctrl-0 = <&pinctrl_rmii1_default>;
128};
129
130&i2c1 {
131 status = "okay";
132};
133
134&i2c2 {
135 status = "okay";
136};
137
138&i2c3 {
139 status = "okay";
140};
141
142&i2c4 {
143 status = "okay";
144};
145
146&i2c5 {
147 status = "okay";
148};
149
150&i2c6 {
151 /* PCIe slot 1 (x8) */
152 status = "okay";
153};
154
155&i2c7 {
156 /* PCIe slot 2 (x16) */
157 status = "okay";
158};
159
160&i2c8 {
161 /* PCIe slot 3 (x16) */
162 status = "okay";
163};
164
165&i2c9 {
166 /* PCIe slot 4 (x16) */
167 status = "okay";
168};
169
170&i2c10 {
171 /* PCIe slot 5 (x8) */
172 status = "okay";
173};
174
175&i2c11 {
176 status = "okay";
177
178 rtc@32 {
179 compatible = "epson,rx8900";
180 reg = <0x32>;
181 };
182};
183
184&i2c12 {
185 status = "okay";
186
187 w83773g@4c {
188 compatible = "nuvoton,w83773g";
189 reg = <0x4c>;
190 };
191};
192
193&gpio {
194 nic_func_mode0 {
195 gpio-hog;
196 gpios = <ASPEED_GPIO(D, 3) GPIO_ACTIVE_HIGH>;
197 output-low;
198 line-name = "nic_func_mode0";
199 };
200 nic_func_mode1 {
201 gpio-hog;
202 gpios = <ASPEED_GPIO(D, 4) GPIO_ACTIVE_HIGH>;
203 output-low;
204 line-name = "nic_func_mode1";
205 };
206 seq_cont {
207 gpio-hog;
208 gpios = <ASPEED_GPIO(S, 7) GPIO_ACTIVE_HIGH>;
209 output-low;
210 line-name = "seq_cont";
211 };
212};
213
214&vuart {
215 status = "okay";
216};
217
218&gfx {
219 status = "okay";
220};
221
222&pinctrl {
223 aspeed,external-nodes = <&gfx &lhc>;
224};
225
226&pwm_tacho {
227 status = "okay";
228 pinctrl-names = "default";
229 pinctrl-0 = <&pinctrl_pwm0_default &pinctrl_pwm1_default>;
230
231 fan@0 {
232 reg = <0x00>;
233 aspeed,fan-tach-ch = /bits/ 8 <0x08>;
234 };
235
236 fan@1 {
237 reg = <0x00>;
238 aspeed,fan-tach-ch = /bits/ 8 <0x09>;
239 };
240
241 fan@2 {
242 reg = <0x01>;
243 aspeed,fan-tach-ch = /bits/ 8 <0x0a>;
244 };
245
246 fan@3 {
247 reg = <0x01>;
248 aspeed,fan-tach-ch = /bits/ 8 <0x0b>;
249 };
250
251 fan@4 {
252 reg = <0x00>;
253 aspeed,fan-tach-ch = /bits/ 8 <0x0c>;
254 };
255
256 fan@5 {
257 reg = <0x00>;
258 aspeed,fan-tach-ch = /bits/ 8 <0x0d>;
259 };
260
261 fan@6 {
262 reg = <0x01>;
263 aspeed,fan-tach-ch = /bits/ 8 <0x0e>;
264 };
265};
266
267&ibt {
268 status = "okay";
269};