Debian Codegraph @

arch/arm/boot/dts/aspeed/aspeed-bmc-nvidia-msx4-bmc.dts

raw
1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
3
4 #include "aspeed-g6.dtsi"
5 #include <dt-bindings/gpio/aspeed-gpio.h>
6 #include <dt-bindings/i2c/i2c.h>
7
8 / {
9 model = "AST2600 MSX4 BMC";
10 compatible = "nvidia,msx4-bmc", "aspeed,ast2600";
11
12 aliases {
13 serial0 = &uart1;
14 serial1 = &uart2;
15 serial2 = &uart3;
16 serial3 = &uart4;
17 serial4 = &uart5;
18 };
19
20 chosen {
21 stdout-path = "uart5:115200n8";
22 };
23
24 memory@80000000 {
25 device_type = "memory";
26 reg = <0x80000000 0x80000000>;
27 };
28
29 reserved-memory {
30 #address-cells = <1>;
31 #size-cells = <1>;
32 ranges;
33
34 gfx_memory: framebuffer {
35 compatible = "shared-dma-pool";
36 size = <0x01000000>;
37 alignment = <0x01000000>;
38 reusable;
39 };
40
41 video_engine_memory: jpegbuffer {
42 compatible = "shared-dma-pool";
43 size = <0x02000000>; /* 32M */
44 alignment = <0x01000000>;
45 reusable;
46 };
47 };
48 };
49
50 &ehci1 {
51 status = "okay";
52 };
53
54 &fmc {
55 status = "okay";
56
57 flash@0 {
58 compatible = "jedec,spi-nor";
59 label = "bmc";
60 status = "okay";
61 #include "openbmc-flash-layout-128.dtsi"
62 };
63
64 flash@1 {
65 compatible = "jedec,spi-nor";
66 label = "alt-bmc";
67 spi-tx-bus-width = <1>;
68 spi-rx-bus-width = <1>;
69 status = "okay";
70 };
71 };
72
73 &gfx {
74 memory-region = <&gfx_memory>;
75 status = "okay";
76 };
77
78 &gpio0 {
79 gpio-line-names =
80 /*A0-A7*/ "","","","","","","","",
81 /*B0-B7*/ "ASSERT_BMC_READY","","","","","","","",
82 /*C0-C7*/ "MON_PWR_GOOD","","","","","","","FP_ID_LED_N",
83 /*D0-D7*/ "","","","","","","","",
84 /*E0-E7*/ "","","","","","","","",
85 /*F0-F7*/ "","","","","","","","",
86 /*G0-G7*/ "","","FP_LED_STATUS_GREEN_N","FP_LED_STATUS_AMBER_N",
87 "","","","",
88 /*H0-H7*/ "","","","","","","","",
89 /*I0-I7*/ "","","","","","","","",
90 /*J0-J7*/ "","","","","","","","",
91 /*K0-K7*/ "","","","","","","","",
92 /*L0-L7*/ "","","","","","","","",
93 /*M0-M7*/ "","","","","","","","",
94 /*N0-N7*/ "","","","","","","","",
95 /*O0-O7*/ "","","","","","","","",
96 /*P0-P7*/ "MON_PWR_BTN_L","ASSERT_PWR_BTN_L","MON_RST_BTN_L",
97 "ASSERT_RST_BTN_L","","ASSERT_NMI_BTN_L","","",
98 /*Q0-Q7*/ "","","MEMORY_HOT_0","MEMORY_HOT_1","","","","",
99 /*R0-R7*/ "ID_BTN","","","","","VBAT_GPIO","","",
100 /*S0-S7*/ "","","RST_PCA_MUX","","","","","",
101 /*T0-T7*/ "","","","","","","","",
102 /*U0-U7*/ "","","","","","","","",
103 /*V0-V7*/ "","","","","","","","",
104 /*W0-W7*/ "","","","","","","","",
105 /*X0-X7*/ "","","","","","","","",
106 /*Y0-Y7*/ "","","","","","","","",
107 /*Z0-Z7*/ "","","","","","","","";
108 };
109
110 &gpio1 {
111 gpio-line-names =
112 /*18A0-18A7*/ "","","","","","","","",
113 /*18B0-18B7*/ "","","","","","","","",
114 /*18C0-18C7*/ "","","","","","","","",
115 /*18D0-18D7*/ "","","","","","","","",
116 /*18E0-18E3*/ "","","BMC_INIT_DONE","";
117 };
118
119 // Devices on these busses are available after POST
120 // however there isn't a great way to defer probing
121 // until that point today, as the BMC doesn't
122 // have direct control over when the host completes
123 // POST, especially from the kernel.
124 &i2c0 {
125 status = "okay";
126 };
127
128 &i2c1 {
129 status = "okay";
130 };
131
132 &i2c2 {
133 status = "okay";
134 };
135
136 &i2c3 {
137 status = "okay";
138 };
139
140 &i2c4 {
141 status = "okay";
142
143 eeprom@51 {
144 compatible = "atmel,24c256";
145 reg = <0x51>;
146 pagesize = <64>;
147 label = "sku";
148 };
149 };
150
151 &i2c5 {
152 status = "okay";
153 };
154
155 &i2c6 {
156 status = "okay";
157 };
158
159 &i2c7 {
160 status = "okay";
161 };
162
163 &i2c8 {
164 status = "okay";
165 };
166
167 &i2c9 {
168 status = "okay";
169 };
170
171 &i2c10 {
172 status = "okay";
173 };
174
175 &i2c11 {
176 status = "okay";
177 };
178
179 &i2c12 {
180 status = "okay";
181 };
182
183 &i2c13 {
184 status = "okay";
185 };
186
187 &i2c15 {
188 status = "okay";
189 };
190
191 &kcs1 {
192 aspeed,lpc-io-reg = <0xca0>;
193 status = "okay";
194 };
195
196 &kcs2 {
197 aspeed,lpc-io-reg = <0xca8>;
198 status = "okay";
199 };
200
201 &kcs3 {
202 aspeed,lpc-io-reg = <0xca2>;
203 status = "okay";
204 };
205
206 &lpc_reset {
207 status = "okay";
208 };
209
210 &rtc {
211 status = "okay";
212 };
213
214 &sgpiom0 {
215 ngpios = <80>;
216 status = "okay";
217 };
218
219 &uart_routing {
220 status = "okay";
221 };
222
223 &uart1 {
224 status = "okay";
225 };
226
227 &uart2 {
228 status = "okay";
229 };
230
231 &uart3 {
232 status = "okay";
233 };
234
235 &uart4 {
236 status = "okay";
237 };
238
239 &uart5 {
240 status = "okay";
241 };
242
243 &video {
244 memory-region = <&video_engine_memory>;
245 status = "okay";
246 };