OpenWrt – Blame information for rev 2
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | / { |
2 | #address-cells = <1>; |
||
3 | #size-cells = <1>; |
||
4 | compatible = "ralink,rt5350-soc"; |
||
5 | |||
6 | cpus { |
||
7 | #address-cells = <1>; |
||
8 | #size-cells = <0>; |
||
9 | |||
10 | cpu@0 { |
||
11 | compatible = "mips,mips24KEc"; |
||
12 | reg = <0>; |
||
13 | }; |
||
14 | }; |
||
15 | |||
16 | chosen { |
||
17 | bootargs = "console=ttyS0,57600"; |
||
18 | }; |
||
19 | |||
20 | cpuintc: cpuintc { |
||
21 | #address-cells = <0>; |
||
22 | #interrupt-cells = <1>; |
||
23 | interrupt-controller; |
||
24 | compatible = "mti,cpu-interrupt-controller"; |
||
25 | }; |
||
26 | |||
27 | aliases { |
||
28 | spi0 = &spi0; |
||
29 | spi1 = &spi1; |
||
30 | serial0 = &uartlite; |
||
31 | }; |
||
32 | |||
33 | palmbus: palmbus@10000000 { |
||
34 | compatible = "palmbus"; |
||
35 | reg = <0x10000000 0x200000>; |
||
36 | ranges = <0x0 0x10000000 0x1FFFFF>; |
||
37 | |||
38 | #address-cells = <1>; |
||
39 | #size-cells = <1>; |
||
40 | |||
41 | sysc: sysc@0 { |
||
42 | compatible = "ralink,rt5350-sysc", "ralink,rt3050-sysc", "syscon"; |
||
43 | reg = <0x0 0x100>; |
||
44 | }; |
||
45 | |||
46 | timer: timer@100 { |
||
47 | compatible = "ralink,rt5350-timer", "ralink,rt2880-timer"; |
||
48 | reg = <0x100 0x20>; |
||
49 | |||
50 | interrupt-parent = <&intc>; |
||
51 | interrupts = <1>; |
||
52 | }; |
||
53 | |||
54 | watchdog: watchdog@120 { |
||
55 | compatible = "ralink,rt5350-wdt", "ralink,rt2880-wdt"; |
||
56 | reg = <0x120 0x10>; |
||
57 | |||
58 | resets = <&rstctrl 8>; |
||
59 | reset-names = "wdt"; |
||
60 | |||
61 | interrupt-parent = <&intc>; |
||
62 | interrupts = <1>; |
||
63 | }; |
||
64 | |||
65 | intc: intc@200 { |
||
66 | compatible = "ralink,rt5350-intc", "ralink,rt2880-intc"; |
||
67 | reg = <0x200 0x100>; |
||
68 | |||
69 | resets = <&rstctrl 19>; |
||
70 | reset-names = "intc"; |
||
71 | |||
72 | interrupt-controller; |
||
73 | #interrupt-cells = <1>; |
||
74 | |||
75 | interrupt-parent = <&cpuintc>; |
||
76 | interrupts = <2>; |
||
77 | }; |
||
78 | |||
79 | memc: memc@300 { |
||
80 | compatible = "ralink,rt5350-memc", "ralink,rt3050-memc"; |
||
81 | reg = <0x300 0x100>; |
||
82 | |||
83 | resets = <&rstctrl 20>; |
||
84 | reset-names = "mc"; |
||
85 | |||
86 | interrupt-parent = <&intc>; |
||
87 | interrupts = <3>; |
||
88 | }; |
||
89 | |||
90 | uart: uart@500 { |
||
91 | compatible = "ralink,rt5350-uart", "ralink,rt2880-uart", "ns16550a"; |
||
92 | reg = <0x500 0x100>; |
||
93 | |||
94 | resets = <&rstctrl 12>; |
||
95 | reset-names = "uart"; |
||
96 | |||
97 | interrupt-parent = <&intc>; |
||
98 | interrupts = <5>; |
||
99 | |||
100 | reg-shift = <2>; |
||
101 | |||
102 | status = "disabled"; |
||
103 | }; |
||
104 | |||
105 | gpio0: gpio@600 { |
||
106 | compatible = "ralink,rt5350-gpio", "ralink,rt2880-gpio"; |
||
107 | reg = <0x600 0x34>; |
||
108 | |||
109 | resets = <&rstctrl 13>; |
||
110 | reset-names = "pio"; |
||
111 | |||
112 | interrupt-parent = <&intc>; |
||
113 | interrupts = <6>; |
||
114 | |||
115 | gpio-controller; |
||
116 | #gpio-cells = <2>; |
||
117 | |||
118 | ralink,gpio-base = <0>; |
||
119 | ralink,nr-gpio = <22>; |
||
120 | ralink,register-map = [ 00 04 08 0c |
||
121 | 20 24 28 2c |
||
122 | 30 34 ]; |
||
123 | }; |
||
124 | |||
125 | gpio1: gpio@660 { |
||
126 | compatible = "ralink,rt5350-gpio", "ralink,rt2880-gpio"; |
||
127 | reg = <0x660 0x24>; |
||
128 | |||
129 | interrupt-parent = <&intc>; |
||
130 | interrupts = <6>; |
||
131 | |||
132 | gpio-controller; |
||
133 | #gpio-cells = <2>; |
||
134 | |||
135 | ralink,gpio-base = <22>; |
||
136 | ralink,nr-gpio = <6>; |
||
137 | ralink,register-map = [ 00 04 08 0c |
||
138 | 10 14 18 1c |
||
139 | 20 24 ]; |
||
140 | |||
141 | status = "disabled"; |
||
142 | }; |
||
143 | |||
144 | i2c: i2c@900 { |
||
145 | compatible = "ralink,rt2880-i2c"; |
||
146 | reg = <0x900 0x100>; |
||
147 | |||
148 | resets = <&rstctrl 16>; |
||
149 | reset-names = "i2c"; |
||
150 | |||
151 | #address-cells = <1>; |
||
152 | #size-cells = <0>; |
||
153 | |||
154 | pinctrl-names = "default"; |
||
155 | pinctrl-0 = <&i2c_pins>; |
||
156 | |||
157 | status = "disabled"; |
||
158 | }; |
||
159 | |||
160 | i2s: i2s@a00 { |
||
161 | compatible = "ralink,rt3352-i2s"; |
||
162 | reg = <0xa00 0x100>; |
||
163 | |||
164 | resets = <&rstctrl 17>; |
||
165 | reset-names = "i2s"; |
||
166 | |||
167 | interrupt-parent = <&intc>; |
||
168 | interrupts = <10>; |
||
169 | |||
170 | txdma-req = <2>; |
||
171 | rxdma-req = <3>; |
||
172 | |||
173 | dmas = <&gdma 4>, |
||
174 | <&gdma 6>; |
||
175 | dma-names = "tx", "rx"; |
||
176 | |||
177 | status = "disabled"; |
||
178 | }; |
||
179 | |||
180 | spi0: spi@b00 { |
||
181 | compatible = "ralink,rt5350-spi", "ralink,rt2880-spi"; |
||
182 | reg = <0xb00 0x40>; |
||
183 | |||
184 | resets = <&rstctrl 18>; |
||
185 | reset-names = "spi"; |
||
186 | |||
187 | #address-cells = <1>; |
||
188 | #size-cells = <0>; |
||
189 | |||
190 | pinctrl-names = "default"; |
||
191 | pinctrl-0 = <&spi_pins>; |
||
192 | |||
193 | status = "disabled"; |
||
194 | }; |
||
195 | |||
196 | spi1: spi@b40 { |
||
197 | compatible = "ralink,rt5350-spi", "ralink,rt2880-spi"; |
||
198 | reg = <0xb40 0x60>; |
||
199 | |||
200 | resets = <&rstctrl 18>; |
||
201 | reset-names = "spi"; |
||
202 | |||
203 | #address-cells = <1>; |
||
204 | #size-cells = <0>; |
||
205 | |||
206 | pinctrl-names = "default"; |
||
207 | pinctrl-0 = <&spi_cs1>; |
||
208 | |||
209 | status = "disabled"; |
||
210 | }; |
||
211 | |||
212 | uartlite: uartlite@c00 { |
||
213 | compatible = "ralink,rt5350-uart", "ralink,rt2880-uart", "ns16550a"; |
||
214 | reg = <0xc00 0x100>; |
||
215 | |||
216 | resets = <&rstctrl 19>; |
||
217 | reset-names = "uartl"; |
||
218 | |||
219 | interrupt-parent = <&intc>; |
||
220 | interrupts = <12>; |
||
221 | |||
222 | pinctrl-names = "default"; |
||
223 | pinctrl-0 = <&uartlite_pins>; |
||
224 | |||
225 | reg-shift = <2>; |
||
226 | }; |
||
227 | |||
228 | systick: systick@d00 { |
||
229 | compatible = "ralink,rt5350-systick", "ralink,cevt-systick"; |
||
230 | reg = <0xd00 0x10>; |
||
231 | |||
232 | interrupt-parent = <&cpuintc>; |
||
233 | interrupts = <7>; |
||
234 | }; |
||
235 | |||
236 | pcm: pcm@2000 { |
||
237 | compatible = "ralink,rt5350-pcm"; |
||
238 | reg = <0x2000 0x800>; |
||
239 | |||
240 | resets = <&rstctrl 11>; |
||
241 | reset-names = "pcm"; |
||
242 | |||
243 | interrupt-parent = <&intc>; |
||
244 | interrupts = <4>; |
||
245 | |||
246 | status = "disabled"; |
||
247 | }; |
||
248 | |||
249 | gdma: gdma@2800 { |
||
250 | compatible = "ralink,rt3883-gdma"; |
||
251 | reg = <0x2800 0x800>; |
||
252 | |||
253 | resets = <&rstctrl 14>; |
||
254 | reset-names = "dma"; |
||
255 | |||
256 | interrupt-parent = <&intc>; |
||
257 | interrupts = <7>; |
||
258 | |||
259 | #dma-cells = <1>; |
||
260 | #dma-channels = <16>; |
||
261 | #dma-requests = <16>; |
||
262 | |||
263 | status = "disabled"; |
||
264 | }; |
||
265 | }; |
||
266 | |||
267 | pinctrl: pinctrl { |
||
268 | compatible = "ralink,rt2880-pinmux"; |
||
269 | |||
270 | pinctrl-names = "default"; |
||
271 | pinctrl-0 = <&state_default>; |
||
272 | |||
273 | state_default: pinctrl0 { |
||
274 | }; |
||
275 | |||
276 | i2c_pins: i2c_pins { |
||
277 | i2c_pins { |
||
278 | ralink,group = "i2c"; |
||
279 | ralink,function = "i2c"; |
||
280 | }; |
||
281 | }; |
||
282 | |||
283 | spi_pins: spi_pins { |
||
284 | spi_pins { |
||
285 | ralink,group = "spi"; |
||
286 | ralink,function = "spi"; |
||
287 | }; |
||
288 | }; |
||
289 | |||
290 | phy_led_pins: phy_led { |
||
291 | phy_led { |
||
292 | ralink,group = "led"; |
||
293 | ralink,function = "led"; |
||
294 | }; |
||
295 | }; |
||
296 | |||
297 | uartlite_pins: uartlite { |
||
298 | uart { |
||
299 | ralink,group = "uartlite"; |
||
300 | ralink,function = "uartlite"; |
||
301 | }; |
||
302 | }; |
||
303 | |||
304 | uartf_pins: uartf { |
||
305 | uartf { |
||
306 | ralink,group = "uartf"; |
||
307 | ralink,function = "uartf"; |
||
308 | }; |
||
309 | }; |
||
310 | |||
311 | spi_cs1: spi1 { |
||
312 | spi1 { |
||
313 | ralink,group = "spi_cs1"; |
||
314 | ralink,function = "spi_cs1"; |
||
315 | }; |
||
316 | }; |
||
317 | }; |
||
318 | |||
319 | rstctrl: rstctrl { |
||
320 | compatible = "ralink,rt5350-reset", "ralink,rt2880-reset"; |
||
321 | #reset-cells = <1>; |
||
322 | }; |
||
323 | |||
324 | clkctrl: clkctrl { |
||
325 | compatible = "ralink,rt2880-clock"; |
||
326 | #clock-cells = <1>; |
||
327 | }; |
||
328 | |||
329 | usbphy: usbphy { |
||
330 | compatible = "ralink,rt3352-usbphy"; |
||
331 | #phy-cells = <0>; |
||
332 | |||
333 | ralink,sysctl = <&sysc>; |
||
334 | resets = <&rstctrl 22 &rstctrl 25>; |
||
335 | reset-names = "host", "device"; |
||
336 | clocks = <&clkctrl 18>; |
||
337 | clock-names = "host"; |
||
338 | }; |
||
339 | |||
340 | ethernet: ethernet@10100000 { |
||
341 | compatible = "ralink,rt5350-eth"; |
||
342 | reg = <0x10100000 0x10000>; |
||
343 | |||
344 | resets = <&rstctrl 21 &rstctrl 23>; |
||
345 | reset-names = "fe", "esw"; |
||
346 | |||
347 | interrupt-parent = <&cpuintc>; |
||
348 | interrupts = <5>; |
||
349 | |||
350 | mediatek,switch = <&esw>; |
||
351 | }; |
||
352 | |||
353 | esw: esw@10110000 { |
||
354 | compatible = "ralink,rt5350-esw", "ralink,rt3050-esw"; |
||
355 | reg = <0x10110000 0x8000>; |
||
356 | |||
357 | resets = <&rstctrl 23>; |
||
358 | reset-names = "esw"; |
||
359 | |||
360 | interrupt-parent = <&intc>; |
||
361 | interrupts = <17>; |
||
362 | }; |
||
363 | |||
364 | wmac: wmac@10180000 { |
||
365 | compatible = "ralink,rt5350-wmac", "ralink,rt2880-wmac"; |
||
366 | reg = <0x10180000 0x40000>; |
||
367 | |||
368 | interrupt-parent = <&cpuintc>; |
||
369 | interrupts = <6>; |
||
370 | |||
371 | ralink,eeprom = "soc_wmac.eeprom"; |
||
372 | }; |
||
373 | |||
374 | ehci: ehci@101c0000 { |
||
375 | #address-cells = <1>; |
||
376 | #size-cells = <0>; |
||
377 | compatible = "generic-ehci"; |
||
378 | reg = <0x101c0000 0x1000>; |
||
379 | |||
380 | phys = <&usbphy>; |
||
381 | phy-names = "usb"; |
||
382 | |||
383 | interrupt-parent = <&intc>; |
||
384 | interrupts = <18>; |
||
385 | |||
386 | ehci_port1: port@1 { |
||
387 | reg = <1>; |
||
388 | #trigger-source-cells = <0>; |
||
389 | }; |
||
390 | }; |
||
391 | |||
392 | ohci: ohci@101c1000 { |
||
393 | #address-cells = <1>; |
||
394 | #size-cells = <0>; |
||
395 | compatible = "generic-ohci"; |
||
396 | reg = <0x101c1000 0x1000>; |
||
397 | |||
398 | phys = <&usbphy>; |
||
399 | phy-names = "usb"; |
||
400 | |||
401 | interrupt-parent = <&intc>; |
||
402 | interrupts = <18>; |
||
403 | |||
404 | ohci_port1: port@1 { |
||
405 | reg = <1>; |
||
406 | #trigger-source-cells = <0>; |
||
407 | }; |
||
408 | }; |
||
409 | }; |