blob: bc6e61195f12494d533153e87dc003570a3fc945 [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 {
Russell King918197b2014-04-28 15:41:08 +010051 compatible = "arm,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>;
Barry Songe47a1182014-03-05 11:18:41 +0800317 dmas = <&dmac1 9>,
318 <&dmac1 4>;
319 dma-names = "rx", "tx";
Barry Song6f425112013-09-23 23:29:56 +0800320 #address-cells = <1>;
321 #size-cells = <0>;
Barry Songeb8b8f22012-12-20 16:51:31 +0800322 clocks = <&clks 19>;
Barry Song6f425112013-09-23 23:29:56 +0800323 status = "disabled";
Binghua Duan02c981c2011-07-08 17:40:12 +0800324 };
325
326 spi1: spi@b0170000 {
327 cell-index = <1>;
328 compatible = "sirf,prima2-spi";
329 reg = <0xb0170000 0x10000>;
330 interrupts = <16>;
Barry Song6f425112013-09-23 23:29:56 +0800331 sirf,spi-num-chipselects = <1>;
Barry Songe47a1182014-03-05 11:18:41 +0800332 dmas = <&dmac0 12>,
333 <&dmac0 13>;
334 dma-names = "rx", "tx";
Barry Song6f425112013-09-23 23:29:56 +0800335 #address-cells = <1>;
336 #size-cells = <0>;
Barry Songeb8b8f22012-12-20 16:51:31 +0800337 clocks = <&clks 20>;
Barry Song6f425112013-09-23 23:29:56 +0800338 status = "disabled";
Binghua Duan02c981c2011-07-08 17:40:12 +0800339 };
340
341 i2c0: i2c@b00e0000 {
342 cell-index = <0>;
343 compatible = "sirf,prima2-i2c";
344 reg = <0xb00e0000 0x10000>;
345 interrupts = <24>;
Barry Songeb8b8f22012-12-20 16:51:31 +0800346 clocks = <&clks 17>;
Renwei Wu7a54a4b2013-09-23 23:37:42 +0800347 #address-cells = <1>;
348 #size-cells = <0>;
Binghua Duan02c981c2011-07-08 17:40:12 +0800349 };
350
351 i2c1: i2c@b00f0000 {
352 cell-index = <1>;
353 compatible = "sirf,prima2-i2c";
354 reg = <0xb00f0000 0x10000>;
355 interrupts = <25>;
Barry Songeb8b8f22012-12-20 16:51:31 +0800356 clocks = <&clks 18>;
Renwei Wu7a54a4b2013-09-23 23:37:42 +0800357 #address-cells = <1>;
358 #size-cells = <0>;
Binghua Duan02c981c2011-07-08 17:40:12 +0800359 };
360
361 tsc@b0110000 {
362 compatible = "sirf,prima2-tsc";
363 reg = <0xb0110000 0x10000>;
364 interrupts = <33>;
Barry Songeb8b8f22012-12-20 16:51:31 +0800365 clocks = <&clks 16>;
Binghua Duan02c981c2011-07-08 17:40:12 +0800366 };
367
Barry Song056876f2012-08-23 10:47:54 +0800368 gpio: pinctrl@b0120000 {
Binghua Duan02c981c2011-07-08 17:40:12 +0800369 #gpio-cells = <2>;
370 #interrupt-cells = <2>;
Barry Song056876f2012-08-23 10:47:54 +0800371 compatible = "sirf,prima2-pinctrl";
Binghua Duan02c981c2011-07-08 17:40:12 +0800372 reg = <0xb0120000 0x10000>;
Barry Song500b6ae2012-08-23 10:47:52 +0800373 interrupts = <43 44 45 46 47>;
Binghua Duan02c981c2011-07-08 17:40:12 +0800374 gpio-controller;
375 interrupt-controller;
Barry Song056876f2012-08-23 10:47:54 +0800376
377 lcd_16pins_a: lcd0@0 {
378 lcd {
379 sirf,pins = "lcd_16bitsgrp";
380 sirf,function = "lcd_16bits";
381 };
382 };
383 lcd_18pins_a: lcd0@1 {
384 lcd {
385 sirf,pins = "lcd_18bitsgrp";
386 sirf,function = "lcd_18bits";
387 };
388 };
389 lcd_24pins_a: lcd0@2 {
390 lcd {
391 sirf,pins = "lcd_24bitsgrp";
392 sirf,function = "lcd_24bits";
393 };
394 };
395 lcdrom_pins_a: lcdrom0@0 {
396 lcd {
397 sirf,pins = "lcdromgrp";
398 sirf,function = "lcdrom";
399 };
400 };
401 uart0_pins_a: uart0@0 {
402 uart {
403 sirf,pins = "uart0grp";
404 sirf,function = "uart0";
405 };
406 };
Qipan Lifb85f422013-09-29 22:27:57 +0800407 uart0_noflow_pins_a: uart0@1 {
408 uart {
409 sirf,pins = "uart0_nostreamctrlgrp";
410 sirf,function = "uart0_nostreamctrl";
411 };
412 };
Barry Song056876f2012-08-23 10:47:54 +0800413 uart1_pins_a: uart1@0 {
414 uart {
415 sirf,pins = "uart1grp";
416 sirf,function = "uart1";
417 };
418 };
419 uart2_pins_a: uart2@0 {
420 uart {
421 sirf,pins = "uart2grp";
422 sirf,function = "uart2";
423 };
424 };
425 uart2_noflow_pins_a: uart2@1 {
426 uart {
427 sirf,pins = "uart2_nostreamctrlgrp";
428 sirf,function = "uart2_nostreamctrl";
429 };
430 };
431 spi0_pins_a: spi0@0 {
432 spi {
433 sirf,pins = "spi0grp";
434 sirf,function = "spi0";
435 };
436 };
437 spi1_pins_a: spi1@0 {
438 spi {
439 sirf,pins = "spi1grp";
440 sirf,function = "spi1";
441 };
442 };
443 i2c0_pins_a: i2c0@0 {
444 i2c {
445 sirf,pins = "i2c0grp";
446 sirf,function = "i2c0";
447 };
448 };
449 i2c1_pins_a: i2c1@0 {
450 i2c {
451 sirf,pins = "i2c1grp";
452 sirf,function = "i2c1";
453 };
454 };
455 pwm0_pins_a: pwm0@0 {
456 pwm {
457 sirf,pins = "pwm0grp";
458 sirf,function = "pwm0";
459 };
460 };
461 pwm1_pins_a: pwm1@0 {
462 pwm {
463 sirf,pins = "pwm1grp";
464 sirf,function = "pwm1";
465 };
466 };
467 pwm2_pins_a: pwm2@0 {
468 pwm {
469 sirf,pins = "pwm2grp";
470 sirf,function = "pwm2";
471 };
472 };
473 pwm3_pins_a: pwm3@0 {
474 pwm {
475 sirf,pins = "pwm3grp";
476 sirf,function = "pwm3";
477 };
478 };
479 gps_pins_a: gps@0 {
480 gps {
481 sirf,pins = "gpsgrp";
482 sirf,function = "gps";
483 };
484 };
485 vip_pins_a: vip@0 {
486 vip {
487 sirf,pins = "vipgrp";
488 sirf,function = "vip";
489 };
490 };
491 sdmmc0_pins_a: sdmmc0@0 {
492 sdmmc0 {
493 sirf,pins = "sdmmc0grp";
494 sirf,function = "sdmmc0";
495 };
496 };
497 sdmmc1_pins_a: sdmmc1@0 {
498 sdmmc1 {
499 sirf,pins = "sdmmc1grp";
500 sirf,function = "sdmmc1";
501 };
502 };
503 sdmmc2_pins_a: sdmmc2@0 {
504 sdmmc2 {
505 sirf,pins = "sdmmc2grp";
506 sirf,function = "sdmmc2";
507 };
508 };
509 sdmmc3_pins_a: sdmmc3@0 {
510 sdmmc3 {
511 sirf,pins = "sdmmc3grp";
512 sirf,function = "sdmmc3";
513 };
514 };
515 sdmmc4_pins_a: sdmmc4@0 {
516 sdmmc4 {
517 sirf,pins = "sdmmc4grp";
518 sirf,function = "sdmmc4";
519 };
520 };
521 sdmmc5_pins_a: sdmmc5@0 {
522 sdmmc5 {
523 sirf,pins = "sdmmc5grp";
524 sirf,function = "sdmmc5";
525 };
526 };
Rongjun Yinge6067f22014-11-25 18:46:42 +0800527 i2s_mclk_pins_a: i2s_mclk@0 {
528 i2s_mclk {
529 sirf,pins = "i2smclkgrp";
530 sirf,function = "i2s_mclk";
531 };
532 };
533 i2s_ext_clk_input_pins_a: i2s_ext_clk_input@0 {
534 i2s_ext_clk_input {
535 sirf,pins = "i2s_ext_clk_inputgrp";
536 sirf,function = "i2s_ext_clk_input";
537 };
538 };
Barry Song056876f2012-08-23 10:47:54 +0800539 i2s_pins_a: i2s@0 {
540 i2s {
541 sirf,pins = "i2sgrp";
542 sirf,function = "i2s";
543 };
544 };
Rongjun Yinge6067f22014-11-25 18:46:42 +0800545 i2s_no_din_pins_a: i2s_no_din@0 {
546 i2s_no_din {
547 sirf,pins = "i2s_no_dingrp";
548 sirf,function = "i2s_no_din";
549 };
550 };
551 i2s_6chn_pins_a: i2s_6chn@0 {
552 i2s_6chn {
553 sirf,pins = "i2s_6chngrp";
554 sirf,function = "i2s_6chn";
555 };
556 };
Barry Song056876f2012-08-23 10:47:54 +0800557 ac97_pins_a: ac97@0 {
558 ac97 {
559 sirf,pins = "ac97grp";
560 sirf,function = "ac97";
561 };
562 };
563 nand_pins_a: nand@0 {
564 nand {
565 sirf,pins = "nandgrp";
566 sirf,function = "nand";
567 };
568 };
569 usp0_pins_a: usp0@0 {
570 usp0 {
571 sirf,pins = "usp0grp";
572 sirf,function = "usp0";
573 };
574 };
Qipan Liaf614b22013-09-29 22:27:58 +0800575 usp0_uart_nostreamctrl_pins_a: usp0@1 {
576 usp0 {
577 sirf,pins =
578 "usp0_uart_nostreamctrl_grp";
579 sirf,function =
580 "usp0_uart_nostreamctrl";
581 };
582 };
Rongjun Ying73f68c02014-01-03 10:59:26 +0800583 usp0_only_utfs_pins_a: usp0@2 {
584 usp0 {
585 sirf,pins = "usp0_only_utfs_grp";
586 sirf,function = "usp0_only_utfs";
587 };
588 };
589 usp0_only_urfs_pins_a: usp0@3 {
590 usp0 {
591 sirf,pins = "usp0_only_urfs_grp";
592 sirf,function = "usp0_only_urfs";
593 };
594 };
Barry Song056876f2012-08-23 10:47:54 +0800595 usp1_pins_a: usp1@0 {
596 usp1 {
597 sirf,pins = "usp1grp";
598 sirf,function = "usp1";
599 };
600 };
Qipan Liaf614b22013-09-29 22:27:58 +0800601 usp1_uart_nostreamctrl_pins_a: usp1@1 {
602 usp1 {
603 sirf,pins =
604 "usp1_uart_nostreamctrl_grp";
605 sirf,function =
606 "usp1_uart_nostreamctrl";
607 };
608 };
Barry Song056876f2012-08-23 10:47:54 +0800609 usp2_pins_a: usp2@0 {
610 usp2 {
611 sirf,pins = "usp2grp";
612 sirf,function = "usp2";
613 };
614 };
Qipan Liaf614b22013-09-29 22:27:58 +0800615 usp2_uart_nostreamctrl_pins_a: usp2@1 {
616 usp2 {
617 sirf,pins =
618 "usp2_uart_nostreamctrl_grp";
619 sirf,function =
620 "usp2_uart_nostreamctrl";
621 };
622 };
Barry Song056876f2012-08-23 10:47:54 +0800623 usb0_utmi_drvbus_pins_a: usb0_utmi_drvbus@0 {
624 usb0_utmi_drvbus {
625 sirf,pins = "usb0_utmi_drvbusgrp";
626 sirf,function = "usb0_utmi_drvbus";
627 };
628 };
629 usb1_utmi_drvbus_pins_a: usb1_utmi_drvbus@0 {
630 usb1_utmi_drvbus {
631 sirf,pins = "usb1_utmi_drvbusgrp";
632 sirf,function = "usb1_utmi_drvbus";
633 };
634 };
Rong Wang6a08a922013-09-29 22:27:59 +0800635 usb1_dp_dn_pins_a: usb1_dp_dn@0 {
636 usb1_dp_dn {
637 sirf,pins = "usb1_dp_dngrp";
638 sirf,function = "usb1_dp_dn";
639 };
640 };
641 uart1_route_io_usb1_pins_a: uart1_route_io_usb1@0 {
642 uart1_route_io_usb1 {
643 sirf,pins = "uart1_route_io_usb1grp";
644 sirf,function = "uart1_route_io_usb1";
645 };
646 };
Barry Song056876f2012-08-23 10:47:54 +0800647 warm_rst_pins_a: warm_rst@0 {
648 warm_rst {
649 sirf,pins = "warm_rstgrp";
650 sirf,function = "warm_rst";
651 };
652 };
653 pulse_count_pins_a: pulse_count@0 {
654 pulse_count {
655 sirf,pins = "pulse_countgrp";
656 sirf,function = "pulse_count";
657 };
658 };
Barry Songc8078de2013-07-04 15:55:27 +0800659 cko0_pins_a: cko0@0 {
660 cko0 {
661 sirf,pins = "cko0grp";
662 sirf,function = "cko0";
Barry Song056876f2012-08-23 10:47:54 +0800663 };
664 };
Barry Songc8078de2013-07-04 15:55:27 +0800665 cko1_pins_a: cko1@0 {
666 cko1 {
667 sirf,pins = "cko1grp";
668 sirf,function = "cko1";
Barry Song056876f2012-08-23 10:47:54 +0800669 };
670 };
Binghua Duan02c981c2011-07-08 17:40:12 +0800671 };
672
673 pwm@b0130000 {
674 compatible = "sirf,prima2-pwm";
675 reg = <0xb0130000 0x10000>;
Barry Songeb8b8f22012-12-20 16:51:31 +0800676 clocks = <&clks 21>;
Binghua Duan02c981c2011-07-08 17:40:12 +0800677 };
678
679 efusesys@b0140000 {
680 compatible = "sirf,prima2-efuse";
681 reg = <0xb0140000 0x10000>;
Barry Songeb8b8f22012-12-20 16:51:31 +0800682 clocks = <&clks 22>;
Binghua Duan02c981c2011-07-08 17:40:12 +0800683 };
684
685 pulsec@b0150000 {
686 compatible = "sirf,prima2-pulsec";
687 reg = <0xb0150000 0x10000>;
688 interrupts = <48>;
Barry Songeb8b8f22012-12-20 16:51:31 +0800689 clocks = <&clks 23>;
Binghua Duan02c981c2011-07-08 17:40:12 +0800690 };
691
692 pci-iobg {
693 compatible = "sirf,prima2-pciiobg", "simple-bus";
694 #address-cells = <1>;
695 #size-cells = <1>;
696 ranges = <0x56000000 0x56000000 0x1b00000>;
697
698 sd0: sdhci@56000000 {
699 cell-index = <0>;
700 compatible = "sirf,prima2-sdhc";
701 reg = <0x56000000 0x100000>;
702 interrupts = <38>;
Bin Shi7f97c302014-01-09 12:08:46 +0800703 status = "disabled";
704 bus-width = <8>;
705 clocks = <&clks 36>;
Binghua Duan02c981c2011-07-08 17:40:12 +0800706 };
707
708 sd1: sdhci@56100000 {
709 cell-index = <1>;
710 compatible = "sirf,prima2-sdhc";
711 reg = <0x56100000 0x100000>;
712 interrupts = <38>;
Bin Shi7f97c302014-01-09 12:08:46 +0800713 status = "disabled";
714 bus-width = <4>;
715 clocks = <&clks 36>;
Binghua Duan02c981c2011-07-08 17:40:12 +0800716 };
717
718 sd2: sdhci@56200000 {
719 cell-index = <2>;
720 compatible = "sirf,prima2-sdhc";
721 reg = <0x56200000 0x100000>;
722 interrupts = <23>;
Bin Shi7f97c302014-01-09 12:08:46 +0800723 status = "disabled";
724 clocks = <&clks 37>;
Binghua Duan02c981c2011-07-08 17:40:12 +0800725 };
726
727 sd3: sdhci@56300000 {
728 cell-index = <3>;
729 compatible = "sirf,prima2-sdhc";
730 reg = <0x56300000 0x100000>;
731 interrupts = <23>;
Bin Shi7f97c302014-01-09 12:08:46 +0800732 status = "disabled";
733 clocks = <&clks 37>;
Binghua Duan02c981c2011-07-08 17:40:12 +0800734 };
735
736 sd4: sdhci@56400000 {
737 cell-index = <4>;
738 compatible = "sirf,prima2-sdhc";
739 reg = <0x56400000 0x100000>;
740 interrupts = <39>;
Bin Shi7f97c302014-01-09 12:08:46 +0800741 status = "disabled";
742 clocks = <&clks 38>;
Binghua Duan02c981c2011-07-08 17:40:12 +0800743 };
744
745 sd5: sdhci@56500000 {
746 cell-index = <5>;
747 compatible = "sirf,prima2-sdhc";
748 reg = <0x56500000 0x100000>;
749 interrupts = <39>;
Bin Shi7f97c302014-01-09 12:08:46 +0800750 clocks = <&clks 38>;
Binghua Duan02c981c2011-07-08 17:40:12 +0800751 };
752
753 pci-copy@57900000 {
754 compatible = "sirf,prima2-pcicp";
755 reg = <0x57900000 0x100000>;
756 interrupts = <40>;
757 };
758
759 rom-interface@57a00000 {
760 compatible = "sirf,prima2-romif";
761 reg = <0x57a00000 0x100000>;
762 };
763 };
764 };
765
766 rtc-iobg {
Xianglong Due88b8152013-07-03 15:08:04 -0700767 compatible = "sirf,prima2-rtciobg", "sirf-prima2-rtciobg-bus", "simple-bus";
Binghua Duan02c981c2011-07-08 17:40:12 +0800768 #address-cells = <1>;
769 #size-cells = <1>;
770 reg = <0x80030000 0x10000>;
771
772 gpsrtc@1000 {
773 compatible = "sirf,prima2-gpsrtc";
774 reg = <0x1000 0x1000>;
775 interrupts = <55 56 57>;
776 };
777
778 sysrtc@2000 {
779 compatible = "sirf,prima2-sysrtc";
780 reg = <0x2000 0x1000>;
781 interrupts = <52 53 54>;
782 };
783
Xianglong Du423ef792014-01-09 12:23:09 +0800784 minigpsrtc@2000 {
785 compatible = "sirf,prima2-minigpsrtc";
786 reg = <0x2000 0x1000>;
787 interrupts = <54>;
788 };
789
Binghua Duan02c981c2011-07-08 17:40:12 +0800790 pwrc@3000 {
791 compatible = "sirf,prima2-pwrc";
792 reg = <0x3000 0x1000>;
793 interrupts = <32>;
794 };
795 };
796
797 uus-iobg {
798 compatible = "simple-bus";
799 #address-cells = <1>;
800 #size-cells = <1>;
801 ranges = <0xb8000000 0xb8000000 0x40000>;
802
803 usb0: usb@b00e0000 {
804 compatible = "chipidea,ci13611a-prima2";
805 reg = <0xb8000000 0x10000>;
806 interrupts = <10>;
Barry Songeb8b8f22012-12-20 16:51:31 +0800807 clocks = <&clks 40>;
Binghua Duan02c981c2011-07-08 17:40:12 +0800808 };
809
810 usb1: usb@b00f0000 {
811 compatible = "chipidea,ci13611a-prima2";
812 reg = <0xb8010000 0x10000>;
813 interrupts = <11>;
Barry Songeb8b8f22012-12-20 16:51:31 +0800814 clocks = <&clks 41>;
Binghua Duan02c981c2011-07-08 17:40:12 +0800815 };
816
817 sata@b00f0000 {
818 compatible = "synopsys,dwc-ahsata";
819 reg = <0xb8020000 0x10000>;
820 interrupts = <37>;
821 };
822
823 security@b00f0000 {
824 compatible = "sirf,prima2-security";
825 reg = <0xb8030000 0x10000>;
826 interrupts = <42>;
Barry Songeb8b8f22012-12-20 16:51:31 +0800827 clocks = <&clks 7>;
Binghua Duan02c981c2011-07-08 17:40:12 +0800828 };
829 };
830 };
831};