blob: 1b716aae64f708a7bc894e2ef57de5f7a8100454 [file] [log] [blame]
Barry Song434e1c52012-08-23 10:47:53 +08001/*
2 * DTS file for CSR SiRFprimaII SoC
3 *
4 * Copyright (c) 2012 Cambridge Silicon Radio Limited, a CSR plc group company.
5 *
6 * Licensed under GPLv2 or later.
7 */
8
9/include/ "skeleton.dtsi"
Binghua Duan02c981c2011-07-08 17:40:12 +080010/ {
Barry Song434e1c52012-08-23 10:47:53 +080011 compatible = "sirf,prima2";
Binghua Duan02c981c2011-07-08 17:40:12 +080012 #address-cells = <1>;
13 #size-cells = <1>;
14 interrupt-parent = <&intc>;
15
Binghua Duan02c981c2011-07-08 17:40:12 +080016 cpus {
17 #address-cells = <1>;
18 #size-cells = <0>;
19
20 cpu@0 {
21 reg = <0x0>;
22 d-cache-line-size = <32>;
23 i-cache-line-size = <32>;
24 d-cache-size = <32768>;
25 i-cache-size = <32768>;
26 /* from bootloader */
27 timebase-frequency = <0>;
28 bus-frequency = <0>;
29 clock-frequency = <0>;
30 };
31 };
32
33 axi {
34 compatible = "simple-bus";
35 #address-cells = <1>;
36 #size-cells = <1>;
37 ranges = <0x40000000 0x40000000 0x80000000>;
38
39 l2-cache-controller@80040000 {
Barry Song917d8532011-09-15 19:16:28 -070040 compatible = "arm,pl310-cache", "sirf,prima2-pl310-cache";
Binghua Duan02c981c2011-07-08 17:40:12 +080041 reg = <0x80040000 0x1000>;
42 interrupts = <59>;
Barry Song917d8532011-09-15 19:16:28 -070043 arm,tag-latency = <1 1 1>;
44 arm,data-latency = <1 1 1>;
45 arm,filter-ranges = <0 0x40000000>;
Binghua Duan02c981c2011-07-08 17:40:12 +080046 };
47
48 intc: interrupt-controller@80020000 {
49 #interrupt-cells = <1>;
50 interrupt-controller;
51 compatible = "sirf,prima2-intc";
52 reg = <0x80020000 0x1000>;
53 };
54
55 sys-iobg {
56 compatible = "simple-bus";
57 #address-cells = <1>;
58 #size-cells = <1>;
59 ranges = <0x88000000 0x88000000 0x40000>;
60
61 clock-controller@88000000 {
62 compatible = "sirf,prima2-clkc";
63 reg = <0x88000000 0x1000>;
64 interrupts = <3>;
65 };
66
67 reset-controller@88010000 {
68 compatible = "sirf,prima2-rstc";
69 reg = <0x88010000 0x1000>;
70 };
Barry Song073adf42011-09-04 22:15:16 -070071
72 rsc-controller@88020000 {
73 compatible = "sirf,prima2-rsc";
74 reg = <0x88020000 0x1000>;
75 };
Binghua Duan02c981c2011-07-08 17:40:12 +080076 };
77
78 mem-iobg {
79 compatible = "simple-bus";
80 #address-cells = <1>;
81 #size-cells = <1>;
82 ranges = <0x90000000 0x90000000 0x10000>;
83
84 memory-controller@90000000 {
85 compatible = "sirf,prima2-memc";
86 reg = <0x90000000 0x10000>;
87 interrupts = <27>;
88 };
89 };
90
91 disp-iobg {
92 compatible = "simple-bus";
93 #address-cells = <1>;
94 #size-cells = <1>;
95 ranges = <0x90010000 0x90010000 0x30000>;
96
97 display@90010000 {
98 compatible = "sirf,prima2-lcd";
99 reg = <0x90010000 0x20000>;
100 interrupts = <30>;
101 };
102
103 vpp@90020000 {
104 compatible = "sirf,prima2-vpp";
105 reg = <0x90020000 0x10000>;
106 interrupts = <31>;
107 };
108 };
109
110 graphics-iobg {
111 compatible = "simple-bus";
112 #address-cells = <1>;
113 #size-cells = <1>;
114 ranges = <0x98000000 0x98000000 0x8000000>;
115
116 graphics@98000000 {
117 compatible = "powervr,sgx531";
118 reg = <0x98000000 0x8000000>;
119 interrupts = <6>;
120 };
121 };
122
123 multimedia-iobg {
124 compatible = "simple-bus";
125 #address-cells = <1>;
126 #size-cells = <1>;
127 ranges = <0xa0000000 0xa0000000 0x8000000>;
128
129 multimedia@a0000000 {
130 compatible = "sirf,prima2-video-codec";
131 reg = <0xa0000000 0x8000000>;
132 interrupts = <5>;
133 };
134 };
135
136 dsp-iobg {
137 compatible = "simple-bus";
138 #address-cells = <1>;
139 #size-cells = <1>;
140 ranges = <0xa8000000 0xa8000000 0x2000000>;
141
142 dspif@a8000000 {
143 compatible = "sirf,prima2-dspif";
144 reg = <0xa8000000 0x10000>;
145 interrupts = <9>;
146 };
147
148 gps@a8010000 {
149 compatible = "sirf,prima2-gps";
150 reg = <0xa8010000 0x10000>;
151 interrupts = <7>;
152 };
153
154 dsp@a9000000 {
155 compatible = "sirf,prima2-dsp";
156 reg = <0xa9000000 0x1000000>;
157 interrupts = <8>;
158 };
159 };
160
161 peri-iobg {
162 compatible = "simple-bus";
163 #address-cells = <1>;
164 #size-cells = <1>;
165 ranges = <0xb0000000 0xb0000000 0x180000>;
166
167 timer@b0020000 {
168 compatible = "sirf,prima2-tick";
169 reg = <0xb0020000 0x1000>;
170 interrupts = <0>;
171 };
172
173 nand@b0030000 {
174 compatible = "sirf,prima2-nand";
175 reg = <0xb0030000 0x10000>;
176 interrupts = <41>;
177 };
178
179 audio@b0040000 {
180 compatible = "sirf,prima2-audio";
181 reg = <0xb0040000 0x10000>;
182 interrupts = <35>;
183 };
184
185 uart0: uart@b0050000 {
186 cell-index = <0>;
187 compatible = "sirf,prima2-uart";
188 reg = <0xb0050000 0x10000>;
189 interrupts = <17>;
190 };
191
192 uart1: uart@b0060000 {
193 cell-index = <1>;
194 compatible = "sirf,prima2-uart";
195 reg = <0xb0060000 0x10000>;
196 interrupts = <18>;
197 };
198
199 uart2: uart@b0070000 {
200 cell-index = <2>;
201 compatible = "sirf,prima2-uart";
202 reg = <0xb0070000 0x10000>;
203 interrupts = <19>;
204 };
205
206 usp0: usp@b0080000 {
207 cell-index = <0>;
208 compatible = "sirf,prima2-usp";
209 reg = <0xb0080000 0x10000>;
210 interrupts = <20>;
211 };
212
213 usp1: usp@b0090000 {
214 cell-index = <1>;
215 compatible = "sirf,prima2-usp";
216 reg = <0xb0090000 0x10000>;
217 interrupts = <21>;
218 };
219
220 usp2: usp@b00a0000 {
221 cell-index = <2>;
222 compatible = "sirf,prima2-usp";
223 reg = <0xb00a0000 0x10000>;
224 interrupts = <22>;
225 };
226
227 dmac0: dma-controller@b00b0000 {
228 cell-index = <0>;
229 compatible = "sirf,prima2-dmac";
230 reg = <0xb00b0000 0x10000>;
231 interrupts = <12>;
232 };
233
234 dmac1: dma-controller@b0160000 {
235 cell-index = <1>;
236 compatible = "sirf,prima2-dmac";
237 reg = <0xb0160000 0x10000>;
238 interrupts = <13>;
239 };
240
241 vip@b00C0000 {
242 compatible = "sirf,prima2-vip";
243 reg = <0xb00C0000 0x10000>;
244 };
245
246 spi0: spi@b00d0000 {
247 cell-index = <0>;
248 compatible = "sirf,prima2-spi";
249 reg = <0xb00d0000 0x10000>;
250 interrupts = <15>;
251 };
252
253 spi1: spi@b0170000 {
254 cell-index = <1>;
255 compatible = "sirf,prima2-spi";
256 reg = <0xb0170000 0x10000>;
257 interrupts = <16>;
258 };
259
260 i2c0: i2c@b00e0000 {
261 cell-index = <0>;
262 compatible = "sirf,prima2-i2c";
263 reg = <0xb00e0000 0x10000>;
264 interrupts = <24>;
265 };
266
267 i2c1: i2c@b00f0000 {
268 cell-index = <1>;
269 compatible = "sirf,prima2-i2c";
270 reg = <0xb00f0000 0x10000>;
271 interrupts = <25>;
272 };
273
274 tsc@b0110000 {
275 compatible = "sirf,prima2-tsc";
276 reg = <0xb0110000 0x10000>;
277 interrupts = <33>;
278 };
279
280 gpio: gpio-controller@b0120000 {
281 #gpio-cells = <2>;
282 #interrupt-cells = <2>;
Barry Songc915bed2011-09-04 22:15:17 -0700283 compatible = "sirf,prima2-gpio-pinmux";
Binghua Duan02c981c2011-07-08 17:40:12 +0800284 reg = <0xb0120000 0x10000>;
Barry Song500b6ae2012-08-23 10:47:52 +0800285 interrupts = <43 44 45 46 47>;
Binghua Duan02c981c2011-07-08 17:40:12 +0800286 gpio-controller;
287 interrupt-controller;
288 };
289
290 pwm@b0130000 {
291 compatible = "sirf,prima2-pwm";
292 reg = <0xb0130000 0x10000>;
293 };
294
295 efusesys@b0140000 {
296 compatible = "sirf,prima2-efuse";
297 reg = <0xb0140000 0x10000>;
298 };
299
300 pulsec@b0150000 {
301 compatible = "sirf,prima2-pulsec";
302 reg = <0xb0150000 0x10000>;
303 interrupts = <48>;
304 };
305
306 pci-iobg {
307 compatible = "sirf,prima2-pciiobg", "simple-bus";
308 #address-cells = <1>;
309 #size-cells = <1>;
310 ranges = <0x56000000 0x56000000 0x1b00000>;
311
312 sd0: sdhci@56000000 {
313 cell-index = <0>;
314 compatible = "sirf,prima2-sdhc";
315 reg = <0x56000000 0x100000>;
316 interrupts = <38>;
317 };
318
319 sd1: sdhci@56100000 {
320 cell-index = <1>;
321 compatible = "sirf,prima2-sdhc";
322 reg = <0x56100000 0x100000>;
323 interrupts = <38>;
324 };
325
326 sd2: sdhci@56200000 {
327 cell-index = <2>;
328 compatible = "sirf,prima2-sdhc";
329 reg = <0x56200000 0x100000>;
330 interrupts = <23>;
331 };
332
333 sd3: sdhci@56300000 {
334 cell-index = <3>;
335 compatible = "sirf,prima2-sdhc";
336 reg = <0x56300000 0x100000>;
337 interrupts = <23>;
338 };
339
340 sd4: sdhci@56400000 {
341 cell-index = <4>;
342 compatible = "sirf,prima2-sdhc";
343 reg = <0x56400000 0x100000>;
344 interrupts = <39>;
345 };
346
347 sd5: sdhci@56500000 {
348 cell-index = <5>;
349 compatible = "sirf,prima2-sdhc";
350 reg = <0x56500000 0x100000>;
351 interrupts = <39>;
352 };
353
354 pci-copy@57900000 {
355 compatible = "sirf,prima2-pcicp";
356 reg = <0x57900000 0x100000>;
357 interrupts = <40>;
358 };
359
360 rom-interface@57a00000 {
361 compatible = "sirf,prima2-romif";
362 reg = <0x57a00000 0x100000>;
363 };
364 };
365 };
366
367 rtc-iobg {
Zhiwu Song684f7412011-08-30 19:20:34 -0700368 compatible = "sirf,prima2-rtciobg", "sirf-prima2-rtciobg-bus";
Binghua Duan02c981c2011-07-08 17:40:12 +0800369 #address-cells = <1>;
370 #size-cells = <1>;
371 reg = <0x80030000 0x10000>;
372
373 gpsrtc@1000 {
374 compatible = "sirf,prima2-gpsrtc";
375 reg = <0x1000 0x1000>;
376 interrupts = <55 56 57>;
377 };
378
379 sysrtc@2000 {
380 compatible = "sirf,prima2-sysrtc";
381 reg = <0x2000 0x1000>;
382 interrupts = <52 53 54>;
383 };
384
385 pwrc@3000 {
386 compatible = "sirf,prima2-pwrc";
387 reg = <0x3000 0x1000>;
388 interrupts = <32>;
389 };
390 };
391
392 uus-iobg {
393 compatible = "simple-bus";
394 #address-cells = <1>;
395 #size-cells = <1>;
396 ranges = <0xb8000000 0xb8000000 0x40000>;
397
398 usb0: usb@b00e0000 {
399 compatible = "chipidea,ci13611a-prima2";
400 reg = <0xb8000000 0x10000>;
401 interrupts = <10>;
402 };
403
404 usb1: usb@b00f0000 {
405 compatible = "chipidea,ci13611a-prima2";
406 reg = <0xb8010000 0x10000>;
407 interrupts = <11>;
408 };
409
410 sata@b00f0000 {
411 compatible = "synopsys,dwc-ahsata";
412 reg = <0xb8020000 0x10000>;
413 interrupts = <37>;
414 };
415
416 security@b00f0000 {
417 compatible = "sirf,prima2-security";
418 reg = <0xb8030000 0x10000>;
419 interrupts = <42>;
420 };
421 };
422 };
423};