blob: fb92a0fef96e0e5c4cfdf5c6f22de68af93ef33c [file] [log] [blame]
Simon Glass0c24f372014-09-04 16:27:35 -06001#include <dt-bindings/clock/tegra30-car.h>
Simon Glass9d3eefd2014-06-11 23:29:52 -06002#include <dt-bindings/gpio/tegra-gpio.h>
3#include <dt-bindings/interrupt-controller/arm-gic.h>
4
Tom Warrenf6236152013-02-21 12:31:27 +00005#include "skeleton.dtsi"
Tom Warrenaa35e1e2012-12-11 13:34:16 +00006
7/ {
8 compatible = "nvidia,tegra30";
Tom Warren392715b2012-12-21 15:59:15 -07009
Tom Warrene8cf3dd2013-02-21 13:33:23 +000010 tegra_car: clock {
11 compatible = "nvidia,tegra30-car";
Tom Warren392715b2012-12-21 15:59:15 -070012 reg = <0x60006000 0x1000>;
13 #clock-cells = <1>;
14 };
15
Allen Martin3eded042013-01-11 23:07:04 +000016 apbdma: dma {
17 compatible = "nvidia,tegra30-apbdma", "nvidia,tegra20-apbdma";
18 reg = <0x6000a000 0x1400>;
19 interrupts = <0 104 0x04
20 0 105 0x04
21 0 106 0x04
22 0 107 0x04
23 0 108 0x04
24 0 109 0x04
25 0 110 0x04
26 0 111 0x04
27 0 112 0x04
28 0 113 0x04
29 0 114 0x04
30 0 115 0x04
31 0 116 0x04
32 0 117 0x04
33 0 118 0x04
34 0 119 0x04
35 0 128 0x04
36 0 129 0x04
37 0 130 0x04
38 0 131 0x04
39 0 132 0x04
40 0 133 0x04
41 0 134 0x04
42 0 135 0x04
43 0 136 0x04
44 0 137 0x04
45 0 138 0x04
46 0 139 0x04
47 0 140 0x04
48 0 141 0x04
49 0 142 0x04
50 0 143 0x04>;
Tom Warrene8cf3dd2013-02-21 13:33:23 +000051 clocks = <&tegra_car 34>;
Allen Martin3eded042013-01-11 23:07:04 +000052 };
53
Simon Glass9d3eefd2014-06-11 23:29:52 -060054 gpio: gpio@6000d000 {
Tom Warrene8cf3dd2013-02-21 13:33:23 +000055 compatible = "nvidia,tegra30-gpio";
56 reg = <0x6000d000 0x1000>;
Simon Glass9d3eefd2014-06-11 23:29:52 -060057 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>,
58 <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>,
59 <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>,
60 <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>,
61 <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
62 <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>,
63 <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>,
64 <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>;
Tom Warrene8cf3dd2013-02-21 13:33:23 +000065 #gpio-cells = <2>;
66 gpio-controller;
67 #interrupt-cells = <2>;
68 interrupt-controller;
69 };
70
Tom Warren392715b2012-12-21 15:59:15 -070071 i2c@7000c000 {
Tom Warrene8cf3dd2013-02-21 13:33:23 +000072 compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c";
73 reg = <0x7000c000 0x100>;
74 interrupts = <0 38 0x04>;
Tom Warren392715b2012-12-21 15:59:15 -070075 #address-cells = <1>;
76 #size-cells = <0>;
Tom Warrene8cf3dd2013-02-21 13:33:23 +000077 clocks = <&tegra_car 12>, <&tegra_car 182>;
78 clock-names = "div-clk", "fast-clk";
79 status = "disabled";
Tom Warren392715b2012-12-21 15:59:15 -070080 };
81
82 i2c@7000c400 {
Tom Warrene8cf3dd2013-02-21 13:33:23 +000083 compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c";
84 reg = <0x7000c400 0x100>;
85 interrupts = <0 84 0x04>;
Tom Warren392715b2012-12-21 15:59:15 -070086 #address-cells = <1>;
87 #size-cells = <0>;
Tom Warrene8cf3dd2013-02-21 13:33:23 +000088 clocks = <&tegra_car 54>, <&tegra_car 182>;
89 clock-names = "div-clk", "fast-clk";
90 status = "disabled";
Tom Warren392715b2012-12-21 15:59:15 -070091 };
92
93 i2c@7000c500 {
Tom Warrene8cf3dd2013-02-21 13:33:23 +000094 compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c";
95 reg = <0x7000c500 0x100>;
96 interrupts = <0 92 0x04>;
Tom Warren392715b2012-12-21 15:59:15 -070097 #address-cells = <1>;
98 #size-cells = <0>;
Tom Warrene8cf3dd2013-02-21 13:33:23 +000099 clocks = <&tegra_car 67>, <&tegra_car 182>;
100 clock-names = "div-clk", "fast-clk";
101 status = "disabled";
Tom Warren392715b2012-12-21 15:59:15 -0700102 };
103
104 i2c@7000c700 {
Tom Warrene8cf3dd2013-02-21 13:33:23 +0000105 compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c";
106 reg = <0x7000c700 0x100>;
107 interrupts = <0 120 0x04>;
Tom Warren392715b2012-12-21 15:59:15 -0700108 #address-cells = <1>;
109 #size-cells = <0>;
Tom Warrene8cf3dd2013-02-21 13:33:23 +0000110 clocks = <&tegra_car 103>, <&tegra_car 182>;
111 clock-names = "div-clk", "fast-clk";
112 status = "disabled";
Tom Warren392715b2012-12-21 15:59:15 -0700113 };
114
115 i2c@7000d000 {
Tom Warrene8cf3dd2013-02-21 13:33:23 +0000116 compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c";
117 reg = <0x7000d000 0x100>;
118 interrupts = <0 53 0x04>;
Tom Warren392715b2012-12-21 15:59:15 -0700119 #address-cells = <1>;
120 #size-cells = <0>;
Tom Warrene8cf3dd2013-02-21 13:33:23 +0000121 clocks = <&tegra_car 47>, <&tegra_car 182>;
122 clock-names = "div-clk", "fast-clk";
123 status = "disabled";
Tom Warren392715b2012-12-21 15:59:15 -0700124 };
Allen Martin43b04292013-01-29 13:51:26 +0000125
Simon Glass0c24f372014-09-04 16:27:35 -0600126 uarta: serial@70006000 {
127 compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart";
128 reg = <0x70006000 0x40>;
129 reg-shift = <2>;
130 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
131 clocks = <&tegra_car TEGRA30_CLK_UARTA>;
132 resets = <&tegra_car 6>;
133 reset-names = "serial";
134 dmas = <&apbdma 8>, <&apbdma 8>;
135 dma-names = "rx", "tx";
136 status = "disabled";
137 };
138
139 uartb: serial@70006040 {
140 compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart";
141 reg = <0x70006040 0x40>;
142 reg-shift = <2>;
143 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
144 clocks = <&tegra_car TEGRA30_CLK_UARTB>;
145 resets = <&tegra_car 7>;
146 reset-names = "serial";
147 dmas = <&apbdma 9>, <&apbdma 9>;
148 dma-names = "rx", "tx";
149 status = "disabled";
150 };
151
152 uartc: serial@70006200 {
153 compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart";
154 reg = <0x70006200 0x100>;
155 reg-shift = <2>;
156 interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
157 clocks = <&tegra_car TEGRA30_CLK_UARTC>;
158 resets = <&tegra_car 55>;
159 reset-names = "serial";
160 dmas = <&apbdma 10>, <&apbdma 10>;
161 dma-names = "rx", "tx";
162 status = "disabled";
163 };
164
165 uartd: serial@70006300 {
166 compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart";
167 reg = <0x70006300 0x100>;
168 reg-shift = <2>;
169 interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
170 clocks = <&tegra_car TEGRA30_CLK_UARTD>;
171 resets = <&tegra_car 65>;
172 reset-names = "serial";
173 dmas = <&apbdma 19>, <&apbdma 19>;
174 dma-names = "rx", "tx";
175 status = "disabled";
176 };
177
178 uarte: serial@70006400 {
179 compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart";
180 reg = <0x70006400 0x100>;
181 reg-shift = <2>;
182 interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
183 clocks = <&tegra_car TEGRA30_CLK_UARTE>;
184 resets = <&tegra_car 66>;
185 reset-names = "serial";
186 dmas = <&apbdma 20>, <&apbdma 20>;
187 dma-names = "rx", "tx";
188 status = "disabled";
189 };
190
Allen Martin43b04292013-01-29 13:51:26 +0000191 spi@7000d400 {
192 compatible = "nvidia,tegra30-slink", "nvidia,tegra20-slink";
193 reg = <0x7000d400 0x200>;
194 interrupts = <0 59 0x04>;
195 nvidia,dma-request-selector = <&apbdma 15>;
196 #address-cells = <1>;
197 #size-cells = <0>;
Allen Martin43b04292013-01-29 13:51:26 +0000198 clocks = <&tegra_car 41>;
Tom Warrene8cf3dd2013-02-21 13:33:23 +0000199 status = "disabled";
Allen Martin43b04292013-01-29 13:51:26 +0000200 };
201
202 spi@7000d600 {
203 compatible = "nvidia,tegra30-slink", "nvidia,tegra20-slink";
204 reg = <0x7000d600 0x200>;
205 interrupts = <0 82 0x04>;
206 nvidia,dma-request-selector = <&apbdma 16>;
207 #address-cells = <1>;
208 #size-cells = <0>;
Allen Martin43b04292013-01-29 13:51:26 +0000209 clocks = <&tegra_car 44>;
Tom Warrene8cf3dd2013-02-21 13:33:23 +0000210 status = "disabled";
Allen Martin43b04292013-01-29 13:51:26 +0000211 };
212
213 spi@7000d800 {
214 compatible = "nvidia,tegra30-slink", "nvidia,tegra20-slink";
215 reg = <0x7000d480 0x200>;
216 interrupts = <0 83 0x04>;
217 nvidia,dma-request-selector = <&apbdma 17>;
218 #address-cells = <1>;
219 #size-cells = <0>;
Allen Martin43b04292013-01-29 13:51:26 +0000220 clocks = <&tegra_car 46>;
Tom Warrene8cf3dd2013-02-21 13:33:23 +0000221 status = "disabled";
Allen Martin43b04292013-01-29 13:51:26 +0000222 };
223
224 spi@7000da00 {
225 compatible = "nvidia,tegra30-slink", "nvidia,tegra20-slink";
226 reg = <0x7000da00 0x200>;
227 interrupts = <0 93 0x04>;
228 nvidia,dma-request-selector = <&apbdma 18>;
229 #address-cells = <1>;
230 #size-cells = <0>;
Allen Martin43b04292013-01-29 13:51:26 +0000231 clocks = <&tegra_car 68>;
Tom Warrene8cf3dd2013-02-21 13:33:23 +0000232 status = "disabled";
Allen Martin43b04292013-01-29 13:51:26 +0000233 };
234
235 spi@7000dc00 {
236 compatible = "nvidia,tegra30-slink", "nvidia,tegra20-slink";
237 reg = <0x7000dc00 0x200>;
238 interrupts = <0 94 0x04>;
239 nvidia,dma-request-selector = <&apbdma 27>;
240 #address-cells = <1>;
241 #size-cells = <0>;
Allen Martin43b04292013-01-29 13:51:26 +0000242 clocks = <&tegra_car 104>;
Tom Warrene8cf3dd2013-02-21 13:33:23 +0000243 status = "disabled";
Allen Martin43b04292013-01-29 13:51:26 +0000244 };
245
246 spi@7000de00 {
247 compatible = "nvidia,tegra30-slink", "nvidia,tegra20-slink";
248 reg = <0x7000de00 0x200>;
249 interrupts = <0 79 0x04>;
250 nvidia,dma-request-selector = <&apbdma 28>;
251 #address-cells = <1>;
252 #size-cells = <0>;
Allen Martin43b04292013-01-29 13:51:26 +0000253 clocks = <&tegra_car 105>;
Tom Warrene8cf3dd2013-02-21 13:33:23 +0000254 status = "disabled";
Allen Martin43b04292013-01-29 13:51:26 +0000255 };
Tom Warren20515be2013-02-26 11:14:17 -0700256
257 sdhci@78000000 {
258 compatible = "nvidia,tegra30-sdhci";
259 reg = <0x78000000 0x200>;
260 interrupts = <0 14 0x04>;
261 clocks = <&tegra_car 14>;
262 status = "disabled";
263 };
264
265 sdhci@78000200 {
266 compatible = "nvidia,tegra30-sdhci";
267 reg = <0x78000200 0x200>;
268 interrupts = <0 15 0x04>;
269 clocks = <&tegra_car 9>;
270 status = "disabled";
271 };
272
273 sdhci@78000400 {
274 compatible = "nvidia,tegra30-sdhci";
275 reg = <0x78000400 0x200>;
276 interrupts = <0 19 0x04>;
277 clocks = <&tegra_car 69>;
278 status = "disabled";
279 };
280
281 sdhci@78000600 {
282 compatible = "nvidia,tegra30-sdhci";
283 reg = <0x78000600 0x200>;
284 interrupts = <0 31 0x04>;
285 clocks = <&tegra_car 15>;
286 status = "disabled";
287 };
Jim Lindfed30e2013-06-21 19:05:46 +0800288
289 usb@7d000000 {
290 compatible = "nvidia,tegra30-ehci";
291 reg = <0x7d000000 0x4000>;
292 interrupts = <52>;
293 phy_type = "utmi";
294 clocks = <&tegra_car 22>; /* PERIPH_ID_USBD */
295 status = "disabled";
296 };
297
298 usb@7d004000 {
299 compatible = "nvidia,tegra30-ehci";
300 reg = <0x7d004000 0x4000>;
301 interrupts = <53>;
302 phy_type = "hsic";
303 clocks = <&tegra_car 58>; /* PERIPH_ID_USB2 */
304 status = "disabled";
305 };
306
307 usb@7d008000 {
308 compatible = "nvidia,tegra30-ehci";
309 reg = <0x7d008000 0x4000>;
310 interrupts = <129>;
311 phy_type = "utmi";
312 clocks = <&tegra_car 59>; /* PERIPH_ID_USB3 */
313 status = "disabled";
314 };
Tom Warrenaa35e1e2012-12-11 13:34:16 +0000315};