blob: 5030065cbdfe38df667fb8cc9e89e4154d5a7798 [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>,
Marcel Ziswilerd8b316b2015-08-27 11:44:48 +020045 <&tegra_car 72>,
46 <&tegra_car 74>;
Stephen Warren3393d422013-11-06 14:01:16 -070047 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>,
Marcel Ziswilerd8b316b2015-08-27 11:44:48 +0200156 <&tegra_car 98>;
Stephen Warren3393d422013-11-06 14:01:16 -0700157 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
Jon Huntere7d9b272016-03-17 14:19:05 +0000233 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_EDGE_RISING)>;
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
Nicolas Chauvet0d5ccb32015-08-08 15:58:12 +0200332 ahb: ahb@6000c000 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600333 compatible = "nvidia,tegra30-ahb";
Nicolas Chauvet0d5ccb32015-08-08 15:58:12 +0200334 reg = <0x6000c000 0x150>; /* AHB Arbitration + Gizmo Controller */
Stephen Warrenc04abb32012-05-11 17:03:26 -0600335 };
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;
Thierry Reding4f1d8412015-10-09 17:51:47 +0200352 /*
Tomeu Vizoso17cdddf2015-07-14 10:29:56 +0200353 gpio-ranges = <&pinmux 0 0 248>;
Thierry Reding4f1d8412015-10-09 17:51:47 +0200354 */
Stephen Warrenc04abb32012-05-11 17:03:26 -0600355 };
356
Peter De Schrijver155dfc72014-06-12 18:36:38 +0300357 apbmisc@70000800 {
358 compatible = "nvidia,tegra30-apbmisc", "nvidia,tegra20-apbmisc";
359 reg = <0x70000800 0x64 /* Chip revision */
360 0x70000008 0x04>; /* Strapping options */
361 };
362
Stephen Warren58ecb232013-11-25 17:53:16 -0700363 pinmux: pinmux@70000868 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600364 compatible = "nvidia,tegra30-pinmux";
Pritesh Raithatha322337b2012-10-30 15:37:09 +0530365 reg = <0x70000868 0xd4 /* Pad control registers */
366 0x70003000 0x3e4>; /* Mux registers */
Stephen Warrenc04abb32012-05-11 17:03:26 -0600367 };
368
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530369 /*
370 * There are two serial driver i.e. 8250 based simple serial
371 * driver and APB DMA based serial driver for higher baudrate
372 * and performace. To enable the 8250 based driver, the compatible
373 * is "nvidia,tegra30-uart", "nvidia,tegra20-uart" and to enable
Ralf Ramsauere1098242016-01-26 17:59:17 +0100374 * the APB DMA based serial driver, the compatible is
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530375 * "nvidia,tegra30-hsuart", "nvidia,tegra20-hsuart".
376 */
377 uarta: serial@70006000 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600378 compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart";
379 reg = <0x70006000 0x40>;
380 reg-shift = <2>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700381 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300382 clocks = <&tegra_car TEGRA30_CLK_UARTA>;
Stephen Warren3393d422013-11-06 14:01:16 -0700383 resets = <&tegra_car 6>;
384 reset-names = "serial";
Stephen Warren034d0232013-11-11 13:05:59 -0700385 dmas = <&apbdma 8>, <&apbdma 8>;
386 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200387 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600388 };
389
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530390 uartb: serial@70006040 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600391 compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart";
392 reg = <0x70006040 0x40>;
393 reg-shift = <2>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700394 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300395 clocks = <&tegra_car TEGRA30_CLK_UARTB>;
Stephen Warren3393d422013-11-06 14:01:16 -0700396 resets = <&tegra_car 7>;
397 reset-names = "serial";
Stephen Warren034d0232013-11-11 13:05:59 -0700398 dmas = <&apbdma 9>, <&apbdma 9>;
399 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200400 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600401 };
402
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530403 uartc: serial@70006200 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600404 compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart";
405 reg = <0x70006200 0x100>;
406 reg-shift = <2>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700407 interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300408 clocks = <&tegra_car TEGRA30_CLK_UARTC>;
Stephen Warren3393d422013-11-06 14:01:16 -0700409 resets = <&tegra_car 55>;
410 reset-names = "serial";
Stephen Warren034d0232013-11-11 13:05:59 -0700411 dmas = <&apbdma 10>, <&apbdma 10>;
412 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200413 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600414 };
415
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530416 uartd: serial@70006300 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600417 compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart";
418 reg = <0x70006300 0x100>;
419 reg-shift = <2>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700420 interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300421 clocks = <&tegra_car TEGRA30_CLK_UARTD>;
Stephen Warren3393d422013-11-06 14:01:16 -0700422 resets = <&tegra_car 65>;
423 reset-names = "serial";
Stephen Warren034d0232013-11-11 13:05:59 -0700424 dmas = <&apbdma 19>, <&apbdma 19>;
425 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200426 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600427 };
428
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530429 uarte: serial@70006400 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600430 compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart";
431 reg = <0x70006400 0x100>;
432 reg-shift = <2>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700433 interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300434 clocks = <&tegra_car TEGRA30_CLK_UARTE>;
Stephen Warren3393d422013-11-06 14:01:16 -0700435 resets = <&tegra_car 66>;
436 reset-names = "serial";
Stephen Warren034d0232013-11-11 13:05:59 -0700437 dmas = <&apbdma 20>, <&apbdma 20>;
438 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200439 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600440 };
441
Stephen Warren58ecb232013-11-25 17:53:16 -0700442 pwm: pwm@7000a000 {
Thierry Reding140fd972011-12-21 08:04:13 +0100443 compatible = "nvidia,tegra30-pwm", "nvidia,tegra20-pwm";
444 reg = <0x7000a000 0x100>;
445 #pwm-cells = <2>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300446 clocks = <&tegra_car TEGRA30_CLK_PWM>;
Stephen Warren3393d422013-11-06 14:01:16 -0700447 resets = <&tegra_car 17>;
448 reset-names = "pwm";
Andrew Chewb69cd982013-03-12 16:40:51 -0700449 status = "disabled";
Thierry Reding140fd972011-12-21 08:04:13 +0100450 };
451
Stephen Warren58ecb232013-11-25 17:53:16 -0700452 rtc@7000e000 {
Stephen Warren380e04a2012-09-19 12:13:16 -0600453 compatible = "nvidia,tegra30-rtc", "nvidia,tegra20-rtc";
454 reg = <0x7000e000 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700455 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300456 clocks = <&tegra_car TEGRA30_CLK_RTC>;
Stephen Warren380e04a2012-09-19 12:13:16 -0600457 };
458
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200459 i2c@7000c000 {
Marcel Ziswilerd8b316b2015-08-27 11:44:48 +0200460 compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c";
Stephen Warrenba04c282012-05-11 16:28:59 -0600461 reg = <0x7000c000 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700462 interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600463 #address-cells = <1>;
464 #size-cells = <0>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300465 clocks = <&tegra_car TEGRA30_CLK_I2C1>,
466 <&tegra_car TEGRA30_CLK_PLL_P_OUT3>;
Prashant Gaikwad1cbc7332013-01-11 13:31:22 +0530467 clock-names = "div-clk", "fast-clk";
Stephen Warren3393d422013-11-06 14:01:16 -0700468 resets = <&tegra_car 12>;
469 reset-names = "i2c";
Stephen Warren034d0232013-11-11 13:05:59 -0700470 dmas = <&apbdma 21>, <&apbdma 21>;
471 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200472 status = "disabled";
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200473 };
474
475 i2c@7000c400 {
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200476 compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c";
Stephen Warrenba04c282012-05-11 16:28:59 -0600477 reg = <0x7000c400 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700478 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600479 #address-cells = <1>;
480 #size-cells = <0>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300481 clocks = <&tegra_car TEGRA30_CLK_I2C2>,
482 <&tegra_car TEGRA30_CLK_PLL_P_OUT3>;
Prashant Gaikwad1cbc7332013-01-11 13:31:22 +0530483 clock-names = "div-clk", "fast-clk";
Stephen Warren3393d422013-11-06 14:01:16 -0700484 resets = <&tegra_car 54>;
485 reset-names = "i2c";
Stephen Warren034d0232013-11-11 13:05:59 -0700486 dmas = <&apbdma 22>, <&apbdma 22>;
487 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200488 status = "disabled";
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200489 };
490
491 i2c@7000c500 {
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200492 compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c";
Stephen Warrenba04c282012-05-11 16:28:59 -0600493 reg = <0x7000c500 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700494 interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600495 #address-cells = <1>;
496 #size-cells = <0>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300497 clocks = <&tegra_car TEGRA30_CLK_I2C3>,
498 <&tegra_car TEGRA30_CLK_PLL_P_OUT3>;
Prashant Gaikwad1cbc7332013-01-11 13:31:22 +0530499 clock-names = "div-clk", "fast-clk";
Stephen Warren3393d422013-11-06 14:01:16 -0700500 resets = <&tegra_car 67>;
501 reset-names = "i2c";
Stephen Warren034d0232013-11-11 13:05:59 -0700502 dmas = <&apbdma 23>, <&apbdma 23>;
503 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200504 status = "disabled";
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200505 };
506
507 i2c@7000c700 {
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200508 compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c";
509 reg = <0x7000c700 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700510 interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600511 #address-cells = <1>;
512 #size-cells = <0>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300513 clocks = <&tegra_car TEGRA30_CLK_I2C4>,
514 <&tegra_car TEGRA30_CLK_PLL_P_OUT3>;
Stephen Warren3393d422013-11-06 14:01:16 -0700515 resets = <&tegra_car 103>;
516 reset-names = "i2c";
Prashant Gaikwad1cbc7332013-01-11 13:31:22 +0530517 clock-names = "div-clk", "fast-clk";
Stephen Warren034d0232013-11-11 13:05:59 -0700518 dmas = <&apbdma 26>, <&apbdma 26>;
519 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200520 status = "disabled";
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200521 };
522
523 i2c@7000d000 {
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200524 compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c";
Stephen Warrenba04c282012-05-11 16:28:59 -0600525 reg = <0x7000d000 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700526 interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600527 #address-cells = <1>;
528 #size-cells = <0>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300529 clocks = <&tegra_car TEGRA30_CLK_I2C5>,
530 <&tegra_car TEGRA30_CLK_PLL_P_OUT3>;
Prashant Gaikwad1cbc7332013-01-11 13:31:22 +0530531 clock-names = "div-clk", "fast-clk";
Stephen Warren3393d422013-11-06 14:01:16 -0700532 resets = <&tegra_car 47>;
533 reset-names = "i2c";
Stephen Warren034d0232013-11-11 13:05:59 -0700534 dmas = <&apbdma 24>, <&apbdma 24>;
535 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200536 status = "disabled";
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200537 };
538
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530539 spi@7000d400 {
540 compatible = "nvidia,tegra30-slink", "nvidia,tegra20-slink";
541 reg = <0x7000d400 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700542 interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530543 #address-cells = <1>;
544 #size-cells = <0>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300545 clocks = <&tegra_car TEGRA30_CLK_SBC1>;
Stephen Warren3393d422013-11-06 14:01:16 -0700546 resets = <&tegra_car 41>;
547 reset-names = "spi";
Stephen Warren034d0232013-11-11 13:05:59 -0700548 dmas = <&apbdma 15>, <&apbdma 15>;
549 dma-names = "rx", "tx";
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530550 status = "disabled";
551 };
552
553 spi@7000d600 {
554 compatible = "nvidia,tegra30-slink", "nvidia,tegra20-slink";
555 reg = <0x7000d600 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700556 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530557 #address-cells = <1>;
558 #size-cells = <0>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300559 clocks = <&tegra_car TEGRA30_CLK_SBC2>;
Stephen Warren3393d422013-11-06 14:01:16 -0700560 resets = <&tegra_car 44>;
561 reset-names = "spi";
Stephen Warren034d0232013-11-11 13:05:59 -0700562 dmas = <&apbdma 16>, <&apbdma 16>;
563 dma-names = "rx", "tx";
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530564 status = "disabled";
565 };
566
567 spi@7000d800 {
568 compatible = "nvidia,tegra30-slink", "nvidia,tegra20-slink";
Laxman Dewangan57471c82013-03-22 12:35:06 -0600569 reg = <0x7000d800 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700570 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530571 #address-cells = <1>;
572 #size-cells = <0>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300573 clocks = <&tegra_car TEGRA30_CLK_SBC3>;
Stephen Warren3393d422013-11-06 14:01:16 -0700574 resets = <&tegra_car 46>;
575 reset-names = "spi";
Stephen Warren034d0232013-11-11 13:05:59 -0700576 dmas = <&apbdma 17>, <&apbdma 17>;
577 dma-names = "rx", "tx";
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530578 status = "disabled";
579 };
580
581 spi@7000da00 {
582 compatible = "nvidia,tegra30-slink", "nvidia,tegra20-slink";
583 reg = <0x7000da00 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700584 interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530585 #address-cells = <1>;
586 #size-cells = <0>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300587 clocks = <&tegra_car TEGRA30_CLK_SBC4>;
Stephen Warren3393d422013-11-06 14:01:16 -0700588 resets = <&tegra_car 68>;
589 reset-names = "spi";
Stephen Warren034d0232013-11-11 13:05:59 -0700590 dmas = <&apbdma 18>, <&apbdma 18>;
591 dma-names = "rx", "tx";
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530592 status = "disabled";
593 };
594
595 spi@7000dc00 {
596 compatible = "nvidia,tegra30-slink", "nvidia,tegra20-slink";
597 reg = <0x7000dc00 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700598 interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530599 #address-cells = <1>;
600 #size-cells = <0>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300601 clocks = <&tegra_car TEGRA30_CLK_SBC5>;
Stephen Warren3393d422013-11-06 14:01:16 -0700602 resets = <&tegra_car 104>;
603 reset-names = "spi";
Stephen Warren034d0232013-11-11 13:05:59 -0700604 dmas = <&apbdma 27>, <&apbdma 27>;
605 dma-names = "rx", "tx";
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530606 status = "disabled";
607 };
608
609 spi@7000de00 {
610 compatible = "nvidia,tegra30-slink", "nvidia,tegra20-slink";
611 reg = <0x7000de00 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700612 interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530613 #address-cells = <1>;
614 #size-cells = <0>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300615 clocks = <&tegra_car TEGRA30_CLK_SBC6>;
Stephen Warren3393d422013-11-06 14:01:16 -0700616 resets = <&tegra_car 106>;
617 reset-names = "spi";
Stephen Warren034d0232013-11-11 13:05:59 -0700618 dmas = <&apbdma 28>, <&apbdma 28>;
619 dma-names = "rx", "tx";
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530620 status = "disabled";
621 };
622
Stephen Warren58ecb232013-11-25 17:53:16 -0700623 kbc@7000e200 {
Laxman Dewangan699ed4b2013-01-11 19:03:03 +0530624 compatible = "nvidia,tegra30-kbc", "nvidia,tegra20-kbc";
625 reg = <0x7000e200 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700626 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300627 clocks = <&tegra_car TEGRA30_CLK_KBC>;
Stephen Warren3393d422013-11-06 14:01:16 -0700628 resets = <&tegra_car 36>;
629 reset-names = "kbc";
Laxman Dewangan699ed4b2013-01-11 19:03:03 +0530630 status = "disabled";
631 };
632
Stephen Warren58ecb232013-11-25 17:53:16 -0700633 pmc@7000e400 {
Joseph Lo2b84e532013-02-26 16:27:43 +0000634 compatible = "nvidia,tegra30-pmc";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600635 reg = <0x7000e400 0x400>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300636 clocks = <&tegra_car TEGRA30_CLK_PCLK>, <&clk32k_in>;
Joseph Lo7021d122013-04-03 19:31:27 +0800637 clock-names = "pclk", "clk32k_in";
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200638 };
639
Thierry Redinga9fe4682014-07-18 12:13:28 +0200640 mc: memory-controller@7000f000 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600641 compatible = "nvidia,tegra30-mc";
Thierry Redinga9fe4682014-07-18 12:13:28 +0200642 reg = <0x7000f000 0x400>;
643 clocks = <&tegra_car TEGRA30_CLK_MC>;
644 clock-names = "mc";
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200645
Thierry Redinga9fe4682014-07-18 12:13:28 +0200646 interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
647
648 #iommu-cells = <1>;
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200649 };
Stephen Warren9ee6a5c2012-03-27 12:40:53 -0600650
Peter De Schrijver155dfc72014-06-12 18:36:38 +0300651 fuse@7000f800 {
652 compatible = "nvidia,tegra30-efuse";
653 reg = <0x7000f800 0x400>;
654 clocks = <&tegra_car TEGRA30_CLK_FUSE>;
655 clock-names = "fuse";
656 resets = <&tegra_car 39>;
657 reset-names = "fuse";
658 };
659
Marcel Ziswilercbee2612015-04-10 23:35:59 +0200660 hda@70030000 {
661 compatible = "nvidia,tegra30-hda";
662 reg = <0x70030000 0x10000>;
663 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
664 clocks = <&tegra_car TEGRA30_CLK_HDA>,
Marcel Ziswilerd8b316b2015-08-27 11:44:48 +0200665 <&tegra_car TEGRA30_CLK_HDA2HDMI>,
Marcel Ziswilercbee2612015-04-10 23:35:59 +0200666 <&tegra_car TEGRA30_CLK_HDA2CODEC_2X>;
667 clock-names = "hda", "hda2hdmi", "hda2codec_2x";
668 resets = <&tegra_car 125>, /* hda */
669 <&tegra_car 128>, /* hda2hdmi */
670 <&tegra_car 111>; /* hda2codec_2x */
671 reset-names = "hda", "hda2hdmi", "hda2codec_2x";
672 status = "disabled";
673 };
674
Stephen Warren58ecb232013-11-25 17:53:16 -0700675 ahub@70080000 {
Stephen Warren9ee6a5c2012-03-27 12:40:53 -0600676 compatible = "nvidia,tegra30-ahub";
Stephen Warren5ff48882012-05-11 16:26:03 -0600677 reg = <0x70080000 0x200
678 0x70080200 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700679 interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300680 clocks = <&tegra_car TEGRA30_CLK_D_AUDIO>,
Stephen Warren2bd541f2013-11-07 10:59:42 -0700681 <&tegra_car TEGRA30_CLK_APBIF>;
682 clock-names = "d_audio", "apbif";
Stephen Warren3393d422013-11-06 14:01:16 -0700683 resets = <&tegra_car 106>, /* d_audio */
684 <&tegra_car 107>, /* apbif */
685 <&tegra_car 30>, /* i2s0 */
686 <&tegra_car 11>, /* i2s1 */
687 <&tegra_car 18>, /* i2s2 */
688 <&tegra_car 101>, /* i2s3 */
689 <&tegra_car 102>, /* i2s4 */
690 <&tegra_car 108>, /* dam0 */
691 <&tegra_car 109>, /* dam1 */
692 <&tegra_car 110>, /* dam2 */
693 <&tegra_car 10>; /* spdif */
694 reset-names = "d_audio", "apbif", "i2s0", "i2s1", "i2s2",
695 "i2s3", "i2s4", "dam0", "dam1", "dam2",
696 "spdif";
Stephen Warren034d0232013-11-11 13:05:59 -0700697 dmas = <&apbdma 1>, <&apbdma 1>,
698 <&apbdma 2>, <&apbdma 2>,
699 <&apbdma 3>, <&apbdma 3>,
700 <&apbdma 4>, <&apbdma 4>;
701 dma-names = "rx0", "tx0", "rx1", "tx1", "rx2", "tx2",
702 "rx3", "tx3";
Stephen Warren9ee6a5c2012-03-27 12:40:53 -0600703 ranges;
704 #address-cells = <1>;
705 #size-cells = <1>;
706
707 tegra_i2s0: i2s@70080300 {
708 compatible = "nvidia,tegra30-i2s";
709 reg = <0x70080300 0x100>;
710 nvidia,ahub-cif-ids = <4 4>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300711 clocks = <&tegra_car TEGRA30_CLK_I2S0>;
Stephen Warren3393d422013-11-06 14:01:16 -0700712 resets = <&tegra_car 30>;
713 reset-names = "i2s";
Roland Stigge223ef782012-06-11 21:09:45 +0200714 status = "disabled";
Stephen Warren9ee6a5c2012-03-27 12:40:53 -0600715 };
716
717 tegra_i2s1: i2s@70080400 {
718 compatible = "nvidia,tegra30-i2s";
719 reg = <0x70080400 0x100>;
720 nvidia,ahub-cif-ids = <5 5>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300721 clocks = <&tegra_car TEGRA30_CLK_I2S1>;
Stephen Warren3393d422013-11-06 14:01:16 -0700722 resets = <&tegra_car 11>;
723 reset-names = "i2s";
Roland Stigge223ef782012-06-11 21:09:45 +0200724 status = "disabled";
Stephen Warren9ee6a5c2012-03-27 12:40:53 -0600725 };
726
727 tegra_i2s2: i2s@70080500 {
728 compatible = "nvidia,tegra30-i2s";
729 reg = <0x70080500 0x100>;
730 nvidia,ahub-cif-ids = <6 6>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300731 clocks = <&tegra_car TEGRA30_CLK_I2S2>;
Stephen Warren3393d422013-11-06 14:01:16 -0700732 resets = <&tegra_car 18>;
733 reset-names = "i2s";
Roland Stigge223ef782012-06-11 21:09:45 +0200734 status = "disabled";
Stephen Warren9ee6a5c2012-03-27 12:40:53 -0600735 };
736
737 tegra_i2s3: i2s@70080600 {
738 compatible = "nvidia,tegra30-i2s";
739 reg = <0x70080600 0x100>;
740 nvidia,ahub-cif-ids = <7 7>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300741 clocks = <&tegra_car TEGRA30_CLK_I2S3>;
Stephen Warren3393d422013-11-06 14:01:16 -0700742 resets = <&tegra_car 101>;
743 reset-names = "i2s";
Roland Stigge223ef782012-06-11 21:09:45 +0200744 status = "disabled";
Stephen Warren9ee6a5c2012-03-27 12:40:53 -0600745 };
746
747 tegra_i2s4: i2s@70080700 {
748 compatible = "nvidia,tegra30-i2s";
749 reg = <0x70080700 0x100>;
750 nvidia,ahub-cif-ids = <8 8>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300751 clocks = <&tegra_car TEGRA30_CLK_I2S4>;
Stephen Warren3393d422013-11-06 14:01:16 -0700752 resets = <&tegra_car 102>;
753 reset-names = "i2s";
Roland Stigge223ef782012-06-11 21:09:45 +0200754 status = "disabled";
Stephen Warren9ee6a5c2012-03-27 12:40:53 -0600755 };
756 };
Hiroshi DOYU7868a9b2012-05-07 09:43:47 +0300757
Stephen Warrenc04abb32012-05-11 17:03:26 -0600758 sdhci@78000000 {
759 compatible = "nvidia,tegra30-sdhci", "nvidia,tegra20-sdhci";
760 reg = <0x78000000 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700761 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300762 clocks = <&tegra_car TEGRA30_CLK_SDMMC1>;
Stephen Warren3393d422013-11-06 14:01:16 -0700763 resets = <&tegra_car 14>;
764 reset-names = "sdhci";
Roland Stigge223ef782012-06-11 21:09:45 +0200765 status = "disabled";
Hiroshi DOYU7868a9b2012-05-07 09:43:47 +0300766 };
hdoyu@nvidia.comecf43742012-05-09 21:42:33 +0000767
Stephen Warrenc04abb32012-05-11 17:03:26 -0600768 sdhci@78000200 {
769 compatible = "nvidia,tegra30-sdhci", "nvidia,tegra20-sdhci";
770 reg = <0x78000200 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700771 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300772 clocks = <&tegra_car TEGRA30_CLK_SDMMC2>;
Stephen Warren3393d422013-11-06 14:01:16 -0700773 resets = <&tegra_car 9>;
774 reset-names = "sdhci";
Roland Stigge223ef782012-06-11 21:09:45 +0200775 status = "disabled";
hdoyu@nvidia.comecf43742012-05-09 21:42:33 +0000776 };
hdoyu@nvidia.com54174a32012-05-09 21:50:21 +0000777
Stephen Warrenc04abb32012-05-11 17:03:26 -0600778 sdhci@78000400 {
779 compatible = "nvidia,tegra30-sdhci", "nvidia,tegra20-sdhci";
780 reg = <0x78000400 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700781 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300782 clocks = <&tegra_car TEGRA30_CLK_SDMMC3>;
Stephen Warren3393d422013-11-06 14:01:16 -0700783 resets = <&tegra_car 69>;
784 reset-names = "sdhci";
Roland Stigge223ef782012-06-11 21:09:45 +0200785 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600786 };
787
788 sdhci@78000600 {
789 compatible = "nvidia,tegra30-sdhci", "nvidia,tegra20-sdhci";
790 reg = <0x78000600 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700791 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu05849c92013-05-22 19:45:34 +0300792 clocks = <&tegra_car TEGRA30_CLK_SDMMC4>;
Stephen Warren3393d422013-11-06 14:01:16 -0700793 resets = <&tegra_car 15>;
794 reset-names = "sdhci";
Roland Stigge223ef782012-06-11 21:09:45 +0200795 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600796 };
797
Tuomas Tynkkynencc34c9f2013-08-01 18:00:17 +0300798 usb@7d000000 {
799 compatible = "nvidia,tegra30-ehci", "usb-ehci";
800 reg = <0x7d000000 0x4000>;
801 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
802 phy_type = "utmi";
803 clocks = <&tegra_car TEGRA30_CLK_USBD>;
Stephen Warren3393d422013-11-06 14:01:16 -0700804 resets = <&tegra_car 22>;
805 reset-names = "usb";
Tuomas Tynkkynencc34c9f2013-08-01 18:00:17 +0300806 nvidia,needs-double-reset;
807 nvidia,phy = <&phy1>;
808 status = "disabled";
809 };
810
811 phy1: usb-phy@7d000000 {
812 compatible = "nvidia,tegra30-usb-phy";
813 reg = <0x7d000000 0x4000 0x7d000000 0x4000>;
814 phy_type = "utmi";
815 clocks = <&tegra_car TEGRA30_CLK_USBD>,
816 <&tegra_car TEGRA30_CLK_PLL_U>,
817 <&tegra_car TEGRA30_CLK_USBD>;
818 clock-names = "reg", "pll_u", "utmi-pads";
Tuomas Tynkkynen308efde2014-07-04 04:09:37 +0300819 resets = <&tegra_car 22>, <&tegra_car 22>;
820 reset-names = "usb", "utmi-pads";
Tuomas Tynkkynencc34c9f2013-08-01 18:00:17 +0300821 nvidia,hssync-start-delay = <9>;
822 nvidia,idle-wait-delay = <17>;
823 nvidia,elastic-limit = <16>;
824 nvidia,term-range-adj = <6>;
825 nvidia,xcvr-setup = <51>;
826 nvidia.xcvr-setup-use-fuses;
827 nvidia,xcvr-lsfslew = <1>;
828 nvidia,xcvr-lsrslew = <1>;
829 nvidia,xcvr-hsslew = <32>;
830 nvidia,hssquelch-level = <2>;
831 nvidia,hsdiscon-level = <5>;
Tuomas Tynkkynen308efde2014-07-04 04:09:37 +0300832 nvidia,has-utmi-pad-registers;
Tuomas Tynkkynencc34c9f2013-08-01 18:00:17 +0300833 status = "disabled";
834 };
835
836 usb@7d004000 {
837 compatible = "nvidia,tegra30-ehci", "usb-ehci";
838 reg = <0x7d004000 0x4000>;
839 interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
Eric Browerfd6441e2013-12-19 18:08:52 -0800840 phy_type = "utmi";
Tuomas Tynkkynencc34c9f2013-08-01 18:00:17 +0300841 clocks = <&tegra_car TEGRA30_CLK_USB2>;
Stephen Warren3393d422013-11-06 14:01:16 -0700842 resets = <&tegra_car 58>;
843 reset-names = "usb";
Tuomas Tynkkynencc34c9f2013-08-01 18:00:17 +0300844 nvidia,phy = <&phy2>;
845 status = "disabled";
846 };
847
848 phy2: usb-phy@7d004000 {
849 compatible = "nvidia,tegra30-usb-phy";
Eric Browerfd6441e2013-12-19 18:08:52 -0800850 reg = <0x7d004000 0x4000 0x7d000000 0x4000>;
851 phy_type = "utmi";
Tuomas Tynkkynencc34c9f2013-08-01 18:00:17 +0300852 clocks = <&tegra_car TEGRA30_CLK_USB2>,
853 <&tegra_car TEGRA30_CLK_PLL_U>,
Eric Browerfd6441e2013-12-19 18:08:52 -0800854 <&tegra_car TEGRA30_CLK_USBD>;
855 clock-names = "reg", "pll_u", "utmi-pads";
Tuomas Tynkkynen308efde2014-07-04 04:09:37 +0300856 resets = <&tegra_car 58>, <&tegra_car 22>;
857 reset-names = "usb", "utmi-pads";
Eric Browerfd6441e2013-12-19 18:08:52 -0800858 nvidia,hssync-start-delay = <9>;
859 nvidia,idle-wait-delay = <17>;
860 nvidia,elastic-limit = <16>;
861 nvidia,term-range-adj = <6>;
862 nvidia,xcvr-setup = <51>;
863 nvidia.xcvr-setup-use-fuses;
864 nvidia,xcvr-lsfslew = <2>;
865 nvidia,xcvr-lsrslew = <2>;
866 nvidia,xcvr-hsslew = <32>;
867 nvidia,hssquelch-level = <2>;
868 nvidia,hsdiscon-level = <5>;
Tuomas Tynkkynencc34c9f2013-08-01 18:00:17 +0300869 status = "disabled";
870 };
871
872 usb@7d008000 {
873 compatible = "nvidia,tegra30-ehci", "usb-ehci";
874 reg = <0x7d008000 0x4000>;
875 interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
876 phy_type = "utmi";
877 clocks = <&tegra_car TEGRA30_CLK_USB3>;
Stephen Warren3393d422013-11-06 14:01:16 -0700878 resets = <&tegra_car 59>;
879 reset-names = "usb";
Tuomas Tynkkynencc34c9f2013-08-01 18:00:17 +0300880 nvidia,phy = <&phy3>;
881 status = "disabled";
882 };
883
884 phy3: usb-phy@7d008000 {
885 compatible = "nvidia,tegra30-usb-phy";
886 reg = <0x7d008000 0x4000 0x7d000000 0x4000>;
887 phy_type = "utmi";
888 clocks = <&tegra_car TEGRA30_CLK_USB3>,
889 <&tegra_car TEGRA30_CLK_PLL_U>,
890 <&tegra_car TEGRA30_CLK_USBD>;
891 clock-names = "reg", "pll_u", "utmi-pads";
Tuomas Tynkkynen308efde2014-07-04 04:09:37 +0300892 resets = <&tegra_car 59>, <&tegra_car 22>;
893 reset-names = "usb", "utmi-pads";
Tuomas Tynkkynencc34c9f2013-08-01 18:00:17 +0300894 nvidia,hssync-start-delay = <0>;
895 nvidia,idle-wait-delay = <17>;
896 nvidia,elastic-limit = <16>;
897 nvidia,term-range-adj = <6>;
898 nvidia,xcvr-setup = <51>;
899 nvidia.xcvr-setup-use-fuses;
900 nvidia,xcvr-lsfslew = <2>;
901 nvidia,xcvr-lsrslew = <2>;
902 nvidia,xcvr-hsslew = <32>;
903 nvidia,hssquelch-level = <2>;
904 nvidia,hsdiscon-level = <5>;
905 status = "disabled";
906 };
907
Hiroshi Doyu7d19a342013-01-11 15:11:54 +0200908 cpus {
909 #address-cells = <1>;
910 #size-cells = <0>;
911
912 cpu@0 {
913 device_type = "cpu";
914 compatible = "arm,cortex-a9";
915 reg = <0>;
916 };
917
918 cpu@1 {
919 device_type = "cpu";
920 compatible = "arm,cortex-a9";
921 reg = <1>;
922 };
923
924 cpu@2 {
925 device_type = "cpu";
926 compatible = "arm,cortex-a9";
927 reg = <2>;
928 };
929
930 cpu@3 {
931 device_type = "cpu";
932 compatible = "arm,cortex-a9";
933 reg = <3>;
934 };
935 };
936
Stephen Warrenc04abb32012-05-11 17:03:26 -0600937 pmu {
938 compatible = "arm,cortex-a9-pmu";
Stephen Warren6cecf912013-02-13 12:51:51 -0700939 interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>,
940 <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>,
941 <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>,
942 <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>;
hdoyu@nvidia.com54174a32012-05-09 21:50:21 +0000943 };
Peter De Schrijverc3e00a02011-12-14 17:03:13 +0200944};