arm: tegra: dts: Support host/device selection and legacy mode
[linux-2.6-block.git] / arch / arm / boot / dts / tegra20.dtsi
CommitLineData
8e267f3d
GL
1/include/ "skeleton.dtsi"
2
3/ {
4 compatible = "nvidia,tegra20";
5 interrupt-parent = <&intc>;
6
d17adfdb
SW
7 pmc@7000f400 {
8 compatible = "nvidia,tegra20-pmc";
9 reg = <0x7000e400 0x400>;
10 };
11
8e267f3d 12 intc: interrupt-controller@50041000 {
0d4f7479 13 compatible = "arm,cortex-a9-gic";
8e267f3d 14 interrupt-controller;
0d4f7479 15 #interrupt-cells = <3>;
8e267f3d
GL
16 reg = < 0x50041000 0x1000 >,
17 < 0x50040100 0x0100 >;
18 };
19
583553b2
SW
20 pmu {
21 compatible = "arm,cortex-a9-pmu";
22 interrupts = <0 56 0x04
23 0 57 0x04>;
24 };
25
8051b75a
SW
26 apbdma: dma@6000a000 {
27 compatible = "nvidia,tegra20-apbdma";
28 reg = <0x6000a000 0x1200>;
29 interrupts = < 0 104 0x04
30 0 105 0x04
31 0 106 0x04
32 0 107 0x04
33 0 108 0x04
34 0 109 0x04
35 0 110 0x04
36 0 111 0x04
37 0 112 0x04
38 0 113 0x04
39 0 114 0x04
40 0 115 0x04
41 0 116 0x04
42 0 117 0x04
43 0 118 0x04
44 0 119 0x04 >;
45 };
46
8e267f3d
GL
47 i2c@7000c000 {
48 #address-cells = <1>;
49 #size-cells = <0>;
50 compatible = "nvidia,tegra20-i2c";
51 reg = <0x7000C000 0x100>;
0d4f7479 52 interrupts = < 0 38 0x04 >;
8e267f3d
GL
53 };
54
55 i2c@7000c400 {
56 #address-cells = <1>;
57 #size-cells = <0>;
58 compatible = "nvidia,tegra20-i2c";
59 reg = <0x7000C400 0x100>;
0d4f7479 60 interrupts = < 0 84 0x04 >;
8e267f3d
GL
61 };
62
63 i2c@7000c500 {
64 #address-cells = <1>;
65 #size-cells = <0>;
66 compatible = "nvidia,tegra20-i2c";
67 reg = <0x7000C500 0x100>;
0d4f7479 68 interrupts = < 0 92 0x04 >;
8e267f3d
GL
69 };
70
71 i2c@7000d000 {
72 #address-cells = <1>;
73 #size-cells = <0>;
0bc2ecb6 74 compatible = "nvidia,tegra20-i2c-dvc";
8e267f3d 75 reg = <0x7000D000 0x200>;
0d4f7479 76 interrupts = < 0 53 0x04 >;
8e267f3d
GL
77 };
78
c404af0a 79 tegra_i2s1: i2s@70002800 {
8e267f3d
GL
80 compatible = "nvidia,tegra20-i2s";
81 reg = <0x70002800 0x200>;
0d4f7479 82 interrupts = < 0 13 0x04 >;
5c8ee312 83 nvidia,dma-request-selector = < &apbdma 2 >;
8e267f3d
GL
84 };
85
c404af0a 86 tegra_i2s2: i2s@70002a00 {
8e267f3d
GL
87 compatible = "nvidia,tegra20-i2s";
88 reg = <0x70002a00 0x200>;
0d4f7479 89 interrupts = < 0 3 0x04 >;
5c8ee312 90 nvidia,dma-request-selector = < &apbdma 1 >;
8e267f3d
GL
91 };
92
93 das@70000c00 {
8e267f3d
GL
94 compatible = "nvidia,tegra20-das";
95 reg = <0x70000c00 0x80>;
96 };
97
98 gpio: gpio@6000d000 {
99 compatible = "nvidia,tegra20-gpio";
100 reg = < 0x6000d000 0x1000 >;
0d4f7479 101 interrupts = < 0 32 0x04
102 0 33 0x04
103 0 34 0x04
104 0 35 0x04
105 0 55 0x04
106 0 87 0x04
107 0 89 0x04 >;
8e267f3d
GL
108 #gpio-cells = <2>;
109 gpio-controller;
110 };
111
f62f548c
SW
112 pinmux: pinmux@70000000 {
113 compatible = "nvidia,tegra20-pinmux";
114 reg = < 0x70000014 0x10 /* Tri-state registers */
115 0x70000080 0x20 /* Mux registers */
116 0x700000a0 0x14 /* Pull-up/down registers */
117 0x70000868 0xa8 >; /* Pad control registers */
118 };
119
8e267f3d
GL
120 serial@70006000 {
121 compatible = "nvidia,tegra20-uart";
122 reg = <0x70006000 0x40>;
123 reg-shift = <2>;
0d4f7479 124 interrupts = < 0 36 0x04 >;
8e267f3d
GL
125 };
126
127 serial@70006040 {
128 compatible = "nvidia,tegra20-uart";
129 reg = <0x70006040 0x40>;
130 reg-shift = <2>;
0d4f7479 131 interrupts = < 0 37 0x04 >;
8e267f3d
GL
132 };
133
134 serial@70006200 {
135 compatible = "nvidia,tegra20-uart";
136 reg = <0x70006200 0x100>;
137 reg-shift = <2>;
0d4f7479 138 interrupts = < 0 46 0x04 >;
8e267f3d
GL
139 };
140
141 serial@70006300 {
142 compatible = "nvidia,tegra20-uart";
143 reg = <0x70006300 0x100>;
144 reg-shift = <2>;
0d4f7479 145 interrupts = < 0 90 0x04 >;
8e267f3d
GL
146 };
147
148 serial@70006400 {
149 compatible = "nvidia,tegra20-uart";
150 reg = <0x70006400 0x100>;
151 reg-shift = <2>;
0d4f7479 152 interrupts = < 0 91 0x04 >;
8e267f3d
GL
153 };
154
0c6700ab
OJ
155 emc@7000f400 {
156 #address-cells = <1>;
157 #size-cells = <0>;
158 compatible = "nvidia,tegra20-emc";
159 reg = <0x7000f400 0x200>;
160 };
161
8e267f3d
GL
162 sdhci@c8000000 {
163 compatible = "nvidia,tegra20-sdhci";
164 reg = <0xc8000000 0x200>;
0d4f7479 165 interrupts = < 0 14 0x04 >;
8e267f3d
GL
166 };
167
168 sdhci@c8000200 {
169 compatible = "nvidia,tegra20-sdhci";
170 reg = <0xc8000200 0x200>;
0d4f7479 171 interrupts = < 0 15 0x04 >;
8e267f3d
GL
172 };
173
174 sdhci@c8000400 {
175 compatible = "nvidia,tegra20-sdhci";
176 reg = <0xc8000400 0x200>;
0d4f7479 177 interrupts = < 0 19 0x04 >;
8e267f3d
GL
178 };
179
180 sdhci@c8000600 {
181 compatible = "nvidia,tegra20-sdhci";
182 reg = <0xc8000600 0x200>;
0d4f7479 183 interrupts = < 0 31 0x04 >;
8e267f3d 184 };
c27317c0
OJ
185
186 usb@c5000000 {
187 compatible = "nvidia,tegra20-ehci", "usb-ehci";
188 reg = <0xc5000000 0x4000>;
0d4f7479 189 interrupts = < 0 20 0x04 >;
c27317c0
OJ
190 phy_type = "utmi";
191 };
192
193 usb@c5004000 {
194 compatible = "nvidia,tegra20-ehci", "usb-ehci";
195 reg = <0xc5004000 0x4000>;
0d4f7479 196 interrupts = < 0 21 0x04 >;
c27317c0
OJ
197 phy_type = "ulpi";
198 };
199
200 usb@c5008000 {
201 compatible = "nvidia,tegra20-ehci", "usb-ehci";
202 reg = <0xc5008000 0x4000>;
0d4f7479 203 interrupts = < 0 97 0x04 >;
c27317c0
OJ
204 phy_type = "utmi";
205 };
8e267f3d
GL
206};
207