blob: 2207c08e3fa33b9015b0ef8c8275b99d26f834b5 [file] [log] [blame]
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +03001#include <dt-bindings/clock/tegra20-car.h>
Stephen Warren3325f1b2013-02-12 17:25:15 -07002#include <dt-bindings/gpio/tegra-gpio.h>
Laxman Dewanganba4104e2013-12-05 16:14:08 +05303#include <dt-bindings/pinctrl/pinctrl-tegra.h>
Stephen Warren6cecf912013-02-13 12:51:51 -07004#include <dt-bindings/interrupt-controller/arm-gic.h>
Stephen Warren3325f1b2013-02-12 17:25:15 -07005
Stephen Warren1bd0bd42012-10-17 16:38:21 -06006#include "skeleton.dtsi"
Grant Likely8e267f32011-07-19 17:26:54 -06007
8/ {
9 compatible = "nvidia,tegra20";
Marc Zyngier870c81a2015-03-11 15:43:01 +000010 interrupt-parent = <&lic>;
Grant Likely8e267f32011-07-19 17:26:54 -060011
Stephen Warren58ecb232013-11-25 17:53:16 -070012 host1x@50000000 {
Thierry Redinged821f02012-11-15 22:07:54 +010013 compatible = "nvidia,tegra20-host1x", "simple-bus";
14 reg = <0x50000000 0x00024000>;
Stephen Warren6cecf912013-02-13 12:51:51 -070015 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, /* syncpt */
16 <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>; /* general */
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +030017 clocks = <&tegra_car TEGRA20_CLK_HOST1X>;
Stephen Warren3393d422013-11-06 14:01:16 -070018 resets = <&tegra_car 28>;
19 reset-names = "host1x";
Thierry Redinged821f02012-11-15 22:07:54 +010020
21 #address-cells = <1>;
22 #size-cells = <1>;
23
24 ranges = <0x54000000 0x54000000 0x04000000>;
25
Stephen Warren58ecb232013-11-25 17:53:16 -070026 mpe@54040000 {
Thierry Redinged821f02012-11-15 22:07:54 +010027 compatible = "nvidia,tegra20-mpe";
28 reg = <0x54040000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -070029 interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +030030 clocks = <&tegra_car TEGRA20_CLK_MPE>;
Stephen Warren3393d422013-11-06 14:01:16 -070031 resets = <&tegra_car 60>;
32 reset-names = "mpe";
Thierry Redinged821f02012-11-15 22:07:54 +010033 };
34
Stephen Warren58ecb232013-11-25 17:53:16 -070035 vi@54080000 {
Thierry Redinged821f02012-11-15 22:07:54 +010036 compatible = "nvidia,tegra20-vi";
37 reg = <0x54080000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -070038 interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +030039 clocks = <&tegra_car TEGRA20_CLK_VI>;
Stephen Warren3393d422013-11-06 14:01:16 -070040 resets = <&tegra_car 20>;
41 reset-names = "vi";
Thierry Redinged821f02012-11-15 22:07:54 +010042 };
43
Stephen Warren58ecb232013-11-25 17:53:16 -070044 epp@540c0000 {
Thierry Redinged821f02012-11-15 22:07:54 +010045 compatible = "nvidia,tegra20-epp";
46 reg = <0x540c0000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -070047 interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +030048 clocks = <&tegra_car TEGRA20_CLK_EPP>;
Stephen Warren3393d422013-11-06 14:01:16 -070049 resets = <&tegra_car 19>;
50 reset-names = "epp";
Thierry Redinged821f02012-11-15 22:07:54 +010051 };
52
Stephen Warren58ecb232013-11-25 17:53:16 -070053 isp@54100000 {
Thierry Redinged821f02012-11-15 22:07:54 +010054 compatible = "nvidia,tegra20-isp";
55 reg = <0x54100000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -070056 interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +030057 clocks = <&tegra_car TEGRA20_CLK_ISP>;
Stephen Warren3393d422013-11-06 14:01:16 -070058 resets = <&tegra_car 23>;
59 reset-names = "isp";
Thierry Redinged821f02012-11-15 22:07:54 +010060 };
61
Stephen Warren58ecb232013-11-25 17:53:16 -070062 gr2d@54140000 {
Thierry Redinged821f02012-11-15 22:07:54 +010063 compatible = "nvidia,tegra20-gr2d";
64 reg = <0x54140000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -070065 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +030066 clocks = <&tegra_car TEGRA20_CLK_GR2D>;
Stephen Warren3393d422013-11-06 14:01:16 -070067 resets = <&tegra_car 21>;
68 reset-names = "2d";
Thierry Redinged821f02012-11-15 22:07:54 +010069 };
70
Dmitry Osipenkode476992014-12-12 18:19:19 +030071 gr3d@54180000 {
Thierry Redinged821f02012-11-15 22:07:54 +010072 compatible = "nvidia,tegra20-gr3d";
Dmitry Osipenkode476992014-12-12 18:19:19 +030073 reg = <0x54180000 0x00040000>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +030074 clocks = <&tegra_car TEGRA20_CLK_GR3D>;
Stephen Warren3393d422013-11-06 14:01:16 -070075 resets = <&tegra_car 24>;
76 reset-names = "3d";
Thierry Redinged821f02012-11-15 22:07:54 +010077 };
78
79 dc@54200000 {
80 compatible = "nvidia,tegra20-dc";
81 reg = <0x54200000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -070082 interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +030083 clocks = <&tegra_car TEGRA20_CLK_DISP1>,
84 <&tegra_car TEGRA20_CLK_PLL_P>;
Stephen Warrend8f64792013-11-06 14:00:25 -070085 clock-names = "dc", "parent";
Stephen Warren3393d422013-11-06 14:01:16 -070086 resets = <&tegra_car 27>;
87 reset-names = "dc";
Thierry Redinged821f02012-11-15 22:07:54 +010088
Thierry Reding688b56b2014-02-18 23:03:31 +010089 nvidia,head = <0>;
90
Thierry Redinged821f02012-11-15 22:07:54 +010091 rgb {
92 status = "disabled";
93 };
94 };
95
96 dc@54240000 {
97 compatible = "nvidia,tegra20-dc";
98 reg = <0x54240000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -070099 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300100 clocks = <&tegra_car TEGRA20_CLK_DISP2>,
101 <&tegra_car TEGRA20_CLK_PLL_P>;
Stephen Warrend8f64792013-11-06 14:00:25 -0700102 clock-names = "dc", "parent";
Stephen Warren3393d422013-11-06 14:01:16 -0700103 resets = <&tegra_car 26>;
104 reset-names = "dc";
Thierry Redinged821f02012-11-15 22:07:54 +0100105
Thierry Reding688b56b2014-02-18 23:03:31 +0100106 nvidia,head = <1>;
107
Thierry Redinged821f02012-11-15 22:07:54 +0100108 rgb {
109 status = "disabled";
110 };
111 };
112
Stephen Warren58ecb232013-11-25 17:53:16 -0700113 hdmi@54280000 {
Thierry Redinged821f02012-11-15 22:07:54 +0100114 compatible = "nvidia,tegra20-hdmi";
115 reg = <0x54280000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700116 interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300117 clocks = <&tegra_car TEGRA20_CLK_HDMI>,
118 <&tegra_car TEGRA20_CLK_PLL_D_OUT0>;
Prashant Gaikwad8d8b43d2013-01-11 13:31:21 +0530119 clock-names = "hdmi", "parent";
Stephen Warren3393d422013-11-06 14:01:16 -0700120 resets = <&tegra_car 51>;
121 reset-names = "hdmi";
Thierry Redinged821f02012-11-15 22:07:54 +0100122 status = "disabled";
123 };
124
Stephen Warren58ecb232013-11-25 17:53:16 -0700125 tvo@542c0000 {
Thierry Redinged821f02012-11-15 22:07:54 +0100126 compatible = "nvidia,tegra20-tvo";
127 reg = <0x542c0000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700128 interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300129 clocks = <&tegra_car TEGRA20_CLK_TVO>;
Thierry Redinged821f02012-11-15 22:07:54 +0100130 status = "disabled";
131 };
132
Dmitry Osipenkode476992014-12-12 18:19:19 +0300133 dsi@54300000 {
Thierry Redinged821f02012-11-15 22:07:54 +0100134 compatible = "nvidia,tegra20-dsi";
Dmitry Osipenkode476992014-12-12 18:19:19 +0300135 reg = <0x54300000 0x00040000>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300136 clocks = <&tegra_car TEGRA20_CLK_DSI>;
Stephen Warren3393d422013-11-06 14:01:16 -0700137 resets = <&tegra_car 48>;
138 reset-names = "dsi";
Thierry Redinged821f02012-11-15 22:07:54 +0100139 status = "disabled";
140 };
141 };
142
Thierry Reding2cda1882015-01-08 13:24:33 +0100143 timer@50040600 {
Stephen Warren73368ba2012-09-19 14:17:24 -0600144 compatible = "arm,cortex-a9-twd-timer";
Marc Zyngier870c81a2015-03-11 15:43:01 +0000145 interrupt-parent = <&intc>;
Stephen Warren73368ba2012-09-19 14:17:24 -0600146 reg = <0x50040600 0x20>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700147 interrupts = <GIC_PPI 13
Jon Huntere7d9b272016-03-17 14:19:05 +0000148 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_EDGE_RISING)>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300149 clocks = <&tegra_car TEGRA20_CLK_TWD>;
Stephen Warren73368ba2012-09-19 14:17:24 -0600150 };
151
Stephen Warren58ecb232013-11-25 17:53:16 -0700152 intc: interrupt-controller@50041000 {
pdeschrijver@nvidia.com0d4f7472011-11-29 18:29:19 -0700153 compatible = "arm,cortex-a9-gic";
Stephen Warren5ff48882012-05-11 16:26:03 -0600154 reg = <0x50041000 0x1000
155 0x50040100 0x0100>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600156 interrupt-controller;
157 #interrupt-cells = <3>;
Marc Zyngier870c81a2015-03-11 15:43:01 +0000158 interrupt-parent = <&intc>;
Grant Likely8e267f32011-07-19 17:26:54 -0600159 };
160
Stephen Warren58ecb232013-11-25 17:53:16 -0700161 cache-controller@50043000 {
Stephen Warrenbb2c1de2013-01-14 10:09:16 -0700162 compatible = "arm,pl310-cache";
163 reg = <0x50043000 0x1000>;
164 arm,data-latency = <5 5 2>;
165 arm,tag-latency = <4 4 2>;
166 cache-unified;
167 cache-level = <2>;
168 };
169
Marc Zyngier870c81a2015-03-11 15:43:01 +0000170 lic: interrupt-controller@60004000 {
171 compatible = "nvidia,tegra20-ictlr";
172 reg = <0x60004000 0x100>,
173 <0x60004100 0x50>,
174 <0x60004200 0x50>,
175 <0x60004300 0x50>;
176 interrupt-controller;
177 #interrupt-cells = <3>;
178 interrupt-parent = <&intc>;
179 };
180
Stephen Warren2f2b7fb2012-09-19 12:02:31 -0600181 timer@60005000 {
182 compatible = "nvidia,tegra20-timer";
183 reg = <0x60005000 0x60>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700184 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
185 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
186 <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
187 <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300188 clocks = <&tegra_car TEGRA20_CLK_TIMER>;
Stephen Warren2f2b7fb2012-09-19 12:02:31 -0600189 };
190
Stephen Warren58ecb232013-11-25 17:53:16 -0700191 tegra_car: clock@60006000 {
Stephen Warren270f8ce2013-01-11 13:16:22 +0530192 compatible = "nvidia,tegra20-car";
193 reg = <0x60006000 0x1000>;
194 #clock-cells = <1>;
Stephen Warren3393d422013-11-06 14:01:16 -0700195 #reset-cells = <1>;
Stephen Warren270f8ce2013-01-11 13:16:22 +0530196 };
197
Thierry Redingb1023132014-08-26 08:14:03 +0200198 flow-controller@60007000 {
199 compatible = "nvidia,tegra20-flowctrl";
200 reg = <0x60007000 0x1000>;
201 };
202
Stephen Warren58ecb232013-11-25 17:53:16 -0700203 apbdma: dma@6000a000 {
Stephen Warren8051b752012-01-11 16:09:54 -0700204 compatible = "nvidia,tegra20-apbdma";
205 reg = <0x6000a000 0x1200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700206 interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
207 <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
208 <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
209 <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
210 <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
211 <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
212 <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
213 <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
214 <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
215 <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
216 <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
217 <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
218 <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
219 <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
220 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
221 <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300222 clocks = <&tegra_car TEGRA20_CLK_APBDMA>;
Stephen Warren3393d422013-11-06 14:01:16 -0700223 resets = <&tegra_car 34>;
224 reset-names = "dma";
Stephen Warren034d0232013-11-11 13:05:59 -0700225 #dma-cells = <1>;
Stephen Warren8051b752012-01-11 16:09:54 -0700226 };
227
Nicolas Chauvet0d5ccb32015-08-08 15:58:12 +0200228 ahb@6000c000 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600229 compatible = "nvidia,tegra20-ahb";
Nicolas Chauvet0d5ccb32015-08-08 15:58:12 +0200230 reg = <0x6000c000 0x110>; /* AHB Arbitration + Gizmo Controller */
Grant Likely8e267f32011-07-19 17:26:54 -0600231 };
232
Stephen Warren58ecb232013-11-25 17:53:16 -0700233 gpio: gpio@6000d000 {
Grant Likely8e267f32011-07-19 17:26:54 -0600234 compatible = "nvidia,tegra20-gpio";
Stephen Warren95decf82012-05-11 16:11:38 -0600235 reg = <0x6000d000 0x1000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700236 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>,
237 <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>,
238 <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>,
239 <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>,
240 <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
241 <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>,
242 <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
Grant Likely8e267f32011-07-19 17:26:54 -0600243 #gpio-cells = <2>;
244 gpio-controller;
Stephen Warren6f74dc92012-01-04 08:39:37 +0000245 #interrupt-cells = <2>;
246 interrupt-controller;
Thierry Reding4f1d8412015-10-09 17:51:47 +0200247 /*
Tomeu Vizoso17cdddf2015-07-14 10:29:56 +0200248 gpio-ranges = <&pinmux 0 0 224>;
Thierry Reding4f1d8412015-10-09 17:51:47 +0200249 */
Grant Likely8e267f32011-07-19 17:26:54 -0600250 };
251
Peter De Schrijver155dfc72014-06-12 18:36:38 +0300252 apbmisc@70000800 {
253 compatible = "nvidia,tegra20-apbmisc";
254 reg = <0x70000800 0x64 /* Chip revision */
255 0x70000008 0x04>; /* Strapping options */
256 };
257
Stephen Warren58ecb232013-11-25 17:53:16 -0700258 pinmux: pinmux@70000014 {
Stephen Warrenf62f5482011-10-11 16:16:13 -0600259 compatible = "nvidia,tegra20-pinmux";
Stephen Warren95decf82012-05-11 16:11:38 -0600260 reg = <0x70000014 0x10 /* Tri-state registers */
261 0x70000080 0x20 /* Mux registers */
262 0x700000a0 0x14 /* Pull-up/down registers */
263 0x70000868 0xa8>; /* Pad control registers */
Stephen Warrenf62f5482011-10-11 16:16:13 -0600264 };
265
Stephen Warren58ecb232013-11-25 17:53:16 -0700266 das@70000c00 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600267 compatible = "nvidia,tegra20-das";
268 reg = <0x70000c00 0x80>;
269 };
Stephen Warrenfc5c3062013-03-06 11:28:32 -0700270
Stephen Warren58ecb232013-11-25 17:53:16 -0700271 tegra_ac97: ac97@70002000 {
Lucas Stach0698ed12013-01-05 02:18:44 +0100272 compatible = "nvidia,tegra20-ac97";
273 reg = <0x70002000 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700274 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300275 clocks = <&tegra_car TEGRA20_CLK_AC97>;
Stephen Warren3393d422013-11-06 14:01:16 -0700276 resets = <&tegra_car 3>;
277 reset-names = "ac97";
Stephen Warren034d0232013-11-11 13:05:59 -0700278 dmas = <&apbdma 12>, <&apbdma 12>;
279 dma-names = "rx", "tx";
Lucas Stach0698ed12013-01-05 02:18:44 +0100280 status = "disabled";
281 };
Stephen Warrenc04abb32012-05-11 17:03:26 -0600282
283 tegra_i2s1: i2s@70002800 {
284 compatible = "nvidia,tegra20-i2s";
285 reg = <0x70002800 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700286 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300287 clocks = <&tegra_car TEGRA20_CLK_I2S1>;
Stephen Warren3393d422013-11-06 14:01:16 -0700288 resets = <&tegra_car 11>;
289 reset-names = "i2s";
Stephen Warren034d0232013-11-11 13:05:59 -0700290 dmas = <&apbdma 2>, <&apbdma 2>;
291 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200292 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600293 };
294
295 tegra_i2s2: i2s@70002a00 {
296 compatible = "nvidia,tegra20-i2s";
297 reg = <0x70002a00 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700298 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300299 clocks = <&tegra_car TEGRA20_CLK_I2S2>;
Stephen Warren3393d422013-11-06 14:01:16 -0700300 resets = <&tegra_car 18>;
301 reset-names = "i2s";
Stephen Warren034d0232013-11-11 13:05:59 -0700302 dmas = <&apbdma 1>, <&apbdma 1>;
303 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200304 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600305 };
306
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530307 /*
308 * There are two serial driver i.e. 8250 based simple serial
309 * driver and APB DMA based serial driver for higher baudrate
310 * and performace. To enable the 8250 based driver, the compatible
311 * is "nvidia,tegra20-uart" and to enable the APB DMA based serial
Ralf Ramsauere1098242016-01-26 17:59:17 +0100312 * driver, the compatible is "nvidia,tegra20-hsuart".
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530313 */
314 uarta: serial@70006000 {
Grant Likely8e267f32011-07-19 17:26:54 -0600315 compatible = "nvidia,tegra20-uart";
316 reg = <0x70006000 0x40>;
317 reg-shift = <2>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700318 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300319 clocks = <&tegra_car TEGRA20_CLK_UARTA>;
Stephen Warren3393d422013-11-06 14:01:16 -0700320 resets = <&tegra_car 6>;
321 reset-names = "serial";
Stephen Warren034d0232013-11-11 13:05:59 -0700322 dmas = <&apbdma 8>, <&apbdma 8>;
323 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200324 status = "disabled";
Grant Likely8e267f32011-07-19 17:26:54 -0600325 };
326
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530327 uartb: serial@70006040 {
Grant Likely8e267f32011-07-19 17:26:54 -0600328 compatible = "nvidia,tegra20-uart";
329 reg = <0x70006040 0x40>;
330 reg-shift = <2>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700331 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300332 clocks = <&tegra_car TEGRA20_CLK_UARTB>;
Stephen Warren3393d422013-11-06 14:01:16 -0700333 resets = <&tegra_car 7>;
334 reset-names = "serial";
Stephen Warren034d0232013-11-11 13:05:59 -0700335 dmas = <&apbdma 9>, <&apbdma 9>;
336 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200337 status = "disabled";
Grant Likely8e267f32011-07-19 17:26:54 -0600338 };
339
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530340 uartc: serial@70006200 {
Grant Likely8e267f32011-07-19 17:26:54 -0600341 compatible = "nvidia,tegra20-uart";
342 reg = <0x70006200 0x100>;
343 reg-shift = <2>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700344 interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300345 clocks = <&tegra_car TEGRA20_CLK_UARTC>;
Stephen Warren3393d422013-11-06 14:01:16 -0700346 resets = <&tegra_car 55>;
347 reset-names = "serial";
Stephen Warren034d0232013-11-11 13:05:59 -0700348 dmas = <&apbdma 10>, <&apbdma 10>;
349 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200350 status = "disabled";
Grant Likely8e267f32011-07-19 17:26:54 -0600351 };
352
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530353 uartd: serial@70006300 {
Grant Likely8e267f32011-07-19 17:26:54 -0600354 compatible = "nvidia,tegra20-uart";
355 reg = <0x70006300 0x100>;
356 reg-shift = <2>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700357 interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300358 clocks = <&tegra_car TEGRA20_CLK_UARTD>;
Stephen Warren3393d422013-11-06 14:01:16 -0700359 resets = <&tegra_car 65>;
360 reset-names = "serial";
Stephen Warren034d0232013-11-11 13:05:59 -0700361 dmas = <&apbdma 19>, <&apbdma 19>;
362 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200363 status = "disabled";
Grant Likely8e267f32011-07-19 17:26:54 -0600364 };
365
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530366 uarte: serial@70006400 {
Grant Likely8e267f32011-07-19 17:26:54 -0600367 compatible = "nvidia,tegra20-uart";
368 reg = <0x70006400 0x100>;
369 reg-shift = <2>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700370 interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300371 clocks = <&tegra_car TEGRA20_CLK_UARTE>;
Stephen Warren3393d422013-11-06 14:01:16 -0700372 resets = <&tegra_car 66>;
373 reset-names = "serial";
Stephen Warren034d0232013-11-11 13:05:59 -0700374 dmas = <&apbdma 20>, <&apbdma 20>;
375 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200376 status = "disabled";
Grant Likely8e267f32011-07-19 17:26:54 -0600377 };
378
Stephen Warren58ecb232013-11-25 17:53:16 -0700379 pwm: pwm@7000a000 {
Thierry Reding140fd972011-12-21 08:04:13 +0100380 compatible = "nvidia,tegra20-pwm";
381 reg = <0x7000a000 0x100>;
382 #pwm-cells = <2>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300383 clocks = <&tegra_car TEGRA20_CLK_PWM>;
Stephen Warren3393d422013-11-06 14:01:16 -0700384 resets = <&tegra_car 17>;
385 reset-names = "pwm";
Andrew Chewb69cd982013-03-12 16:40:51 -0700386 status = "disabled";
Thierry Reding140fd972011-12-21 08:04:13 +0100387 };
388
Stephen Warren58ecb232013-11-25 17:53:16 -0700389 rtc@7000e000 {
Stephen Warren380e04a2012-09-19 12:13:16 -0600390 compatible = "nvidia,tegra20-rtc";
391 reg = <0x7000e000 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700392 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300393 clocks = <&tegra_car TEGRA20_CLK_RTC>;
Stephen Warren380e04a2012-09-19 12:13:16 -0600394 };
395
Stephen Warrenc04abb32012-05-11 17:03:26 -0600396 i2c@7000c000 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600397 compatible = "nvidia,tegra20-i2c";
398 reg = <0x7000c000 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700399 interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600400 #address-cells = <1>;
401 #size-cells = <0>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300402 clocks = <&tegra_car TEGRA20_CLK_I2C1>,
403 <&tegra_car TEGRA20_CLK_PLL_P_OUT3>;
Prashant Gaikwad8d8b43d2013-01-11 13:31:21 +0530404 clock-names = "div-clk", "fast-clk";
Stephen Warren3393d422013-11-06 14:01:16 -0700405 resets = <&tegra_car 12>;
406 reset-names = "i2c";
Stephen Warren034d0232013-11-11 13:05:59 -0700407 dmas = <&apbdma 21>, <&apbdma 21>;
408 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200409 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600410 };
411
Laxman Dewanganfa98a112012-11-13 10:33:39 +0530412 spi@7000c380 {
413 compatible = "nvidia,tegra20-sflash";
414 reg = <0x7000c380 0x80>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700415 interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewanganfa98a112012-11-13 10:33:39 +0530416 #address-cells = <1>;
417 #size-cells = <0>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300418 clocks = <&tegra_car TEGRA20_CLK_SPI>;
Stephen Warren3393d422013-11-06 14:01:16 -0700419 resets = <&tegra_car 43>;
420 reset-names = "spi";
Stephen Warren034d0232013-11-11 13:05:59 -0700421 dmas = <&apbdma 11>, <&apbdma 11>;
422 dma-names = "rx", "tx";
Laxman Dewanganfa98a112012-11-13 10:33:39 +0530423 status = "disabled";
424 };
425
Stephen Warrenc04abb32012-05-11 17:03:26 -0600426 i2c@7000c400 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600427 compatible = "nvidia,tegra20-i2c";
428 reg = <0x7000c400 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700429 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600430 #address-cells = <1>;
431 #size-cells = <0>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300432 clocks = <&tegra_car TEGRA20_CLK_I2C2>,
433 <&tegra_car TEGRA20_CLK_PLL_P_OUT3>;
Prashant Gaikwad8d8b43d2013-01-11 13:31:21 +0530434 clock-names = "div-clk", "fast-clk";
Stephen Warren3393d422013-11-06 14:01:16 -0700435 resets = <&tegra_car 54>;
436 reset-names = "i2c";
Stephen Warren034d0232013-11-11 13:05:59 -0700437 dmas = <&apbdma 22>, <&apbdma 22>;
438 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200439 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600440 };
441
442 i2c@7000c500 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600443 compatible = "nvidia,tegra20-i2c";
444 reg = <0x7000c500 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700445 interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600446 #address-cells = <1>;
447 #size-cells = <0>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300448 clocks = <&tegra_car TEGRA20_CLK_I2C3>,
449 <&tegra_car TEGRA20_CLK_PLL_P_OUT3>;
Prashant Gaikwad8d8b43d2013-01-11 13:31:21 +0530450 clock-names = "div-clk", "fast-clk";
Stephen Warren3393d422013-11-06 14:01:16 -0700451 resets = <&tegra_car 67>;
452 reset-names = "i2c";
Stephen Warren034d0232013-11-11 13:05:59 -0700453 dmas = <&apbdma 23>, <&apbdma 23>;
454 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200455 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600456 };
457
458 i2c@7000d000 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600459 compatible = "nvidia,tegra20-i2c-dvc";
460 reg = <0x7000d000 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700461 interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600462 #address-cells = <1>;
463 #size-cells = <0>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300464 clocks = <&tegra_car TEGRA20_CLK_DVC>,
465 <&tegra_car TEGRA20_CLK_PLL_P_OUT3>;
Prashant Gaikwad8d8b43d2013-01-11 13:31:21 +0530466 clock-names = "div-clk", "fast-clk";
Stephen Warren3393d422013-11-06 14:01:16 -0700467 resets = <&tegra_car 47>;
468 reset-names = "i2c";
Stephen Warren034d0232013-11-11 13:05:59 -0700469 dmas = <&apbdma 24>, <&apbdma 24>;
470 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200471 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600472 };
473
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530474 spi@7000d400 {
475 compatible = "nvidia,tegra20-slink";
476 reg = <0x7000d400 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700477 interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530478 #address-cells = <1>;
479 #size-cells = <0>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300480 clocks = <&tegra_car TEGRA20_CLK_SBC1>;
Stephen Warren3393d422013-11-06 14:01:16 -0700481 resets = <&tegra_car 41>;
482 reset-names = "spi";
Stephen Warren034d0232013-11-11 13:05:59 -0700483 dmas = <&apbdma 15>, <&apbdma 15>;
484 dma-names = "rx", "tx";
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530485 status = "disabled";
486 };
487
488 spi@7000d600 {
489 compatible = "nvidia,tegra20-slink";
490 reg = <0x7000d600 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700491 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530492 #address-cells = <1>;
493 #size-cells = <0>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300494 clocks = <&tegra_car TEGRA20_CLK_SBC2>;
Stephen Warren3393d422013-11-06 14:01:16 -0700495 resets = <&tegra_car 44>;
496 reset-names = "spi";
Stephen Warren034d0232013-11-11 13:05:59 -0700497 dmas = <&apbdma 16>, <&apbdma 16>;
498 dma-names = "rx", "tx";
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530499 status = "disabled";
500 };
501
502 spi@7000d800 {
503 compatible = "nvidia,tegra20-slink";
Laxman Dewangan57471c82013-03-22 12:35:06 -0600504 reg = <0x7000d800 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700505 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530506 #address-cells = <1>;
507 #size-cells = <0>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300508 clocks = <&tegra_car TEGRA20_CLK_SBC3>;
Stephen Warren3393d422013-11-06 14:01:16 -0700509 resets = <&tegra_car 46>;
510 reset-names = "spi";
Stephen Warren034d0232013-11-11 13:05:59 -0700511 dmas = <&apbdma 17>, <&apbdma 17>;
512 dma-names = "rx", "tx";
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530513 status = "disabled";
514 };
515
516 spi@7000da00 {
517 compatible = "nvidia,tegra20-slink";
518 reg = <0x7000da00 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700519 interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530520 #address-cells = <1>;
521 #size-cells = <0>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300522 clocks = <&tegra_car TEGRA20_CLK_SBC4>;
Stephen Warren3393d422013-11-06 14:01:16 -0700523 resets = <&tegra_car 68>;
524 reset-names = "spi";
Stephen Warren034d0232013-11-11 13:05:59 -0700525 dmas = <&apbdma 18>, <&apbdma 18>;
526 dma-names = "rx", "tx";
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530527 status = "disabled";
528 };
529
Stephen Warren58ecb232013-11-25 17:53:16 -0700530 kbc@7000e200 {
Laxman Dewangan699ed4b2013-01-11 19:03:03 +0530531 compatible = "nvidia,tegra20-kbc";
532 reg = <0x7000e200 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700533 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300534 clocks = <&tegra_car TEGRA20_CLK_KBC>;
Stephen Warren3393d422013-11-06 14:01:16 -0700535 resets = <&tegra_car 36>;
536 reset-names = "kbc";
Laxman Dewangan699ed4b2013-01-11 19:03:03 +0530537 status = "disabled";
538 };
539
Stephen Warren58ecb232013-11-25 17:53:16 -0700540 pmc@7000e400 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600541 compatible = "nvidia,tegra20-pmc";
542 reg = <0x7000e400 0x400>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300543 clocks = <&tegra_car TEGRA20_CLK_PCLK>, <&clk32k_in>;
Joseph Lo7021d122013-04-03 19:31:27 +0800544 clock-names = "pclk", "clk32k_in";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600545 };
546
Stephen Warrenbbfc33b2012-10-02 13:10:47 -0600547 memory-controller@7000f000 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600548 compatible = "nvidia,tegra20-mc";
549 reg = <0x7000f000 0x024
550 0x7000f03c 0x3c4>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700551 interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warrenc04abb32012-05-11 17:03:26 -0600552 };
553
Stephen Warren58ecb232013-11-25 17:53:16 -0700554 iommu@7000f024 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600555 compatible = "nvidia,tegra20-gart";
556 reg = <0x7000f024 0x00000018 /* controller registers */
557 0x58000000 0x02000000>; /* GART aperture */
558 };
559
Stephen Warrenbbfc33b2012-10-02 13:10:47 -0600560 memory-controller@7000f400 {
Olof Johansson0c6700a2011-10-13 02:14:55 -0700561 compatible = "nvidia,tegra20-emc";
562 reg = <0x7000f400 0x200>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600563 #address-cells = <1>;
564 #size-cells = <0>;
Olof Johansson0c6700a2011-10-13 02:14:55 -0700565 };
566
Peter De Schrijver155dfc72014-06-12 18:36:38 +0300567 fuse@7000f800 {
568 compatible = "nvidia,tegra20-efuse";
Thierry Reding5431b0f2015-04-29 13:53:21 +0200569 reg = <0x7000f800 0x400>;
Peter De Schrijver155dfc72014-06-12 18:36:38 +0300570 clocks = <&tegra_car TEGRA20_CLK_FUSE>;
571 clock-names = "fuse";
572 resets = <&tegra_car 39>;
573 reset-names = "fuse";
574 };
575
Stephen Warren58ecb232013-11-25 17:53:16 -0700576 pcie-controller@80003000 {
Thierry Reding1b62b612013-08-09 16:49:19 +0200577 compatible = "nvidia,tegra20-pcie";
578 device_type = "pci";
579 reg = <0x80003000 0x00000800 /* PADS registers */
580 0x80003800 0x00000200 /* AFI registers */
581 0x90000000 0x10000000>; /* configuration space */
582 reg-names = "pads", "afi", "cs";
583 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH /* controller interrupt */
584 GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>; /* MSI interrupt */
585 interrupt-names = "intr", "msi";
586
Lucas Stach97070bd2014-03-05 14:25:46 +0100587 #interrupt-cells = <1>;
588 interrupt-map-mask = <0 0 0 0>;
589 interrupt-map = <0 0 0 0 &intc GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
590
Thierry Reding1b62b612013-08-09 16:49:19 +0200591 bus-range = <0x00 0xff>;
592 #address-cells = <3>;
593 #size-cells = <2>;
594
595 ranges = <0x82000000 0 0x80000000 0x80000000 0 0x00001000 /* port 0 registers */
596 0x82000000 0 0x80001000 0x80001000 0 0x00001000 /* port 1 registers */
597 0x81000000 0 0 0x82000000 0 0x00010000 /* downstream I/O */
Jay Agarwald7283c12013-08-09 16:49:31 +0200598 0x82000000 0 0xa0000000 0xa0000000 0 0x08000000 /* non-prefetchable memory */
599 0xc2000000 0 0xa8000000 0xa8000000 0 0x18000000>; /* prefetchable memory */
Thierry Reding1b62b612013-08-09 16:49:19 +0200600
601 clocks = <&tegra_car TEGRA20_CLK_PEX>,
602 <&tegra_car TEGRA20_CLK_AFI>,
Thierry Reding1b62b612013-08-09 16:49:19 +0200603 <&tegra_car TEGRA20_CLK_PLL_E>;
Stephen Warren2bd541f2013-11-07 10:59:42 -0700604 clock-names = "pex", "afi", "pll_e";
Stephen Warren3393d422013-11-06 14:01:16 -0700605 resets = <&tegra_car 70>,
Marcel Ziswilerd8b316b2015-08-27 11:44:48 +0200606 <&tegra_car 72>,
607 <&tegra_car 74>;
Stephen Warren3393d422013-11-06 14:01:16 -0700608 reset-names = "pex", "afi", "pcie_x";
Thierry Reding1b62b612013-08-09 16:49:19 +0200609 status = "disabled";
610
611 pci@1,0 {
612 device_type = "pci";
613 assigned-addresses = <0x82000800 0 0x80000000 0 0x1000>;
614 reg = <0x000800 0 0 0 0>;
615 status = "disabled";
616
617 #address-cells = <3>;
618 #size-cells = <2>;
619 ranges;
620
621 nvidia,num-lanes = <2>;
622 };
623
624 pci@2,0 {
625 device_type = "pci";
626 assigned-addresses = <0x82001000 0 0x80001000 0 0x1000>;
627 reg = <0x001000 0 0 0 0>;
628 status = "disabled";
629
630 #address-cells = <3>;
631 #size-cells = <2>;
632 ranges;
633
634 nvidia,num-lanes = <2>;
635 };
636 };
637
Stephen Warrenc04abb32012-05-11 17:03:26 -0600638 usb@c5000000 {
639 compatible = "nvidia,tegra20-ehci", "usb-ehci";
640 reg = <0xc5000000 0x4000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700641 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warrenc04abb32012-05-11 17:03:26 -0600642 phy_type = "utmi";
643 nvidia,has-legacy-mode;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300644 clocks = <&tegra_car TEGRA20_CLK_USBD>;
Stephen Warren3393d422013-11-06 14:01:16 -0700645 resets = <&tegra_car 22>;
646 reset-names = "usb";
Venu Byravarasub4e07472012-12-13 20:59:07 +0000647 nvidia,needs-double-reset;
Venu Byravarasue374b652013-01-16 03:30:19 +0000648 nvidia,phy = <&phy1>;
Roland Stigge223ef782012-06-11 21:09:45 +0200649 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600650 };
651
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530652 phy1: usb-phy@c5000000 {
Stephen Warren5d324412013-03-06 11:28:33 -0700653 compatible = "nvidia,tegra20-usb-phy";
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530654 reg = <0xc5000000 0x4000 0xc5000000 0x4000>;
Stephen Warren5d324412013-03-06 11:28:33 -0700655 phy_type = "utmi";
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300656 clocks = <&tegra_car TEGRA20_CLK_USBD>,
657 <&tegra_car TEGRA20_CLK_PLL_U>,
658 <&tegra_car TEGRA20_CLK_CLK_M>,
659 <&tegra_car TEGRA20_CLK_USBD>;
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530660 clock-names = "reg", "pll_u", "timer", "utmi-pads";
Tuomas Tynkkynen308efde2014-07-04 04:09:37 +0300661 resets = <&tegra_car 22>, <&tegra_car 22>;
662 reset-names = "usb", "utmi-pads";
Stephen Warren5d324412013-03-06 11:28:33 -0700663 nvidia,has-legacy-mode;
Mikko Perttunenc49667e2013-07-17 09:31:00 +0300664 nvidia,hssync-start-delay = <9>;
665 nvidia,idle-wait-delay = <17>;
666 nvidia,elastic-limit = <16>;
667 nvidia,term-range-adj = <6>;
668 nvidia,xcvr-setup = <9>;
669 nvidia,xcvr-lsfslew = <1>;
670 nvidia,xcvr-lsrslew = <1>;
Tuomas Tynkkynen308efde2014-07-04 04:09:37 +0300671 nvidia,has-utmi-pad-registers;
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530672 status = "disabled";
Stephen Warren5d324412013-03-06 11:28:33 -0700673 };
674
Stephen Warrenc04abb32012-05-11 17:03:26 -0600675 usb@c5004000 {
676 compatible = "nvidia,tegra20-ehci", "usb-ehci";
677 reg = <0xc5004000 0x4000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700678 interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warrenc04abb32012-05-11 17:03:26 -0600679 phy_type = "ulpi";
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300680 clocks = <&tegra_car TEGRA20_CLK_USB2>;
Stephen Warren3393d422013-11-06 14:01:16 -0700681 resets = <&tegra_car 58>;
682 reset-names = "usb";
Venu Byravarasue374b652013-01-16 03:30:19 +0000683 nvidia,phy = <&phy2>;
Roland Stigge223ef782012-06-11 21:09:45 +0200684 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600685 };
686
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530687 phy2: usb-phy@c5004000 {
Stephen Warren5d324412013-03-06 11:28:33 -0700688 compatible = "nvidia,tegra20-usb-phy";
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530689 reg = <0xc5004000 0x4000>;
Stephen Warren5d324412013-03-06 11:28:33 -0700690 phy_type = "ulpi";
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300691 clocks = <&tegra_car TEGRA20_CLK_USB2>,
692 <&tegra_car TEGRA20_CLK_PLL_U>,
693 <&tegra_car TEGRA20_CLK_CDEV2>;
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530694 clock-names = "reg", "pll_u", "ulpi-link";
Tuomas Tynkkynen308efde2014-07-04 04:09:37 +0300695 resets = <&tegra_car 58>, <&tegra_car 22>;
696 reset-names = "usb", "utmi-pads";
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530697 status = "disabled";
Stephen Warren5d324412013-03-06 11:28:33 -0700698 };
699
Stephen Warrenc04abb32012-05-11 17:03:26 -0600700 usb@c5008000 {
701 compatible = "nvidia,tegra20-ehci", "usb-ehci";
702 reg = <0xc5008000 0x4000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700703 interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warrenc04abb32012-05-11 17:03:26 -0600704 phy_type = "utmi";
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300705 clocks = <&tegra_car TEGRA20_CLK_USB3>;
Stephen Warren3393d422013-11-06 14:01:16 -0700706 resets = <&tegra_car 59>;
707 reset-names = "usb";
Venu Byravarasue374b652013-01-16 03:30:19 +0000708 nvidia,phy = <&phy3>;
Roland Stigge223ef782012-06-11 21:09:45 +0200709 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600710 };
711
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530712 phy3: usb-phy@c5008000 {
Stephen Warren5d324412013-03-06 11:28:33 -0700713 compatible = "nvidia,tegra20-usb-phy";
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530714 reg = <0xc5008000 0x4000 0xc5000000 0x4000>;
Stephen Warren5d324412013-03-06 11:28:33 -0700715 phy_type = "utmi";
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300716 clocks = <&tegra_car TEGRA20_CLK_USB3>,
717 <&tegra_car TEGRA20_CLK_PLL_U>,
718 <&tegra_car TEGRA20_CLK_CLK_M>,
719 <&tegra_car TEGRA20_CLK_USBD>;
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530720 clock-names = "reg", "pll_u", "timer", "utmi-pads";
Tuomas Tynkkynen308efde2014-07-04 04:09:37 +0300721 resets = <&tegra_car 59>, <&tegra_car 22>;
722 reset-names = "usb", "utmi-pads";
Mikko Perttunenc49667e2013-07-17 09:31:00 +0300723 nvidia,hssync-start-delay = <9>;
724 nvidia,idle-wait-delay = <17>;
725 nvidia,elastic-limit = <16>;
726 nvidia,term-range-adj = <6>;
727 nvidia,xcvr-setup = <9>;
728 nvidia,xcvr-lsfslew = <2>;
729 nvidia,xcvr-lsrslew = <2>;
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530730 status = "disabled";
Stephen Warren5d324412013-03-06 11:28:33 -0700731 };
732
Grant Likely8e267f32011-07-19 17:26:54 -0600733 sdhci@c8000000 {
734 compatible = "nvidia,tegra20-sdhci";
735 reg = <0xc8000000 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700736 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300737 clocks = <&tegra_car TEGRA20_CLK_SDMMC1>;
Stephen Warren3393d422013-11-06 14:01:16 -0700738 resets = <&tegra_car 14>;
739 reset-names = "sdhci";
Roland Stigge223ef782012-06-11 21:09:45 +0200740 status = "disabled";
Grant Likely8e267f32011-07-19 17:26:54 -0600741 };
742
743 sdhci@c8000200 {
744 compatible = "nvidia,tegra20-sdhci";
745 reg = <0xc8000200 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700746 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300747 clocks = <&tegra_car TEGRA20_CLK_SDMMC2>;
Stephen Warren3393d422013-11-06 14:01:16 -0700748 resets = <&tegra_car 9>;
749 reset-names = "sdhci";
Roland Stigge223ef782012-06-11 21:09:45 +0200750 status = "disabled";
Grant Likely8e267f32011-07-19 17:26:54 -0600751 };
752
753 sdhci@c8000400 {
754 compatible = "nvidia,tegra20-sdhci";
755 reg = <0xc8000400 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700756 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300757 clocks = <&tegra_car TEGRA20_CLK_SDMMC3>;
Stephen Warren3393d422013-11-06 14:01:16 -0700758 resets = <&tegra_car 69>;
759 reset-names = "sdhci";
Roland Stigge223ef782012-06-11 21:09:45 +0200760 status = "disabled";
Grant Likely8e267f32011-07-19 17:26:54 -0600761 };
762
763 sdhci@c8000600 {
764 compatible = "nvidia,tegra20-sdhci";
765 reg = <0xc8000600 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700766 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300767 clocks = <&tegra_car TEGRA20_CLK_SDMMC4>;
Stephen Warren3393d422013-11-06 14:01:16 -0700768 resets = <&tegra_car 15>;
769 reset-names = "sdhci";
Roland Stigge223ef782012-06-11 21:09:45 +0200770 status = "disabled";
Grant Likely8e267f32011-07-19 17:26:54 -0600771 };
Olof Johanssonc27317c2011-11-04 09:12:39 +0000772
Hiroshi Doyu4dd2bd32013-01-11 15:26:55 +0200773 cpus {
774 #address-cells = <1>;
775 #size-cells = <0>;
776
777 cpu@0 {
778 device_type = "cpu";
779 compatible = "arm,cortex-a9";
780 reg = <0>;
781 };
782
783 cpu@1 {
784 device_type = "cpu";
785 compatible = "arm,cortex-a9";
786 reg = <1>;
787 };
788 };
789
Stephen Warrenc04abb32012-05-11 17:03:26 -0600790 pmu {
791 compatible = "arm,cortex-a9-pmu";
Stephen Warren6cecf912013-02-13 12:51:51 -0700792 interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
793 <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
hdoyu@nvidia.com6a943e02012-05-09 21:45:33 +0000794 };
Grant Likely8e267f32011-07-19 17:26:54 -0600795};