blob: 976eb9ba86590036be7e4115fb83579145d695f3 [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>
Thierry Reding6d9adf62014-09-24 15:33:44 +02003#include <dt-bindings/memory/tegra30-mc.h>
Laxman Dewangana47c6622013-12-05 16:14:09 +05304#include <dt-bindings/pinctrl/pinctrl-tegra.h>
Stephen Warren6cecf912013-02-13 12:51:51 -07005#include <dt-bindings/interrupt-controller/arm-gic.h>
Stephen Warren3325f1b2013-02-12 17:25:15 -07006
Stephen Warren1bd0bd42012-10-17 16:38:21 -06007#include "skeleton.dtsi"
Peter De Schrijverc3e00a02011-12-14 17:03:13 +02008
9/ {
10 compatible = "nvidia,tegra30";
11 interrupt-parent = <&intc>;
12
Laxman Dewanganb6551bb2012-12-19 12:01:11 +053013 aliases {
14 serial0 = &uarta;
15 serial1 = &uartb;
16 serial2 = &uartc;
17 serial3 = &uartd;
18 serial4 = &uarte;
19 };
20
Stephen Warren58ecb232013-11-25 17:53:16 -070021 pcie-controller@00003000 {
Thierry Redinge07e3db2013-08-09 16:49:26 +020022 compatible = "nvidia,tegra30-pcie";
23 device_type = "pci";
24 reg = <0x00003000 0x00000800 /* PADS registers */
25 0x00003800 0x00000200 /* AFI registers */
26 0x10000000 0x10000000>; /* configuration space */
27 reg-names = "pads", "afi", "cs";
28 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH /* controller interrupt */
29 GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>; /* MSI interrupt */
30 interrupt-names = "intr", "msi";
31
Lucas Stach97070bd2014-03-05 14:25:46 +010032 #interrupt-cells = <1>;
33 interrupt-map-mask = <0 0 0 0>;
34 interrupt-map = <0 0 0 0 &intc GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
35
Thierry Redinge07e3db2013-08-09 16:49:26 +020036 bus-range = <0x00 0xff>;
37 #address-cells = <3>;
38 #size-cells = <2>;
39
40 ranges = <0x82000000 0 0x00000000 0x00000000 0 0x00001000 /* port 0 configuration space */
41 0x82000000 0 0x00001000 0x00001000 0 0x00001000 /* port 1 configuration space */
42 0x82000000 0 0x00004000 0x00004000 0 0x00001000 /* port 2 configuration space */
43 0x81000000 0 0 0x02000000 0 0x00010000 /* downstream I/O */
Jay Agarwald7283c12013-08-09 16:49:31 +020044 0x82000000 0 0x20000000 0x20000000 0 0x08000000 /* non-prefetchable memory */
45 0xc2000000 0 0x28000000 0x28000000 0 0x18000000>; /* prefetchable memory */
Thierry Redinge07e3db2013-08-09 16:49:26 +020046
47 clocks = <&tegra_car TEGRA30_CLK_PCIE>,
48 <&tegra_car TEGRA30_CLK_AFI>,
Thierry Redinge07e3db2013-08-09 16:49:26 +020049 <&tegra_car TEGRA30_CLK_PLL_E>,
50 <&tegra_car TEGRA30_CLK_CML0>;
Stephen Warren2bd541f2013-11-07 10:59:42 -070051 clock-names = "pex", "afi", "pll_e", "cml";
Stephen Warren3393d422013-11-06 14:01:16 -070052 resets = <&tegra_car 70>,
53 <&tegra_car 72>,
54 <&tegra_car 74>;
55 reset-names = "pex", "afi", "pcie_x";
Thierry Redinge07e3db2013-08-09 16:49:26 +020056 status = "disabled";
57
58 pci@1,0 {
59 device_type = "pci";
60 assigned-addresses = <0x82000800 0 0x00000000 0 0x1000>;
61 reg = <0x000800 0 0 0 0>;
62 status = "disabled";
63
64 #address-cells = <3>;
65 #size-cells = <2>;
66 ranges;
67
68 nvidia,num-lanes = <2>;
69 };
70
71 pci@2,0 {
72 device_type = "pci";
73 assigned-addresses = <0x82001000 0 0x00001000 0 0x1000>;
74 reg = <0x001000 0 0 0 0>;
75 status = "disabled";
76
77 #address-cells = <3>;
78 #size-cells = <2>;
79 ranges;
80
81 nvidia,num-lanes = <2>;
82 };
83
84 pci@3,0 {
85 device_type = "pci";
86 assigned-addresses = <0x82001800 0 0x00004000 0 0x1000>;
87 reg = <0x001800 0 0 0 0>;
88 status = "disabled";
89
90 #address-cells = <3>;
91 #size-cells = <2>;
92 ranges;
93
94 nvidia,num-lanes = <2>;
95 };
96 };
97
Stephen Warren58ecb232013-11-25 17:53:16 -070098 host1x@50000000 {
Thierry Redinged390972012-11-15 22:07:57 +010099 compatible = "nvidia,tegra30-host1x", "simple-bus";
100 reg = <0x50000000 0x00024000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700101 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, /* syncpt */
102 <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>; /* general */
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300103 clocks = <&tegra_car TEGRA30_CLK_HOST1X>;
Stephen Warren3393d422013-11-06 14:01:16 -0700104 resets = <&tegra_car 28>;
105 reset-names = "host1x";
Thierry Redinged390972012-11-15 22:07:57 +0100106
107 #address-cells = <1>;
108 #size-cells = <1>;
109
110 ranges = <0x54000000 0x54000000 0x04000000>;
111
Stephen Warren58ecb232013-11-25 17:53:16 -0700112 mpe@54040000 {
Thierry Redinged390972012-11-15 22:07:57 +0100113 compatible = "nvidia,tegra30-mpe";
114 reg = <0x54040000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700115 interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300116 clocks = <&tegra_car TEGRA30_CLK_MPE>;
Stephen Warren3393d422013-11-06 14:01:16 -0700117 resets = <&tegra_car 60>;
118 reset-names = "mpe";
Thierry Redinged390972012-11-15 22:07:57 +0100119 };
120
Stephen Warren58ecb232013-11-25 17:53:16 -0700121 vi@54080000 {
Thierry Redinged390972012-11-15 22:07:57 +0100122 compatible = "nvidia,tegra30-vi";
123 reg = <0x54080000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700124 interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300125 clocks = <&tegra_car TEGRA30_CLK_VI>;
Stephen Warren3393d422013-11-06 14:01:16 -0700126 resets = <&tegra_car 20>;
127 reset-names = "vi";
Thierry Redinged390972012-11-15 22:07:57 +0100128 };
129
Stephen Warren58ecb232013-11-25 17:53:16 -0700130 epp@540c0000 {
Thierry Redinged390972012-11-15 22:07:57 +0100131 compatible = "nvidia,tegra30-epp";
132 reg = <0x540c0000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700133 interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300134 clocks = <&tegra_car TEGRA30_CLK_EPP>;
Stephen Warren3393d422013-11-06 14:01:16 -0700135 resets = <&tegra_car 19>;
136 reset-names = "epp";
Thierry Redinged390972012-11-15 22:07:57 +0100137 };
138
Stephen Warren58ecb232013-11-25 17:53:16 -0700139 isp@54100000 {
Thierry Redinged390972012-11-15 22:07:57 +0100140 compatible = "nvidia,tegra30-isp";
141 reg = <0x54100000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700142 interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300143 clocks = <&tegra_car TEGRA30_CLK_ISP>;
Stephen Warren3393d422013-11-06 14:01:16 -0700144 resets = <&tegra_car 23>;
145 reset-names = "isp";
Thierry Redinged390972012-11-15 22:07:57 +0100146 };
147
Stephen Warren58ecb232013-11-25 17:53:16 -0700148 gr2d@54140000 {
Thierry Redinged390972012-11-15 22:07:57 +0100149 compatible = "nvidia,tegra30-gr2d";
150 reg = <0x54140000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700151 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
Thierry Redingda45d732014-01-06 16:20:42 +0100152 clocks = <&tegra_car TEGRA30_CLK_GR2D>;
Stephen Warren3393d422013-11-06 14:01:16 -0700153 resets = <&tegra_car 21>;
154 reset-names = "2d";
Thierry Redinged390972012-11-15 22:07:57 +0100155 };
156
Stephen Warren58ecb232013-11-25 17:53:16 -0700157 gr3d@54180000 {
Thierry Redinged390972012-11-15 22:07:57 +0100158 compatible = "nvidia,tegra30-gr3d";
159 reg = <0x54180000 0x00040000>;
Thierry Redingc71d3902013-10-15 17:28:02 +0200160 clocks = <&tegra_car TEGRA30_CLK_GR3D
161 &tegra_car TEGRA30_CLK_GR3D2>;
Prashant Gaikwad1cbc7332013-01-11 13:31:22 +0530162 clock-names = "3d", "3d2";
Stephen Warren3393d422013-11-06 14:01:16 -0700163 resets = <&tegra_car 24>,
164 <&tegra_car 98>;
165 reset-names = "3d", "3d2";
Thierry Redinged390972012-11-15 22:07:57 +0100166 };
167
168 dc@54200000 {
Thierry Reding05465f42013-10-15 17:27:51 +0200169 compatible = "nvidia,tegra30-dc", "nvidia,tegra20-dc";
Thierry Redinged390972012-11-15 22:07:57 +0100170 reg = <0x54200000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700171 interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300172 clocks = <&tegra_car TEGRA30_CLK_DISP1>,
173 <&tegra_car TEGRA30_CLK_PLL_P>;
Stephen Warrend8f64792013-11-06 14:00:25 -0700174 clock-names = "dc", "parent";
Stephen Warren3393d422013-11-06 14:01:16 -0700175 resets = <&tegra_car 27>;
176 reset-names = "dc";
Thierry Redinged390972012-11-15 22:07:57 +0100177
Thierry Reding6d9adf62014-09-24 15:33:44 +0200178 iommus = <&mc TEGRA_SWGROUP_DC>;
179
Thierry Reding688b56b2014-02-18 23:03:31 +0100180 nvidia,head = <0>;
181
Thierry Redinged390972012-11-15 22:07:57 +0100182 rgb {
183 status = "disabled";
184 };
185 };
186
187 dc@54240000 {
188 compatible = "nvidia,tegra30-dc";
189 reg = <0x54240000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700190 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300191 clocks = <&tegra_car TEGRA30_CLK_DISP2>,
192 <&tegra_car TEGRA30_CLK_PLL_P>;
Stephen Warrend8f64792013-11-06 14:00:25 -0700193 clock-names = "dc", "parent";
Stephen Warren3393d422013-11-06 14:01:16 -0700194 resets = <&tegra_car 26>;
195 reset-names = "dc";
Thierry Redinged390972012-11-15 22:07:57 +0100196
Thierry Reding6d9adf62014-09-24 15:33:44 +0200197 iommus = <&mc TEGRA_SWGROUP_DCB>;
198
Thierry Reding688b56b2014-02-18 23:03:31 +0100199 nvidia,head = <1>;
200
Thierry Redinged390972012-11-15 22:07:57 +0100201 rgb {
202 status = "disabled";
203 };
204 };
205
Stephen Warren58ecb232013-11-25 17:53:16 -0700206 hdmi@54280000 {
Thierry Redinged390972012-11-15 22:07:57 +0100207 compatible = "nvidia,tegra30-hdmi";
208 reg = <0x54280000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700209 interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300210 clocks = <&tegra_car TEGRA30_CLK_HDMI>,
211 <&tegra_car TEGRA30_CLK_PLL_D2_OUT0>;
Prashant Gaikwad1cbc7332013-01-11 13:31:22 +0530212 clock-names = "hdmi", "parent";
Stephen Warren3393d422013-11-06 14:01:16 -0700213 resets = <&tegra_car 51>;
214 reset-names = "hdmi";
Thierry Redinged390972012-11-15 22:07:57 +0100215 status = "disabled";
216 };
217
Stephen Warren58ecb232013-11-25 17:53:16 -0700218 tvo@542c0000 {
Thierry Redinged390972012-11-15 22:07:57 +0100219 compatible = "nvidia,tegra30-tvo";
220 reg = <0x542c0000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700221 interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300222 clocks = <&tegra_car TEGRA30_CLK_TVO>;
Thierry Redinged390972012-11-15 22:07:57 +0100223 status = "disabled";
224 };
225
Stephen Warren58ecb232013-11-25 17:53:16 -0700226 dsi@54300000 {
Thierry Redinged390972012-11-15 22:07:57 +0100227 compatible = "nvidia,tegra30-dsi";
228 reg = <0x54300000 0x00040000>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300229 clocks = <&tegra_car TEGRA30_CLK_DSIA>;
Stephen Warren3393d422013-11-06 14:01:16 -0700230 resets = <&tegra_car 48>;
231 reset-names = "dsi";
Thierry Redinged390972012-11-15 22:07:57 +0100232 status = "disabled";
233 };
234 };
235
Stephen Warren73368ba2012-09-19 14:17:24 -0600236 timer@50004600 {
237 compatible = "arm,cortex-a9-twd-timer";
238 reg = <0x50040600 0x20>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700239 interrupts = <GIC_PPI 13
240 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300241 clocks = <&tegra_car TEGRA30_CLK_TWD>;
Stephen Warren73368ba2012-09-19 14:17:24 -0600242 };
243
Stephen Warren58ecb232013-11-25 17:53:16 -0700244 intc: interrupt-controller@50041000 {
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200245 compatible = "arm,cortex-a9-gic";
Stephen Warren5ff48882012-05-11 16:26:03 -0600246 reg = <0x50041000 0x1000
247 0x50040100 0x0100>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600248 interrupt-controller;
249 #interrupt-cells = <3>;
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200250 };
251
Stephen Warren58ecb232013-11-25 17:53:16 -0700252 cache-controller@50043000 {
Stephen Warrenbb2c1de2013-01-14 10:09:16 -0700253 compatible = "arm,pl310-cache";
254 reg = <0x50043000 0x1000>;
255 arm,data-latency = <6 6 2>;
256 arm,tag-latency = <5 5 2>;
257 cache-unified;
258 cache-level = <2>;
259 };
260
Stephen Warren2f2b7fb2012-09-19 12:02:31 -0600261 timer@60005000 {
262 compatible = "nvidia,tegra30-timer", "nvidia,tegra20-timer";
263 reg = <0x60005000 0x400>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700264 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
265 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
266 <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
267 <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
268 <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
269 <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300270 clocks = <&tegra_car TEGRA30_CLK_TIMER>;
Stephen Warren2f2b7fb2012-09-19 12:02:31 -0600271 };
272
Stephen Warren58ecb232013-11-25 17:53:16 -0700273 tegra_car: clock@60006000 {
Prashant Gaikwad95985662013-01-11 13:16:23 +0530274 compatible = "nvidia,tegra30-car";
275 reg = <0x60006000 0x1000>;
276 #clock-cells = <1>;
Stephen Warren3393d422013-11-06 14:01:16 -0700277 #reset-cells = <1>;
Prashant Gaikwad95985662013-01-11 13:16:23 +0530278 };
279
Thierry Redingb1023132014-08-26 08:14:03 +0200280 flow-controller@60007000 {
281 compatible = "nvidia,tegra30-flowctrl";
282 reg = <0x60007000 0x1000>;
283 };
284
Stephen Warren58ecb232013-11-25 17:53:16 -0700285 apbdma: dma@6000a000 {
Stephen Warren8051b752012-01-11 16:09:54 -0700286 compatible = "nvidia,tegra30-apbdma", "nvidia,tegra20-apbdma";
287 reg = <0x6000a000 0x1400>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700288 interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
289 <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
290 <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
291 <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
292 <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
293 <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
294 <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
295 <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
296 <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
297 <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
298 <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
299 <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
300 <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
301 <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
302 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
303 <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>,
304 <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>,
305 <GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>,
306 <GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>,
307 <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
308 <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>,
309 <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>,
310 <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>,
311 <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>,
312 <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>,
313 <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>,
314 <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>,
315 <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>,
316 <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>,
317 <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>,
318 <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
319 <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300320 clocks = <&tegra_car TEGRA30_CLK_APBDMA>;
Stephen Warren3393d422013-11-06 14:01:16 -0700321 resets = <&tegra_car 34>;
322 reset-names = "dma";
Stephen Warren034d0232013-11-11 13:05:59 -0700323 #dma-cells = <1>;
Stephen Warren8051b752012-01-11 16:09:54 -0700324 };
325
Stephen Warren58ecb232013-11-25 17:53:16 -0700326 ahb: ahb@6000c004 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600327 compatible = "nvidia,tegra30-ahb";
328 reg = <0x6000c004 0x14c>; /* AHB Arbitration + Gizmo Controller */
329 };
330
Stephen Warren58ecb232013-11-25 17:53:16 -0700331 gpio: gpio@6000d000 {
Laxman Dewangan35f210e2012-12-19 20:27:12 +0530332 compatible = "nvidia,tegra30-gpio";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600333 reg = <0x6000d000 0x1000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700334 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>,
335 <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>,
336 <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>,
337 <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>,
338 <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
339 <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>,
340 <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>,
341 <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warrenc04abb32012-05-11 17:03:26 -0600342 #gpio-cells = <2>;
343 gpio-controller;
344 #interrupt-cells = <2>;
345 interrupt-controller;
346 };
347
Peter De Schrijver155dfc72014-06-12 18:36:38 +0300348 apbmisc@70000800 {
349 compatible = "nvidia,tegra30-apbmisc", "nvidia,tegra20-apbmisc";
350 reg = <0x70000800 0x64 /* Chip revision */
351 0x70000008 0x04>; /* Strapping options */
352 };
353
Stephen Warren58ecb232013-11-25 17:53:16 -0700354 pinmux: pinmux@70000868 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600355 compatible = "nvidia,tegra30-pinmux";
Pritesh Raithatha322337b2012-10-30 15:37:09 +0530356 reg = <0x70000868 0xd4 /* Pad control registers */
357 0x70003000 0x3e4>; /* Mux registers */
Stephen Warrenc04abb32012-05-11 17:03:26 -0600358 };
359
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530360 /*
361 * There are two serial driver i.e. 8250 based simple serial
362 * driver and APB DMA based serial driver for higher baudrate
363 * and performace. To enable the 8250 based driver, the compatible
364 * is "nvidia,tegra30-uart", "nvidia,tegra20-uart" and to enable
365 * the APB DMA based serial driver, the comptible is
366 * "nvidia,tegra30-hsuart", "nvidia,tegra20-hsuart".
367 */
368 uarta: serial@70006000 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600369 compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart";
370 reg = <0x70006000 0x40>;
371 reg-shift = <2>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700372 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300373 clocks = <&tegra_car TEGRA30_CLK_UARTA>;
Stephen Warren3393d422013-11-06 14:01:16 -0700374 resets = <&tegra_car 6>;
375 reset-names = "serial";
Stephen Warren034d0232013-11-11 13:05:59 -0700376 dmas = <&apbdma 8>, <&apbdma 8>;
377 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200378 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600379 };
380
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530381 uartb: serial@70006040 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600382 compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart";
383 reg = <0x70006040 0x40>;
384 reg-shift = <2>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700385 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300386 clocks = <&tegra_car TEGRA30_CLK_UARTB>;
Stephen Warren3393d422013-11-06 14:01:16 -0700387 resets = <&tegra_car 7>;
388 reset-names = "serial";
Stephen Warren034d0232013-11-11 13:05:59 -0700389 dmas = <&apbdma 9>, <&apbdma 9>;
390 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200391 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600392 };
393
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530394 uartc: serial@70006200 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600395 compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart";
396 reg = <0x70006200 0x100>;
397 reg-shift = <2>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700398 interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300399 clocks = <&tegra_car TEGRA30_CLK_UARTC>;
Stephen Warren3393d422013-11-06 14:01:16 -0700400 resets = <&tegra_car 55>;
401 reset-names = "serial";
Stephen Warren034d0232013-11-11 13:05:59 -0700402 dmas = <&apbdma 10>, <&apbdma 10>;
403 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200404 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600405 };
406
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530407 uartd: serial@70006300 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600408 compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart";
409 reg = <0x70006300 0x100>;
410 reg-shift = <2>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700411 interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300412 clocks = <&tegra_car TEGRA30_CLK_UARTD>;
Stephen Warren3393d422013-11-06 14:01:16 -0700413 resets = <&tegra_car 65>;
414 reset-names = "serial";
Stephen Warren034d0232013-11-11 13:05:59 -0700415 dmas = <&apbdma 19>, <&apbdma 19>;
416 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200417 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600418 };
419
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530420 uarte: serial@70006400 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600421 compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart";
422 reg = <0x70006400 0x100>;
423 reg-shift = <2>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700424 interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300425 clocks = <&tegra_car TEGRA30_CLK_UARTE>;
Stephen Warren3393d422013-11-06 14:01:16 -0700426 resets = <&tegra_car 66>;
427 reset-names = "serial";
Stephen Warren034d0232013-11-11 13:05:59 -0700428 dmas = <&apbdma 20>, <&apbdma 20>;
429 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200430 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600431 };
432
Stephen Warren58ecb232013-11-25 17:53:16 -0700433 pwm: pwm@7000a000 {
Thierry Reding140fd972011-12-21 08:04:13 +0100434 compatible = "nvidia,tegra30-pwm", "nvidia,tegra20-pwm";
435 reg = <0x7000a000 0x100>;
436 #pwm-cells = <2>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300437 clocks = <&tegra_car TEGRA30_CLK_PWM>;
Stephen Warren3393d422013-11-06 14:01:16 -0700438 resets = <&tegra_car 17>;
439 reset-names = "pwm";
Andrew Chewb69cd982013-03-12 16:40:51 -0700440 status = "disabled";
Thierry Reding140fd972011-12-21 08:04:13 +0100441 };
442
Stephen Warren58ecb232013-11-25 17:53:16 -0700443 rtc@7000e000 {
Stephen Warren380e04a2012-09-19 12:13:16 -0600444 compatible = "nvidia,tegra30-rtc", "nvidia,tegra20-rtc";
445 reg = <0x7000e000 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700446 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300447 clocks = <&tegra_car TEGRA30_CLK_RTC>;
Stephen Warren380e04a2012-09-19 12:13:16 -0600448 };
449
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200450 i2c@7000c000 {
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200451 compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c";
Stephen Warrenba04c282012-05-11 16:28:59 -0600452 reg = <0x7000c000 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700453 interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600454 #address-cells = <1>;
455 #size-cells = <0>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300456 clocks = <&tegra_car TEGRA30_CLK_I2C1>,
457 <&tegra_car TEGRA30_CLK_PLL_P_OUT3>;
Prashant Gaikwad1cbc7332013-01-11 13:31:22 +0530458 clock-names = "div-clk", "fast-clk";
Stephen Warren3393d422013-11-06 14:01:16 -0700459 resets = <&tegra_car 12>;
460 reset-names = "i2c";
Stephen Warren034d0232013-11-11 13:05:59 -0700461 dmas = <&apbdma 21>, <&apbdma 21>;
462 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200463 status = "disabled";
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200464 };
465
466 i2c@7000c400 {
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200467 compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c";
Stephen Warrenba04c282012-05-11 16:28:59 -0600468 reg = <0x7000c400 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700469 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600470 #address-cells = <1>;
471 #size-cells = <0>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300472 clocks = <&tegra_car TEGRA30_CLK_I2C2>,
473 <&tegra_car TEGRA30_CLK_PLL_P_OUT3>;
Prashant Gaikwad1cbc7332013-01-11 13:31:22 +0530474 clock-names = "div-clk", "fast-clk";
Stephen Warren3393d422013-11-06 14:01:16 -0700475 resets = <&tegra_car 54>;
476 reset-names = "i2c";
Stephen Warren034d0232013-11-11 13:05:59 -0700477 dmas = <&apbdma 22>, <&apbdma 22>;
478 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200479 status = "disabled";
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200480 };
481
482 i2c@7000c500 {
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200483 compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c";
Stephen Warrenba04c282012-05-11 16:28:59 -0600484 reg = <0x7000c500 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700485 interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600486 #address-cells = <1>;
487 #size-cells = <0>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300488 clocks = <&tegra_car TEGRA30_CLK_I2C3>,
489 <&tegra_car TEGRA30_CLK_PLL_P_OUT3>;
Prashant Gaikwad1cbc7332013-01-11 13:31:22 +0530490 clock-names = "div-clk", "fast-clk";
Stephen Warren3393d422013-11-06 14:01:16 -0700491 resets = <&tegra_car 67>;
492 reset-names = "i2c";
Stephen Warren034d0232013-11-11 13:05:59 -0700493 dmas = <&apbdma 23>, <&apbdma 23>;
494 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200495 status = "disabled";
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200496 };
497
498 i2c@7000c700 {
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200499 compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c";
500 reg = <0x7000c700 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700501 interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600502 #address-cells = <1>;
503 #size-cells = <0>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300504 clocks = <&tegra_car TEGRA30_CLK_I2C4>,
505 <&tegra_car TEGRA30_CLK_PLL_P_OUT3>;
Stephen Warren3393d422013-11-06 14:01:16 -0700506 resets = <&tegra_car 103>;
507 reset-names = "i2c";
Prashant Gaikwad1cbc7332013-01-11 13:31:22 +0530508 clock-names = "div-clk", "fast-clk";
Stephen Warren034d0232013-11-11 13:05:59 -0700509 dmas = <&apbdma 26>, <&apbdma 26>;
510 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200511 status = "disabled";
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200512 };
513
514 i2c@7000d000 {
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200515 compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c";
Stephen Warrenba04c282012-05-11 16:28:59 -0600516 reg = <0x7000d000 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700517 interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600518 #address-cells = <1>;
519 #size-cells = <0>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300520 clocks = <&tegra_car TEGRA30_CLK_I2C5>,
521 <&tegra_car TEGRA30_CLK_PLL_P_OUT3>;
Prashant Gaikwad1cbc7332013-01-11 13:31:22 +0530522 clock-names = "div-clk", "fast-clk";
Stephen Warren3393d422013-11-06 14:01:16 -0700523 resets = <&tegra_car 47>;
524 reset-names = "i2c";
Stephen Warren034d0232013-11-11 13:05:59 -0700525 dmas = <&apbdma 24>, <&apbdma 24>;
526 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200527 status = "disabled";
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200528 };
529
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530530 spi@7000d400 {
531 compatible = "nvidia,tegra30-slink", "nvidia,tegra20-slink";
532 reg = <0x7000d400 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700533 interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530534 #address-cells = <1>;
535 #size-cells = <0>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300536 clocks = <&tegra_car TEGRA30_CLK_SBC1>;
Stephen Warren3393d422013-11-06 14:01:16 -0700537 resets = <&tegra_car 41>;
538 reset-names = "spi";
Stephen Warren034d0232013-11-11 13:05:59 -0700539 dmas = <&apbdma 15>, <&apbdma 15>;
540 dma-names = "rx", "tx";
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530541 status = "disabled";
542 };
543
544 spi@7000d600 {
545 compatible = "nvidia,tegra30-slink", "nvidia,tegra20-slink";
546 reg = <0x7000d600 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700547 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530548 #address-cells = <1>;
549 #size-cells = <0>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300550 clocks = <&tegra_car TEGRA30_CLK_SBC2>;
Stephen Warren3393d422013-11-06 14:01:16 -0700551 resets = <&tegra_car 44>;
552 reset-names = "spi";
Stephen Warren034d0232013-11-11 13:05:59 -0700553 dmas = <&apbdma 16>, <&apbdma 16>;
554 dma-names = "rx", "tx";
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530555 status = "disabled";
556 };
557
558 spi@7000d800 {
559 compatible = "nvidia,tegra30-slink", "nvidia,tegra20-slink";
Laxman Dewangan57471c82013-03-22 12:35:06 -0600560 reg = <0x7000d800 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700561 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530562 #address-cells = <1>;
563 #size-cells = <0>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300564 clocks = <&tegra_car TEGRA30_CLK_SBC3>;
Stephen Warren3393d422013-11-06 14:01:16 -0700565 resets = <&tegra_car 46>;
566 reset-names = "spi";
Stephen Warren034d0232013-11-11 13:05:59 -0700567 dmas = <&apbdma 17>, <&apbdma 17>;
568 dma-names = "rx", "tx";
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530569 status = "disabled";
570 };
571
572 spi@7000da00 {
573 compatible = "nvidia,tegra30-slink", "nvidia,tegra20-slink";
574 reg = <0x7000da00 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700575 interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530576 #address-cells = <1>;
577 #size-cells = <0>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300578 clocks = <&tegra_car TEGRA30_CLK_SBC4>;
Stephen Warren3393d422013-11-06 14:01:16 -0700579 resets = <&tegra_car 68>;
580 reset-names = "spi";
Stephen Warren034d0232013-11-11 13:05:59 -0700581 dmas = <&apbdma 18>, <&apbdma 18>;
582 dma-names = "rx", "tx";
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530583 status = "disabled";
584 };
585
586 spi@7000dc00 {
587 compatible = "nvidia,tegra30-slink", "nvidia,tegra20-slink";
588 reg = <0x7000dc00 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700589 interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530590 #address-cells = <1>;
591 #size-cells = <0>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300592 clocks = <&tegra_car TEGRA30_CLK_SBC5>;
Stephen Warren3393d422013-11-06 14:01:16 -0700593 resets = <&tegra_car 104>;
594 reset-names = "spi";
Stephen Warren034d0232013-11-11 13:05:59 -0700595 dmas = <&apbdma 27>, <&apbdma 27>;
596 dma-names = "rx", "tx";
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530597 status = "disabled";
598 };
599
600 spi@7000de00 {
601 compatible = "nvidia,tegra30-slink", "nvidia,tegra20-slink";
602 reg = <0x7000de00 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700603 interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530604 #address-cells = <1>;
605 #size-cells = <0>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300606 clocks = <&tegra_car TEGRA30_CLK_SBC6>;
Stephen Warren3393d422013-11-06 14:01:16 -0700607 resets = <&tegra_car 106>;
608 reset-names = "spi";
Stephen Warren034d0232013-11-11 13:05:59 -0700609 dmas = <&apbdma 28>, <&apbdma 28>;
610 dma-names = "rx", "tx";
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530611 status = "disabled";
612 };
613
Stephen Warren58ecb232013-11-25 17:53:16 -0700614 kbc@7000e200 {
Laxman Dewangan699ed4b2013-01-11 19:03:03 +0530615 compatible = "nvidia,tegra30-kbc", "nvidia,tegra20-kbc";
616 reg = <0x7000e200 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700617 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300618 clocks = <&tegra_car TEGRA30_CLK_KBC>;
Stephen Warren3393d422013-11-06 14:01:16 -0700619 resets = <&tegra_car 36>;
620 reset-names = "kbc";
Laxman Dewangan699ed4b2013-01-11 19:03:03 +0530621 status = "disabled";
622 };
623
Stephen Warren58ecb232013-11-25 17:53:16 -0700624 pmc@7000e400 {
Joseph Lo2b84e532013-02-26 16:27:43 +0000625 compatible = "nvidia,tegra30-pmc";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600626 reg = <0x7000e400 0x400>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300627 clocks = <&tegra_car TEGRA30_CLK_PCLK>, <&clk32k_in>;
Joseph Lo7021d122013-04-03 19:31:27 +0800628 clock-names = "pclk", "clk32k_in";
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200629 };
630
Thierry Redinga9fe4682014-07-18 12:13:28 +0200631 mc: memory-controller@7000f000 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600632 compatible = "nvidia,tegra30-mc";
Thierry Redinga9fe4682014-07-18 12:13:28 +0200633 reg = <0x7000f000 0x400>;
634 clocks = <&tegra_car TEGRA30_CLK_MC>;
635 clock-names = "mc";
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200636
Thierry Redinga9fe4682014-07-18 12:13:28 +0200637 interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
638
639 #iommu-cells = <1>;
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200640 };
Stephen Warren9ee6a5c2012-03-27 12:40:53 -0600641
Peter De Schrijver155dfc72014-06-12 18:36:38 +0300642 fuse@7000f800 {
643 compatible = "nvidia,tegra30-efuse";
644 reg = <0x7000f800 0x400>;
645 clocks = <&tegra_car TEGRA30_CLK_FUSE>;
646 clock-names = "fuse";
647 resets = <&tegra_car 39>;
648 reset-names = "fuse";
649 };
650
Stephen Warren58ecb232013-11-25 17:53:16 -0700651 ahub@70080000 {
Stephen Warren9ee6a5c2012-03-27 12:40:53 -0600652 compatible = "nvidia,tegra30-ahub";
Stephen Warren5ff48882012-05-11 16:26:03 -0600653 reg = <0x70080000 0x200
654 0x70080200 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700655 interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300656 clocks = <&tegra_car TEGRA30_CLK_D_AUDIO>,
Stephen Warren2bd541f2013-11-07 10:59:42 -0700657 <&tegra_car TEGRA30_CLK_APBIF>;
658 clock-names = "d_audio", "apbif";
Stephen Warren3393d422013-11-06 14:01:16 -0700659 resets = <&tegra_car 106>, /* d_audio */
660 <&tegra_car 107>, /* apbif */
661 <&tegra_car 30>, /* i2s0 */
662 <&tegra_car 11>, /* i2s1 */
663 <&tegra_car 18>, /* i2s2 */
664 <&tegra_car 101>, /* i2s3 */
665 <&tegra_car 102>, /* i2s4 */
666 <&tegra_car 108>, /* dam0 */
667 <&tegra_car 109>, /* dam1 */
668 <&tegra_car 110>, /* dam2 */
669 <&tegra_car 10>; /* spdif */
670 reset-names = "d_audio", "apbif", "i2s0", "i2s1", "i2s2",
671 "i2s3", "i2s4", "dam0", "dam1", "dam2",
672 "spdif";
Stephen Warren034d0232013-11-11 13:05:59 -0700673 dmas = <&apbdma 1>, <&apbdma 1>,
674 <&apbdma 2>, <&apbdma 2>,
675 <&apbdma 3>, <&apbdma 3>,
676 <&apbdma 4>, <&apbdma 4>;
677 dma-names = "rx0", "tx0", "rx1", "tx1", "rx2", "tx2",
678 "rx3", "tx3";
Stephen Warren9ee6a5c2012-03-27 12:40:53 -0600679 ranges;
680 #address-cells = <1>;
681 #size-cells = <1>;
682
683 tegra_i2s0: i2s@70080300 {
684 compatible = "nvidia,tegra30-i2s";
685 reg = <0x70080300 0x100>;
686 nvidia,ahub-cif-ids = <4 4>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300687 clocks = <&tegra_car TEGRA30_CLK_I2S0>;
Stephen Warren3393d422013-11-06 14:01:16 -0700688 resets = <&tegra_car 30>;
689 reset-names = "i2s";
Roland Stigge223ef782012-06-11 21:09:45 +0200690 status = "disabled";
Stephen Warren9ee6a5c2012-03-27 12:40:53 -0600691 };
692
693 tegra_i2s1: i2s@70080400 {
694 compatible = "nvidia,tegra30-i2s";
695 reg = <0x70080400 0x100>;
696 nvidia,ahub-cif-ids = <5 5>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300697 clocks = <&tegra_car TEGRA30_CLK_I2S1>;
Stephen Warren3393d422013-11-06 14:01:16 -0700698 resets = <&tegra_car 11>;
699 reset-names = "i2s";
Roland Stigge223ef782012-06-11 21:09:45 +0200700 status = "disabled";
Stephen Warren9ee6a5c2012-03-27 12:40:53 -0600701 };
702
703 tegra_i2s2: i2s@70080500 {
704 compatible = "nvidia,tegra30-i2s";
705 reg = <0x70080500 0x100>;
706 nvidia,ahub-cif-ids = <6 6>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300707 clocks = <&tegra_car TEGRA30_CLK_I2S2>;
Stephen Warren3393d422013-11-06 14:01:16 -0700708 resets = <&tegra_car 18>;
709 reset-names = "i2s";
Roland Stigge223ef782012-06-11 21:09:45 +0200710 status = "disabled";
Stephen Warren9ee6a5c2012-03-27 12:40:53 -0600711 };
712
713 tegra_i2s3: i2s@70080600 {
714 compatible = "nvidia,tegra30-i2s";
715 reg = <0x70080600 0x100>;
716 nvidia,ahub-cif-ids = <7 7>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300717 clocks = <&tegra_car TEGRA30_CLK_I2S3>;
Stephen Warren3393d422013-11-06 14:01:16 -0700718 resets = <&tegra_car 101>;
719 reset-names = "i2s";
Roland Stigge223ef782012-06-11 21:09:45 +0200720 status = "disabled";
Stephen Warren9ee6a5c2012-03-27 12:40:53 -0600721 };
722
723 tegra_i2s4: i2s@70080700 {
724 compatible = "nvidia,tegra30-i2s";
725 reg = <0x70080700 0x100>;
726 nvidia,ahub-cif-ids = <8 8>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300727 clocks = <&tegra_car TEGRA30_CLK_I2S4>;
Stephen Warren3393d422013-11-06 14:01:16 -0700728 resets = <&tegra_car 102>;
729 reset-names = "i2s";
Roland Stigge223ef782012-06-11 21:09:45 +0200730 status = "disabled";
Stephen Warren9ee6a5c2012-03-27 12:40:53 -0600731 };
732 };
Hiroshi DOYU7868a9b2012-05-07 09:43:47 +0300733
Stephen Warrenc04abb32012-05-11 17:03:26 -0600734 sdhci@78000000 {
735 compatible = "nvidia,tegra30-sdhci", "nvidia,tegra20-sdhci";
736 reg = <0x78000000 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700737 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300738 clocks = <&tegra_car TEGRA30_CLK_SDMMC1>;
Stephen Warren3393d422013-11-06 14:01:16 -0700739 resets = <&tegra_car 14>;
740 reset-names = "sdhci";
Roland Stigge223ef782012-06-11 21:09:45 +0200741 status = "disabled";
Hiroshi DOYU7868a9b2012-05-07 09:43:47 +0300742 };
hdoyu@nvidia.comecf43742012-05-09 21:42:33 +0000743
Stephen Warrenc04abb32012-05-11 17:03:26 -0600744 sdhci@78000200 {
745 compatible = "nvidia,tegra30-sdhci", "nvidia,tegra20-sdhci";
746 reg = <0x78000200 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700747 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300748 clocks = <&tegra_car TEGRA30_CLK_SDMMC2>;
Stephen Warren3393d422013-11-06 14:01:16 -0700749 resets = <&tegra_car 9>;
750 reset-names = "sdhci";
Roland Stigge223ef782012-06-11 21:09:45 +0200751 status = "disabled";
hdoyu@nvidia.comecf43742012-05-09 21:42:33 +0000752 };
hdoyu@nvidia.com54174a32012-05-09 21:50:21 +0000753
Stephen Warrenc04abb32012-05-11 17:03:26 -0600754 sdhci@78000400 {
755 compatible = "nvidia,tegra30-sdhci", "nvidia,tegra20-sdhci";
756 reg = <0x78000400 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700757 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300758 clocks = <&tegra_car TEGRA30_CLK_SDMMC3>;
Stephen Warren3393d422013-11-06 14:01:16 -0700759 resets = <&tegra_car 69>;
760 reset-names = "sdhci";
Roland Stigge223ef782012-06-11 21:09:45 +0200761 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600762 };
763
764 sdhci@78000600 {
765 compatible = "nvidia,tegra30-sdhci", "nvidia,tegra20-sdhci";
766 reg = <0x78000600 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700767 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300768 clocks = <&tegra_car TEGRA30_CLK_SDMMC4>;
Stephen Warren3393d422013-11-06 14:01:16 -0700769 resets = <&tegra_car 15>;
770 reset-names = "sdhci";
Roland Stigge223ef782012-06-11 21:09:45 +0200771 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600772 };
773
Tuomas Tynkkynencc34c9f2013-08-01 18:00:17 +0300774 usb@7d000000 {
775 compatible = "nvidia,tegra30-ehci", "usb-ehci";
776 reg = <0x7d000000 0x4000>;
777 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
778 phy_type = "utmi";
779 clocks = <&tegra_car TEGRA30_CLK_USBD>;
Stephen Warren3393d422013-11-06 14:01:16 -0700780 resets = <&tegra_car 22>;
781 reset-names = "usb";
Tuomas Tynkkynencc34c9f2013-08-01 18:00:17 +0300782 nvidia,needs-double-reset;
783 nvidia,phy = <&phy1>;
784 status = "disabled";
785 };
786
787 phy1: usb-phy@7d000000 {
788 compatible = "nvidia,tegra30-usb-phy";
789 reg = <0x7d000000 0x4000 0x7d000000 0x4000>;
790 phy_type = "utmi";
791 clocks = <&tegra_car TEGRA30_CLK_USBD>,
792 <&tegra_car TEGRA30_CLK_PLL_U>,
793 <&tegra_car TEGRA30_CLK_USBD>;
794 clock-names = "reg", "pll_u", "utmi-pads";
Tuomas Tynkkynen308efde2014-07-04 04:09:37 +0300795 resets = <&tegra_car 22>, <&tegra_car 22>;
796 reset-names = "usb", "utmi-pads";
Tuomas Tynkkynencc34c9f2013-08-01 18:00:17 +0300797 nvidia,hssync-start-delay = <9>;
798 nvidia,idle-wait-delay = <17>;
799 nvidia,elastic-limit = <16>;
800 nvidia,term-range-adj = <6>;
801 nvidia,xcvr-setup = <51>;
802 nvidia.xcvr-setup-use-fuses;
803 nvidia,xcvr-lsfslew = <1>;
804 nvidia,xcvr-lsrslew = <1>;
805 nvidia,xcvr-hsslew = <32>;
806 nvidia,hssquelch-level = <2>;
807 nvidia,hsdiscon-level = <5>;
Tuomas Tynkkynen308efde2014-07-04 04:09:37 +0300808 nvidia,has-utmi-pad-registers;
Tuomas Tynkkynencc34c9f2013-08-01 18:00:17 +0300809 status = "disabled";
810 };
811
812 usb@7d004000 {
813 compatible = "nvidia,tegra30-ehci", "usb-ehci";
814 reg = <0x7d004000 0x4000>;
815 interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
Eric Browerfd6441e2013-12-19 18:08:52 -0800816 phy_type = "utmi";
Tuomas Tynkkynencc34c9f2013-08-01 18:00:17 +0300817 clocks = <&tegra_car TEGRA30_CLK_USB2>;
Stephen Warren3393d422013-11-06 14:01:16 -0700818 resets = <&tegra_car 58>;
819 reset-names = "usb";
Tuomas Tynkkynencc34c9f2013-08-01 18:00:17 +0300820 nvidia,phy = <&phy2>;
821 status = "disabled";
822 };
823
824 phy2: usb-phy@7d004000 {
825 compatible = "nvidia,tegra30-usb-phy";
Eric Browerfd6441e2013-12-19 18:08:52 -0800826 reg = <0x7d004000 0x4000 0x7d000000 0x4000>;
827 phy_type = "utmi";
Tuomas Tynkkynencc34c9f2013-08-01 18:00:17 +0300828 clocks = <&tegra_car TEGRA30_CLK_USB2>,
829 <&tegra_car TEGRA30_CLK_PLL_U>,
Eric Browerfd6441e2013-12-19 18:08:52 -0800830 <&tegra_car TEGRA30_CLK_USBD>;
831 clock-names = "reg", "pll_u", "utmi-pads";
Tuomas Tynkkynen308efde2014-07-04 04:09:37 +0300832 resets = <&tegra_car 58>, <&tegra_car 22>;
833 reset-names = "usb", "utmi-pads";
Eric Browerfd6441e2013-12-19 18:08:52 -0800834 nvidia,hssync-start-delay = <9>;
835 nvidia,idle-wait-delay = <17>;
836 nvidia,elastic-limit = <16>;
837 nvidia,term-range-adj = <6>;
838 nvidia,xcvr-setup = <51>;
839 nvidia.xcvr-setup-use-fuses;
840 nvidia,xcvr-lsfslew = <2>;
841 nvidia,xcvr-lsrslew = <2>;
842 nvidia,xcvr-hsslew = <32>;
843 nvidia,hssquelch-level = <2>;
844 nvidia,hsdiscon-level = <5>;
Tuomas Tynkkynencc34c9f2013-08-01 18:00:17 +0300845 status = "disabled";
846 };
847
848 usb@7d008000 {
849 compatible = "nvidia,tegra30-ehci", "usb-ehci";
850 reg = <0x7d008000 0x4000>;
851 interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
852 phy_type = "utmi";
853 clocks = <&tegra_car TEGRA30_CLK_USB3>;
Stephen Warren3393d422013-11-06 14:01:16 -0700854 resets = <&tegra_car 59>;
855 reset-names = "usb";
Tuomas Tynkkynencc34c9f2013-08-01 18:00:17 +0300856 nvidia,phy = <&phy3>;
857 status = "disabled";
858 };
859
860 phy3: usb-phy@7d008000 {
861 compatible = "nvidia,tegra30-usb-phy";
862 reg = <0x7d008000 0x4000 0x7d000000 0x4000>;
863 phy_type = "utmi";
864 clocks = <&tegra_car TEGRA30_CLK_USB3>,
865 <&tegra_car TEGRA30_CLK_PLL_U>,
866 <&tegra_car TEGRA30_CLK_USBD>;
867 clock-names = "reg", "pll_u", "utmi-pads";
Tuomas Tynkkynen308efde2014-07-04 04:09:37 +0300868 resets = <&tegra_car 59>, <&tegra_car 22>;
869 reset-names = "usb", "utmi-pads";
Tuomas Tynkkynencc34c9f2013-08-01 18:00:17 +0300870 nvidia,hssync-start-delay = <0>;
871 nvidia,idle-wait-delay = <17>;
872 nvidia,elastic-limit = <16>;
873 nvidia,term-range-adj = <6>;
874 nvidia,xcvr-setup = <51>;
875 nvidia.xcvr-setup-use-fuses;
876 nvidia,xcvr-lsfslew = <2>;
877 nvidia,xcvr-lsrslew = <2>;
878 nvidia,xcvr-hsslew = <32>;
879 nvidia,hssquelch-level = <2>;
880 nvidia,hsdiscon-level = <5>;
881 status = "disabled";
882 };
883
Hiroshi Doyu7d19a342013-01-11 15:11:54 +0200884 cpus {
885 #address-cells = <1>;
886 #size-cells = <0>;
887
888 cpu@0 {
889 device_type = "cpu";
890 compatible = "arm,cortex-a9";
891 reg = <0>;
892 };
893
894 cpu@1 {
895 device_type = "cpu";
896 compatible = "arm,cortex-a9";
897 reg = <1>;
898 };
899
900 cpu@2 {
901 device_type = "cpu";
902 compatible = "arm,cortex-a9";
903 reg = <2>;
904 };
905
906 cpu@3 {
907 device_type = "cpu";
908 compatible = "arm,cortex-a9";
909 reg = <3>;
910 };
911 };
912
Stephen Warrenc04abb32012-05-11 17:03:26 -0600913 pmu {
914 compatible = "arm,cortex-a9-pmu";
Stephen Warren6cecf912013-02-13 12:51:51 -0700915 interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>,
916 <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>,
917 <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>,
918 <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>;
hdoyu@nvidia.com54174a32012-05-09 21:50:21 +0000919 };
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200920};