ralink: change subtarget order
[openwrt/svn-archive/archive.git] / target / linux / ramips / dts / mt7620a.dtsi
1 / {
2 #address-cells = <1>;
3 #size-cells = <1>;
4 compatible = "ralink,mtk7620a-soc";
5
6 cpus {
7 cpu@0 {
8 compatible = "mips,mips24KEc";
9 };
10 };
11
12 chosen {
13 bootargs = "console=ttyS0,57600";
14 };
15
16 cpuintc: cpuintc@0 {
17 #address-cells = <0>;
18 #interrupt-cells = <1>;
19 interrupt-controller;
20 compatible = "mti,cpu-interrupt-controller";
21 };
22
23 palmbus@10000000 {
24 compatible = "palmbus";
25 reg = <0x10000000 0x200000>;
26 ranges = <0x0 0x10000000 0x1FFFFF>;
27
28 #address-cells = <1>;
29 #size-cells = <1>;
30
31 sysc@0 {
32 compatible = "ralink,mt7620a-sysc", "ralink,rt3050-sysc";
33 reg = <0x0 0x100>;
34 };
35
36 timer@100 {
37 compatible = "ralink,mt7620a-timer", "ralink,rt2880-timer";
38 reg = <0x100 0x20>;
39
40 interrupt-parent = <&intc>;
41 interrupts = <1>;
42 };
43
44 watchdog@120 {
45 compatible = "ralink,mt7620a-wdt", "ralink,rt2880-wdt";
46 reg = <0x120 0x10>;
47
48 resets = <&rstctrl 8>;
49 reset-names = "wdt";
50
51 interrupt-parent = <&intc>;
52 interrupts = <1>;
53 };
54
55 intc: intc@200 {
56 compatible = "ralink,mt7620a-intc", "ralink,rt2880-intc";
57 reg = <0x200 0x100>;
58
59 resets = <&rstctrl 19>;
60 reset-names = "intc";
61
62 interrupt-controller;
63 #interrupt-cells = <1>;
64
65 interrupt-parent = <&cpuintc>;
66 interrupts = <2>;
67 };
68
69 memc@300 {
70 compatible = "ralink,mt7620a-memc", "ralink,rt3050-memc";
71 reg = <0x300 0x100>;
72
73 resets = <&rstctrl 20>;
74 reset-names = "mc";
75
76 interrupt-parent = <&intc>;
77 interrupts = <3>;
78 };
79
80 uart@500 {
81 compatible = "ralink,mt7620a-uart", "ralink,rt2880-uart", "ns16550a";
82 reg = <0x500 0x100>;
83
84 resets = <&rstctrl 12>;
85 reset-names = "uart";
86
87 interrupt-parent = <&intc>;
88 interrupts = <5>;
89
90 reg-shift = <2>;
91
92 status = "disabled";
93 };
94
95 gpio0: gpio@600 {
96 compatible = "ralink,mt7620a-gpio", "ralink,rt2880-gpio";
97 reg = <0x600 0x34>;
98
99 resets = <&rstctrl 13>;
100 reset-names = "pio";
101
102 interrupt-parent = <&intc>;
103 interrupts = <6>;
104
105 gpio-controller;
106 #gpio-cells = <2>;
107
108 ralink,gpio-base = <0>;
109 ralink,num-gpios = <24>;
110 ralink,register-map = [ 00 04 08 0c
111 20 24 28 2c
112 30 34 ];
113
114 status = "disabled";
115 };
116
117 gpio1: gpio@638 {
118 compatible = "ralink,mt7620a-gpio", "ralink,rt2880-gpio";
119 reg = <0x638 0x24>;
120
121 interrupt-parent = <&intc>;
122 interrupts = <6>;
123
124 gpio-controller;
125 #gpio-cells = <2>;
126
127 ralink,gpio-base = <24>;
128 ralink,num-gpios = <16>;
129 ralink,register-map = [ 00 04 08 0c
130 10 14 18 1c
131 20 24 ];
132
133 status = "disabled";
134 };
135
136 gpio2: gpio@660 {
137 compatible = "ralink,mt7620a-gpio", "ralink,rt2880-gpio";
138 reg = <0x660 0x24>;
139
140 interrupt-parent = <&intc>;
141 interrupts = <6>;
142
143 gpio-controller;
144 #gpio-cells = <2>;
145
146 ralink,gpio-base = <40>;
147 ralink,num-gpios = <32>;
148 ralink,register-map = [ 00 04 08 0c
149 10 14 18 1c
150 20 24 ];
151
152 status = "disabled";
153 };
154
155 i2c@900 {
156 compatible = "link,mt7620a-i2c", "ralink,rt2880-i2c";
157 reg = <0x900 0x100>;
158
159 resets = <&rstctrl 16>;
160 reset-names = "i2c";
161
162 #address-cells = <1>;
163 #size-cells = <0>;
164
165 status = "disabled";
166 };
167
168 i2s@a00 {
169 compatible = "ralink,mt7620a-i2s";
170 reg = <0xa00 0x100>;
171
172 resets = <&rstctrl 17>;
173 reset-names = "i2s";
174
175 interrupt-parent = <&intc>;
176 interrupts = <10>;
177
178 status = "disabled";
179 };
180
181 spi@b00 {
182 compatible = "ralink,mt7620a-spi", "ralink,rt2880-spi";
183 reg = <0xb00 0x100>;
184
185 resets = <&rstctrl 18>;
186 reset-names = "spi";
187
188 #address-cells = <1>;
189 #size-cells = <1>;
190
191 status = "disabled";
192 };
193
194 uartlite@c00 {
195 compatible = "ralink,mt7620a-uart", "ralink,rt2880-uart", "ns16550a";
196 reg = <0xc00 0x100>;
197
198 resets = <&rstctrl 19>;
199 reset-names = "uartl";
200
201 interrupt-parent = <&intc>;
202 interrupts = <12>;
203
204 reg-shift = <2>;
205 };
206
207 systick@d00 {
208 compatible = "ralink,mt7620a-systick", "ralink,cevt-systick";
209 reg = <0xd00 0x10>;
210
211 resets = <&rstctrl 28>;
212 reset-names = "intc";
213
214 interrupt-parent = <&cpuintc>;
215 interrupts = <7>;
216 };
217
218 pcm@2000 {
219 compatible = "ralink,mt7620a-pcm";
220 reg = <0x2000 0x800>;
221
222 resets = <&rstctrl 11>;
223 reset-names = "pcm";
224
225 interrupt-parent = <&intc>;
226 interrupts = <4>;
227
228 status = "disabled";
229 };
230
231 gdma@2800 {
232 compatible = "ralink,mt7620a-gdma", "ralink,rt2880-gdma";
233 reg = <0x2800 0x800>;
234
235 resets = <&rstctrl 14>;
236 reset-names = "dma";
237
238 interrupt-parent = <&intc>;
239 interrupts = <7>;
240
241 status = "disabled";
242 };
243 };
244
245 rstctrl: rstctrl {
246 compatible = "ralink,mt7620a-reset", "ralink,rt2880-reset";
247 #reset-cells = <1>;
248 };
249
250 ubsphy {
251 compatible = "ralink,mt7620a-usbphy";
252
253 resets = <&rstctrl 22 &rstctrl 25>;
254 reset-names = "host", "device";
255 };
256
257 ethernet@10100000 {
258 compatible = "ralink,mt7620a-eth";
259 reg = <0x10100000 10000>;
260
261 #address-cells = <1>;
262 #size-cells = <0>;
263
264 interrupt-parent = <&cpuintc>;
265 interrupts = <5>;
266
267 status = "disabled";
268
269 mdio-bus {
270 #address-cells = <1>;
271 #size-cells = <0>;
272
273 status = "disabled";
274 };
275 };
276
277 gsw@10110000 {
278 compatible = "ralink,mt7620a-gsw";
279 reg = <0x10110000 8000>;
280
281 interrupt-parent = <&intc>;
282 interrupts = <17>;
283
284 status = "disabled";
285 };
286
287 sdhci@10130000 {
288 compatible = "ralink,mt7620a-sdhci";
289 reg = <0x10130000 4000>;
290
291 interrupt-parent = <&intc>;
292 interrupts = <14>;
293
294 status = "disabled";
295 };
296
297 ehci@101c0000 {
298 compatible = "ralink,rt3xxx-ehci";
299 reg = <0x101c0000 0x1000>;
300
301 interrupt-parent = <&intc>;
302 interrupts = <18>;
303
304 status = "disabled";
305 };
306
307 ohci@101c1000 {
308 compatible = "ralink,rt3xxx-ohci";
309 reg = <0x101c1000 0x1000>;
310
311 interrupt-parent = <&intc>;
312 interrupts = <18>;
313
314 status = "disabled";
315 };
316
317 pcie@10140000 {
318 compatible = "ralink,mt7620a-pci";
319 reg = <0x10140000 0x100
320 0x10142000 0x100>;
321
322 resets = <&rstctrl 26>;
323 reset-names = "pcie0";
324
325 interrupt-parent = <&cpuintc>;
326 interrupts = <4>;
327
328 status = "disabled";
329 };
330 };