]> git.karo-electronics.de Git - karo-tx-linux.git/blob - arch/arm/boot/dts/prima2.dtsi
ARM: dts: sirf: fix fifosize, clks, dma channels for UART
[karo-tx-linux.git] / arch / arm / boot / dts / prima2.dtsi
1 /*
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"
10 / {
11         compatible = "sirf,prima2";
12         #address-cells = <1>;
13         #size-cells = <1>;
14         interrupt-parent = <&intc>;
15
16         cpus {
17                 #address-cells = <1>;
18                 #size-cells = <0>;
19
20                 cpu@0 {
21                         compatible = "arm,cortex-a9";
22                         device_type = "cpu";
23                         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>;
32                 };
33         };
34
35         axi {
36                 compatible = "simple-bus";
37                 #address-cells = <1>;
38                 #size-cells = <1>;
39                 ranges = <0x40000000 0x40000000 0x80000000>;
40
41                 l2-cache-controller@80040000 {
42                         compatible = "arm,pl310-cache", "sirf,prima2-pl310-cache";
43                         reg = <0x80040000 0x1000>;
44                         interrupts = <59>;
45                         arm,tag-latency = <1 1 1>;
46                         arm,data-latency = <1 1 1>;
47                         arm,filter-ranges = <0 0x40000000>;
48                 };
49
50                 intc: interrupt-controller@80020000 {
51                         #interrupt-cells = <1>;
52                         interrupt-controller;
53                         compatible = "sirf,prima2-intc";
54                         reg = <0x80020000 0x1000>;
55                 };
56
57                 sys-iobg {
58                         compatible = "simple-bus";
59                         #address-cells = <1>;
60                         #size-cells = <1>;
61                         ranges = <0x88000000 0x88000000 0x40000>;
62
63                         clks: clock-controller@88000000 {
64                                 compatible = "sirf,prima2-clkc";
65                                 reg = <0x88000000 0x1000>;
66                                 interrupts = <3>;
67                                 #clock-cells = <1>;
68                         };
69
70                         reset-controller@88010000 {
71                                 compatible = "sirf,prima2-rstc";
72                                 reg = <0x88010000 0x1000>;
73                         };
74
75                         rsc-controller@88020000 {
76                                 compatible = "sirf,prima2-rsc";
77                                 reg = <0x88020000 0x1000>;
78                         };
79                 };
80
81                 mem-iobg {
82                         compatible = "simple-bus";
83                         #address-cells = <1>;
84                         #size-cells = <1>;
85                         ranges = <0x90000000 0x90000000 0x10000>;
86
87                         memory-controller@90000000 {
88                                 compatible = "sirf,prima2-memc";
89                                 reg = <0x90000000 0x10000>;
90                                 interrupts = <27>;
91                                 clocks = <&clks 5>;
92                         };
93                 };
94
95                 disp-iobg {
96                         compatible = "simple-bus";
97                         #address-cells = <1>;
98                         #size-cells = <1>;
99                         ranges = <0x90010000 0x90010000 0x30000>;
100
101                         display@90010000 {
102                                 compatible = "sirf,prima2-lcd";
103                                 reg = <0x90010000 0x20000>;
104                                 interrupts = <30>;
105                         };
106
107                         vpp@90020000 {
108                                 compatible = "sirf,prima2-vpp";
109                                 reg = <0x90020000 0x10000>;
110                                 interrupts = <31>;
111                                 clocks = <&clks 35>;
112                         };
113                 };
114
115                 graphics-iobg {
116                         compatible = "simple-bus";
117                         #address-cells = <1>;
118                         #size-cells = <1>;
119                         ranges = <0x98000000 0x98000000 0x8000000>;
120
121                         graphics@98000000 {
122                                 compatible = "powervr,sgx531";
123                                 reg = <0x98000000 0x8000000>;
124                                 interrupts = <6>;
125                                 clocks = <&clks 32>;
126                         };
127                 };
128
129                 multimedia-iobg {
130                         compatible = "simple-bus";
131                         #address-cells = <1>;
132                         #size-cells = <1>;
133                         ranges = <0xa0000000 0xa0000000 0x8000000>;
134
135                         multimedia@a0000000 {
136                                 compatible = "sirf,prima2-video-codec";
137                                 reg = <0xa0000000 0x8000000>;
138                                 interrupts = <5>;
139                                 clocks = <&clks 33>;
140                         };
141                 };
142
143                 dsp-iobg {
144                         compatible = "simple-bus";
145                         #address-cells = <1>;
146                         #size-cells = <1>;
147                         ranges = <0xa8000000 0xa8000000 0x2000000>;
148
149                         dspif@a8000000 {
150                                 compatible = "sirf,prima2-dspif";
151                                 reg = <0xa8000000 0x10000>;
152                                 interrupts = <9>;
153                         };
154
155                         gps@a8010000 {
156                                 compatible = "sirf,prima2-gps";
157                                 reg = <0xa8010000 0x10000>;
158                                 interrupts = <7>;
159                                 clocks = <&clks 9>;
160                         };
161
162                         dsp@a9000000 {
163                                 compatible = "sirf,prima2-dsp";
164                                 reg = <0xa9000000 0x1000000>;
165                                 interrupts = <8>;
166                                 clocks = <&clks 8>;
167                         };
168                 };
169
170                 peri-iobg {
171                         compatible = "simple-bus";
172                         #address-cells = <1>;
173                         #size-cells = <1>;
174                         ranges = <0xb0000000 0xb0000000 0x180000>;
175
176                         timer@b0020000 {
177                                 compatible = "sirf,prima2-tick";
178                                 reg = <0xb0020000 0x1000>;
179                                 interrupts = <0>;
180                         };
181
182                         nand@b0030000 {
183                                 compatible = "sirf,prima2-nand";
184                                 reg = <0xb0030000 0x10000>;
185                                 interrupts = <41>;
186                                 clocks = <&clks 26>;
187                         };
188
189                         audio@b0040000 {
190                                 compatible = "sirf,prima2-audio";
191                                 reg = <0xb0040000 0x10000>;
192                                 interrupts = <35>;
193                                 clocks = <&clks 27>;
194                         };
195
196                         uart0: uart@b0050000 {
197                                 cell-index = <0>;
198                                 compatible = "sirf,prima2-uart";
199                                 reg = <0xb0050000 0x1000>;
200                                 interrupts = <17>;
201                                 fifosize = <128>;
202                                 clocks = <&clks 13>;
203                                 sirf,uart-dma-rx-channel = <21>;
204                                 sirf,uart-dma-tx-channel = <2>;
205                         };
206
207                         uart1: uart@b0060000 {
208                                 cell-index = <1>;
209                                 compatible = "sirf,prima2-uart";
210                                 reg = <0xb0060000 0x1000>;
211                                 interrupts = <18>;
212                                 fifosize = <32>;
213                                 clocks = <&clks 14>;
214                         };
215
216                         uart2: uart@b0070000 {
217                                 cell-index = <2>;
218                                 compatible = "sirf,prima2-uart";
219                                 reg = <0xb0070000 0x1000>;
220                                 interrupts = <19>;
221                                 fifosize = <128>;
222                                 clocks = <&clks 15>;
223                                 sirf,uart-dma-rx-channel = <6>;
224                                 sirf,uart-dma-tx-channel = <7>;
225                         };
226
227                         usp0: usp@b0080000 {
228                                 cell-index = <0>;
229                                 compatible = "sirf,prima2-usp";
230                                 reg = <0xb0080000 0x10000>;
231                                 interrupts = <20>;
232                                 fifosize = <128>;
233                                 clocks = <&clks 28>;
234                                 sirf,usp-dma-rx-channel = <17>;
235                                 sirf,usp-dma-tx-channel = <18>;
236                         };
237
238                         usp1: usp@b0090000 {
239                                 cell-index = <1>;
240                                 compatible = "sirf,prima2-usp";
241                                 reg = <0xb0090000 0x10000>;
242                                 interrupts = <21>;
243                                 fifosize = <128>;
244                                 clocks = <&clks 29>;
245                                 sirf,usp-dma-rx-channel = <14>;
246                                 sirf,usp-dma-tx-channel = <15>;
247                         };
248
249                         usp2: usp@b00a0000 {
250                                 cell-index = <2>;
251                                 compatible = "sirf,prima2-usp";
252                                 reg = <0xb00a0000 0x10000>;
253                                 interrupts = <22>;
254                                 fifosize = <128>;
255                                 clocks = <&clks 30>;
256                                 sirf,usp-dma-rx-channel = <10>;
257                                 sirf,usp-dma-tx-channel = <11>;
258                         };
259
260                         dmac0: dma-controller@b00b0000 {
261                                 cell-index = <0>;
262                                 compatible = "sirf,prima2-dmac";
263                                 reg = <0xb00b0000 0x10000>;
264                                 interrupts = <12>;
265                                 clocks = <&clks 24>;
266                         };
267
268                         dmac1: dma-controller@b0160000 {
269                                 cell-index = <1>;
270                                 compatible = "sirf,prima2-dmac";
271                                 reg = <0xb0160000 0x10000>;
272                                 interrupts = <13>;
273                                 clocks = <&clks 25>;
274                         };
275
276                         vip@b00C0000 {
277                                 compatible = "sirf,prima2-vip";
278                                 reg = <0xb00C0000 0x10000>;
279                                 clocks = <&clks 31>;
280                         };
281
282                         spi0: spi@b00d0000 {
283                                 cell-index = <0>;
284                                 compatible = "sirf,prima2-spi";
285                                 reg = <0xb00d0000 0x10000>;
286                                 interrupts = <15>;
287                                 clocks = <&clks 19>;
288                         };
289
290                         spi1: spi@b0170000 {
291                                 cell-index = <1>;
292                                 compatible = "sirf,prima2-spi";
293                                 reg = <0xb0170000 0x10000>;
294                                 interrupts = <16>;
295                                 clocks = <&clks 20>;
296                         };
297
298                         i2c0: i2c@b00e0000 {
299                                 cell-index = <0>;
300                                 compatible = "sirf,prima2-i2c";
301                                 reg = <0xb00e0000 0x10000>;
302                                 interrupts = <24>;
303                                 clocks = <&clks 17>;
304                         };
305
306                         i2c1: i2c@b00f0000 {
307                                 cell-index = <1>;
308                                 compatible = "sirf,prima2-i2c";
309                                 reg = <0xb00f0000 0x10000>;
310                                 interrupts = <25>;
311                                 clocks = <&clks 18>;
312                         };
313
314                         tsc@b0110000 {
315                                 compatible = "sirf,prima2-tsc";
316                                 reg = <0xb0110000 0x10000>;
317                                 interrupts = <33>;
318                                 clocks = <&clks 16>;
319                         };
320
321                         gpio: pinctrl@b0120000 {
322                                 #gpio-cells = <2>;
323                                 #interrupt-cells = <2>;
324                                 compatible = "sirf,prima2-pinctrl";
325                                 reg = <0xb0120000 0x10000>;
326                                 interrupts = <43 44 45 46 47>;
327                                 gpio-controller;
328                                 interrupt-controller;
329
330                                 lcd_16pins_a: lcd0@0 {
331                                         lcd {
332                                                 sirf,pins = "lcd_16bitsgrp";
333                                                 sirf,function = "lcd_16bits";
334                                         };
335                                 };
336                                 lcd_18pins_a: lcd0@1 {
337                                         lcd {
338                                                 sirf,pins = "lcd_18bitsgrp";
339                                                 sirf,function = "lcd_18bits";
340                                         };
341                                 };
342                                 lcd_24pins_a: lcd0@2 {
343                                         lcd {
344                                                 sirf,pins = "lcd_24bitsgrp";
345                                                 sirf,function = "lcd_24bits";
346                                         };
347                                 };
348                                 lcdrom_pins_a: lcdrom0@0 {
349                                         lcd {
350                                                 sirf,pins = "lcdromgrp";
351                                                 sirf,function = "lcdrom";
352                                         };
353                                 };
354                                 uart0_pins_a: uart0@0 {
355                                         uart {
356                                                 sirf,pins = "uart0grp";
357                                                 sirf,function = "uart0";
358                                         };
359                                 };
360                                 uart1_pins_a: uart1@0 {
361                                         uart {
362                                                 sirf,pins = "uart1grp";
363                                                 sirf,function = "uart1";
364                                         };
365                                 };
366                                 uart2_pins_a: uart2@0 {
367                                         uart {
368                                                 sirf,pins = "uart2grp";
369                                                 sirf,function = "uart2";
370                                         };
371                                 };
372                                 uart2_noflow_pins_a: uart2@1 {
373                                         uart {
374                                                 sirf,pins = "uart2_nostreamctrlgrp";
375                                                 sirf,function = "uart2_nostreamctrl";
376                                         };
377                                 };
378                                 spi0_pins_a: spi0@0 {
379                                         spi {
380                                                 sirf,pins = "spi0grp";
381                                                 sirf,function = "spi0";
382                                         };
383                                 };
384                                 spi1_pins_a: spi1@0 {
385                                         spi {
386                                                 sirf,pins = "spi1grp";
387                                                 sirf,function = "spi1";
388                                         };
389                                 };
390                                 i2c0_pins_a: i2c0@0 {
391                                         i2c {
392                                                 sirf,pins = "i2c0grp";
393                                                 sirf,function = "i2c0";
394                                         };
395                                 };
396                                 i2c1_pins_a: i2c1@0 {
397                                         i2c {
398                                                 sirf,pins = "i2c1grp";
399                                                 sirf,function = "i2c1";
400                                         };
401                                 };
402                                 pwm0_pins_a: pwm0@0 {
403                                         pwm {
404                                                 sirf,pins = "pwm0grp";
405                                                 sirf,function = "pwm0";
406                                         };
407                                 };
408                                 pwm1_pins_a: pwm1@0 {
409                                         pwm {
410                                                 sirf,pins = "pwm1grp";
411                                                 sirf,function = "pwm1";
412                                         };
413                                 };
414                                 pwm2_pins_a: pwm2@0 {
415                                         pwm {
416                                                 sirf,pins = "pwm2grp";
417                                                 sirf,function = "pwm2";
418                                         };
419                                 };
420                                 pwm3_pins_a: pwm3@0 {
421                                         pwm {
422                                                 sirf,pins = "pwm3grp";
423                                                 sirf,function = "pwm3";
424                                         };
425                                 };
426                                 gps_pins_a: gps@0 {
427                                         gps {
428                                                 sirf,pins = "gpsgrp";
429                                                 sirf,function = "gps";
430                                         };
431                                 };
432                                 vip_pins_a: vip@0 {
433                                         vip {
434                                                 sirf,pins = "vipgrp";
435                                                 sirf,function = "vip";
436                                         };
437                                 };
438                                 sdmmc0_pins_a: sdmmc0@0 {
439                                         sdmmc0 {
440                                                 sirf,pins = "sdmmc0grp";
441                                                 sirf,function = "sdmmc0";
442                                         };
443                                 };
444                                 sdmmc1_pins_a: sdmmc1@0 {
445                                         sdmmc1 {
446                                                 sirf,pins = "sdmmc1grp";
447                                                 sirf,function = "sdmmc1";
448                                         };
449                                 };
450                                 sdmmc2_pins_a: sdmmc2@0 {
451                                         sdmmc2 {
452                                                 sirf,pins = "sdmmc2grp";
453                                                 sirf,function = "sdmmc2";
454                                         };
455                                 };
456                                 sdmmc3_pins_a: sdmmc3@0 {
457                                         sdmmc3 {
458                                                 sirf,pins = "sdmmc3grp";
459                                                 sirf,function = "sdmmc3";
460                                         };
461                                 };
462                                 sdmmc4_pins_a: sdmmc4@0 {
463                                         sdmmc4 {
464                                                 sirf,pins = "sdmmc4grp";
465                                                 sirf,function = "sdmmc4";
466                                         };
467                                 };
468                                 sdmmc5_pins_a: sdmmc5@0 {
469                                         sdmmc5 {
470                                                 sirf,pins = "sdmmc5grp";
471                                                 sirf,function = "sdmmc5";
472                                         };
473                                 };
474                                 i2s_pins_a: i2s@0 {
475                                         i2s {
476                                                 sirf,pins = "i2sgrp";
477                                                 sirf,function = "i2s";
478                                         };
479                                 };
480                                 ac97_pins_a: ac97@0 {
481                                         ac97 {
482                                                 sirf,pins = "ac97grp";
483                                                 sirf,function = "ac97";
484                                         };
485                                 };
486                                 nand_pins_a: nand@0 {
487                                         nand {
488                                                 sirf,pins = "nandgrp";
489                                                 sirf,function = "nand";
490                                         };
491                                 };
492                                 usp0_pins_a: usp0@0 {
493                                         usp0 {
494                                                 sirf,pins = "usp0grp";
495                                                 sirf,function = "usp0";
496                                         };
497                                 };
498                                 usp1_pins_a: usp1@0 {
499                                         usp1 {
500                                                 sirf,pins = "usp1grp";
501                                                 sirf,function = "usp1";
502                                         };
503                                 };
504                                 usp2_pins_a: usp2@0 {
505                                         usp2 {
506                                                 sirf,pins = "usp2grp";
507                                                 sirf,function = "usp2";
508                                         };
509                                 };
510                                 usb0_utmi_drvbus_pins_a: usb0_utmi_drvbus@0 {
511                                         usb0_utmi_drvbus {
512                                                 sirf,pins = "usb0_utmi_drvbusgrp";
513                                                 sirf,function = "usb0_utmi_drvbus";
514                                         };
515                                 };
516                                 usb1_utmi_drvbus_pins_a: usb1_utmi_drvbus@0 {
517                                         usb1_utmi_drvbus {
518                                                 sirf,pins = "usb1_utmi_drvbusgrp";
519                                                 sirf,function = "usb1_utmi_drvbus";
520                                         };
521                                 };
522                                 warm_rst_pins_a: warm_rst@0 {
523                                         warm_rst {
524                                                 sirf,pins = "warm_rstgrp";
525                                                 sirf,function = "warm_rst";
526                                         };
527                                 };
528                                 pulse_count_pins_a: pulse_count@0 {
529                                         pulse_count {
530                                                 sirf,pins = "pulse_countgrp";
531                                                 sirf,function = "pulse_count";
532                                         };
533                                 };
534                                 cko0_pins_a: cko0@0 {
535                                         cko0 {
536                                                 sirf,pins = "cko0grp";
537                                                 sirf,function = "cko0";
538                                         };
539                                 };
540                                 cko1_pins_a: cko1@0 {
541                                         cko1 {
542                                                 sirf,pins = "cko1grp";
543                                                 sirf,function = "cko1";
544                                         };
545                                 };
546                         };
547
548                         pwm@b0130000 {
549                                 compatible = "sirf,prima2-pwm";
550                                 reg = <0xb0130000 0x10000>;
551                                 clocks = <&clks 21>;
552                         };
553
554                         efusesys@b0140000 {
555                                 compatible = "sirf,prima2-efuse";
556                                 reg = <0xb0140000 0x10000>;
557                                 clocks = <&clks 22>;
558                         };
559
560                         pulsec@b0150000 {
561                                 compatible = "sirf,prima2-pulsec";
562                                 reg = <0xb0150000 0x10000>;
563                                 interrupts = <48>;
564                                 clocks = <&clks 23>;
565                         };
566
567                         pci-iobg {
568                                 compatible = "sirf,prima2-pciiobg", "simple-bus";
569                                 #address-cells = <1>;
570                                 #size-cells = <1>;
571                                 ranges = <0x56000000 0x56000000 0x1b00000>;
572
573                                 sd0: sdhci@56000000 {
574                                         cell-index = <0>;
575                                         compatible = "sirf,prima2-sdhc";
576                                         reg = <0x56000000 0x100000>;
577                                         interrupts = <38>;
578                                 };
579
580                                 sd1: sdhci@56100000 {
581                                         cell-index = <1>;
582                                         compatible = "sirf,prima2-sdhc";
583                                         reg = <0x56100000 0x100000>;
584                                         interrupts = <38>;
585                                 };
586
587                                 sd2: sdhci@56200000 {
588                                         cell-index = <2>;
589                                         compatible = "sirf,prima2-sdhc";
590                                         reg = <0x56200000 0x100000>;
591                                         interrupts = <23>;
592                                 };
593
594                                 sd3: sdhci@56300000 {
595                                         cell-index = <3>;
596                                         compatible = "sirf,prima2-sdhc";
597                                         reg = <0x56300000 0x100000>;
598                                         interrupts = <23>;
599                                 };
600
601                                 sd4: sdhci@56400000 {
602                                         cell-index = <4>;
603                                         compatible = "sirf,prima2-sdhc";
604                                         reg = <0x56400000 0x100000>;
605                                         interrupts = <39>;
606                                 };
607
608                                 sd5: sdhci@56500000 {
609                                         cell-index = <5>;
610                                         compatible = "sirf,prima2-sdhc";
611                                         reg = <0x56500000 0x100000>;
612                                         interrupts = <39>;
613                                 };
614
615                                 pci-copy@57900000 {
616                                         compatible = "sirf,prima2-pcicp";
617                                         reg = <0x57900000 0x100000>;
618                                         interrupts = <40>;
619                                 };
620
621                                 rom-interface@57a00000 {
622                                         compatible = "sirf,prima2-romif";
623                                         reg = <0x57a00000 0x100000>;
624                                 };
625                         };
626                 };
627
628                 rtc-iobg {
629                         compatible = "sirf,prima2-rtciobg", "sirf-prima2-rtciobg-bus", "simple-bus";
630                         #address-cells = <1>;
631                         #size-cells = <1>;
632                         reg = <0x80030000 0x10000>;
633
634                         gpsrtc@1000 {
635                                 compatible = "sirf,prima2-gpsrtc";
636                                 reg = <0x1000 0x1000>;
637                                 interrupts = <55 56 57>;
638                         };
639
640                         sysrtc@2000 {
641                                 compatible = "sirf,prima2-sysrtc";
642                                 reg = <0x2000 0x1000>;
643                                 interrupts = <52 53 54>;
644                         };
645
646                         pwrc@3000 {
647                                 compatible = "sirf,prima2-pwrc";
648                                 reg = <0x3000 0x1000>;
649                                 interrupts = <32>;
650                         };
651                 };
652
653                 uus-iobg {
654                         compatible = "simple-bus";
655                         #address-cells = <1>;
656                         #size-cells = <1>;
657                         ranges = <0xb8000000 0xb8000000 0x40000>;
658
659                         usb0: usb@b00e0000 {
660                                 compatible = "chipidea,ci13611a-prima2";
661                                 reg = <0xb8000000 0x10000>;
662                                 interrupts = <10>;
663                                 clocks = <&clks 40>;
664                         };
665
666                         usb1: usb@b00f0000 {
667                                 compatible = "chipidea,ci13611a-prima2";
668                                 reg = <0xb8010000 0x10000>;
669                                 interrupts = <11>;
670                                 clocks = <&clks 41>;
671                         };
672
673                         sata@b00f0000 {
674                                 compatible = "synopsys,dwc-ahsata";
675                                 reg = <0xb8020000 0x10000>;
676                                 interrupts = <37>;
677                         };
678
679                         security@b00f0000 {
680                                 compatible = "sirf,prima2-security";
681                                 reg = <0xb8030000 0x10000>;
682                                 interrupts = <42>;
683                                 clocks = <&clks 7>;
684                         };
685                 };
686         };
687 };