blob: d81c52e5b3587445acc38d1a2efb23ef06247ef5 [file] [log] [blame]
Hiroshi Doyu05849c92013-05-22 19:45:34 +03001#include <dt-bindings/clock/tegra30-car.h>
Stephen Warren3325f1b2013-02-12 17:25:15 -07002#include <dt-bindings/gpio/tegra-gpio.h>
Stephen Warren6cecf912013-02-13 12:51:51 -07003#include <dt-bindings/interrupt-controller/arm-gic.h>
Stephen Warren3325f1b2013-02-12 17:25:15 -07004
Stephen Warren1bd0bd42012-10-17 16:38:21 -06005#include "skeleton.dtsi"
Peter De Schrijverc3e00a02011-12-14 17:03:13 +02006
7/ {
8 compatible = "nvidia,tegra30";
9 interrupt-parent = <&intc>;
10
Laxman Dewanganb6551bb2012-12-19 12:01:11 +053011 aliases {
12 serial0 = &uarta;
13 serial1 = &uartb;
14 serial2 = &uartc;
15 serial3 = &uartd;
16 serial4 = &uarte;
17 };
18
Thierry Redinge07e3db2013-08-09 16:49:26 +020019 pcie-controller {
20 compatible = "nvidia,tegra30-pcie";
21 device_type = "pci";
22 reg = <0x00003000 0x00000800 /* PADS registers */
23 0x00003800 0x00000200 /* AFI registers */
24 0x10000000 0x10000000>; /* configuration space */
25 reg-names = "pads", "afi", "cs";
26 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH /* controller interrupt */
27 GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>; /* MSI interrupt */
28 interrupt-names = "intr", "msi";
29
30 bus-range = <0x00 0xff>;
31 #address-cells = <3>;
32 #size-cells = <2>;
33
34 ranges = <0x82000000 0 0x00000000 0x00000000 0 0x00001000 /* port 0 configuration space */
35 0x82000000 0 0x00001000 0x00001000 0 0x00001000 /* port 1 configuration space */
36 0x82000000 0 0x00004000 0x00004000 0 0x00001000 /* port 2 configuration space */
37 0x81000000 0 0 0x02000000 0 0x00010000 /* downstream I/O */
Jay Agarwald7283c12013-08-09 16:49:31 +020038 0x82000000 0 0x20000000 0x20000000 0 0x08000000 /* non-prefetchable memory */
39 0xc2000000 0 0x28000000 0x28000000 0 0x18000000>; /* prefetchable memory */
Thierry Redinge07e3db2013-08-09 16:49:26 +020040
41 clocks = <&tegra_car TEGRA30_CLK_PCIE>,
42 <&tegra_car TEGRA30_CLK_AFI>,
43 <&tegra_car TEGRA30_CLK_PCIEX>,
44 <&tegra_car TEGRA30_CLK_PLL_E>,
45 <&tegra_car TEGRA30_CLK_CML0>;
46 clock-names = "pex", "afi", "pcie_xclk", "pll_e", "cml";
47 status = "disabled";
48
49 pci@1,0 {
50 device_type = "pci";
51 assigned-addresses = <0x82000800 0 0x00000000 0 0x1000>;
52 reg = <0x000800 0 0 0 0>;
53 status = "disabled";
54
55 #address-cells = <3>;
56 #size-cells = <2>;
57 ranges;
58
59 nvidia,num-lanes = <2>;
60 };
61
62 pci@2,0 {
63 device_type = "pci";
64 assigned-addresses = <0x82001000 0 0x00001000 0 0x1000>;
65 reg = <0x001000 0 0 0 0>;
66 status = "disabled";
67
68 #address-cells = <3>;
69 #size-cells = <2>;
70 ranges;
71
72 nvidia,num-lanes = <2>;
73 };
74
75 pci@3,0 {
76 device_type = "pci";
77 assigned-addresses = <0x82001800 0 0x00004000 0 0x1000>;
78 reg = <0x001800 0 0 0 0>;
79 status = "disabled";
80
81 #address-cells = <3>;
82 #size-cells = <2>;
83 ranges;
84
85 nvidia,num-lanes = <2>;
86 };
87 };
88
Thierry Redinged390972012-11-15 22:07:57 +010089 host1x {
90 compatible = "nvidia,tegra30-host1x", "simple-bus";
91 reg = <0x50000000 0x00024000>;
Stephen Warren6cecf912013-02-13 12:51:51 -070092 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, /* syncpt */
93 <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>; /* general */
Hiroshi Doyu05849c92013-05-22 19:45:34 +030094 clocks = <&tegra_car TEGRA30_CLK_HOST1X>;
Thierry Redinged390972012-11-15 22:07:57 +010095
96 #address-cells = <1>;
97 #size-cells = <1>;
98
99 ranges = <0x54000000 0x54000000 0x04000000>;
100
101 mpe {
102 compatible = "nvidia,tegra30-mpe";
103 reg = <0x54040000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700104 interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300105 clocks = <&tegra_car TEGRA30_CLK_MPE>;
Thierry Redinged390972012-11-15 22:07:57 +0100106 };
107
108 vi {
109 compatible = "nvidia,tegra30-vi";
110 reg = <0x54080000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700111 interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300112 clocks = <&tegra_car TEGRA30_CLK_VI>;
Thierry Redinged390972012-11-15 22:07:57 +0100113 };
114
115 epp {
116 compatible = "nvidia,tegra30-epp";
117 reg = <0x540c0000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700118 interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300119 clocks = <&tegra_car TEGRA30_CLK_EPP>;
Thierry Redinged390972012-11-15 22:07:57 +0100120 };
121
122 isp {
123 compatible = "nvidia,tegra30-isp";
124 reg = <0x54100000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700125 interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300126 clocks = <&tegra_car TEGRA30_CLK_ISP>;
Thierry Redinged390972012-11-15 22:07:57 +0100127 };
128
129 gr2d {
130 compatible = "nvidia,tegra30-gr2d";
131 reg = <0x54140000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700132 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300133 clocks = <&tegra_car TEGRA30_CLK_GR2D>;
Thierry Redinged390972012-11-15 22:07:57 +0100134 };
135
136 gr3d {
137 compatible = "nvidia,tegra30-gr3d";
138 reg = <0x54180000 0x00040000>;
Prashant Gaikwad1cbc7332013-01-11 13:31:22 +0530139 clocks = <&tegra_car 24 &tegra_car 98>;
140 clock-names = "3d", "3d2";
Thierry Redinged390972012-11-15 22:07:57 +0100141 };
142
143 dc@54200000 {
144 compatible = "nvidia,tegra30-dc";
145 reg = <0x54200000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700146 interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300147 clocks = <&tegra_car TEGRA30_CLK_DISP1>,
148 <&tegra_car TEGRA30_CLK_PLL_P>;
Prashant Gaikwad1cbc7332013-01-11 13:31:22 +0530149 clock-names = "disp1", "parent";
Thierry Redinged390972012-11-15 22:07:57 +0100150
151 rgb {
152 status = "disabled";
153 };
154 };
155
156 dc@54240000 {
157 compatible = "nvidia,tegra30-dc";
158 reg = <0x54240000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700159 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300160 clocks = <&tegra_car TEGRA30_CLK_DISP2>,
161 <&tegra_car TEGRA30_CLK_PLL_P>;
Prashant Gaikwad1cbc7332013-01-11 13:31:22 +0530162 clock-names = "disp2", "parent";
Thierry Redinged390972012-11-15 22:07:57 +0100163
164 rgb {
165 status = "disabled";
166 };
167 };
168
169 hdmi {
170 compatible = "nvidia,tegra30-hdmi";
171 reg = <0x54280000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700172 interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300173 clocks = <&tegra_car TEGRA30_CLK_HDMI>,
174 <&tegra_car TEGRA30_CLK_PLL_D2_OUT0>;
Prashant Gaikwad1cbc7332013-01-11 13:31:22 +0530175 clock-names = "hdmi", "parent";
Thierry Redinged390972012-11-15 22:07:57 +0100176 status = "disabled";
177 };
178
179 tvo {
180 compatible = "nvidia,tegra30-tvo";
181 reg = <0x542c0000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700182 interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300183 clocks = <&tegra_car TEGRA30_CLK_TVO>;
Thierry Redinged390972012-11-15 22:07:57 +0100184 status = "disabled";
185 };
186
187 dsi {
188 compatible = "nvidia,tegra30-dsi";
189 reg = <0x54300000 0x00040000>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300190 clocks = <&tegra_car TEGRA30_CLK_DSIA>;
Thierry Redinged390972012-11-15 22:07:57 +0100191 status = "disabled";
192 };
193 };
194
Stephen Warren73368ba2012-09-19 14:17:24 -0600195 timer@50004600 {
196 compatible = "arm,cortex-a9-twd-timer";
197 reg = <0x50040600 0x20>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700198 interrupts = <GIC_PPI 13
199 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300200 clocks = <&tegra_car TEGRA30_CLK_TWD>;
Stephen Warren73368ba2012-09-19 14:17:24 -0600201 };
202
Stephen Warrenf9eb26a2012-05-11 16:17:47 -0600203 intc: interrupt-controller {
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200204 compatible = "arm,cortex-a9-gic";
Stephen Warren5ff48882012-05-11 16:26:03 -0600205 reg = <0x50041000 0x1000
206 0x50040100 0x0100>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600207 interrupt-controller;
208 #interrupt-cells = <3>;
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200209 };
210
Stephen Warrenbb2c1de2013-01-14 10:09:16 -0700211 cache-controller {
212 compatible = "arm,pl310-cache";
213 reg = <0x50043000 0x1000>;
214 arm,data-latency = <6 6 2>;
215 arm,tag-latency = <5 5 2>;
216 cache-unified;
217 cache-level = <2>;
218 };
219
Stephen Warren2f2b7fb2012-09-19 12:02:31 -0600220 timer@60005000 {
221 compatible = "nvidia,tegra30-timer", "nvidia,tegra20-timer";
222 reg = <0x60005000 0x400>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700223 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
224 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
225 <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
226 <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
227 <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
228 <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300229 clocks = <&tegra_car TEGRA30_CLK_TIMER>;
Stephen Warren2f2b7fb2012-09-19 12:02:31 -0600230 };
231
Prashant Gaikwad95985662013-01-11 13:16:23 +0530232 tegra_car: clock {
233 compatible = "nvidia,tegra30-car";
234 reg = <0x60006000 0x1000>;
235 #clock-cells = <1>;
236 };
237
Stephen Warrenf9eb26a2012-05-11 16:17:47 -0600238 apbdma: dma {
Stephen Warren8051b752012-01-11 16:09:54 -0700239 compatible = "nvidia,tegra30-apbdma", "nvidia,tegra20-apbdma";
240 reg = <0x6000a000 0x1400>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700241 interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
242 <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
243 <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
244 <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
245 <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
246 <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
247 <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
248 <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
249 <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
250 <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
251 <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
252 <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
253 <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
254 <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
255 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
256 <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>,
257 <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>,
258 <GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>,
259 <GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>,
260 <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
261 <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>,
262 <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>,
263 <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>,
264 <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>,
265 <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>,
266 <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>,
267 <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>,
268 <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>,
269 <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>,
270 <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>,
271 <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
272 <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300273 clocks = <&tegra_car TEGRA30_CLK_APBDMA>;
Stephen Warren8051b752012-01-11 16:09:54 -0700274 };
275
Stephen Warrenc04abb32012-05-11 17:03:26 -0600276 ahb: ahb {
277 compatible = "nvidia,tegra30-ahb";
278 reg = <0x6000c004 0x14c>; /* AHB Arbitration + Gizmo Controller */
279 };
280
281 gpio: gpio {
Laxman Dewangan35f210e2012-12-19 20:27:12 +0530282 compatible = "nvidia,tegra30-gpio";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600283 reg = <0x6000d000 0x1000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700284 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>,
285 <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>,
286 <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>,
287 <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>,
288 <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
289 <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>,
290 <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>,
291 <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warrenc04abb32012-05-11 17:03:26 -0600292 #gpio-cells = <2>;
293 gpio-controller;
294 #interrupt-cells = <2>;
295 interrupt-controller;
296 };
297
298 pinmux: pinmux {
299 compatible = "nvidia,tegra30-pinmux";
Pritesh Raithatha322337b2012-10-30 15:37:09 +0530300 reg = <0x70000868 0xd4 /* Pad control registers */
301 0x70003000 0x3e4>; /* Mux registers */
Stephen Warrenc04abb32012-05-11 17:03:26 -0600302 };
303
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530304 /*
305 * There are two serial driver i.e. 8250 based simple serial
306 * driver and APB DMA based serial driver for higher baudrate
307 * and performace. To enable the 8250 based driver, the compatible
308 * is "nvidia,tegra30-uart", "nvidia,tegra20-uart" and to enable
309 * the APB DMA based serial driver, the comptible is
310 * "nvidia,tegra30-hsuart", "nvidia,tegra20-hsuart".
311 */
312 uarta: serial@70006000 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600313 compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart";
314 reg = <0x70006000 0x40>;
315 reg-shift = <2>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700316 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530317 nvidia,dma-request-selector = <&apbdma 8>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300318 clocks = <&tegra_car TEGRA30_CLK_UARTA>;
Roland Stigge223ef782012-06-11 21:09:45 +0200319 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600320 };
321
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530322 uartb: serial@70006040 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600323 compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart";
324 reg = <0x70006040 0x40>;
325 reg-shift = <2>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700326 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530327 nvidia,dma-request-selector = <&apbdma 9>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300328 clocks = <&tegra_car TEGRA30_CLK_UARTB>;
Roland Stigge223ef782012-06-11 21:09:45 +0200329 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600330 };
331
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530332 uartc: serial@70006200 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600333 compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart";
334 reg = <0x70006200 0x100>;
335 reg-shift = <2>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700336 interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530337 nvidia,dma-request-selector = <&apbdma 10>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300338 clocks = <&tegra_car TEGRA30_CLK_UARTC>;
Roland Stigge223ef782012-06-11 21:09:45 +0200339 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600340 };
341
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530342 uartd: serial@70006300 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600343 compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart";
344 reg = <0x70006300 0x100>;
345 reg-shift = <2>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700346 interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530347 nvidia,dma-request-selector = <&apbdma 19>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300348 clocks = <&tegra_car TEGRA30_CLK_UARTD>;
Roland Stigge223ef782012-06-11 21:09:45 +0200349 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600350 };
351
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530352 uarte: serial@70006400 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600353 compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart";
354 reg = <0x70006400 0x100>;
355 reg-shift = <2>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700356 interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530357 nvidia,dma-request-selector = <&apbdma 20>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300358 clocks = <&tegra_car TEGRA30_CLK_UARTE>;
Roland Stigge223ef782012-06-11 21:09:45 +0200359 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600360 };
361
Thierry Reding2b8b15d2012-09-20 17:06:05 +0200362 pwm: pwm {
Thierry Reding140fd972011-12-21 08:04:13 +0100363 compatible = "nvidia,tegra30-pwm", "nvidia,tegra20-pwm";
364 reg = <0x7000a000 0x100>;
365 #pwm-cells = <2>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300366 clocks = <&tegra_car TEGRA30_CLK_PWM>;
Andrew Chewb69cd982013-03-12 16:40:51 -0700367 status = "disabled";
Thierry Reding140fd972011-12-21 08:04:13 +0100368 };
369
Stephen Warren380e04a2012-09-19 12:13:16 -0600370 rtc {
371 compatible = "nvidia,tegra30-rtc", "nvidia,tegra20-rtc";
372 reg = <0x7000e000 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700373 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300374 clocks = <&tegra_car TEGRA30_CLK_RTC>;
Stephen Warren380e04a2012-09-19 12:13:16 -0600375 };
376
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200377 i2c@7000c000 {
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200378 compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c";
Stephen Warrenba04c282012-05-11 16:28:59 -0600379 reg = <0x7000c000 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700380 interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600381 #address-cells = <1>;
382 #size-cells = <0>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300383 clocks = <&tegra_car TEGRA30_CLK_I2C1>,
384 <&tegra_car TEGRA30_CLK_PLL_P_OUT3>;
Prashant Gaikwad1cbc7332013-01-11 13:31:22 +0530385 clock-names = "div-clk", "fast-clk";
Roland Stigge223ef782012-06-11 21:09:45 +0200386 status = "disabled";
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200387 };
388
389 i2c@7000c400 {
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200390 compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c";
Stephen Warrenba04c282012-05-11 16:28:59 -0600391 reg = <0x7000c400 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700392 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600393 #address-cells = <1>;
394 #size-cells = <0>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300395 clocks = <&tegra_car TEGRA30_CLK_I2C2>,
396 <&tegra_car TEGRA30_CLK_PLL_P_OUT3>;
Prashant Gaikwad1cbc7332013-01-11 13:31:22 +0530397 clock-names = "div-clk", "fast-clk";
Roland Stigge223ef782012-06-11 21:09:45 +0200398 status = "disabled";
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200399 };
400
401 i2c@7000c500 {
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200402 compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c";
Stephen Warrenba04c282012-05-11 16:28:59 -0600403 reg = <0x7000c500 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700404 interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600405 #address-cells = <1>;
406 #size-cells = <0>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300407 clocks = <&tegra_car TEGRA30_CLK_I2C3>,
408 <&tegra_car TEGRA30_CLK_PLL_P_OUT3>;
Prashant Gaikwad1cbc7332013-01-11 13:31:22 +0530409 clock-names = "div-clk", "fast-clk";
Roland Stigge223ef782012-06-11 21:09:45 +0200410 status = "disabled";
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200411 };
412
413 i2c@7000c700 {
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200414 compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c";
415 reg = <0x7000c700 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700416 interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600417 #address-cells = <1>;
418 #size-cells = <0>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300419 clocks = <&tegra_car TEGRA30_CLK_I2C4>,
420 <&tegra_car TEGRA30_CLK_PLL_P_OUT3>;
Prashant Gaikwad1cbc7332013-01-11 13:31:22 +0530421 clock-names = "div-clk", "fast-clk";
Roland Stigge223ef782012-06-11 21:09:45 +0200422 status = "disabled";
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200423 };
424
425 i2c@7000d000 {
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200426 compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c";
Stephen Warrenba04c282012-05-11 16:28:59 -0600427 reg = <0x7000d000 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700428 interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600429 #address-cells = <1>;
430 #size-cells = <0>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300431 clocks = <&tegra_car TEGRA30_CLK_I2C5>,
432 <&tegra_car TEGRA30_CLK_PLL_P_OUT3>;
Prashant Gaikwad1cbc7332013-01-11 13:31:22 +0530433 clock-names = "div-clk", "fast-clk";
Roland Stigge223ef782012-06-11 21:09:45 +0200434 status = "disabled";
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200435 };
436
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530437 spi@7000d400 {
438 compatible = "nvidia,tegra30-slink", "nvidia,tegra20-slink";
439 reg = <0x7000d400 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700440 interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530441 nvidia,dma-request-selector = <&apbdma 15>;
442 #address-cells = <1>;
443 #size-cells = <0>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300444 clocks = <&tegra_car TEGRA30_CLK_SBC1>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530445 status = "disabled";
446 };
447
448 spi@7000d600 {
449 compatible = "nvidia,tegra30-slink", "nvidia,tegra20-slink";
450 reg = <0x7000d600 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700451 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530452 nvidia,dma-request-selector = <&apbdma 16>;
453 #address-cells = <1>;
454 #size-cells = <0>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300455 clocks = <&tegra_car TEGRA30_CLK_SBC2>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530456 status = "disabled";
457 };
458
459 spi@7000d800 {
460 compatible = "nvidia,tegra30-slink", "nvidia,tegra20-slink";
Laxman Dewangan57471c82013-03-22 12:35:06 -0600461 reg = <0x7000d800 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700462 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530463 nvidia,dma-request-selector = <&apbdma 17>;
464 #address-cells = <1>;
465 #size-cells = <0>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300466 clocks = <&tegra_car TEGRA30_CLK_SBC3>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530467 status = "disabled";
468 };
469
470 spi@7000da00 {
471 compatible = "nvidia,tegra30-slink", "nvidia,tegra20-slink";
472 reg = <0x7000da00 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700473 interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530474 nvidia,dma-request-selector = <&apbdma 18>;
475 #address-cells = <1>;
476 #size-cells = <0>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300477 clocks = <&tegra_car TEGRA30_CLK_SBC4>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530478 status = "disabled";
479 };
480
481 spi@7000dc00 {
482 compatible = "nvidia,tegra30-slink", "nvidia,tegra20-slink";
483 reg = <0x7000dc00 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700484 interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530485 nvidia,dma-request-selector = <&apbdma 27>;
486 #address-cells = <1>;
487 #size-cells = <0>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300488 clocks = <&tegra_car TEGRA30_CLK_SBC5>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530489 status = "disabled";
490 };
491
492 spi@7000de00 {
493 compatible = "nvidia,tegra30-slink", "nvidia,tegra20-slink";
494 reg = <0x7000de00 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700495 interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530496 nvidia,dma-request-selector = <&apbdma 28>;
497 #address-cells = <1>;
498 #size-cells = <0>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300499 clocks = <&tegra_car TEGRA30_CLK_SBC6>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530500 status = "disabled";
501 };
502
Laxman Dewangan699ed4b2013-01-11 19:03:03 +0530503 kbc {
504 compatible = "nvidia,tegra30-kbc", "nvidia,tegra20-kbc";
505 reg = <0x7000e200 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700506 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300507 clocks = <&tegra_car TEGRA30_CLK_KBC>;
Laxman Dewangan699ed4b2013-01-11 19:03:03 +0530508 status = "disabled";
509 };
510
Stephen Warrenc04abb32012-05-11 17:03:26 -0600511 pmc {
Joseph Lo2b84e532013-02-26 16:27:43 +0000512 compatible = "nvidia,tegra30-pmc";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600513 reg = <0x7000e400 0x400>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300514 clocks = <&tegra_car TEGRA30_CLK_PCLK>, <&clk32k_in>;
Joseph Lo7021d122013-04-03 19:31:27 +0800515 clock-names = "pclk", "clk32k_in";
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200516 };
517
hdoyu@nvidia.coma9140aa2012-05-16 19:47:44 +0000518 memory-controller {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600519 compatible = "nvidia,tegra30-mc";
520 reg = <0x7000f000 0x010
521 0x7000f03c 0x1b4
522 0x7000f200 0x028
523 0x7000f284 0x17c>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700524 interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200525 };
526
Hiroshi Doyu3fbf07d2013-01-29 10:30:29 +0200527 iommu {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600528 compatible = "nvidia,tegra30-smmu";
529 reg = <0x7000f010 0x02c
530 0x7000f1f0 0x010
531 0x7000f228 0x05c>;
532 nvidia,#asids = <4>; /* # of ASIDs */
533 dma-window = <0 0x40000000>; /* IOVA start & length */
534 nvidia,ahb = <&ahb>;
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200535 };
Stephen Warren9ee6a5c2012-03-27 12:40:53 -0600536
537 ahub {
538 compatible = "nvidia,tegra30-ahub";
Stephen Warren5ff48882012-05-11 16:26:03 -0600539 reg = <0x70080000 0x200
540 0x70080200 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700541 interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warren9ee6a5c2012-03-27 12:40:53 -0600542 nvidia,dma-request-selector = <&apbdma 1>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300543 clocks = <&tegra_car TEGRA30_CLK_D_AUDIO>,
544 <&tegra_car TEGRA30_CLK_APBIF>,
545 <&tegra_car TEGRA30_CLK_I2S0>,
546 <&tegra_car TEGRA30_CLK_I2S1>,
547 <&tegra_car TEGRA30_CLK_I2S2>,
548 <&tegra_car TEGRA30_CLK_I2S3>,
549 <&tegra_car TEGRA30_CLK_I2S4>,
550 <&tegra_car TEGRA30_CLK_DAM0>,
551 <&tegra_car TEGRA30_CLK_DAM1>,
552 <&tegra_car TEGRA30_CLK_DAM2>,
553 <&tegra_car TEGRA30_CLK_SPDIF_IN>;
Prashant Gaikwad1cbc7332013-01-11 13:31:22 +0530554 clock-names = "d_audio", "apbif", "i2s0", "i2s1", "i2s2",
555 "i2s3", "i2s4", "dam0", "dam1", "dam2",
556 "spdif_in";
Stephen Warren9ee6a5c2012-03-27 12:40:53 -0600557 ranges;
558 #address-cells = <1>;
559 #size-cells = <1>;
560
561 tegra_i2s0: i2s@70080300 {
562 compatible = "nvidia,tegra30-i2s";
563 reg = <0x70080300 0x100>;
564 nvidia,ahub-cif-ids = <4 4>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300565 clocks = <&tegra_car TEGRA30_CLK_I2S0>;
Roland Stigge223ef782012-06-11 21:09:45 +0200566 status = "disabled";
Stephen Warren9ee6a5c2012-03-27 12:40:53 -0600567 };
568
569 tegra_i2s1: i2s@70080400 {
570 compatible = "nvidia,tegra30-i2s";
571 reg = <0x70080400 0x100>;
572 nvidia,ahub-cif-ids = <5 5>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300573 clocks = <&tegra_car TEGRA30_CLK_I2S1>;
Roland Stigge223ef782012-06-11 21:09:45 +0200574 status = "disabled";
Stephen Warren9ee6a5c2012-03-27 12:40:53 -0600575 };
576
577 tegra_i2s2: i2s@70080500 {
578 compatible = "nvidia,tegra30-i2s";
579 reg = <0x70080500 0x100>;
580 nvidia,ahub-cif-ids = <6 6>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300581 clocks = <&tegra_car TEGRA30_CLK_I2S2>;
Roland Stigge223ef782012-06-11 21:09:45 +0200582 status = "disabled";
Stephen Warren9ee6a5c2012-03-27 12:40:53 -0600583 };
584
585 tegra_i2s3: i2s@70080600 {
586 compatible = "nvidia,tegra30-i2s";
587 reg = <0x70080600 0x100>;
588 nvidia,ahub-cif-ids = <7 7>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300589 clocks = <&tegra_car TEGRA30_CLK_I2S3>;
Roland Stigge223ef782012-06-11 21:09:45 +0200590 status = "disabled";
Stephen Warren9ee6a5c2012-03-27 12:40:53 -0600591 };
592
593 tegra_i2s4: i2s@70080700 {
594 compatible = "nvidia,tegra30-i2s";
595 reg = <0x70080700 0x100>;
596 nvidia,ahub-cif-ids = <8 8>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300597 clocks = <&tegra_car TEGRA30_CLK_I2S4>;
Roland Stigge223ef782012-06-11 21:09:45 +0200598 status = "disabled";
Stephen Warren9ee6a5c2012-03-27 12:40:53 -0600599 };
600 };
Hiroshi DOYU7868a9b2012-05-07 09:43:47 +0300601
Stephen Warrenc04abb32012-05-11 17:03:26 -0600602 sdhci@78000000 {
603 compatible = "nvidia,tegra30-sdhci", "nvidia,tegra20-sdhci";
604 reg = <0x78000000 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700605 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300606 clocks = <&tegra_car TEGRA30_CLK_SDMMC1>;
Roland Stigge223ef782012-06-11 21:09:45 +0200607 status = "disabled";
Hiroshi DOYU7868a9b2012-05-07 09:43:47 +0300608 };
hdoyu@nvidia.comecf43742012-05-09 21:42:33 +0000609
Stephen Warrenc04abb32012-05-11 17:03:26 -0600610 sdhci@78000200 {
611 compatible = "nvidia,tegra30-sdhci", "nvidia,tegra20-sdhci";
612 reg = <0x78000200 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700613 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300614 clocks = <&tegra_car TEGRA30_CLK_SDMMC2>;
Roland Stigge223ef782012-06-11 21:09:45 +0200615 status = "disabled";
hdoyu@nvidia.comecf43742012-05-09 21:42:33 +0000616 };
hdoyu@nvidia.com54174a32012-05-09 21:50:21 +0000617
Stephen Warrenc04abb32012-05-11 17:03:26 -0600618 sdhci@78000400 {
619 compatible = "nvidia,tegra30-sdhci", "nvidia,tegra20-sdhci";
620 reg = <0x78000400 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700621 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300622 clocks = <&tegra_car TEGRA30_CLK_SDMMC3>;
Roland Stigge223ef782012-06-11 21:09:45 +0200623 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600624 };
625
626 sdhci@78000600 {
627 compatible = "nvidia,tegra30-sdhci", "nvidia,tegra20-sdhci";
628 reg = <0x78000600 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700629 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300630 clocks = <&tegra_car TEGRA30_CLK_SDMMC4>;
Roland Stigge223ef782012-06-11 21:09:45 +0200631 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600632 };
633
Hiroshi Doyu7d19a342013-01-11 15:11:54 +0200634 cpus {
635 #address-cells = <1>;
636 #size-cells = <0>;
637
638 cpu@0 {
639 device_type = "cpu";
640 compatible = "arm,cortex-a9";
641 reg = <0>;
642 };
643
644 cpu@1 {
645 device_type = "cpu";
646 compatible = "arm,cortex-a9";
647 reg = <1>;
648 };
649
650 cpu@2 {
651 device_type = "cpu";
652 compatible = "arm,cortex-a9";
653 reg = <2>;
654 };
655
656 cpu@3 {
657 device_type = "cpu";
658 compatible = "arm,cortex-a9";
659 reg = <3>;
660 };
661 };
662
Stephen Warrenc04abb32012-05-11 17:03:26 -0600663 pmu {
664 compatible = "arm,cortex-a9-pmu";
Stephen Warren6cecf912013-02-13 12:51:51 -0700665 interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>,
666 <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>,
667 <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>,
668 <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>;
hdoyu@nvidia.com54174a32012-05-09 21:50:21 +0000669 };
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200670};