blob: 782b11b2af6aa53470afed4f2432ce9f00a22c03 [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";
Marc Zyngier870c81a2015-03-11 15:43:01 +000011 interrupt-parent = <&lic>;
Peter De Schrijverc3e00a02011-12-14 17:03:13 +020012
Stephen Warren58ecb232013-11-25 17:53:16 -070013 pcie-controller@00003000 {
Thierry Redinge07e3db2013-08-09 16:49:26 +020014 compatible = "nvidia,tegra30-pcie";
15 device_type = "pci";
16 reg = <0x00003000 0x00000800 /* PADS registers */
17 0x00003800 0x00000200 /* AFI registers */
18 0x10000000 0x10000000>; /* configuration space */
19 reg-names = "pads", "afi", "cs";
20 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH /* controller interrupt */
21 GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>; /* MSI interrupt */
22 interrupt-names = "intr", "msi";
23
Lucas Stach97070bd2014-03-05 14:25:46 +010024 #interrupt-cells = <1>;
25 interrupt-map-mask = <0 0 0 0>;
26 interrupt-map = <0 0 0 0 &intc GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
27
Thierry Redinge07e3db2013-08-09 16:49:26 +020028 bus-range = <0x00 0xff>;
29 #address-cells = <3>;
30 #size-cells = <2>;
31
32 ranges = <0x82000000 0 0x00000000 0x00000000 0 0x00001000 /* port 0 configuration space */
33 0x82000000 0 0x00001000 0x00001000 0 0x00001000 /* port 1 configuration space */
34 0x82000000 0 0x00004000 0x00004000 0 0x00001000 /* port 2 configuration space */
35 0x81000000 0 0 0x02000000 0 0x00010000 /* downstream I/O */
Jay Agarwald7283c12013-08-09 16:49:31 +020036 0x82000000 0 0x20000000 0x20000000 0 0x08000000 /* non-prefetchable memory */
37 0xc2000000 0 0x28000000 0x28000000 0 0x18000000>; /* prefetchable memory */
Thierry Redinge07e3db2013-08-09 16:49:26 +020038
39 clocks = <&tegra_car TEGRA30_CLK_PCIE>,
40 <&tegra_car TEGRA30_CLK_AFI>,
Thierry Redinge07e3db2013-08-09 16:49:26 +020041 <&tegra_car TEGRA30_CLK_PLL_E>,
42 <&tegra_car TEGRA30_CLK_CML0>;
Stephen Warren2bd541f2013-11-07 10:59:42 -070043 clock-names = "pex", "afi", "pll_e", "cml";
Stephen Warren3393d422013-11-06 14:01:16 -070044 resets = <&tegra_car 70>,
45 <&tegra_car 72>,
46 <&tegra_car 74>;
47 reset-names = "pex", "afi", "pcie_x";
Thierry Redinge07e3db2013-08-09 16:49:26 +020048 status = "disabled";
49
50 pci@1,0 {
51 device_type = "pci";
52 assigned-addresses = <0x82000800 0 0x00000000 0 0x1000>;
53 reg = <0x000800 0 0 0 0>;
54 status = "disabled";
55
56 #address-cells = <3>;
57 #size-cells = <2>;
58 ranges;
59
60 nvidia,num-lanes = <2>;
61 };
62
63 pci@2,0 {
64 device_type = "pci";
65 assigned-addresses = <0x82001000 0 0x00001000 0 0x1000>;
66 reg = <0x001000 0 0 0 0>;
67 status = "disabled";
68
69 #address-cells = <3>;
70 #size-cells = <2>;
71 ranges;
72
73 nvidia,num-lanes = <2>;
74 };
75
76 pci@3,0 {
77 device_type = "pci";
78 assigned-addresses = <0x82001800 0 0x00004000 0 0x1000>;
79 reg = <0x001800 0 0 0 0>;
80 status = "disabled";
81
82 #address-cells = <3>;
83 #size-cells = <2>;
84 ranges;
85
86 nvidia,num-lanes = <2>;
87 };
88 };
89
Stephen Warren58ecb232013-11-25 17:53:16 -070090 host1x@50000000 {
Thierry Redinged390972012-11-15 22:07:57 +010091 compatible = "nvidia,tegra30-host1x", "simple-bus";
92 reg = <0x50000000 0x00024000>;
Stephen Warren6cecf912013-02-13 12:51:51 -070093 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, /* syncpt */
94 <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>; /* general */
Hiroshi Doyu05849c92013-05-22 19:45:34 +030095 clocks = <&tegra_car TEGRA30_CLK_HOST1X>;
Stephen Warren3393d422013-11-06 14:01:16 -070096 resets = <&tegra_car 28>;
97 reset-names = "host1x";
Thierry Redinged390972012-11-15 22:07:57 +010098
99 #address-cells = <1>;
100 #size-cells = <1>;
101
102 ranges = <0x54000000 0x54000000 0x04000000>;
103
Stephen Warren58ecb232013-11-25 17:53:16 -0700104 mpe@54040000 {
Thierry Redinged390972012-11-15 22:07:57 +0100105 compatible = "nvidia,tegra30-mpe";
106 reg = <0x54040000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700107 interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300108 clocks = <&tegra_car TEGRA30_CLK_MPE>;
Stephen Warren3393d422013-11-06 14:01:16 -0700109 resets = <&tegra_car 60>;
110 reset-names = "mpe";
Thierry Redinged390972012-11-15 22:07:57 +0100111 };
112
Stephen Warren58ecb232013-11-25 17:53:16 -0700113 vi@54080000 {
Thierry Redinged390972012-11-15 22:07:57 +0100114 compatible = "nvidia,tegra30-vi";
115 reg = <0x54080000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700116 interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300117 clocks = <&tegra_car TEGRA30_CLK_VI>;
Stephen Warren3393d422013-11-06 14:01:16 -0700118 resets = <&tegra_car 20>;
119 reset-names = "vi";
Thierry Redinged390972012-11-15 22:07:57 +0100120 };
121
Stephen Warren58ecb232013-11-25 17:53:16 -0700122 epp@540c0000 {
Thierry Redinged390972012-11-15 22:07:57 +0100123 compatible = "nvidia,tegra30-epp";
124 reg = <0x540c0000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700125 interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300126 clocks = <&tegra_car TEGRA30_CLK_EPP>;
Stephen Warren3393d422013-11-06 14:01:16 -0700127 resets = <&tegra_car 19>;
128 reset-names = "epp";
Thierry Redinged390972012-11-15 22:07:57 +0100129 };
130
Stephen Warren58ecb232013-11-25 17:53:16 -0700131 isp@54100000 {
Thierry Redinged390972012-11-15 22:07:57 +0100132 compatible = "nvidia,tegra30-isp";
133 reg = <0x54100000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700134 interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300135 clocks = <&tegra_car TEGRA30_CLK_ISP>;
Stephen Warren3393d422013-11-06 14:01:16 -0700136 resets = <&tegra_car 23>;
137 reset-names = "isp";
Thierry Redinged390972012-11-15 22:07:57 +0100138 };
139
Stephen Warren58ecb232013-11-25 17:53:16 -0700140 gr2d@54140000 {
Thierry Redinged390972012-11-15 22:07:57 +0100141 compatible = "nvidia,tegra30-gr2d";
142 reg = <0x54140000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700143 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
Thierry Redingda45d732014-01-06 16:20:42 +0100144 clocks = <&tegra_car TEGRA30_CLK_GR2D>;
Stephen Warren3393d422013-11-06 14:01:16 -0700145 resets = <&tegra_car 21>;
146 reset-names = "2d";
Thierry Redinged390972012-11-15 22:07:57 +0100147 };
148
Stephen Warren58ecb232013-11-25 17:53:16 -0700149 gr3d@54180000 {
Thierry Redinged390972012-11-15 22:07:57 +0100150 compatible = "nvidia,tegra30-gr3d";
151 reg = <0x54180000 0x00040000>;
Thierry Redingc71d3902013-10-15 17:28:02 +0200152 clocks = <&tegra_car TEGRA30_CLK_GR3D
153 &tegra_car TEGRA30_CLK_GR3D2>;
Prashant Gaikwad1cbc7332013-01-11 13:31:22 +0530154 clock-names = "3d", "3d2";
Stephen Warren3393d422013-11-06 14:01:16 -0700155 resets = <&tegra_car 24>,
156 <&tegra_car 98>;
157 reset-names = "3d", "3d2";
Thierry Redinged390972012-11-15 22:07:57 +0100158 };
159
160 dc@54200000 {
Thierry Reding05465f42013-10-15 17:27:51 +0200161 compatible = "nvidia,tegra30-dc", "nvidia,tegra20-dc";
Thierry Redinged390972012-11-15 22:07:57 +0100162 reg = <0x54200000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700163 interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300164 clocks = <&tegra_car TEGRA30_CLK_DISP1>,
165 <&tegra_car TEGRA30_CLK_PLL_P>;
Stephen Warrend8f64792013-11-06 14:00:25 -0700166 clock-names = "dc", "parent";
Stephen Warren3393d422013-11-06 14:01:16 -0700167 resets = <&tegra_car 27>;
168 reset-names = "dc";
Thierry Redinged390972012-11-15 22:07:57 +0100169
Thierry Reding6d9adf62014-09-24 15:33:44 +0200170 iommus = <&mc TEGRA_SWGROUP_DC>;
171
Thierry Reding688b56b2014-02-18 23:03:31 +0100172 nvidia,head = <0>;
173
Thierry Redinged390972012-11-15 22:07:57 +0100174 rgb {
175 status = "disabled";
176 };
177 };
178
179 dc@54240000 {
180 compatible = "nvidia,tegra30-dc";
181 reg = <0x54240000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700182 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300183 clocks = <&tegra_car TEGRA30_CLK_DISP2>,
184 <&tegra_car TEGRA30_CLK_PLL_P>;
Stephen Warrend8f64792013-11-06 14:00:25 -0700185 clock-names = "dc", "parent";
Stephen Warren3393d422013-11-06 14:01:16 -0700186 resets = <&tegra_car 26>;
187 reset-names = "dc";
Thierry Redinged390972012-11-15 22:07:57 +0100188
Thierry Reding6d9adf62014-09-24 15:33:44 +0200189 iommus = <&mc TEGRA_SWGROUP_DCB>;
190
Thierry Reding688b56b2014-02-18 23:03:31 +0100191 nvidia,head = <1>;
192
Thierry Redinged390972012-11-15 22:07:57 +0100193 rgb {
194 status = "disabled";
195 };
196 };
197
Stephen Warren58ecb232013-11-25 17:53:16 -0700198 hdmi@54280000 {
Thierry Redinged390972012-11-15 22:07:57 +0100199 compatible = "nvidia,tegra30-hdmi";
200 reg = <0x54280000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700201 interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300202 clocks = <&tegra_car TEGRA30_CLK_HDMI>,
203 <&tegra_car TEGRA30_CLK_PLL_D2_OUT0>;
Prashant Gaikwad1cbc7332013-01-11 13:31:22 +0530204 clock-names = "hdmi", "parent";
Stephen Warren3393d422013-11-06 14:01:16 -0700205 resets = <&tegra_car 51>;
206 reset-names = "hdmi";
Thierry Redinged390972012-11-15 22:07:57 +0100207 status = "disabled";
208 };
209
Stephen Warren58ecb232013-11-25 17:53:16 -0700210 tvo@542c0000 {
Thierry Redinged390972012-11-15 22:07:57 +0100211 compatible = "nvidia,tegra30-tvo";
212 reg = <0x542c0000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700213 interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300214 clocks = <&tegra_car TEGRA30_CLK_TVO>;
Thierry Redinged390972012-11-15 22:07:57 +0100215 status = "disabled";
216 };
217
Stephen Warren58ecb232013-11-25 17:53:16 -0700218 dsi@54300000 {
Thierry Redinged390972012-11-15 22:07:57 +0100219 compatible = "nvidia,tegra30-dsi";
220 reg = <0x54300000 0x00040000>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300221 clocks = <&tegra_car TEGRA30_CLK_DSIA>;
Stephen Warren3393d422013-11-06 14:01:16 -0700222 resets = <&tegra_car 48>;
223 reset-names = "dsi";
Thierry Redinged390972012-11-15 22:07:57 +0100224 status = "disabled";
225 };
226 };
227
Thierry Reding2cda1882015-01-08 13:24:33 +0100228 timer@50040600 {
Stephen Warren73368ba2012-09-19 14:17:24 -0600229 compatible = "arm,cortex-a9-twd-timer";
230 reg = <0x50040600 0x20>;
Marc Zyngier870c81a2015-03-11 15:43:01 +0000231 interrupt-parent = <&intc>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700232 interrupts = <GIC_PPI 13
233 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300234 clocks = <&tegra_car TEGRA30_CLK_TWD>;
Stephen Warren73368ba2012-09-19 14:17:24 -0600235 };
236
Stephen Warren58ecb232013-11-25 17:53:16 -0700237 intc: interrupt-controller@50041000 {
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200238 compatible = "arm,cortex-a9-gic";
Stephen Warren5ff48882012-05-11 16:26:03 -0600239 reg = <0x50041000 0x1000
240 0x50040100 0x0100>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600241 interrupt-controller;
242 #interrupt-cells = <3>;
Marc Zyngier870c81a2015-03-11 15:43:01 +0000243 interrupt-parent = <&intc>;
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200244 };
245
Stephen Warren58ecb232013-11-25 17:53:16 -0700246 cache-controller@50043000 {
Stephen Warrenbb2c1de2013-01-14 10:09:16 -0700247 compatible = "arm,pl310-cache";
248 reg = <0x50043000 0x1000>;
249 arm,data-latency = <6 6 2>;
250 arm,tag-latency = <5 5 2>;
251 cache-unified;
252 cache-level = <2>;
253 };
254
Marc Zyngier870c81a2015-03-11 15:43:01 +0000255 lic: interrupt-controller@60004000 {
256 compatible = "nvidia,tegra30-ictlr";
257 reg = <0x60004000 0x100>,
258 <0x60004100 0x50>,
259 <0x60004200 0x50>,
260 <0x60004300 0x50>,
261 <0x60004400 0x50>;
262 interrupt-controller;
263 #interrupt-cells = <3>;
264 interrupt-parent = <&intc>;
265 };
266
Stephen Warren2f2b7fb2012-09-19 12:02:31 -0600267 timer@60005000 {
268 compatible = "nvidia,tegra30-timer", "nvidia,tegra20-timer";
269 reg = <0x60005000 0x400>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700270 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
271 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
272 <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
273 <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
274 <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
275 <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300276 clocks = <&tegra_car TEGRA30_CLK_TIMER>;
Stephen Warren2f2b7fb2012-09-19 12:02:31 -0600277 };
278
Stephen Warren58ecb232013-11-25 17:53:16 -0700279 tegra_car: clock@60006000 {
Prashant Gaikwad95985662013-01-11 13:16:23 +0530280 compatible = "nvidia,tegra30-car";
281 reg = <0x60006000 0x1000>;
282 #clock-cells = <1>;
Stephen Warren3393d422013-11-06 14:01:16 -0700283 #reset-cells = <1>;
Prashant Gaikwad95985662013-01-11 13:16:23 +0530284 };
285
Thierry Redingb1023132014-08-26 08:14:03 +0200286 flow-controller@60007000 {
287 compatible = "nvidia,tegra30-flowctrl";
288 reg = <0x60007000 0x1000>;
289 };
290
Stephen Warren58ecb232013-11-25 17:53:16 -0700291 apbdma: dma@6000a000 {
Stephen Warren8051b752012-01-11 16:09:54 -0700292 compatible = "nvidia,tegra30-apbdma", "nvidia,tegra20-apbdma";
293 reg = <0x6000a000 0x1400>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700294 interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
295 <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
296 <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
297 <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
298 <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
299 <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
300 <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
301 <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
302 <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
303 <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
304 <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
305 <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
306 <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
307 <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
308 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
309 <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>,
310 <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>,
311 <GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>,
312 <GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>,
313 <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
314 <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>,
315 <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>,
316 <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>,
317 <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>,
318 <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>,
319 <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>,
320 <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>,
321 <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>,
322 <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>,
323 <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>,
324 <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
325 <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300326 clocks = <&tegra_car TEGRA30_CLK_APBDMA>;
Stephen Warren3393d422013-11-06 14:01:16 -0700327 resets = <&tegra_car 34>;
328 reset-names = "dma";
Stephen Warren034d0232013-11-11 13:05:59 -0700329 #dma-cells = <1>;
Stephen Warren8051b752012-01-11 16:09:54 -0700330 };
331
Stephen Warren58ecb232013-11-25 17:53:16 -0700332 ahb: ahb@6000c004 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600333 compatible = "nvidia,tegra30-ahb";
334 reg = <0x6000c004 0x14c>; /* AHB Arbitration + Gizmo Controller */
335 };
336
Stephen Warren58ecb232013-11-25 17:53:16 -0700337 gpio: gpio@6000d000 {
Laxman Dewangan35f210e2012-12-19 20:27:12 +0530338 compatible = "nvidia,tegra30-gpio";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600339 reg = <0x6000d000 0x1000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700340 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>,
341 <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>,
342 <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>,
343 <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>,
344 <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
345 <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>,
346 <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>,
347 <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warrenc04abb32012-05-11 17:03:26 -0600348 #gpio-cells = <2>;
349 gpio-controller;
350 #interrupt-cells = <2>;
351 interrupt-controller;
352 };
353
Peter De Schrijver155dfc72014-06-12 18:36:38 +0300354 apbmisc@70000800 {
355 compatible = "nvidia,tegra30-apbmisc", "nvidia,tegra20-apbmisc";
356 reg = <0x70000800 0x64 /* Chip revision */
357 0x70000008 0x04>; /* Strapping options */
358 };
359
Stephen Warren58ecb232013-11-25 17:53:16 -0700360 pinmux: pinmux@70000868 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600361 compatible = "nvidia,tegra30-pinmux";
Pritesh Raithatha322337b2012-10-30 15:37:09 +0530362 reg = <0x70000868 0xd4 /* Pad control registers */
363 0x70003000 0x3e4>; /* Mux registers */
Stephen Warrenc04abb32012-05-11 17:03:26 -0600364 };
365
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530366 /*
367 * There are two serial driver i.e. 8250 based simple serial
368 * driver and APB DMA based serial driver for higher baudrate
369 * and performace. To enable the 8250 based driver, the compatible
370 * is "nvidia,tegra30-uart", "nvidia,tegra20-uart" and to enable
371 * the APB DMA based serial driver, the comptible is
372 * "nvidia,tegra30-hsuart", "nvidia,tegra20-hsuart".
373 */
374 uarta: serial@70006000 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600375 compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart";
376 reg = <0x70006000 0x40>;
377 reg-shift = <2>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700378 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300379 clocks = <&tegra_car TEGRA30_CLK_UARTA>;
Stephen Warren3393d422013-11-06 14:01:16 -0700380 resets = <&tegra_car 6>;
381 reset-names = "serial";
Stephen Warren034d0232013-11-11 13:05:59 -0700382 dmas = <&apbdma 8>, <&apbdma 8>;
383 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200384 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600385 };
386
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530387 uartb: serial@70006040 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600388 compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart";
389 reg = <0x70006040 0x40>;
390 reg-shift = <2>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700391 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300392 clocks = <&tegra_car TEGRA30_CLK_UARTB>;
Stephen Warren3393d422013-11-06 14:01:16 -0700393 resets = <&tegra_car 7>;
394 reset-names = "serial";
Stephen Warren034d0232013-11-11 13:05:59 -0700395 dmas = <&apbdma 9>, <&apbdma 9>;
396 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200397 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600398 };
399
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530400 uartc: serial@70006200 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600401 compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart";
402 reg = <0x70006200 0x100>;
403 reg-shift = <2>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700404 interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300405 clocks = <&tegra_car TEGRA30_CLK_UARTC>;
Stephen Warren3393d422013-11-06 14:01:16 -0700406 resets = <&tegra_car 55>;
407 reset-names = "serial";
Stephen Warren034d0232013-11-11 13:05:59 -0700408 dmas = <&apbdma 10>, <&apbdma 10>;
409 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200410 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600411 };
412
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530413 uartd: serial@70006300 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600414 compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart";
415 reg = <0x70006300 0x100>;
416 reg-shift = <2>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700417 interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300418 clocks = <&tegra_car TEGRA30_CLK_UARTD>;
Stephen Warren3393d422013-11-06 14:01:16 -0700419 resets = <&tegra_car 65>;
420 reset-names = "serial";
Stephen Warren034d0232013-11-11 13:05:59 -0700421 dmas = <&apbdma 19>, <&apbdma 19>;
422 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200423 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600424 };
425
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530426 uarte: serial@70006400 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600427 compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart";
428 reg = <0x70006400 0x100>;
429 reg-shift = <2>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700430 interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300431 clocks = <&tegra_car TEGRA30_CLK_UARTE>;
Stephen Warren3393d422013-11-06 14:01:16 -0700432 resets = <&tegra_car 66>;
433 reset-names = "serial";
Stephen Warren034d0232013-11-11 13:05:59 -0700434 dmas = <&apbdma 20>, <&apbdma 20>;
435 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200436 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600437 };
438
Stephen Warren58ecb232013-11-25 17:53:16 -0700439 pwm: pwm@7000a000 {
Thierry Reding140fd972011-12-21 08:04:13 +0100440 compatible = "nvidia,tegra30-pwm", "nvidia,tegra20-pwm";
441 reg = <0x7000a000 0x100>;
442 #pwm-cells = <2>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300443 clocks = <&tegra_car TEGRA30_CLK_PWM>;
Stephen Warren3393d422013-11-06 14:01:16 -0700444 resets = <&tegra_car 17>;
445 reset-names = "pwm";
Andrew Chewb69cd982013-03-12 16:40:51 -0700446 status = "disabled";
Thierry Reding140fd972011-12-21 08:04:13 +0100447 };
448
Stephen Warren58ecb232013-11-25 17:53:16 -0700449 rtc@7000e000 {
Stephen Warren380e04a2012-09-19 12:13:16 -0600450 compatible = "nvidia,tegra30-rtc", "nvidia,tegra20-rtc";
451 reg = <0x7000e000 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700452 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300453 clocks = <&tegra_car TEGRA30_CLK_RTC>;
Stephen Warren380e04a2012-09-19 12:13:16 -0600454 };
455
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200456 i2c@7000c000 {
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200457 compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c";
Stephen Warrenba04c282012-05-11 16:28:59 -0600458 reg = <0x7000c000 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700459 interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600460 #address-cells = <1>;
461 #size-cells = <0>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300462 clocks = <&tegra_car TEGRA30_CLK_I2C1>,
463 <&tegra_car TEGRA30_CLK_PLL_P_OUT3>;
Prashant Gaikwad1cbc7332013-01-11 13:31:22 +0530464 clock-names = "div-clk", "fast-clk";
Stephen Warren3393d422013-11-06 14:01:16 -0700465 resets = <&tegra_car 12>;
466 reset-names = "i2c";
Stephen Warren034d0232013-11-11 13:05:59 -0700467 dmas = <&apbdma 21>, <&apbdma 21>;
468 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200469 status = "disabled";
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200470 };
471
472 i2c@7000c400 {
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200473 compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c";
Stephen Warrenba04c282012-05-11 16:28:59 -0600474 reg = <0x7000c400 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700475 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600476 #address-cells = <1>;
477 #size-cells = <0>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300478 clocks = <&tegra_car TEGRA30_CLK_I2C2>,
479 <&tegra_car TEGRA30_CLK_PLL_P_OUT3>;
Prashant Gaikwad1cbc7332013-01-11 13:31:22 +0530480 clock-names = "div-clk", "fast-clk";
Stephen Warren3393d422013-11-06 14:01:16 -0700481 resets = <&tegra_car 54>;
482 reset-names = "i2c";
Stephen Warren034d0232013-11-11 13:05:59 -0700483 dmas = <&apbdma 22>, <&apbdma 22>;
484 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200485 status = "disabled";
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200486 };
487
488 i2c@7000c500 {
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200489 compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c";
Stephen Warrenba04c282012-05-11 16:28:59 -0600490 reg = <0x7000c500 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700491 interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600492 #address-cells = <1>;
493 #size-cells = <0>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300494 clocks = <&tegra_car TEGRA30_CLK_I2C3>,
495 <&tegra_car TEGRA30_CLK_PLL_P_OUT3>;
Prashant Gaikwad1cbc7332013-01-11 13:31:22 +0530496 clock-names = "div-clk", "fast-clk";
Stephen Warren3393d422013-11-06 14:01:16 -0700497 resets = <&tegra_car 67>;
498 reset-names = "i2c";
Stephen Warren034d0232013-11-11 13:05:59 -0700499 dmas = <&apbdma 23>, <&apbdma 23>;
500 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200501 status = "disabled";
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200502 };
503
504 i2c@7000c700 {
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200505 compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c";
506 reg = <0x7000c700 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700507 interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600508 #address-cells = <1>;
509 #size-cells = <0>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300510 clocks = <&tegra_car TEGRA30_CLK_I2C4>,
511 <&tegra_car TEGRA30_CLK_PLL_P_OUT3>;
Stephen Warren3393d422013-11-06 14:01:16 -0700512 resets = <&tegra_car 103>;
513 reset-names = "i2c";
Prashant Gaikwad1cbc7332013-01-11 13:31:22 +0530514 clock-names = "div-clk", "fast-clk";
Stephen Warren034d0232013-11-11 13:05:59 -0700515 dmas = <&apbdma 26>, <&apbdma 26>;
516 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200517 status = "disabled";
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200518 };
519
520 i2c@7000d000 {
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200521 compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c";
Stephen Warrenba04c282012-05-11 16:28:59 -0600522 reg = <0x7000d000 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700523 interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600524 #address-cells = <1>;
525 #size-cells = <0>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300526 clocks = <&tegra_car TEGRA30_CLK_I2C5>,
527 <&tegra_car TEGRA30_CLK_PLL_P_OUT3>;
Prashant Gaikwad1cbc7332013-01-11 13:31:22 +0530528 clock-names = "div-clk", "fast-clk";
Stephen Warren3393d422013-11-06 14:01:16 -0700529 resets = <&tegra_car 47>;
530 reset-names = "i2c";
Stephen Warren034d0232013-11-11 13:05:59 -0700531 dmas = <&apbdma 24>, <&apbdma 24>;
532 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200533 status = "disabled";
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200534 };
535
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530536 spi@7000d400 {
537 compatible = "nvidia,tegra30-slink", "nvidia,tegra20-slink";
538 reg = <0x7000d400 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700539 interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530540 #address-cells = <1>;
541 #size-cells = <0>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300542 clocks = <&tegra_car TEGRA30_CLK_SBC1>;
Stephen Warren3393d422013-11-06 14:01:16 -0700543 resets = <&tegra_car 41>;
544 reset-names = "spi";
Stephen Warren034d0232013-11-11 13:05:59 -0700545 dmas = <&apbdma 15>, <&apbdma 15>;
546 dma-names = "rx", "tx";
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530547 status = "disabled";
548 };
549
550 spi@7000d600 {
551 compatible = "nvidia,tegra30-slink", "nvidia,tegra20-slink";
552 reg = <0x7000d600 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700553 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530554 #address-cells = <1>;
555 #size-cells = <0>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300556 clocks = <&tegra_car TEGRA30_CLK_SBC2>;
Stephen Warren3393d422013-11-06 14:01:16 -0700557 resets = <&tegra_car 44>;
558 reset-names = "spi";
Stephen Warren034d0232013-11-11 13:05:59 -0700559 dmas = <&apbdma 16>, <&apbdma 16>;
560 dma-names = "rx", "tx";
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530561 status = "disabled";
562 };
563
564 spi@7000d800 {
565 compatible = "nvidia,tegra30-slink", "nvidia,tegra20-slink";
Laxman Dewangan57471c82013-03-22 12:35:06 -0600566 reg = <0x7000d800 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700567 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530568 #address-cells = <1>;
569 #size-cells = <0>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300570 clocks = <&tegra_car TEGRA30_CLK_SBC3>;
Stephen Warren3393d422013-11-06 14:01:16 -0700571 resets = <&tegra_car 46>;
572 reset-names = "spi";
Stephen Warren034d0232013-11-11 13:05:59 -0700573 dmas = <&apbdma 17>, <&apbdma 17>;
574 dma-names = "rx", "tx";
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530575 status = "disabled";
576 };
577
578 spi@7000da00 {
579 compatible = "nvidia,tegra30-slink", "nvidia,tegra20-slink";
580 reg = <0x7000da00 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700581 interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530582 #address-cells = <1>;
583 #size-cells = <0>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300584 clocks = <&tegra_car TEGRA30_CLK_SBC4>;
Stephen Warren3393d422013-11-06 14:01:16 -0700585 resets = <&tegra_car 68>;
586 reset-names = "spi";
Stephen Warren034d0232013-11-11 13:05:59 -0700587 dmas = <&apbdma 18>, <&apbdma 18>;
588 dma-names = "rx", "tx";
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530589 status = "disabled";
590 };
591
592 spi@7000dc00 {
593 compatible = "nvidia,tegra30-slink", "nvidia,tegra20-slink";
594 reg = <0x7000dc00 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700595 interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530596 #address-cells = <1>;
597 #size-cells = <0>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300598 clocks = <&tegra_car TEGRA30_CLK_SBC5>;
Stephen Warren3393d422013-11-06 14:01:16 -0700599 resets = <&tegra_car 104>;
600 reset-names = "spi";
Stephen Warren034d0232013-11-11 13:05:59 -0700601 dmas = <&apbdma 27>, <&apbdma 27>;
602 dma-names = "rx", "tx";
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530603 status = "disabled";
604 };
605
606 spi@7000de00 {
607 compatible = "nvidia,tegra30-slink", "nvidia,tegra20-slink";
608 reg = <0x7000de00 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700609 interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530610 #address-cells = <1>;
611 #size-cells = <0>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300612 clocks = <&tegra_car TEGRA30_CLK_SBC6>;
Stephen Warren3393d422013-11-06 14:01:16 -0700613 resets = <&tegra_car 106>;
614 reset-names = "spi";
Stephen Warren034d0232013-11-11 13:05:59 -0700615 dmas = <&apbdma 28>, <&apbdma 28>;
616 dma-names = "rx", "tx";
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530617 status = "disabled";
618 };
619
Stephen Warren58ecb232013-11-25 17:53:16 -0700620 kbc@7000e200 {
Laxman Dewangan699ed4b2013-01-11 19:03:03 +0530621 compatible = "nvidia,tegra30-kbc", "nvidia,tegra20-kbc";
622 reg = <0x7000e200 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700623 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300624 clocks = <&tegra_car TEGRA30_CLK_KBC>;
Stephen Warren3393d422013-11-06 14:01:16 -0700625 resets = <&tegra_car 36>;
626 reset-names = "kbc";
Laxman Dewangan699ed4b2013-01-11 19:03:03 +0530627 status = "disabled";
628 };
629
Stephen Warren58ecb232013-11-25 17:53:16 -0700630 pmc@7000e400 {
Joseph Lo2b84e532013-02-26 16:27:43 +0000631 compatible = "nvidia,tegra30-pmc";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600632 reg = <0x7000e400 0x400>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300633 clocks = <&tegra_car TEGRA30_CLK_PCLK>, <&clk32k_in>;
Joseph Lo7021d122013-04-03 19:31:27 +0800634 clock-names = "pclk", "clk32k_in";
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200635 };
636
Thierry Redinga9fe4682014-07-18 12:13:28 +0200637 mc: memory-controller@7000f000 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600638 compatible = "nvidia,tegra30-mc";
Thierry Redinga9fe4682014-07-18 12:13:28 +0200639 reg = <0x7000f000 0x400>;
640 clocks = <&tegra_car TEGRA30_CLK_MC>;
641 clock-names = "mc";
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200642
Thierry Redinga9fe4682014-07-18 12:13:28 +0200643 interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
644
645 #iommu-cells = <1>;
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200646 };
Stephen Warren9ee6a5c2012-03-27 12:40:53 -0600647
Peter De Schrijver155dfc72014-06-12 18:36:38 +0300648 fuse@7000f800 {
649 compatible = "nvidia,tegra30-efuse";
650 reg = <0x7000f800 0x400>;
651 clocks = <&tegra_car TEGRA30_CLK_FUSE>;
652 clock-names = "fuse";
653 resets = <&tegra_car 39>;
654 reset-names = "fuse";
655 };
656
Marcel Ziswilercbee2612015-04-10 23:35:59 +0200657 hda@70030000 {
658 compatible = "nvidia,tegra30-hda";
659 reg = <0x70030000 0x10000>;
660 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
661 clocks = <&tegra_car TEGRA30_CLK_HDA>,
662 <&tegra_car TEGRA30_CLK_HDA2HDMI>,
663 <&tegra_car TEGRA30_CLK_HDA2CODEC_2X>;
664 clock-names = "hda", "hda2hdmi", "hda2codec_2x";
665 resets = <&tegra_car 125>, /* hda */
666 <&tegra_car 128>, /* hda2hdmi */
667 <&tegra_car 111>; /* hda2codec_2x */
668 reset-names = "hda", "hda2hdmi", "hda2codec_2x";
669 status = "disabled";
670 };
671
Stephen Warren58ecb232013-11-25 17:53:16 -0700672 ahub@70080000 {
Stephen Warren9ee6a5c2012-03-27 12:40:53 -0600673 compatible = "nvidia,tegra30-ahub";
Stephen Warren5ff48882012-05-11 16:26:03 -0600674 reg = <0x70080000 0x200
675 0x70080200 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700676 interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300677 clocks = <&tegra_car TEGRA30_CLK_D_AUDIO>,
Stephen Warren2bd541f2013-11-07 10:59:42 -0700678 <&tegra_car TEGRA30_CLK_APBIF>;
679 clock-names = "d_audio", "apbif";
Stephen Warren3393d422013-11-06 14:01:16 -0700680 resets = <&tegra_car 106>, /* d_audio */
681 <&tegra_car 107>, /* apbif */
682 <&tegra_car 30>, /* i2s0 */
683 <&tegra_car 11>, /* i2s1 */
684 <&tegra_car 18>, /* i2s2 */
685 <&tegra_car 101>, /* i2s3 */
686 <&tegra_car 102>, /* i2s4 */
687 <&tegra_car 108>, /* dam0 */
688 <&tegra_car 109>, /* dam1 */
689 <&tegra_car 110>, /* dam2 */
690 <&tegra_car 10>; /* spdif */
691 reset-names = "d_audio", "apbif", "i2s0", "i2s1", "i2s2",
692 "i2s3", "i2s4", "dam0", "dam1", "dam2",
693 "spdif";
Stephen Warren034d0232013-11-11 13:05:59 -0700694 dmas = <&apbdma 1>, <&apbdma 1>,
695 <&apbdma 2>, <&apbdma 2>,
696 <&apbdma 3>, <&apbdma 3>,
697 <&apbdma 4>, <&apbdma 4>;
698 dma-names = "rx0", "tx0", "rx1", "tx1", "rx2", "tx2",
699 "rx3", "tx3";
Stephen Warren9ee6a5c2012-03-27 12:40:53 -0600700 ranges;
701 #address-cells = <1>;
702 #size-cells = <1>;
703
704 tegra_i2s0: i2s@70080300 {
705 compatible = "nvidia,tegra30-i2s";
706 reg = <0x70080300 0x100>;
707 nvidia,ahub-cif-ids = <4 4>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300708 clocks = <&tegra_car TEGRA30_CLK_I2S0>;
Stephen Warren3393d422013-11-06 14:01:16 -0700709 resets = <&tegra_car 30>;
710 reset-names = "i2s";
Roland Stigge223ef782012-06-11 21:09:45 +0200711 status = "disabled";
Stephen Warren9ee6a5c2012-03-27 12:40:53 -0600712 };
713
714 tegra_i2s1: i2s@70080400 {
715 compatible = "nvidia,tegra30-i2s";
716 reg = <0x70080400 0x100>;
717 nvidia,ahub-cif-ids = <5 5>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300718 clocks = <&tegra_car TEGRA30_CLK_I2S1>;
Stephen Warren3393d422013-11-06 14:01:16 -0700719 resets = <&tegra_car 11>;
720 reset-names = "i2s";
Roland Stigge223ef782012-06-11 21:09:45 +0200721 status = "disabled";
Stephen Warren9ee6a5c2012-03-27 12:40:53 -0600722 };
723
724 tegra_i2s2: i2s@70080500 {
725 compatible = "nvidia,tegra30-i2s";
726 reg = <0x70080500 0x100>;
727 nvidia,ahub-cif-ids = <6 6>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300728 clocks = <&tegra_car TEGRA30_CLK_I2S2>;
Stephen Warren3393d422013-11-06 14:01:16 -0700729 resets = <&tegra_car 18>;
730 reset-names = "i2s";
Roland Stigge223ef782012-06-11 21:09:45 +0200731 status = "disabled";
Stephen Warren9ee6a5c2012-03-27 12:40:53 -0600732 };
733
734 tegra_i2s3: i2s@70080600 {
735 compatible = "nvidia,tegra30-i2s";
736 reg = <0x70080600 0x100>;
737 nvidia,ahub-cif-ids = <7 7>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300738 clocks = <&tegra_car TEGRA30_CLK_I2S3>;
Stephen Warren3393d422013-11-06 14:01:16 -0700739 resets = <&tegra_car 101>;
740 reset-names = "i2s";
Roland Stigge223ef782012-06-11 21:09:45 +0200741 status = "disabled";
Stephen Warren9ee6a5c2012-03-27 12:40:53 -0600742 };
743
744 tegra_i2s4: i2s@70080700 {
745 compatible = "nvidia,tegra30-i2s";
746 reg = <0x70080700 0x100>;
747 nvidia,ahub-cif-ids = <8 8>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300748 clocks = <&tegra_car TEGRA30_CLK_I2S4>;
Stephen Warren3393d422013-11-06 14:01:16 -0700749 resets = <&tegra_car 102>;
750 reset-names = "i2s";
Roland Stigge223ef782012-06-11 21:09:45 +0200751 status = "disabled";
Stephen Warren9ee6a5c2012-03-27 12:40:53 -0600752 };
753 };
Hiroshi DOYU7868a9b2012-05-07 09:43:47 +0300754
Stephen Warrenc04abb32012-05-11 17:03:26 -0600755 sdhci@78000000 {
756 compatible = "nvidia,tegra30-sdhci", "nvidia,tegra20-sdhci";
757 reg = <0x78000000 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700758 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300759 clocks = <&tegra_car TEGRA30_CLK_SDMMC1>;
Stephen Warren3393d422013-11-06 14:01:16 -0700760 resets = <&tegra_car 14>;
761 reset-names = "sdhci";
Roland Stigge223ef782012-06-11 21:09:45 +0200762 status = "disabled";
Hiroshi DOYU7868a9b2012-05-07 09:43:47 +0300763 };
hdoyu@nvidia.comecf43742012-05-09 21:42:33 +0000764
Stephen Warrenc04abb32012-05-11 17:03:26 -0600765 sdhci@78000200 {
766 compatible = "nvidia,tegra30-sdhci", "nvidia,tegra20-sdhci";
767 reg = <0x78000200 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700768 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300769 clocks = <&tegra_car TEGRA30_CLK_SDMMC2>;
Stephen Warren3393d422013-11-06 14:01:16 -0700770 resets = <&tegra_car 9>;
771 reset-names = "sdhci";
Roland Stigge223ef782012-06-11 21:09:45 +0200772 status = "disabled";
hdoyu@nvidia.comecf43742012-05-09 21:42:33 +0000773 };
hdoyu@nvidia.com54174a32012-05-09 21:50:21 +0000774
Stephen Warrenc04abb32012-05-11 17:03:26 -0600775 sdhci@78000400 {
776 compatible = "nvidia,tegra30-sdhci", "nvidia,tegra20-sdhci";
777 reg = <0x78000400 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700778 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300779 clocks = <&tegra_car TEGRA30_CLK_SDMMC3>;
Stephen Warren3393d422013-11-06 14:01:16 -0700780 resets = <&tegra_car 69>;
781 reset-names = "sdhci";
Roland Stigge223ef782012-06-11 21:09:45 +0200782 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600783 };
784
785 sdhci@78000600 {
786 compatible = "nvidia,tegra30-sdhci", "nvidia,tegra20-sdhci";
787 reg = <0x78000600 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700788 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300789 clocks = <&tegra_car TEGRA30_CLK_SDMMC4>;
Stephen Warren3393d422013-11-06 14:01:16 -0700790 resets = <&tegra_car 15>;
791 reset-names = "sdhci";
Roland Stigge223ef782012-06-11 21:09:45 +0200792 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600793 };
794
Tuomas Tynkkynencc34c9f2013-08-01 18:00:17 +0300795 usb@7d000000 {
796 compatible = "nvidia,tegra30-ehci", "usb-ehci";
797 reg = <0x7d000000 0x4000>;
798 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
799 phy_type = "utmi";
800 clocks = <&tegra_car TEGRA30_CLK_USBD>;
Stephen Warren3393d422013-11-06 14:01:16 -0700801 resets = <&tegra_car 22>;
802 reset-names = "usb";
Tuomas Tynkkynencc34c9f2013-08-01 18:00:17 +0300803 nvidia,needs-double-reset;
804 nvidia,phy = <&phy1>;
805 status = "disabled";
806 };
807
808 phy1: usb-phy@7d000000 {
809 compatible = "nvidia,tegra30-usb-phy";
810 reg = <0x7d000000 0x4000 0x7d000000 0x4000>;
811 phy_type = "utmi";
812 clocks = <&tegra_car TEGRA30_CLK_USBD>,
813 <&tegra_car TEGRA30_CLK_PLL_U>,
814 <&tegra_car TEGRA30_CLK_USBD>;
815 clock-names = "reg", "pll_u", "utmi-pads";
Tuomas Tynkkynen308efde2014-07-04 04:09:37 +0300816 resets = <&tegra_car 22>, <&tegra_car 22>;
817 reset-names = "usb", "utmi-pads";
Tuomas Tynkkynencc34c9f2013-08-01 18:00:17 +0300818 nvidia,hssync-start-delay = <9>;
819 nvidia,idle-wait-delay = <17>;
820 nvidia,elastic-limit = <16>;
821 nvidia,term-range-adj = <6>;
822 nvidia,xcvr-setup = <51>;
823 nvidia.xcvr-setup-use-fuses;
824 nvidia,xcvr-lsfslew = <1>;
825 nvidia,xcvr-lsrslew = <1>;
826 nvidia,xcvr-hsslew = <32>;
827 nvidia,hssquelch-level = <2>;
828 nvidia,hsdiscon-level = <5>;
Tuomas Tynkkynen308efde2014-07-04 04:09:37 +0300829 nvidia,has-utmi-pad-registers;
Tuomas Tynkkynencc34c9f2013-08-01 18:00:17 +0300830 status = "disabled";
831 };
832
833 usb@7d004000 {
834 compatible = "nvidia,tegra30-ehci", "usb-ehci";
835 reg = <0x7d004000 0x4000>;
836 interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
Eric Browerfd6441e2013-12-19 18:08:52 -0800837 phy_type = "utmi";
Tuomas Tynkkynencc34c9f2013-08-01 18:00:17 +0300838 clocks = <&tegra_car TEGRA30_CLK_USB2>;
Stephen Warren3393d422013-11-06 14:01:16 -0700839 resets = <&tegra_car 58>;
840 reset-names = "usb";
Tuomas Tynkkynencc34c9f2013-08-01 18:00:17 +0300841 nvidia,phy = <&phy2>;
842 status = "disabled";
843 };
844
845 phy2: usb-phy@7d004000 {
846 compatible = "nvidia,tegra30-usb-phy";
Eric Browerfd6441e2013-12-19 18:08:52 -0800847 reg = <0x7d004000 0x4000 0x7d000000 0x4000>;
848 phy_type = "utmi";
Tuomas Tynkkynencc34c9f2013-08-01 18:00:17 +0300849 clocks = <&tegra_car TEGRA30_CLK_USB2>,
850 <&tegra_car TEGRA30_CLK_PLL_U>,
Eric Browerfd6441e2013-12-19 18:08:52 -0800851 <&tegra_car TEGRA30_CLK_USBD>;
852 clock-names = "reg", "pll_u", "utmi-pads";
Tuomas Tynkkynen308efde2014-07-04 04:09:37 +0300853 resets = <&tegra_car 58>, <&tegra_car 22>;
854 reset-names = "usb", "utmi-pads";
Eric Browerfd6441e2013-12-19 18:08:52 -0800855 nvidia,hssync-start-delay = <9>;
856 nvidia,idle-wait-delay = <17>;
857 nvidia,elastic-limit = <16>;
858 nvidia,term-range-adj = <6>;
859 nvidia,xcvr-setup = <51>;
860 nvidia.xcvr-setup-use-fuses;
861 nvidia,xcvr-lsfslew = <2>;
862 nvidia,xcvr-lsrslew = <2>;
863 nvidia,xcvr-hsslew = <32>;
864 nvidia,hssquelch-level = <2>;
865 nvidia,hsdiscon-level = <5>;
Tuomas Tynkkynencc34c9f2013-08-01 18:00:17 +0300866 status = "disabled";
867 };
868
869 usb@7d008000 {
870 compatible = "nvidia,tegra30-ehci", "usb-ehci";
871 reg = <0x7d008000 0x4000>;
872 interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
873 phy_type = "utmi";
874 clocks = <&tegra_car TEGRA30_CLK_USB3>;
Stephen Warren3393d422013-11-06 14:01:16 -0700875 resets = <&tegra_car 59>;
876 reset-names = "usb";
Tuomas Tynkkynencc34c9f2013-08-01 18:00:17 +0300877 nvidia,phy = <&phy3>;
878 status = "disabled";
879 };
880
881 phy3: usb-phy@7d008000 {
882 compatible = "nvidia,tegra30-usb-phy";
883 reg = <0x7d008000 0x4000 0x7d000000 0x4000>;
884 phy_type = "utmi";
885 clocks = <&tegra_car TEGRA30_CLK_USB3>,
886 <&tegra_car TEGRA30_CLK_PLL_U>,
887 <&tegra_car TEGRA30_CLK_USBD>;
888 clock-names = "reg", "pll_u", "utmi-pads";
Tuomas Tynkkynen308efde2014-07-04 04:09:37 +0300889 resets = <&tegra_car 59>, <&tegra_car 22>;
890 reset-names = "usb", "utmi-pads";
Tuomas Tynkkynencc34c9f2013-08-01 18:00:17 +0300891 nvidia,hssync-start-delay = <0>;
892 nvidia,idle-wait-delay = <17>;
893 nvidia,elastic-limit = <16>;
894 nvidia,term-range-adj = <6>;
895 nvidia,xcvr-setup = <51>;
896 nvidia.xcvr-setup-use-fuses;
897 nvidia,xcvr-lsfslew = <2>;
898 nvidia,xcvr-lsrslew = <2>;
899 nvidia,xcvr-hsslew = <32>;
900 nvidia,hssquelch-level = <2>;
901 nvidia,hsdiscon-level = <5>;
902 status = "disabled";
903 };
904
Hiroshi Doyu7d19a342013-01-11 15:11:54 +0200905 cpus {
906 #address-cells = <1>;
907 #size-cells = <0>;
908
909 cpu@0 {
910 device_type = "cpu";
911 compatible = "arm,cortex-a9";
912 reg = <0>;
913 };
914
915 cpu@1 {
916 device_type = "cpu";
917 compatible = "arm,cortex-a9";
918 reg = <1>;
919 };
920
921 cpu@2 {
922 device_type = "cpu";
923 compatible = "arm,cortex-a9";
924 reg = <2>;
925 };
926
927 cpu@3 {
928 device_type = "cpu";
929 compatible = "arm,cortex-a9";
930 reg = <3>;
931 };
932 };
933
Stephen Warrenc04abb32012-05-11 17:03:26 -0600934 pmu {
935 compatible = "arm,cortex-a9-pmu";
Stephen Warren6cecf912013-02-13 12:51:51 -0700936 interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>,
937 <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>,
938 <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>,
939 <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>;
hdoyu@nvidia.com54174a32012-05-09 21:50:21 +0000940 };
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200941};