blob: 7e7d8843abaf3121ce83cf86775d5e25acc82fc8 [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 {
Lorenzo Pieralisicc73f872013-04-23 14:15:49 +010021 compatible = "arm,cortex-a9";
22 device_type = "cpu";
Binghua Duan02c981c2011-07-08 17:40:12 +080023 reg = <0x0>;
24 d-cache-line-size = <32>;
25 i-cache-line-size = <32>;
26 d-cache-size = <32768>;
27 i-cache-size = <32768>;
28 /* from bootloader */
29 timebase-frequency = <0>;
30 bus-frequency = <0>;
31 clock-frequency = <0>;
Rongjun Ying683659f2014-01-09 12:14:37 +080032 clocks = <&clks 12>;
33 operating-points = <
34 /* kHz uV */
35 200000 1025000
36 400000 1025000
37 664000 1050000
38 800000 1100000
39 >;
40 clock-latency = <150000>;
Binghua Duan02c981c2011-07-08 17:40:12 +080041 };
42 };
43
44 axi {
45 compatible = "simple-bus";
46 #address-cells = <1>;
47 #size-cells = <1>;
48 ranges = <0x40000000 0x40000000 0x80000000>;
49
50 l2-cache-controller@80040000 {
Barry Song917d8532011-09-15 19:16:28 -070051 compatible = "arm,pl310-cache", "sirf,prima2-pl310-cache";
Binghua Duan02c981c2011-07-08 17:40:12 +080052 reg = <0x80040000 0x1000>;
53 interrupts = <59>;
Barry Song917d8532011-09-15 19:16:28 -070054 arm,tag-latency = <1 1 1>;
55 arm,data-latency = <1 1 1>;
56 arm,filter-ranges = <0 0x40000000>;
Binghua Duan02c981c2011-07-08 17:40:12 +080057 };
58
59 intc: interrupt-controller@80020000 {
60 #interrupt-cells = <1>;
61 interrupt-controller;
62 compatible = "sirf,prima2-intc";
63 reg = <0x80020000 0x1000>;
64 };
65
66 sys-iobg {
67 compatible = "simple-bus";
68 #address-cells = <1>;
69 #size-cells = <1>;
70 ranges = <0x88000000 0x88000000 0x40000>;
71
Barry Songeb8b8f22012-12-20 16:51:31 +080072 clks: clock-controller@88000000 {
Binghua Duan02c981c2011-07-08 17:40:12 +080073 compatible = "sirf,prima2-clkc";
74 reg = <0x88000000 0x1000>;
75 interrupts = <3>;
Barry Songeb8b8f22012-12-20 16:51:31 +080076 #clock-cells = <1>;
Binghua Duan02c981c2011-07-08 17:40:12 +080077 };
78
Barry Songe7eda912014-01-10 03:15:42 +000079 rstc: reset-controller@88010000 {
Binghua Duan02c981c2011-07-08 17:40:12 +080080 compatible = "sirf,prima2-rstc";
81 reg = <0x88010000 0x1000>;
Barry Songe7eda912014-01-10 03:15:42 +000082 #reset-cells = <1>;
Binghua Duan02c981c2011-07-08 17:40:12 +080083 };
Barry Song073adf42011-09-04 22:15:16 -070084
85 rsc-controller@88020000 {
86 compatible = "sirf,prima2-rsc";
87 reg = <0x88020000 0x1000>;
88 };
Barry Song06718402013-09-22 18:21:03 +080089
90 cphifbg@88030000 {
91 compatible = "sirf,prima2-cphifbg";
92 reg = <0x88030000 0x1000>;
Barry Song794f8b22014-01-09 12:02:53 +080093 clocks = <&clks 42>;
Barry Song06718402013-09-22 18:21:03 +080094 };
Binghua Duan02c981c2011-07-08 17:40:12 +080095 };
96
97 mem-iobg {
98 compatible = "simple-bus";
99 #address-cells = <1>;
100 #size-cells = <1>;
101 ranges = <0x90000000 0x90000000 0x10000>;
102
103 memory-controller@90000000 {
104 compatible = "sirf,prima2-memc";
Ye He5fadea22013-09-22 17:00:51 +0800105 reg = <0x90000000 0x2000>;
Binghua Duan02c981c2011-07-08 17:40:12 +0800106 interrupts = <27>;
Barry Songeb8b8f22012-12-20 16:51:31 +0800107 clocks = <&clks 5>;
Binghua Duan02c981c2011-07-08 17:40:12 +0800108 };
Ye He5fadea22013-09-22 17:00:51 +0800109
110 memc-monitor {
111 compatible = "sirf,prima2-memcmon";
112 reg = <0x90002000 0x200>;
113 interrupts = <4>;
114 clocks = <&clks 32>;
115 };
Binghua Duan02c981c2011-07-08 17:40:12 +0800116 };
117
118 disp-iobg {
119 compatible = "simple-bus";
120 #address-cells = <1>;
121 #size-cells = <1>;
122 ranges = <0x90010000 0x90010000 0x30000>;
123
124 display@90010000 {
125 compatible = "sirf,prima2-lcd";
126 reg = <0x90010000 0x20000>;
127 interrupts = <30>;
128 };
129
130 vpp@90020000 {
131 compatible = "sirf,prima2-vpp";
132 reg = <0x90020000 0x10000>;
133 interrupts = <31>;
Barry Songeb8b8f22012-12-20 16:51:31 +0800134 clocks = <&clks 35>;
Binghua Duan02c981c2011-07-08 17:40:12 +0800135 };
136 };
137
138 graphics-iobg {
139 compatible = "simple-bus";
140 #address-cells = <1>;
141 #size-cells = <1>;
142 ranges = <0x98000000 0x98000000 0x8000000>;
143
144 graphics@98000000 {
145 compatible = "powervr,sgx531";
146 reg = <0x98000000 0x8000000>;
147 interrupts = <6>;
Barry Songeb8b8f22012-12-20 16:51:31 +0800148 clocks = <&clks 32>;
Binghua Duan02c981c2011-07-08 17:40:12 +0800149 };
150 };
151
152 multimedia-iobg {
153 compatible = "simple-bus";
154 #address-cells = <1>;
155 #size-cells = <1>;
156 ranges = <0xa0000000 0xa0000000 0x8000000>;
157
158 multimedia@a0000000 {
159 compatible = "sirf,prima2-video-codec";
160 reg = <0xa0000000 0x8000000>;
161 interrupts = <5>;
Barry Songeb8b8f22012-12-20 16:51:31 +0800162 clocks = <&clks 33>;
Binghua Duan02c981c2011-07-08 17:40:12 +0800163 };
164 };
165
166 dsp-iobg {
167 compatible = "simple-bus";
168 #address-cells = <1>;
169 #size-cells = <1>;
170 ranges = <0xa8000000 0xa8000000 0x2000000>;
171
172 dspif@a8000000 {
173 compatible = "sirf,prima2-dspif";
174 reg = <0xa8000000 0x10000>;
175 interrupts = <9>;
176 };
177
178 gps@a8010000 {
179 compatible = "sirf,prima2-gps";
180 reg = <0xa8010000 0x10000>;
181 interrupts = <7>;
Barry Songeb8b8f22012-12-20 16:51:31 +0800182 clocks = <&clks 9>;
Binghua Duan02c981c2011-07-08 17:40:12 +0800183 };
184
185 dsp@a9000000 {
186 compatible = "sirf,prima2-dsp";
187 reg = <0xa9000000 0x1000000>;
188 interrupts = <8>;
Barry Songeb8b8f22012-12-20 16:51:31 +0800189 clocks = <&clks 8>;
Binghua Duan02c981c2011-07-08 17:40:12 +0800190 };
191 };
192
193 peri-iobg {
194 compatible = "simple-bus";
195 #address-cells = <1>;
196 #size-cells = <1>;
Barry Song9e85b9d2013-09-24 00:04:18 +0800197 ranges = <0xb0000000 0xb0000000 0x180000>,
198 <0x56000000 0x56000000 0x1b00000>;
Binghua Duan02c981c2011-07-08 17:40:12 +0800199
200 timer@b0020000 {
201 compatible = "sirf,prima2-tick";
202 reg = <0xb0020000 0x1000>;
203 interrupts = <0>;
Zhiwu Songc7cff542014-05-05 19:30:04 +0800204 clocks = <&clks 11>;
Binghua Duan02c981c2011-07-08 17:40:12 +0800205 };
206
207 nand@b0030000 {
208 compatible = "sirf,prima2-nand";
209 reg = <0xb0030000 0x10000>;
210 interrupts = <41>;
Barry Songeb8b8f22012-12-20 16:51:31 +0800211 clocks = <&clks 26>;
Binghua Duan02c981c2011-07-08 17:40:12 +0800212 };
213
214 audio@b0040000 {
215 compatible = "sirf,prima2-audio";
216 reg = <0xb0040000 0x10000>;
217 interrupts = <35>;
Barry Songeb8b8f22012-12-20 16:51:31 +0800218 clocks = <&clks 27>;
Binghua Duan02c981c2011-07-08 17:40:12 +0800219 };
220
221 uart0: uart@b0050000 {
222 cell-index = <0>;
223 compatible = "sirf,prima2-uart";
Qipan Lia1369972013-09-23 23:15:08 +0800224 reg = <0xb0050000 0x1000>;
Binghua Duan02c981c2011-07-08 17:40:12 +0800225 interrupts = <17>;
Qipan Lia1369972013-09-23 23:15:08 +0800226 fifosize = <128>;
Barry Songeb8b8f22012-12-20 16:51:31 +0800227 clocks = <&clks 13>;
Qipan Li9be16b32014-01-30 13:57:29 +0800228 dmas = <&dmac1 5>, <&dmac0 2>;
229 dma-names = "rx", "tx";
Binghua Duan02c981c2011-07-08 17:40:12 +0800230 };
231
232 uart1: uart@b0060000 {
233 cell-index = <1>;
234 compatible = "sirf,prima2-uart";
Qipan Lia1369972013-09-23 23:15:08 +0800235 reg = <0xb0060000 0x1000>;
Binghua Duan02c981c2011-07-08 17:40:12 +0800236 interrupts = <18>;
Qipan Lia1369972013-09-23 23:15:08 +0800237 fifosize = <32>;
Barry Songeb8b8f22012-12-20 16:51:31 +0800238 clocks = <&clks 14>;
Binghua Duan02c981c2011-07-08 17:40:12 +0800239 };
240
241 uart2: uart@b0070000 {
242 cell-index = <2>;
243 compatible = "sirf,prima2-uart";
Qipan Lia1369972013-09-23 23:15:08 +0800244 reg = <0xb0070000 0x1000>;
Binghua Duan02c981c2011-07-08 17:40:12 +0800245 interrupts = <19>;
Qipan Lia1369972013-09-23 23:15:08 +0800246 fifosize = <128>;
Barry Songeb8b8f22012-12-20 16:51:31 +0800247 clocks = <&clks 15>;
Qipan Li9be16b32014-01-30 13:57:29 +0800248 dmas = <&dmac0 6>, <&dmac0 7>;
249 dma-names = "rx", "tx";
Binghua Duan02c981c2011-07-08 17:40:12 +0800250 };
251
252 usp0: usp@b0080000 {
253 cell-index = <0>;
254 compatible = "sirf,prima2-usp";
255 reg = <0xb0080000 0x10000>;
256 interrupts = <20>;
Qipan Lia1369972013-09-23 23:15:08 +0800257 fifosize = <128>;
Barry Songeb8b8f22012-12-20 16:51:31 +0800258 clocks = <&clks 28>;
Qipan Li9be16b32014-01-30 13:57:29 +0800259 dmas = <&dmac1 1>, <&dmac1 2>;
260 dma-names = "rx", "tx";
Binghua Duan02c981c2011-07-08 17:40:12 +0800261 };
262
263 usp1: usp@b0090000 {
264 cell-index = <1>;
265 compatible = "sirf,prima2-usp";
266 reg = <0xb0090000 0x10000>;
267 interrupts = <21>;
Qipan Lia1369972013-09-23 23:15:08 +0800268 fifosize = <128>;
Barry Songeb8b8f22012-12-20 16:51:31 +0800269 clocks = <&clks 29>;
Qipan Li9be16b32014-01-30 13:57:29 +0800270 dmas = <&dmac0 14>, <&dmac0 15>;
271 dma-names = "rx", "tx";
Binghua Duan02c981c2011-07-08 17:40:12 +0800272 };
273
274 usp2: usp@b00a0000 {
275 cell-index = <2>;
276 compatible = "sirf,prima2-usp";
277 reg = <0xb00a0000 0x10000>;
278 interrupts = <22>;
Qipan Lia1369972013-09-23 23:15:08 +0800279 fifosize = <128>;
Barry Songeb8b8f22012-12-20 16:51:31 +0800280 clocks = <&clks 30>;
Qipan Li9be16b32014-01-30 13:57:29 +0800281 dmas = <&dmac0 10>, <&dmac0 11>;
282 dma-names = "rx", "tx";
Binghua Duan02c981c2011-07-08 17:40:12 +0800283 };
284
285 dmac0: dma-controller@b00b0000 {
286 cell-index = <0>;
287 compatible = "sirf,prima2-dmac";
288 reg = <0xb00b0000 0x10000>;
289 interrupts = <12>;
Barry Songeb8b8f22012-12-20 16:51:31 +0800290 clocks = <&clks 24>;
Barry Song2e041c92014-03-27 15:49:31 +0800291 #dma-cells = <1>;
Binghua Duan02c981c2011-07-08 17:40:12 +0800292 };
293
294 dmac1: dma-controller@b0160000 {
295 cell-index = <1>;
296 compatible = "sirf,prima2-dmac";
297 reg = <0xb0160000 0x10000>;
298 interrupts = <13>;
Barry Songeb8b8f22012-12-20 16:51:31 +0800299 clocks = <&clks 25>;
Barry Song2e041c92014-03-27 15:49:31 +0800300 #dma-cells = <1>;
Binghua Duan02c981c2011-07-08 17:40:12 +0800301 };
302
303 vip@b00C0000 {
304 compatible = "sirf,prima2-vip";
305 reg = <0xb00C0000 0x10000>;
Barry Songeb8b8f22012-12-20 16:51:31 +0800306 clocks = <&clks 31>;
Renwei Wu262bcc12013-09-23 23:57:11 +0800307 interrupts = <14>;
308 sirf,vip-dma-rx-channel = <16>;
Binghua Duan02c981c2011-07-08 17:40:12 +0800309 };
310
311 spi0: spi@b00d0000 {
312 cell-index = <0>;
313 compatible = "sirf,prima2-spi";
314 reg = <0xb00d0000 0x10000>;
315 interrupts = <15>;
Barry Song6f425112013-09-23 23:29:56 +0800316 sirf,spi-num-chipselects = <1>;
317 sirf,spi-dma-rx-channel = <25>;
318 sirf,spi-dma-tx-channel = <20>;
319 #address-cells = <1>;
320 #size-cells = <0>;
Barry Songeb8b8f22012-12-20 16:51:31 +0800321 clocks = <&clks 19>;
Barry Song6f425112013-09-23 23:29:56 +0800322 status = "disabled";
Binghua Duan02c981c2011-07-08 17:40:12 +0800323 };
324
325 spi1: spi@b0170000 {
326 cell-index = <1>;
327 compatible = "sirf,prima2-spi";
328 reg = <0xb0170000 0x10000>;
329 interrupts = <16>;
Barry Song6f425112013-09-23 23:29:56 +0800330 sirf,spi-num-chipselects = <1>;
331 sirf,spi-dma-rx-channel = <12>;
332 sirf,spi-dma-tx-channel = <13>;
333 #address-cells = <1>;
334 #size-cells = <0>;
Barry Songeb8b8f22012-12-20 16:51:31 +0800335 clocks = <&clks 20>;
Barry Song6f425112013-09-23 23:29:56 +0800336 status = "disabled";
Binghua Duan02c981c2011-07-08 17:40:12 +0800337 };
338
339 i2c0: i2c@b00e0000 {
340 cell-index = <0>;
341 compatible = "sirf,prima2-i2c";
342 reg = <0xb00e0000 0x10000>;
343 interrupts = <24>;
Barry Songeb8b8f22012-12-20 16:51:31 +0800344 clocks = <&clks 17>;
Renwei Wu7a54a4b2013-09-23 23:37:42 +0800345 #address-cells = <1>;
346 #size-cells = <0>;
Binghua Duan02c981c2011-07-08 17:40:12 +0800347 };
348
349 i2c1: i2c@b00f0000 {
350 cell-index = <1>;
351 compatible = "sirf,prima2-i2c";
352 reg = <0xb00f0000 0x10000>;
353 interrupts = <25>;
Barry Songeb8b8f22012-12-20 16:51:31 +0800354 clocks = <&clks 18>;
Renwei Wu7a54a4b2013-09-23 23:37:42 +0800355 #address-cells = <1>;
356 #size-cells = <0>;
Binghua Duan02c981c2011-07-08 17:40:12 +0800357 };
358
359 tsc@b0110000 {
360 compatible = "sirf,prima2-tsc";
361 reg = <0xb0110000 0x10000>;
362 interrupts = <33>;
Barry Songeb8b8f22012-12-20 16:51:31 +0800363 clocks = <&clks 16>;
Binghua Duan02c981c2011-07-08 17:40:12 +0800364 };
365
Barry Song056876f2012-08-23 10:47:54 +0800366 gpio: pinctrl@b0120000 {
Binghua Duan02c981c2011-07-08 17:40:12 +0800367 #gpio-cells = <2>;
368 #interrupt-cells = <2>;
Barry Song056876f2012-08-23 10:47:54 +0800369 compatible = "sirf,prima2-pinctrl";
Binghua Duan02c981c2011-07-08 17:40:12 +0800370 reg = <0xb0120000 0x10000>;
Barry Song500b6ae2012-08-23 10:47:52 +0800371 interrupts = <43 44 45 46 47>;
Binghua Duan02c981c2011-07-08 17:40:12 +0800372 gpio-controller;
373 interrupt-controller;
Barry Song056876f2012-08-23 10:47:54 +0800374
375 lcd_16pins_a: lcd0@0 {
376 lcd {
377 sirf,pins = "lcd_16bitsgrp";
378 sirf,function = "lcd_16bits";
379 };
380 };
381 lcd_18pins_a: lcd0@1 {
382 lcd {
383 sirf,pins = "lcd_18bitsgrp";
384 sirf,function = "lcd_18bits";
385 };
386 };
387 lcd_24pins_a: lcd0@2 {
388 lcd {
389 sirf,pins = "lcd_24bitsgrp";
390 sirf,function = "lcd_24bits";
391 };
392 };
393 lcdrom_pins_a: lcdrom0@0 {
394 lcd {
395 sirf,pins = "lcdromgrp";
396 sirf,function = "lcdrom";
397 };
398 };
399 uart0_pins_a: uart0@0 {
400 uart {
401 sirf,pins = "uart0grp";
402 sirf,function = "uart0";
403 };
404 };
Qipan Lifb85f422013-09-29 22:27:57 +0800405 uart0_noflow_pins_a: uart0@1 {
406 uart {
407 sirf,pins = "uart0_nostreamctrlgrp";
408 sirf,function = "uart0_nostreamctrl";
409 };
410 };
Barry Song056876f2012-08-23 10:47:54 +0800411 uart1_pins_a: uart1@0 {
412 uart {
413 sirf,pins = "uart1grp";
414 sirf,function = "uart1";
415 };
416 };
417 uart2_pins_a: uart2@0 {
418 uart {
419 sirf,pins = "uart2grp";
420 sirf,function = "uart2";
421 };
422 };
423 uart2_noflow_pins_a: uart2@1 {
424 uart {
425 sirf,pins = "uart2_nostreamctrlgrp";
426 sirf,function = "uart2_nostreamctrl";
427 };
428 };
429 spi0_pins_a: spi0@0 {
430 spi {
431 sirf,pins = "spi0grp";
432 sirf,function = "spi0";
433 };
434 };
435 spi1_pins_a: spi1@0 {
436 spi {
437 sirf,pins = "spi1grp";
438 sirf,function = "spi1";
439 };
440 };
441 i2c0_pins_a: i2c0@0 {
442 i2c {
443 sirf,pins = "i2c0grp";
444 sirf,function = "i2c0";
445 };
446 };
447 i2c1_pins_a: i2c1@0 {
448 i2c {
449 sirf,pins = "i2c1grp";
450 sirf,function = "i2c1";
451 };
452 };
453 pwm0_pins_a: pwm0@0 {
454 pwm {
455 sirf,pins = "pwm0grp";
456 sirf,function = "pwm0";
457 };
458 };
459 pwm1_pins_a: pwm1@0 {
460 pwm {
461 sirf,pins = "pwm1grp";
462 sirf,function = "pwm1";
463 };
464 };
465 pwm2_pins_a: pwm2@0 {
466 pwm {
467 sirf,pins = "pwm2grp";
468 sirf,function = "pwm2";
469 };
470 };
471 pwm3_pins_a: pwm3@0 {
472 pwm {
473 sirf,pins = "pwm3grp";
474 sirf,function = "pwm3";
475 };
476 };
477 gps_pins_a: gps@0 {
478 gps {
479 sirf,pins = "gpsgrp";
480 sirf,function = "gps";
481 };
482 };
483 vip_pins_a: vip@0 {
484 vip {
485 sirf,pins = "vipgrp";
486 sirf,function = "vip";
487 };
488 };
489 sdmmc0_pins_a: sdmmc0@0 {
490 sdmmc0 {
491 sirf,pins = "sdmmc0grp";
492 sirf,function = "sdmmc0";
493 };
494 };
495 sdmmc1_pins_a: sdmmc1@0 {
496 sdmmc1 {
497 sirf,pins = "sdmmc1grp";
498 sirf,function = "sdmmc1";
499 };
500 };
501 sdmmc2_pins_a: sdmmc2@0 {
502 sdmmc2 {
503 sirf,pins = "sdmmc2grp";
504 sirf,function = "sdmmc2";
505 };
506 };
507 sdmmc3_pins_a: sdmmc3@0 {
508 sdmmc3 {
509 sirf,pins = "sdmmc3grp";
510 sirf,function = "sdmmc3";
511 };
512 };
513 sdmmc4_pins_a: sdmmc4@0 {
514 sdmmc4 {
515 sirf,pins = "sdmmc4grp";
516 sirf,function = "sdmmc4";
517 };
518 };
519 sdmmc5_pins_a: sdmmc5@0 {
520 sdmmc5 {
521 sirf,pins = "sdmmc5grp";
522 sirf,function = "sdmmc5";
523 };
524 };
525 i2s_pins_a: i2s@0 {
526 i2s {
527 sirf,pins = "i2sgrp";
528 sirf,function = "i2s";
529 };
530 };
531 ac97_pins_a: ac97@0 {
532 ac97 {
533 sirf,pins = "ac97grp";
534 sirf,function = "ac97";
535 };
536 };
537 nand_pins_a: nand@0 {
538 nand {
539 sirf,pins = "nandgrp";
540 sirf,function = "nand";
541 };
542 };
543 usp0_pins_a: usp0@0 {
544 usp0 {
545 sirf,pins = "usp0grp";
546 sirf,function = "usp0";
547 };
548 };
Qipan Liaf614b22013-09-29 22:27:58 +0800549 usp0_uart_nostreamctrl_pins_a: usp0@1 {
550 usp0 {
551 sirf,pins =
552 "usp0_uart_nostreamctrl_grp";
553 sirf,function =
554 "usp0_uart_nostreamctrl";
555 };
556 };
Rongjun Ying73f68c02014-01-03 10:59:26 +0800557 usp0_only_utfs_pins_a: usp0@2 {
558 usp0 {
559 sirf,pins = "usp0_only_utfs_grp";
560 sirf,function = "usp0_only_utfs";
561 };
562 };
563 usp0_only_urfs_pins_a: usp0@3 {
564 usp0 {
565 sirf,pins = "usp0_only_urfs_grp";
566 sirf,function = "usp0_only_urfs";
567 };
568 };
Barry Song056876f2012-08-23 10:47:54 +0800569 usp1_pins_a: usp1@0 {
570 usp1 {
571 sirf,pins = "usp1grp";
572 sirf,function = "usp1";
573 };
574 };
Qipan Liaf614b22013-09-29 22:27:58 +0800575 usp1_uart_nostreamctrl_pins_a: usp1@1 {
576 usp1 {
577 sirf,pins =
578 "usp1_uart_nostreamctrl_grp";
579 sirf,function =
580 "usp1_uart_nostreamctrl";
581 };
582 };
Barry Song056876f2012-08-23 10:47:54 +0800583 usp2_pins_a: usp2@0 {
584 usp2 {
585 sirf,pins = "usp2grp";
586 sirf,function = "usp2";
587 };
588 };
Qipan Liaf614b22013-09-29 22:27:58 +0800589 usp2_uart_nostreamctrl_pins_a: usp2@1 {
590 usp2 {
591 sirf,pins =
592 "usp2_uart_nostreamctrl_grp";
593 sirf,function =
594 "usp2_uart_nostreamctrl";
595 };
596 };
Barry Song056876f2012-08-23 10:47:54 +0800597 usb0_utmi_drvbus_pins_a: usb0_utmi_drvbus@0 {
598 usb0_utmi_drvbus {
599 sirf,pins = "usb0_utmi_drvbusgrp";
600 sirf,function = "usb0_utmi_drvbus";
601 };
602 };
603 usb1_utmi_drvbus_pins_a: usb1_utmi_drvbus@0 {
604 usb1_utmi_drvbus {
605 sirf,pins = "usb1_utmi_drvbusgrp";
606 sirf,function = "usb1_utmi_drvbus";
607 };
608 };
Rong Wang6a08a922013-09-29 22:27:59 +0800609 usb1_dp_dn_pins_a: usb1_dp_dn@0 {
610 usb1_dp_dn {
611 sirf,pins = "usb1_dp_dngrp";
612 sirf,function = "usb1_dp_dn";
613 };
614 };
615 uart1_route_io_usb1_pins_a: uart1_route_io_usb1@0 {
616 uart1_route_io_usb1 {
617 sirf,pins = "uart1_route_io_usb1grp";
618 sirf,function = "uart1_route_io_usb1";
619 };
620 };
Barry Song056876f2012-08-23 10:47:54 +0800621 warm_rst_pins_a: warm_rst@0 {
622 warm_rst {
623 sirf,pins = "warm_rstgrp";
624 sirf,function = "warm_rst";
625 };
626 };
627 pulse_count_pins_a: pulse_count@0 {
628 pulse_count {
629 sirf,pins = "pulse_countgrp";
630 sirf,function = "pulse_count";
631 };
632 };
Barry Songc8078de2013-07-04 15:55:27 +0800633 cko0_pins_a: cko0@0 {
634 cko0 {
635 sirf,pins = "cko0grp";
636 sirf,function = "cko0";
Barry Song056876f2012-08-23 10:47:54 +0800637 };
638 };
Barry Songc8078de2013-07-04 15:55:27 +0800639 cko1_pins_a: cko1@0 {
640 cko1 {
641 sirf,pins = "cko1grp";
642 sirf,function = "cko1";
Barry Song056876f2012-08-23 10:47:54 +0800643 };
644 };
Binghua Duan02c981c2011-07-08 17:40:12 +0800645 };
646
647 pwm@b0130000 {
648 compatible = "sirf,prima2-pwm";
649 reg = <0xb0130000 0x10000>;
Barry Songeb8b8f22012-12-20 16:51:31 +0800650 clocks = <&clks 21>;
Binghua Duan02c981c2011-07-08 17:40:12 +0800651 };
652
653 efusesys@b0140000 {
654 compatible = "sirf,prima2-efuse";
655 reg = <0xb0140000 0x10000>;
Barry Songeb8b8f22012-12-20 16:51:31 +0800656 clocks = <&clks 22>;
Binghua Duan02c981c2011-07-08 17:40:12 +0800657 };
658
659 pulsec@b0150000 {
660 compatible = "sirf,prima2-pulsec";
661 reg = <0xb0150000 0x10000>;
662 interrupts = <48>;
Barry Songeb8b8f22012-12-20 16:51:31 +0800663 clocks = <&clks 23>;
Binghua Duan02c981c2011-07-08 17:40:12 +0800664 };
665
666 pci-iobg {
667 compatible = "sirf,prima2-pciiobg", "simple-bus";
668 #address-cells = <1>;
669 #size-cells = <1>;
670 ranges = <0x56000000 0x56000000 0x1b00000>;
671
672 sd0: sdhci@56000000 {
673 cell-index = <0>;
674 compatible = "sirf,prima2-sdhc";
675 reg = <0x56000000 0x100000>;
676 interrupts = <38>;
Bin Shi7f97c302014-01-09 12:08:46 +0800677 status = "disabled";
678 bus-width = <8>;
679 clocks = <&clks 36>;
Binghua Duan02c981c2011-07-08 17:40:12 +0800680 };
681
682 sd1: sdhci@56100000 {
683 cell-index = <1>;
684 compatible = "sirf,prima2-sdhc";
685 reg = <0x56100000 0x100000>;
686 interrupts = <38>;
Bin Shi7f97c302014-01-09 12:08:46 +0800687 status = "disabled";
688 bus-width = <4>;
689 clocks = <&clks 36>;
Binghua Duan02c981c2011-07-08 17:40:12 +0800690 };
691
692 sd2: sdhci@56200000 {
693 cell-index = <2>;
694 compatible = "sirf,prima2-sdhc";
695 reg = <0x56200000 0x100000>;
696 interrupts = <23>;
Bin Shi7f97c302014-01-09 12:08:46 +0800697 status = "disabled";
698 clocks = <&clks 37>;
Binghua Duan02c981c2011-07-08 17:40:12 +0800699 };
700
701 sd3: sdhci@56300000 {
702 cell-index = <3>;
703 compatible = "sirf,prima2-sdhc";
704 reg = <0x56300000 0x100000>;
705 interrupts = <23>;
Bin Shi7f97c302014-01-09 12:08:46 +0800706 status = "disabled";
707 clocks = <&clks 37>;
Binghua Duan02c981c2011-07-08 17:40:12 +0800708 };
709
710 sd4: sdhci@56400000 {
711 cell-index = <4>;
712 compatible = "sirf,prima2-sdhc";
713 reg = <0x56400000 0x100000>;
714 interrupts = <39>;
Bin Shi7f97c302014-01-09 12:08:46 +0800715 status = "disabled";
716 clocks = <&clks 38>;
Binghua Duan02c981c2011-07-08 17:40:12 +0800717 };
718
719 sd5: sdhci@56500000 {
720 cell-index = <5>;
721 compatible = "sirf,prima2-sdhc";
722 reg = <0x56500000 0x100000>;
723 interrupts = <39>;
Bin Shi7f97c302014-01-09 12:08:46 +0800724 clocks = <&clks 38>;
Binghua Duan02c981c2011-07-08 17:40:12 +0800725 };
726
727 pci-copy@57900000 {
728 compatible = "sirf,prima2-pcicp";
729 reg = <0x57900000 0x100000>;
730 interrupts = <40>;
731 };
732
733 rom-interface@57a00000 {
734 compatible = "sirf,prima2-romif";
735 reg = <0x57a00000 0x100000>;
736 };
737 };
738 };
739
740 rtc-iobg {
Xianglong Due88b8152013-07-03 15:08:04 -0700741 compatible = "sirf,prima2-rtciobg", "sirf-prima2-rtciobg-bus", "simple-bus";
Binghua Duan02c981c2011-07-08 17:40:12 +0800742 #address-cells = <1>;
743 #size-cells = <1>;
744 reg = <0x80030000 0x10000>;
745
746 gpsrtc@1000 {
747 compatible = "sirf,prima2-gpsrtc";
748 reg = <0x1000 0x1000>;
749 interrupts = <55 56 57>;
750 };
751
752 sysrtc@2000 {
753 compatible = "sirf,prima2-sysrtc";
754 reg = <0x2000 0x1000>;
755 interrupts = <52 53 54>;
756 };
757
Xianglong Du423ef792014-01-09 12:23:09 +0800758 minigpsrtc@2000 {
759 compatible = "sirf,prima2-minigpsrtc";
760 reg = <0x2000 0x1000>;
761 interrupts = <54>;
762 };
763
Binghua Duan02c981c2011-07-08 17:40:12 +0800764 pwrc@3000 {
765 compatible = "sirf,prima2-pwrc";
766 reg = <0x3000 0x1000>;
767 interrupts = <32>;
768 };
769 };
770
771 uus-iobg {
772 compatible = "simple-bus";
773 #address-cells = <1>;
774 #size-cells = <1>;
775 ranges = <0xb8000000 0xb8000000 0x40000>;
776
777 usb0: usb@b00e0000 {
778 compatible = "chipidea,ci13611a-prima2";
779 reg = <0xb8000000 0x10000>;
780 interrupts = <10>;
Barry Songeb8b8f22012-12-20 16:51:31 +0800781 clocks = <&clks 40>;
Binghua Duan02c981c2011-07-08 17:40:12 +0800782 };
783
784 usb1: usb@b00f0000 {
785 compatible = "chipidea,ci13611a-prima2";
786 reg = <0xb8010000 0x10000>;
787 interrupts = <11>;
Barry Songeb8b8f22012-12-20 16:51:31 +0800788 clocks = <&clks 41>;
Binghua Duan02c981c2011-07-08 17:40:12 +0800789 };
790
791 sata@b00f0000 {
792 compatible = "synopsys,dwc-ahsata";
793 reg = <0xb8020000 0x10000>;
794 interrupts = <37>;
795 };
796
797 security@b00f0000 {
798 compatible = "sirf,prima2-security";
799 reg = <0xb8030000 0x10000>;
800 interrupts = <42>;
Barry Songeb8b8f22012-12-20 16:51:31 +0800801 clocks = <&clks 7>;
Binghua Duan02c981c2011-07-08 17:40:12 +0800802 };
803 };
804 };
805};