ARM: tegra: add clock source of PMC to device trees
[linux-2.6.git] / arch / arm / boot / dts / tegra20.dtsi
blob8adaa3576c355163852460d9be0d0f0064aed6bc
1 /include/ "skeleton.dtsi"
3 / {
4         compatible = "nvidia,tegra20";
5         interrupt-parent = <&intc>;
7         aliases {
8                 serial0 = &uarta;
9                 serial1 = &uartb;
10                 serial2 = &uartc;
11                 serial3 = &uartd;
12                 serial4 = &uarte;
13         };
15         host1x {
16                 compatible = "nvidia,tegra20-host1x", "simple-bus";
17                 reg = <0x50000000 0x00024000>;
18                 interrupts = <0 65 0x04   /* mpcore syncpt */
19                               0 67 0x04>; /* mpcore general */
20                 clocks = <&tegra_car 28>;
22                 #address-cells = <1>;
23                 #size-cells = <1>;
25                 ranges = <0x54000000 0x54000000 0x04000000>;
27                 mpe {
28                         compatible = "nvidia,tegra20-mpe";
29                         reg = <0x54040000 0x00040000>;
30                         interrupts = <0 68 0x04>;
31                         clocks = <&tegra_car 60>;
32                 };
34                 vi {
35                         compatible = "nvidia,tegra20-vi";
36                         reg = <0x54080000 0x00040000>;
37                         interrupts = <0 69 0x04>;
38                         clocks = <&tegra_car 100>;
39                 };
41                 epp {
42                         compatible = "nvidia,tegra20-epp";
43                         reg = <0x540c0000 0x00040000>;
44                         interrupts = <0 70 0x04>;
45                         clocks = <&tegra_car 19>;
46                 };
48                 isp {
49                         compatible = "nvidia,tegra20-isp";
50                         reg = <0x54100000 0x00040000>;
51                         interrupts = <0 71 0x04>;
52                         clocks = <&tegra_car 23>;
53                 };
55                 gr2d {
56                         compatible = "nvidia,tegra20-gr2d";
57                         reg = <0x54140000 0x00040000>;
58                         interrupts = <0 72 0x04>;
59                         clocks = <&tegra_car 21>;
60                 };
62                 gr3d {
63                         compatible = "nvidia,tegra20-gr3d";
64                         reg = <0x54180000 0x00040000>;
65                         clocks = <&tegra_car 24>;
66                 };
68                 dc@54200000 {
69                         compatible = "nvidia,tegra20-dc";
70                         reg = <0x54200000 0x00040000>;
71                         interrupts = <0 73 0x04>;
72                         clocks = <&tegra_car 27>, <&tegra_car 121>;
73                         clock-names = "disp1", "parent";
75                         rgb {
76                                 status = "disabled";
77                         };
78                 };
80                 dc@54240000 {
81                         compatible = "nvidia,tegra20-dc";
82                         reg = <0x54240000 0x00040000>;
83                         interrupts = <0 74 0x04>;
84                         clocks = <&tegra_car 26>, <&tegra_car 121>;
85                         clock-names = "disp2", "parent";
87                         rgb {
88                                 status = "disabled";
89                         };
90                 };
92                 hdmi {
93                         compatible = "nvidia,tegra20-hdmi";
94                         reg = <0x54280000 0x00040000>;
95                         interrupts = <0 75 0x04>;
96                         clocks = <&tegra_car 51>, <&tegra_car 117>;
97                         clock-names = "hdmi", "parent";
98                         status = "disabled";
99                 };
101                 tvo {
102                         compatible = "nvidia,tegra20-tvo";
103                         reg = <0x542c0000 0x00040000>;
104                         interrupts = <0 76 0x04>;
105                         clocks = <&tegra_car 102>;
106                         status = "disabled";
107                 };
109                 dsi {
110                         compatible = "nvidia,tegra20-dsi";
111                         reg = <0x54300000 0x00040000>;
112                         clocks = <&tegra_car 48>;
113                         status = "disabled";
114                 };
115         };
117         timer@50004600 {
118                 compatible = "arm,cortex-a9-twd-timer";
119                 reg = <0x50040600 0x20>;
120                 interrupts = <1 13 0x304>;
121         };
123         intc: interrupt-controller {
124                 compatible = "arm,cortex-a9-gic";
125                 reg = <0x50041000 0x1000
126                        0x50040100 0x0100>;
127                 interrupt-controller;
128                 #interrupt-cells = <3>;
129         };
131         cache-controller {
132                 compatible = "arm,pl310-cache";
133                 reg = <0x50043000 0x1000>;
134                 arm,data-latency = <5 5 2>;
135                 arm,tag-latency = <4 4 2>;
136                 cache-unified;
137                 cache-level = <2>;
138         };
140         timer@60005000 {
141                 compatible = "nvidia,tegra20-timer";
142                 reg = <0x60005000 0x60>;
143                 interrupts = <0 0 0x04
144                               0 1 0x04
145                               0 41 0x04
146                               0 42 0x04>;
147                 clocks = <&tegra_car 5>;
148         };
150         tegra_car: clock {
151                 compatible = "nvidia,tegra20-car";
152                 reg = <0x60006000 0x1000>;
153                 #clock-cells = <1>;
154         };
156         apbdma: dma {
157                 compatible = "nvidia,tegra20-apbdma";
158                 reg = <0x6000a000 0x1200>;
159                 interrupts = <0 104 0x04
160                               0 105 0x04
161                               0 106 0x04
162                               0 107 0x04
163                               0 108 0x04
164                               0 109 0x04
165                               0 110 0x04
166                               0 111 0x04
167                               0 112 0x04
168                               0 113 0x04
169                               0 114 0x04
170                               0 115 0x04
171                               0 116 0x04
172                               0 117 0x04
173                               0 118 0x04
174                               0 119 0x04>;
175                 clocks = <&tegra_car 34>;
176         };
178         ahb {
179                 compatible = "nvidia,tegra20-ahb";
180                 reg = <0x6000c004 0x10c>; /* AHB Arbitration + Gizmo Controller */
181         };
183         gpio: gpio {
184                 compatible = "nvidia,tegra20-gpio";
185                 reg = <0x6000d000 0x1000>;
186                 interrupts = <0 32 0x04
187                               0 33 0x04
188                               0 34 0x04
189                               0 35 0x04
190                               0 55 0x04
191                               0 87 0x04
192                               0 89 0x04>;
193                 #gpio-cells = <2>;
194                 gpio-controller;
195                 #interrupt-cells = <2>;
196                 interrupt-controller;
197         };
199         pinmux: pinmux {
200                 compatible = "nvidia,tegra20-pinmux";
201                 reg = <0x70000014 0x10   /* Tri-state registers */
202                        0x70000080 0x20   /* Mux registers */
203                        0x700000a0 0x14   /* Pull-up/down registers */
204                        0x70000868 0xa8>; /* Pad control registers */
205         };
207         das {
208                 compatible = "nvidia,tegra20-das";
209                 reg = <0x70000c00 0x80>;
210         };
211         
212         tegra_ac97: ac97 {
213                 compatible = "nvidia,tegra20-ac97";
214                 reg = <0x70002000 0x200>;
215                 interrupts = <0 81 0x04>;
216                 nvidia,dma-request-selector = <&apbdma 12>;
217                 clocks = <&tegra_car 3>;
218                 status = "disabled";
219         };
221         tegra_i2s1: i2s@70002800 {
222                 compatible = "nvidia,tegra20-i2s";
223                 reg = <0x70002800 0x200>;
224                 interrupts = <0 13 0x04>;
225                 nvidia,dma-request-selector = <&apbdma 2>;
226                 clocks = <&tegra_car 11>;
227                 status = "disabled";
228         };
230         tegra_i2s2: i2s@70002a00 {
231                 compatible = "nvidia,tegra20-i2s";
232                 reg = <0x70002a00 0x200>;
233                 interrupts = <0 3 0x04>;
234                 nvidia,dma-request-selector = <&apbdma 1>;
235                 clocks = <&tegra_car 18>;
236                 status = "disabled";
237         };
239         /*
240          * There are two serial driver i.e. 8250 based simple serial
241          * driver and APB DMA based serial driver for higher baudrate
242          * and performace. To enable the 8250 based driver, the compatible
243          * is "nvidia,tegra20-uart" and to enable the APB DMA based serial
244          * driver, the comptible is "nvidia,tegra20-hsuart".
245          */
246         uarta: serial@70006000 {
247                 compatible = "nvidia,tegra20-uart";
248                 reg = <0x70006000 0x40>;
249                 reg-shift = <2>;
250                 interrupts = <0 36 0x04>;
251                 nvidia,dma-request-selector = <&apbdma 8>;
252                 clocks = <&tegra_car 6>;
253                 status = "disabled";
254         };
256         uartb: serial@70006040 {
257                 compatible = "nvidia,tegra20-uart";
258                 reg = <0x70006040 0x40>;
259                 reg-shift = <2>;
260                 interrupts = <0 37 0x04>;
261                 nvidia,dma-request-selector = <&apbdma 9>;
262                 clocks = <&tegra_car 96>;
263                 status = "disabled";
264         };
266         uartc: serial@70006200 {
267                 compatible = "nvidia,tegra20-uart";
268                 reg = <0x70006200 0x100>;
269                 reg-shift = <2>;
270                 interrupts = <0 46 0x04>;
271                 nvidia,dma-request-selector = <&apbdma 10>;
272                 clocks = <&tegra_car 55>;
273                 status = "disabled";
274         };
276         uartd: serial@70006300 {
277                 compatible = "nvidia,tegra20-uart";
278                 reg = <0x70006300 0x100>;
279                 reg-shift = <2>;
280                 interrupts = <0 90 0x04>;
281                 nvidia,dma-request-selector = <&apbdma 19>;
282                 clocks = <&tegra_car 65>;
283                 status = "disabled";
284         };
286         uarte: serial@70006400 {
287                 compatible = "nvidia,tegra20-uart";
288                 reg = <0x70006400 0x100>;
289                 reg-shift = <2>;
290                 interrupts = <0 91 0x04>;
291                 nvidia,dma-request-selector = <&apbdma 20>;
292                 clocks = <&tegra_car 66>;
293                 status = "disabled";
294         };
296         pwm: pwm {
297                 compatible = "nvidia,tegra20-pwm";
298                 reg = <0x7000a000 0x100>;
299                 #pwm-cells = <2>;
300                 clocks = <&tegra_car 17>;
301         };
303         rtc {
304                 compatible = "nvidia,tegra20-rtc";
305                 reg = <0x7000e000 0x100>;
306                 interrupts = <0 2 0x04>;
307                 clocks = <&tegra_car 4>;
308         };
310         i2c@7000c000 {
311                 compatible = "nvidia,tegra20-i2c";
312                 reg = <0x7000c000 0x100>;
313                 interrupts = <0 38 0x04>;
314                 #address-cells = <1>;
315                 #size-cells = <0>;
316                 clocks = <&tegra_car 12>, <&tegra_car 124>;
317                 clock-names = "div-clk", "fast-clk";
318                 status = "disabled";
319         };
321         spi@7000c380 {
322                 compatible = "nvidia,tegra20-sflash";
323                 reg = <0x7000c380 0x80>;
324                 interrupts = <0 39 0x04>;
325                 nvidia,dma-request-selector = <&apbdma 11>;
326                 #address-cells = <1>;
327                 #size-cells = <0>;
328                 clocks = <&tegra_car 43>;
329                 status = "disabled";
330         };
332         i2c@7000c400 {
333                 compatible = "nvidia,tegra20-i2c";
334                 reg = <0x7000c400 0x100>;
335                 interrupts = <0 84 0x04>;
336                 #address-cells = <1>;
337                 #size-cells = <0>;
338                 clocks = <&tegra_car 54>, <&tegra_car 124>;
339                 clock-names = "div-clk", "fast-clk";
340                 status = "disabled";
341         };
343         i2c@7000c500 {
344                 compatible = "nvidia,tegra20-i2c";
345                 reg = <0x7000c500 0x100>;
346                 interrupts = <0 92 0x04>;
347                 #address-cells = <1>;
348                 #size-cells = <0>;
349                 clocks = <&tegra_car 67>, <&tegra_car 124>;
350                 clock-names = "div-clk", "fast-clk";
351                 status = "disabled";
352         };
354         i2c@7000d000 {
355                 compatible = "nvidia,tegra20-i2c-dvc";
356                 reg = <0x7000d000 0x200>;
357                 interrupts = <0 53 0x04>;
358                 #address-cells = <1>;
359                 #size-cells = <0>;
360                 clocks = <&tegra_car 47>, <&tegra_car 124>;
361                 clock-names = "div-clk", "fast-clk";
362                 status = "disabled";
363         };
365         spi@7000d400 {
366                 compatible = "nvidia,tegra20-slink";
367                 reg = <0x7000d400 0x200>;
368                 interrupts = <0 59 0x04>;
369                 nvidia,dma-request-selector = <&apbdma 15>;
370                 #address-cells = <1>;
371                 #size-cells = <0>;
372                 clocks = <&tegra_car 41>;
373                 status = "disabled";
374         };
376         spi@7000d600 {
377                 compatible = "nvidia,tegra20-slink";
378                 reg = <0x7000d600 0x200>;
379                 interrupts = <0 82 0x04>;
380                 nvidia,dma-request-selector = <&apbdma 16>;
381                 #address-cells = <1>;
382                 #size-cells = <0>;
383                 clocks = <&tegra_car 44>;
384                 status = "disabled";
385         };
387         spi@7000d800 {
388                 compatible = "nvidia,tegra20-slink";
389                 reg = <0x7000d480 0x200>;
390                 interrupts = <0 83 0x04>;
391                 nvidia,dma-request-selector = <&apbdma 17>;
392                 #address-cells = <1>;
393                 #size-cells = <0>;
394                 clocks = <&tegra_car 46>;
395                 status = "disabled";
396         };
398         spi@7000da00 {
399                 compatible = "nvidia,tegra20-slink";
400                 reg = <0x7000da00 0x200>;
401                 interrupts = <0 93 0x04>;
402                 nvidia,dma-request-selector = <&apbdma 18>;
403                 #address-cells = <1>;
404                 #size-cells = <0>;
405                 clocks = <&tegra_car 68>;
406                 status = "disabled";
407         };
409         kbc {
410                 compatible = "nvidia,tegra20-kbc";
411                 reg = <0x7000e200 0x100>;
412                 interrupts = <0 85 0x04>;
413                 clocks = <&tegra_car 36>;
414                 status = "disabled";
415         };
417         pmc {
418                 compatible = "nvidia,tegra20-pmc";
419                 reg = <0x7000e400 0x400>;
420                 clocks = <&tegra_car 110>, <&clk32k_in>;
421                 clock-names = "pclk", "clk32k_in";
422         };
424         memory-controller@7000f000 {
425                 compatible = "nvidia,tegra20-mc";
426                 reg = <0x7000f000 0x024
427                        0x7000f03c 0x3c4>;
428                 interrupts = <0 77 0x04>;
429         };
431         iommu {
432                 compatible = "nvidia,tegra20-gart";
433                 reg = <0x7000f024 0x00000018    /* controller registers */
434                        0x58000000 0x02000000>;  /* GART aperture */
435         };
437         memory-controller@7000f400 {
438                 compatible = "nvidia,tegra20-emc";
439                 reg = <0x7000f400 0x200>;
440                 #address-cells = <1>;
441                 #size-cells = <0>;
442         };
444         phy1: usb-phy@c5000400 {
445                 compatible = "nvidia,tegra20-usb-phy";
446                 reg = <0xc5000400 0x3c00>;
447                 phy_type = "utmi";
448                 nvidia,has-legacy-mode;
449                 clocks = <&tegra_car 22>, <&tegra_car 127>;
450                 clock-names = "phy", "pll_u";
451         };
453         phy2: usb-phy@c5004400 {
454                 compatible = "nvidia,tegra20-usb-phy";
455                 reg = <0xc5004400 0x3c00>;
456                 phy_type = "ulpi";
457                 clocks = <&tegra_car 94>, <&tegra_car 127>;
458                 clock-names = "phy", "pll_u";
459         };
461         phy3: usb-phy@c5008400 {
462                 compatible = "nvidia,tegra20-usb-phy";
463                 reg = <0xc5008400 0x3C00>;
464                 phy_type = "utmi";
465                 clocks = <&tegra_car 22>, <&tegra_car 127>;
466                 clock-names = "phy", "pll_u";
467         };
469         usb@c5000000 {
470                 compatible = "nvidia,tegra20-ehci", "usb-ehci";
471                 reg = <0xc5000000 0x4000>;
472                 interrupts = <0 20 0x04>;
473                 phy_type = "utmi";
474                 nvidia,has-legacy-mode;
475                 clocks = <&tegra_car 22>;
476                 nvidia,needs-double-reset;
477                 nvidia,phy = <&phy1>;
478                 status = "disabled";
479         };
481         usb@c5004000 {
482                 compatible = "nvidia,tegra20-ehci", "usb-ehci";
483                 reg = <0xc5004000 0x4000>;
484                 interrupts = <0 21 0x04>;
485                 phy_type = "ulpi";
486                 clocks = <&tegra_car 58>;
487                 nvidia,phy = <&phy2>;
488                 status = "disabled";
489         };
491         usb@c5008000 {
492                 compatible = "nvidia,tegra20-ehci", "usb-ehci";
493                 reg = <0xc5008000 0x4000>;
494                 interrupts = <0 97 0x04>;
495                 phy_type = "utmi";
496                 clocks = <&tegra_car 59>;
497                 nvidia,phy = <&phy3>;
498                 status = "disabled";
499         };
501         sdhci@c8000000 {
502                 compatible = "nvidia,tegra20-sdhci";
503                 reg = <0xc8000000 0x200>;
504                 interrupts = <0 14 0x04>;
505                 clocks = <&tegra_car 14>;
506                 status = "disabled";
507         };
509         sdhci@c8000200 {
510                 compatible = "nvidia,tegra20-sdhci";
511                 reg = <0xc8000200 0x200>;
512                 interrupts = <0 15 0x04>;
513                 clocks = <&tegra_car 9>;
514                 status = "disabled";
515         };
517         sdhci@c8000400 {
518                 compatible = "nvidia,tegra20-sdhci";
519                 reg = <0xc8000400 0x200>;
520                 interrupts = <0 19 0x04>;
521                 clocks = <&tegra_car 69>;
522                 status = "disabled";
523         };
525         sdhci@c8000600 {
526                 compatible = "nvidia,tegra20-sdhci";
527                 reg = <0xc8000600 0x200>;
528                 interrupts = <0 31 0x04>;
529                 clocks = <&tegra_car 15>;
530                 status = "disabled";
531         };
533         cpus {
534                 #address-cells = <1>;
535                 #size-cells = <0>;
537                 cpu@0 {
538                         device_type = "cpu";
539                         compatible = "arm,cortex-a9";
540                         reg = <0>;
541                 };
543                 cpu@1 {
544                         device_type = "cpu";
545                         compatible = "arm,cortex-a9";
546                         reg = <1>;
547                 };
548         };
550         pmu {
551                 compatible = "arm,cortex-a9-pmu";
552                 interrupts = <0 56 0x04
553                               0 57 0x04>;
554         };