blob: a7ddf70df50b428012b1d6fdb8dd5b018f1b73a8 [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";
10 interrupt-parent = <&intc>;
11
Laxman Dewanganb6551bb2012-12-19 12:01:11 +053012 aliases {
13 serial0 = &uarta;
14 serial1 = &uartb;
15 serial2 = &uartc;
16 serial3 = &uartd;
17 serial4 = &uarte;
18 };
19
Stephen Warren58ecb232013-11-25 17:53:16 -070020 host1x@50000000 {
Thierry Redinged821f02012-11-15 22:07:54 +010021 compatible = "nvidia,tegra20-host1x", "simple-bus";
22 reg = <0x50000000 0x00024000>;
Stephen Warren6cecf912013-02-13 12:51:51 -070023 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, /* syncpt */
24 <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>; /* general */
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +030025 clocks = <&tegra_car TEGRA20_CLK_HOST1X>;
Stephen Warren3393d422013-11-06 14:01:16 -070026 resets = <&tegra_car 28>;
27 reset-names = "host1x";
Thierry Redinged821f02012-11-15 22:07:54 +010028
29 #address-cells = <1>;
30 #size-cells = <1>;
31
32 ranges = <0x54000000 0x54000000 0x04000000>;
33
Stephen Warren58ecb232013-11-25 17:53:16 -070034 mpe@54040000 {
Thierry Redinged821f02012-11-15 22:07:54 +010035 compatible = "nvidia,tegra20-mpe";
36 reg = <0x54040000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -070037 interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +030038 clocks = <&tegra_car TEGRA20_CLK_MPE>;
Stephen Warren3393d422013-11-06 14:01:16 -070039 resets = <&tegra_car 60>;
40 reset-names = "mpe";
Thierry Redinged821f02012-11-15 22:07:54 +010041 };
42
Stephen Warren58ecb232013-11-25 17:53:16 -070043 vi@54080000 {
Thierry Redinged821f02012-11-15 22:07:54 +010044 compatible = "nvidia,tegra20-vi";
45 reg = <0x54080000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -070046 interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +030047 clocks = <&tegra_car TEGRA20_CLK_VI>;
Stephen Warren3393d422013-11-06 14:01:16 -070048 resets = <&tegra_car 20>;
49 reset-names = "vi";
Thierry Redinged821f02012-11-15 22:07:54 +010050 };
51
Stephen Warren58ecb232013-11-25 17:53:16 -070052 epp@540c0000 {
Thierry Redinged821f02012-11-15 22:07:54 +010053 compatible = "nvidia,tegra20-epp";
54 reg = <0x540c0000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -070055 interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +030056 clocks = <&tegra_car TEGRA20_CLK_EPP>;
Stephen Warren3393d422013-11-06 14:01:16 -070057 resets = <&tegra_car 19>;
58 reset-names = "epp";
Thierry Redinged821f02012-11-15 22:07:54 +010059 };
60
Stephen Warren58ecb232013-11-25 17:53:16 -070061 isp@54100000 {
Thierry Redinged821f02012-11-15 22:07:54 +010062 compatible = "nvidia,tegra20-isp";
63 reg = <0x54100000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -070064 interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +030065 clocks = <&tegra_car TEGRA20_CLK_ISP>;
Stephen Warren3393d422013-11-06 14:01:16 -070066 resets = <&tegra_car 23>;
67 reset-names = "isp";
Thierry Redinged821f02012-11-15 22:07:54 +010068 };
69
Stephen Warren58ecb232013-11-25 17:53:16 -070070 gr2d@54140000 {
Thierry Redinged821f02012-11-15 22:07:54 +010071 compatible = "nvidia,tegra20-gr2d";
72 reg = <0x54140000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -070073 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +030074 clocks = <&tegra_car TEGRA20_CLK_GR2D>;
Stephen Warren3393d422013-11-06 14:01:16 -070075 resets = <&tegra_car 21>;
76 reset-names = "2d";
Thierry Redinged821f02012-11-15 22:07:54 +010077 };
78
Stephen Warren58ecb232013-11-25 17:53:16 -070079 gr3d@54140000 {
Thierry Redinged821f02012-11-15 22:07:54 +010080 compatible = "nvidia,tegra20-gr3d";
Stephen Warren58ecb232013-11-25 17:53:16 -070081 reg = <0x54140000 0x00040000>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +030082 clocks = <&tegra_car TEGRA20_CLK_GR3D>;
Stephen Warren3393d422013-11-06 14:01:16 -070083 resets = <&tegra_car 24>;
84 reset-names = "3d";
Thierry Redinged821f02012-11-15 22:07:54 +010085 };
86
87 dc@54200000 {
88 compatible = "nvidia,tegra20-dc";
89 reg = <0x54200000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -070090 interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +030091 clocks = <&tegra_car TEGRA20_CLK_DISP1>,
92 <&tegra_car TEGRA20_CLK_PLL_P>;
Stephen Warrend8f64792013-11-06 14:00:25 -070093 clock-names = "dc", "parent";
Stephen Warren3393d422013-11-06 14:01:16 -070094 resets = <&tegra_car 27>;
95 reset-names = "dc";
Thierry Redinged821f02012-11-15 22:07:54 +010096
Thierry Reding688b56b2014-02-18 23:03:31 +010097 nvidia,head = <0>;
98
Thierry Redinged821f02012-11-15 22:07:54 +010099 rgb {
100 status = "disabled";
101 };
102 };
103
104 dc@54240000 {
105 compatible = "nvidia,tegra20-dc";
106 reg = <0x54240000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700107 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300108 clocks = <&tegra_car TEGRA20_CLK_DISP2>,
109 <&tegra_car TEGRA20_CLK_PLL_P>;
Stephen Warrend8f64792013-11-06 14:00:25 -0700110 clock-names = "dc", "parent";
Stephen Warren3393d422013-11-06 14:01:16 -0700111 resets = <&tegra_car 26>;
112 reset-names = "dc";
Thierry Redinged821f02012-11-15 22:07:54 +0100113
Thierry Reding688b56b2014-02-18 23:03:31 +0100114 nvidia,head = <1>;
115
Thierry Redinged821f02012-11-15 22:07:54 +0100116 rgb {
117 status = "disabled";
118 };
119 };
120
Stephen Warren58ecb232013-11-25 17:53:16 -0700121 hdmi@54280000 {
Thierry Redinged821f02012-11-15 22:07:54 +0100122 compatible = "nvidia,tegra20-hdmi";
123 reg = <0x54280000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700124 interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300125 clocks = <&tegra_car TEGRA20_CLK_HDMI>,
126 <&tegra_car TEGRA20_CLK_PLL_D_OUT0>;
Prashant Gaikwad8d8b43d2013-01-11 13:31:21 +0530127 clock-names = "hdmi", "parent";
Stephen Warren3393d422013-11-06 14:01:16 -0700128 resets = <&tegra_car 51>;
129 reset-names = "hdmi";
Thierry Redinged821f02012-11-15 22:07:54 +0100130 status = "disabled";
131 };
132
Stephen Warren58ecb232013-11-25 17:53:16 -0700133 tvo@542c0000 {
Thierry Redinged821f02012-11-15 22:07:54 +0100134 compatible = "nvidia,tegra20-tvo";
135 reg = <0x542c0000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700136 interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300137 clocks = <&tegra_car TEGRA20_CLK_TVO>;
Thierry Redinged821f02012-11-15 22:07:54 +0100138 status = "disabled";
139 };
140
Stephen Warren58ecb232013-11-25 17:53:16 -0700141 dsi@542c0000 {
Thierry Redinged821f02012-11-15 22:07:54 +0100142 compatible = "nvidia,tegra20-dsi";
Stephen Warren58ecb232013-11-25 17:53:16 -0700143 reg = <0x542c0000 0x00040000>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300144 clocks = <&tegra_car TEGRA20_CLK_DSI>;
Stephen Warren3393d422013-11-06 14:01:16 -0700145 resets = <&tegra_car 48>;
146 reset-names = "dsi";
Thierry Redinged821f02012-11-15 22:07:54 +0100147 status = "disabled";
148 };
149 };
150
Stephen Warren73368ba2012-09-19 14:17:24 -0600151 timer@50004600 {
152 compatible = "arm,cortex-a9-twd-timer";
153 reg = <0x50040600 0x20>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700154 interrupts = <GIC_PPI 13
155 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300156 clocks = <&tegra_car TEGRA20_CLK_TWD>;
Stephen Warren73368ba2012-09-19 14:17:24 -0600157 };
158
Stephen Warren58ecb232013-11-25 17:53:16 -0700159 intc: interrupt-controller@50041000 {
pdeschrijver@nvidia.com0d4f7472011-11-29 18:29:19 -0700160 compatible = "arm,cortex-a9-gic";
Stephen Warren5ff48882012-05-11 16:26:03 -0600161 reg = <0x50041000 0x1000
162 0x50040100 0x0100>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600163 interrupt-controller;
164 #interrupt-cells = <3>;
Grant Likely8e267f32011-07-19 17:26:54 -0600165 };
166
Stephen Warren58ecb232013-11-25 17:53:16 -0700167 cache-controller@50043000 {
Stephen Warrenbb2c1de2013-01-14 10:09:16 -0700168 compatible = "arm,pl310-cache";
169 reg = <0x50043000 0x1000>;
170 arm,data-latency = <5 5 2>;
171 arm,tag-latency = <4 4 2>;
172 cache-unified;
173 cache-level = <2>;
174 };
175
Stephen Warren2f2b7fb2012-09-19 12:02:31 -0600176 timer@60005000 {
177 compatible = "nvidia,tegra20-timer";
178 reg = <0x60005000 0x60>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700179 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
180 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
181 <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
182 <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300183 clocks = <&tegra_car TEGRA20_CLK_TIMER>;
Stephen Warren2f2b7fb2012-09-19 12:02:31 -0600184 };
185
Stephen Warren58ecb232013-11-25 17:53:16 -0700186 tegra_car: clock@60006000 {
Stephen Warren270f8ce2013-01-11 13:16:22 +0530187 compatible = "nvidia,tegra20-car";
188 reg = <0x60006000 0x1000>;
189 #clock-cells = <1>;
Stephen Warren3393d422013-11-06 14:01:16 -0700190 #reset-cells = <1>;
Stephen Warren270f8ce2013-01-11 13:16:22 +0530191 };
192
Stephen Warren58ecb232013-11-25 17:53:16 -0700193 apbdma: dma@6000a000 {
Stephen Warren8051b752012-01-11 16:09:54 -0700194 compatible = "nvidia,tegra20-apbdma";
195 reg = <0x6000a000 0x1200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700196 interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
197 <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
198 <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
199 <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
200 <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
201 <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
202 <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
203 <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
204 <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
205 <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
206 <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
207 <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
208 <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
209 <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
210 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
211 <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300212 clocks = <&tegra_car TEGRA20_CLK_APBDMA>;
Stephen Warren3393d422013-11-06 14:01:16 -0700213 resets = <&tegra_car 34>;
214 reset-names = "dma";
Stephen Warren034d0232013-11-11 13:05:59 -0700215 #dma-cells = <1>;
Stephen Warren8051b752012-01-11 16:09:54 -0700216 };
217
Stephen Warren58ecb232013-11-25 17:53:16 -0700218 ahb@6000c004 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600219 compatible = "nvidia,tegra20-ahb";
220 reg = <0x6000c004 0x10c>; /* AHB Arbitration + Gizmo Controller */
Grant Likely8e267f32011-07-19 17:26:54 -0600221 };
222
Stephen Warren58ecb232013-11-25 17:53:16 -0700223 gpio: gpio@6000d000 {
Grant Likely8e267f32011-07-19 17:26:54 -0600224 compatible = "nvidia,tegra20-gpio";
Stephen Warren95decf82012-05-11 16:11:38 -0600225 reg = <0x6000d000 0x1000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700226 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>,
227 <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>,
228 <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>,
229 <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>,
230 <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
231 <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>,
232 <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
Grant Likely8e267f32011-07-19 17:26:54 -0600233 #gpio-cells = <2>;
234 gpio-controller;
Stephen Warren6f74dc92012-01-04 08:39:37 +0000235 #interrupt-cells = <2>;
236 interrupt-controller;
Grant Likely8e267f32011-07-19 17:26:54 -0600237 };
238
Stephen Warren58ecb232013-11-25 17:53:16 -0700239 pinmux: pinmux@70000014 {
Stephen Warrenf62f5482011-10-11 16:16:13 -0600240 compatible = "nvidia,tegra20-pinmux";
Stephen Warren95decf82012-05-11 16:11:38 -0600241 reg = <0x70000014 0x10 /* Tri-state registers */
242 0x70000080 0x20 /* Mux registers */
243 0x700000a0 0x14 /* Pull-up/down registers */
244 0x70000868 0xa8>; /* Pad control registers */
Stephen Warrenf62f5482011-10-11 16:16:13 -0600245 };
246
Stephen Warren58ecb232013-11-25 17:53:16 -0700247 das@70000c00 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600248 compatible = "nvidia,tegra20-das";
249 reg = <0x70000c00 0x80>;
250 };
Stephen Warrenfc5c3062013-03-06 11:28:32 -0700251
Stephen Warren58ecb232013-11-25 17:53:16 -0700252 tegra_ac97: ac97@70002000 {
Lucas Stach0698ed12013-01-05 02:18:44 +0100253 compatible = "nvidia,tegra20-ac97";
254 reg = <0x70002000 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700255 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300256 clocks = <&tegra_car TEGRA20_CLK_AC97>;
Stephen Warren3393d422013-11-06 14:01:16 -0700257 resets = <&tegra_car 3>;
258 reset-names = "ac97";
Stephen Warren034d0232013-11-11 13:05:59 -0700259 dmas = <&apbdma 12>, <&apbdma 12>;
260 dma-names = "rx", "tx";
Lucas Stach0698ed12013-01-05 02:18:44 +0100261 status = "disabled";
262 };
Stephen Warrenc04abb32012-05-11 17:03:26 -0600263
264 tegra_i2s1: i2s@70002800 {
265 compatible = "nvidia,tegra20-i2s";
266 reg = <0x70002800 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700267 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300268 clocks = <&tegra_car TEGRA20_CLK_I2S1>;
Stephen Warren3393d422013-11-06 14:01:16 -0700269 resets = <&tegra_car 11>;
270 reset-names = "i2s";
Stephen Warren034d0232013-11-11 13:05:59 -0700271 dmas = <&apbdma 2>, <&apbdma 2>;
272 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200273 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600274 };
275
276 tegra_i2s2: i2s@70002a00 {
277 compatible = "nvidia,tegra20-i2s";
278 reg = <0x70002a00 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700279 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300280 clocks = <&tegra_car TEGRA20_CLK_I2S2>;
Stephen Warren3393d422013-11-06 14:01:16 -0700281 resets = <&tegra_car 18>;
282 reset-names = "i2s";
Stephen Warren034d0232013-11-11 13:05:59 -0700283 dmas = <&apbdma 1>, <&apbdma 1>;
284 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200285 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600286 };
287
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530288 /*
289 * There are two serial driver i.e. 8250 based simple serial
290 * driver and APB DMA based serial driver for higher baudrate
291 * and performace. To enable the 8250 based driver, the compatible
292 * is "nvidia,tegra20-uart" and to enable the APB DMA based serial
293 * driver, the comptible is "nvidia,tegra20-hsuart".
294 */
295 uarta: serial@70006000 {
Grant Likely8e267f32011-07-19 17:26:54 -0600296 compatible = "nvidia,tegra20-uart";
297 reg = <0x70006000 0x40>;
298 reg-shift = <2>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700299 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300300 clocks = <&tegra_car TEGRA20_CLK_UARTA>;
Stephen Warren3393d422013-11-06 14:01:16 -0700301 resets = <&tegra_car 6>;
302 reset-names = "serial";
Stephen Warren034d0232013-11-11 13:05:59 -0700303 dmas = <&apbdma 8>, <&apbdma 8>;
304 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200305 status = "disabled";
Grant Likely8e267f32011-07-19 17:26:54 -0600306 };
307
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530308 uartb: serial@70006040 {
Grant Likely8e267f32011-07-19 17:26:54 -0600309 compatible = "nvidia,tegra20-uart";
310 reg = <0x70006040 0x40>;
311 reg-shift = <2>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700312 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300313 clocks = <&tegra_car TEGRA20_CLK_UARTB>;
Stephen Warren3393d422013-11-06 14:01:16 -0700314 resets = <&tegra_car 7>;
315 reset-names = "serial";
Stephen Warren034d0232013-11-11 13:05:59 -0700316 dmas = <&apbdma 9>, <&apbdma 9>;
317 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200318 status = "disabled";
Grant Likely8e267f32011-07-19 17:26:54 -0600319 };
320
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530321 uartc: serial@70006200 {
Grant Likely8e267f32011-07-19 17:26:54 -0600322 compatible = "nvidia,tegra20-uart";
323 reg = <0x70006200 0x100>;
324 reg-shift = <2>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700325 interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300326 clocks = <&tegra_car TEGRA20_CLK_UARTC>;
Stephen Warren3393d422013-11-06 14:01:16 -0700327 resets = <&tegra_car 55>;
328 reset-names = "serial";
Stephen Warren034d0232013-11-11 13:05:59 -0700329 dmas = <&apbdma 10>, <&apbdma 10>;
330 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200331 status = "disabled";
Grant Likely8e267f32011-07-19 17:26:54 -0600332 };
333
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530334 uartd: serial@70006300 {
Grant Likely8e267f32011-07-19 17:26:54 -0600335 compatible = "nvidia,tegra20-uart";
336 reg = <0x70006300 0x100>;
337 reg-shift = <2>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700338 interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300339 clocks = <&tegra_car TEGRA20_CLK_UARTD>;
Stephen Warren3393d422013-11-06 14:01:16 -0700340 resets = <&tegra_car 65>;
341 reset-names = "serial";
Stephen Warren034d0232013-11-11 13:05:59 -0700342 dmas = <&apbdma 19>, <&apbdma 19>;
343 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200344 status = "disabled";
Grant Likely8e267f32011-07-19 17:26:54 -0600345 };
346
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530347 uarte: serial@70006400 {
Grant Likely8e267f32011-07-19 17:26:54 -0600348 compatible = "nvidia,tegra20-uart";
349 reg = <0x70006400 0x100>;
350 reg-shift = <2>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700351 interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300352 clocks = <&tegra_car TEGRA20_CLK_UARTE>;
Stephen Warren3393d422013-11-06 14:01:16 -0700353 resets = <&tegra_car 66>;
354 reset-names = "serial";
Stephen Warren034d0232013-11-11 13:05:59 -0700355 dmas = <&apbdma 20>, <&apbdma 20>;
356 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200357 status = "disabled";
Grant Likely8e267f32011-07-19 17:26:54 -0600358 };
359
Stephen Warren58ecb232013-11-25 17:53:16 -0700360 pwm: pwm@7000a000 {
Thierry Reding140fd972011-12-21 08:04:13 +0100361 compatible = "nvidia,tegra20-pwm";
362 reg = <0x7000a000 0x100>;
363 #pwm-cells = <2>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300364 clocks = <&tegra_car TEGRA20_CLK_PWM>;
Stephen Warren3393d422013-11-06 14:01:16 -0700365 resets = <&tegra_car 17>;
366 reset-names = "pwm";
Andrew Chewb69cd982013-03-12 16:40:51 -0700367 status = "disabled";
Thierry Reding140fd972011-12-21 08:04:13 +0100368 };
369
Stephen Warren58ecb232013-11-25 17:53:16 -0700370 rtc@7000e000 {
Stephen Warren380e04a2012-09-19 12:13:16 -0600371 compatible = "nvidia,tegra20-rtc";
372 reg = <0x7000e000 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700373 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300374 clocks = <&tegra_car TEGRA20_CLK_RTC>;
Stephen Warren380e04a2012-09-19 12:13:16 -0600375 };
376
Stephen Warrenc04abb32012-05-11 17:03:26 -0600377 i2c@7000c000 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600378 compatible = "nvidia,tegra20-i2c";
379 reg = <0x7000c000 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700380 interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600381 #address-cells = <1>;
382 #size-cells = <0>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300383 clocks = <&tegra_car TEGRA20_CLK_I2C1>,
384 <&tegra_car TEGRA20_CLK_PLL_P_OUT3>;
Prashant Gaikwad8d8b43d2013-01-11 13:31:21 +0530385 clock-names = "div-clk", "fast-clk";
Stephen Warren3393d422013-11-06 14:01:16 -0700386 resets = <&tegra_car 12>;
387 reset-names = "i2c";
Stephen Warren034d0232013-11-11 13:05:59 -0700388 dmas = <&apbdma 21>, <&apbdma 21>;
389 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200390 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600391 };
392
Laxman Dewanganfa98a112012-11-13 10:33:39 +0530393 spi@7000c380 {
394 compatible = "nvidia,tegra20-sflash";
395 reg = <0x7000c380 0x80>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700396 interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewanganfa98a112012-11-13 10:33:39 +0530397 #address-cells = <1>;
398 #size-cells = <0>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300399 clocks = <&tegra_car TEGRA20_CLK_SPI>;
Stephen Warren3393d422013-11-06 14:01:16 -0700400 resets = <&tegra_car 43>;
401 reset-names = "spi";
Stephen Warren034d0232013-11-11 13:05:59 -0700402 dmas = <&apbdma 11>, <&apbdma 11>;
403 dma-names = "rx", "tx";
Laxman Dewanganfa98a112012-11-13 10:33:39 +0530404 status = "disabled";
405 };
406
Stephen Warrenc04abb32012-05-11 17:03:26 -0600407 i2c@7000c400 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600408 compatible = "nvidia,tegra20-i2c";
409 reg = <0x7000c400 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700410 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600411 #address-cells = <1>;
412 #size-cells = <0>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300413 clocks = <&tegra_car TEGRA20_CLK_I2C2>,
414 <&tegra_car TEGRA20_CLK_PLL_P_OUT3>;
Prashant Gaikwad8d8b43d2013-01-11 13:31:21 +0530415 clock-names = "div-clk", "fast-clk";
Stephen Warren3393d422013-11-06 14:01:16 -0700416 resets = <&tegra_car 54>;
417 reset-names = "i2c";
Stephen Warren034d0232013-11-11 13:05:59 -0700418 dmas = <&apbdma 22>, <&apbdma 22>;
419 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200420 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600421 };
422
423 i2c@7000c500 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600424 compatible = "nvidia,tegra20-i2c";
425 reg = <0x7000c500 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700426 interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600427 #address-cells = <1>;
428 #size-cells = <0>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300429 clocks = <&tegra_car TEGRA20_CLK_I2C3>,
430 <&tegra_car TEGRA20_CLK_PLL_P_OUT3>;
Prashant Gaikwad8d8b43d2013-01-11 13:31:21 +0530431 clock-names = "div-clk", "fast-clk";
Stephen Warren3393d422013-11-06 14:01:16 -0700432 resets = <&tegra_car 67>;
433 reset-names = "i2c";
Stephen Warren034d0232013-11-11 13:05:59 -0700434 dmas = <&apbdma 23>, <&apbdma 23>;
435 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200436 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600437 };
438
439 i2c@7000d000 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600440 compatible = "nvidia,tegra20-i2c-dvc";
441 reg = <0x7000d000 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700442 interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600443 #address-cells = <1>;
444 #size-cells = <0>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300445 clocks = <&tegra_car TEGRA20_CLK_DVC>,
446 <&tegra_car TEGRA20_CLK_PLL_P_OUT3>;
Prashant Gaikwad8d8b43d2013-01-11 13:31:21 +0530447 clock-names = "div-clk", "fast-clk";
Stephen Warren3393d422013-11-06 14:01:16 -0700448 resets = <&tegra_car 47>;
449 reset-names = "i2c";
Stephen Warren034d0232013-11-11 13:05:59 -0700450 dmas = <&apbdma 24>, <&apbdma 24>;
451 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200452 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600453 };
454
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530455 spi@7000d400 {
456 compatible = "nvidia,tegra20-slink";
457 reg = <0x7000d400 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700458 interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530459 #address-cells = <1>;
460 #size-cells = <0>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300461 clocks = <&tegra_car TEGRA20_CLK_SBC1>;
Stephen Warren3393d422013-11-06 14:01:16 -0700462 resets = <&tegra_car 41>;
463 reset-names = "spi";
Stephen Warren034d0232013-11-11 13:05:59 -0700464 dmas = <&apbdma 15>, <&apbdma 15>;
465 dma-names = "rx", "tx";
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530466 status = "disabled";
467 };
468
469 spi@7000d600 {
470 compatible = "nvidia,tegra20-slink";
471 reg = <0x7000d600 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700472 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530473 #address-cells = <1>;
474 #size-cells = <0>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300475 clocks = <&tegra_car TEGRA20_CLK_SBC2>;
Stephen Warren3393d422013-11-06 14:01:16 -0700476 resets = <&tegra_car 44>;
477 reset-names = "spi";
Stephen Warren034d0232013-11-11 13:05:59 -0700478 dmas = <&apbdma 16>, <&apbdma 16>;
479 dma-names = "rx", "tx";
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530480 status = "disabled";
481 };
482
483 spi@7000d800 {
484 compatible = "nvidia,tegra20-slink";
Laxman Dewangan57471c82013-03-22 12:35:06 -0600485 reg = <0x7000d800 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700486 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530487 #address-cells = <1>;
488 #size-cells = <0>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300489 clocks = <&tegra_car TEGRA20_CLK_SBC3>;
Stephen Warren3393d422013-11-06 14:01:16 -0700490 resets = <&tegra_car 46>;
491 reset-names = "spi";
Stephen Warren034d0232013-11-11 13:05:59 -0700492 dmas = <&apbdma 17>, <&apbdma 17>;
493 dma-names = "rx", "tx";
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530494 status = "disabled";
495 };
496
497 spi@7000da00 {
498 compatible = "nvidia,tegra20-slink";
499 reg = <0x7000da00 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700500 interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530501 #address-cells = <1>;
502 #size-cells = <0>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300503 clocks = <&tegra_car TEGRA20_CLK_SBC4>;
Stephen Warren3393d422013-11-06 14:01:16 -0700504 resets = <&tegra_car 68>;
505 reset-names = "spi";
Stephen Warren034d0232013-11-11 13:05:59 -0700506 dmas = <&apbdma 18>, <&apbdma 18>;
507 dma-names = "rx", "tx";
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530508 status = "disabled";
509 };
510
Stephen Warren58ecb232013-11-25 17:53:16 -0700511 kbc@7000e200 {
Laxman Dewangan699ed4b2013-01-11 19:03:03 +0530512 compatible = "nvidia,tegra20-kbc";
513 reg = <0x7000e200 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700514 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300515 clocks = <&tegra_car TEGRA20_CLK_KBC>;
Stephen Warren3393d422013-11-06 14:01:16 -0700516 resets = <&tegra_car 36>;
517 reset-names = "kbc";
Laxman Dewangan699ed4b2013-01-11 19:03:03 +0530518 status = "disabled";
519 };
520
Stephen Warren58ecb232013-11-25 17:53:16 -0700521 pmc@7000e400 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600522 compatible = "nvidia,tegra20-pmc";
523 reg = <0x7000e400 0x400>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300524 clocks = <&tegra_car TEGRA20_CLK_PCLK>, <&clk32k_in>;
Joseph Lo7021d122013-04-03 19:31:27 +0800525 clock-names = "pclk", "clk32k_in";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600526 };
527
Stephen Warrenbbfc33b2012-10-02 13:10:47 -0600528 memory-controller@7000f000 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600529 compatible = "nvidia,tegra20-mc";
530 reg = <0x7000f000 0x024
531 0x7000f03c 0x3c4>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700532 interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warrenc04abb32012-05-11 17:03:26 -0600533 };
534
Stephen Warren58ecb232013-11-25 17:53:16 -0700535 iommu@7000f024 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600536 compatible = "nvidia,tegra20-gart";
537 reg = <0x7000f024 0x00000018 /* controller registers */
538 0x58000000 0x02000000>; /* GART aperture */
539 };
540
Stephen Warrenbbfc33b2012-10-02 13:10:47 -0600541 memory-controller@7000f400 {
Olof Johansson0c6700a2011-10-13 02:14:55 -0700542 compatible = "nvidia,tegra20-emc";
543 reg = <0x7000f400 0x200>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600544 #address-cells = <1>;
545 #size-cells = <0>;
Olof Johansson0c6700a2011-10-13 02:14:55 -0700546 };
547
Stephen Warren58ecb232013-11-25 17:53:16 -0700548 pcie-controller@80003000 {
Thierry Reding1b62b612013-08-09 16:49:19 +0200549 compatible = "nvidia,tegra20-pcie";
550 device_type = "pci";
551 reg = <0x80003000 0x00000800 /* PADS registers */
552 0x80003800 0x00000200 /* AFI registers */
553 0x90000000 0x10000000>; /* configuration space */
554 reg-names = "pads", "afi", "cs";
555 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH /* controller interrupt */
556 GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>; /* MSI interrupt */
557 interrupt-names = "intr", "msi";
558
Lucas Stach97070bd2014-03-05 14:25:46 +0100559 #interrupt-cells = <1>;
560 interrupt-map-mask = <0 0 0 0>;
561 interrupt-map = <0 0 0 0 &intc GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
562
Thierry Reding1b62b612013-08-09 16:49:19 +0200563 bus-range = <0x00 0xff>;
564 #address-cells = <3>;
565 #size-cells = <2>;
566
567 ranges = <0x82000000 0 0x80000000 0x80000000 0 0x00001000 /* port 0 registers */
568 0x82000000 0 0x80001000 0x80001000 0 0x00001000 /* port 1 registers */
569 0x81000000 0 0 0x82000000 0 0x00010000 /* downstream I/O */
Jay Agarwald7283c12013-08-09 16:49:31 +0200570 0x82000000 0 0xa0000000 0xa0000000 0 0x08000000 /* non-prefetchable memory */
571 0xc2000000 0 0xa8000000 0xa8000000 0 0x18000000>; /* prefetchable memory */
Thierry Reding1b62b612013-08-09 16:49:19 +0200572
573 clocks = <&tegra_car TEGRA20_CLK_PEX>,
574 <&tegra_car TEGRA20_CLK_AFI>,
Thierry Reding1b62b612013-08-09 16:49:19 +0200575 <&tegra_car TEGRA20_CLK_PLL_E>;
Stephen Warren2bd541f2013-11-07 10:59:42 -0700576 clock-names = "pex", "afi", "pll_e";
Stephen Warren3393d422013-11-06 14:01:16 -0700577 resets = <&tegra_car 70>,
578 <&tegra_car 72>,
579 <&tegra_car 74>;
580 reset-names = "pex", "afi", "pcie_x";
Thierry Reding1b62b612013-08-09 16:49:19 +0200581 status = "disabled";
582
583 pci@1,0 {
584 device_type = "pci";
585 assigned-addresses = <0x82000800 0 0x80000000 0 0x1000>;
586 reg = <0x000800 0 0 0 0>;
587 status = "disabled";
588
589 #address-cells = <3>;
590 #size-cells = <2>;
591 ranges;
592
593 nvidia,num-lanes = <2>;
594 };
595
596 pci@2,0 {
597 device_type = "pci";
598 assigned-addresses = <0x82001000 0 0x80001000 0 0x1000>;
599 reg = <0x001000 0 0 0 0>;
600 status = "disabled";
601
602 #address-cells = <3>;
603 #size-cells = <2>;
604 ranges;
605
606 nvidia,num-lanes = <2>;
607 };
608 };
609
Stephen Warrenc04abb32012-05-11 17:03:26 -0600610 usb@c5000000 {
611 compatible = "nvidia,tegra20-ehci", "usb-ehci";
612 reg = <0xc5000000 0x4000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700613 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warrenc04abb32012-05-11 17:03:26 -0600614 phy_type = "utmi";
615 nvidia,has-legacy-mode;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300616 clocks = <&tegra_car TEGRA20_CLK_USBD>;
Stephen Warren3393d422013-11-06 14:01:16 -0700617 resets = <&tegra_car 22>;
618 reset-names = "usb";
Venu Byravarasub4e07472012-12-13 20:59:07 +0000619 nvidia,needs-double-reset;
Venu Byravarasue374b652013-01-16 03:30:19 +0000620 nvidia,phy = <&phy1>;
Roland Stigge223ef782012-06-11 21:09:45 +0200621 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600622 };
623
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530624 phy1: usb-phy@c5000000 {
Stephen Warren5d324412013-03-06 11:28:33 -0700625 compatible = "nvidia,tegra20-usb-phy";
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530626 reg = <0xc5000000 0x4000 0xc5000000 0x4000>;
Stephen Warren5d324412013-03-06 11:28:33 -0700627 phy_type = "utmi";
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300628 clocks = <&tegra_car TEGRA20_CLK_USBD>,
629 <&tegra_car TEGRA20_CLK_PLL_U>,
630 <&tegra_car TEGRA20_CLK_CLK_M>,
631 <&tegra_car TEGRA20_CLK_USBD>;
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530632 clock-names = "reg", "pll_u", "timer", "utmi-pads";
Stephen Warren5d324412013-03-06 11:28:33 -0700633 nvidia,has-legacy-mode;
Mikko Perttunenc49667e2013-07-17 09:31:00 +0300634 nvidia,hssync-start-delay = <9>;
635 nvidia,idle-wait-delay = <17>;
636 nvidia,elastic-limit = <16>;
637 nvidia,term-range-adj = <6>;
638 nvidia,xcvr-setup = <9>;
639 nvidia,xcvr-lsfslew = <1>;
640 nvidia,xcvr-lsrslew = <1>;
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530641 status = "disabled";
Stephen Warren5d324412013-03-06 11:28:33 -0700642 };
643
Stephen Warrenc04abb32012-05-11 17:03:26 -0600644 usb@c5004000 {
645 compatible = "nvidia,tegra20-ehci", "usb-ehci";
646 reg = <0xc5004000 0x4000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700647 interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warrenc04abb32012-05-11 17:03:26 -0600648 phy_type = "ulpi";
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300649 clocks = <&tegra_car TEGRA20_CLK_USB2>;
Stephen Warren3393d422013-11-06 14:01:16 -0700650 resets = <&tegra_car 58>;
651 reset-names = "usb";
Venu Byravarasue374b652013-01-16 03:30:19 +0000652 nvidia,phy = <&phy2>;
Roland Stigge223ef782012-06-11 21:09:45 +0200653 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600654 };
655
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530656 phy2: usb-phy@c5004000 {
Stephen Warren5d324412013-03-06 11:28:33 -0700657 compatible = "nvidia,tegra20-usb-phy";
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530658 reg = <0xc5004000 0x4000>;
Stephen Warren5d324412013-03-06 11:28:33 -0700659 phy_type = "ulpi";
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300660 clocks = <&tegra_car TEGRA20_CLK_USB2>,
661 <&tegra_car TEGRA20_CLK_PLL_U>,
662 <&tegra_car TEGRA20_CLK_CDEV2>;
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530663 clock-names = "reg", "pll_u", "ulpi-link";
664 status = "disabled";
Stephen Warren5d324412013-03-06 11:28:33 -0700665 };
666
Stephen Warrenc04abb32012-05-11 17:03:26 -0600667 usb@c5008000 {
668 compatible = "nvidia,tegra20-ehci", "usb-ehci";
669 reg = <0xc5008000 0x4000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700670 interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warrenc04abb32012-05-11 17:03:26 -0600671 phy_type = "utmi";
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300672 clocks = <&tegra_car TEGRA20_CLK_USB3>;
Stephen Warren3393d422013-11-06 14:01:16 -0700673 resets = <&tegra_car 59>;
674 reset-names = "usb";
Venu Byravarasue374b652013-01-16 03:30:19 +0000675 nvidia,phy = <&phy3>;
Roland Stigge223ef782012-06-11 21:09:45 +0200676 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600677 };
678
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530679 phy3: usb-phy@c5008000 {
Stephen Warren5d324412013-03-06 11:28:33 -0700680 compatible = "nvidia,tegra20-usb-phy";
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530681 reg = <0xc5008000 0x4000 0xc5000000 0x4000>;
Stephen Warren5d324412013-03-06 11:28:33 -0700682 phy_type = "utmi";
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300683 clocks = <&tegra_car TEGRA20_CLK_USB3>,
684 <&tegra_car TEGRA20_CLK_PLL_U>,
685 <&tegra_car TEGRA20_CLK_CLK_M>,
686 <&tegra_car TEGRA20_CLK_USBD>;
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530687 clock-names = "reg", "pll_u", "timer", "utmi-pads";
Mikko Perttunenc49667e2013-07-17 09:31:00 +0300688 nvidia,hssync-start-delay = <9>;
689 nvidia,idle-wait-delay = <17>;
690 nvidia,elastic-limit = <16>;
691 nvidia,term-range-adj = <6>;
692 nvidia,xcvr-setup = <9>;
693 nvidia,xcvr-lsfslew = <2>;
694 nvidia,xcvr-lsrslew = <2>;
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530695 status = "disabled";
Stephen Warren5d324412013-03-06 11:28:33 -0700696 };
697
Grant Likely8e267f32011-07-19 17:26:54 -0600698 sdhci@c8000000 {
699 compatible = "nvidia,tegra20-sdhci";
700 reg = <0xc8000000 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700701 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300702 clocks = <&tegra_car TEGRA20_CLK_SDMMC1>;
Stephen Warren3393d422013-11-06 14:01:16 -0700703 resets = <&tegra_car 14>;
704 reset-names = "sdhci";
Roland Stigge223ef782012-06-11 21:09:45 +0200705 status = "disabled";
Grant Likely8e267f32011-07-19 17:26:54 -0600706 };
707
708 sdhci@c8000200 {
709 compatible = "nvidia,tegra20-sdhci";
710 reg = <0xc8000200 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700711 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300712 clocks = <&tegra_car TEGRA20_CLK_SDMMC2>;
Stephen Warren3393d422013-11-06 14:01:16 -0700713 resets = <&tegra_car 9>;
714 reset-names = "sdhci";
Roland Stigge223ef782012-06-11 21:09:45 +0200715 status = "disabled";
Grant Likely8e267f32011-07-19 17:26:54 -0600716 };
717
718 sdhci@c8000400 {
719 compatible = "nvidia,tegra20-sdhci";
720 reg = <0xc8000400 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700721 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300722 clocks = <&tegra_car TEGRA20_CLK_SDMMC3>;
Stephen Warren3393d422013-11-06 14:01:16 -0700723 resets = <&tegra_car 69>;
724 reset-names = "sdhci";
Roland Stigge223ef782012-06-11 21:09:45 +0200725 status = "disabled";
Grant Likely8e267f32011-07-19 17:26:54 -0600726 };
727
728 sdhci@c8000600 {
729 compatible = "nvidia,tegra20-sdhci";
730 reg = <0xc8000600 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700731 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300732 clocks = <&tegra_car TEGRA20_CLK_SDMMC4>;
Stephen Warren3393d422013-11-06 14:01:16 -0700733 resets = <&tegra_car 15>;
734 reset-names = "sdhci";
Roland Stigge223ef782012-06-11 21:09:45 +0200735 status = "disabled";
Grant Likely8e267f32011-07-19 17:26:54 -0600736 };
Olof Johanssonc27317c2011-11-04 09:12:39 +0000737
Hiroshi Doyu4dd2bd32013-01-11 15:26:55 +0200738 cpus {
739 #address-cells = <1>;
740 #size-cells = <0>;
741
742 cpu@0 {
743 device_type = "cpu";
744 compatible = "arm,cortex-a9";
745 reg = <0>;
746 };
747
748 cpu@1 {
749 device_type = "cpu";
750 compatible = "arm,cortex-a9";
751 reg = <1>;
752 };
753 };
754
Stephen Warrenc04abb32012-05-11 17:03:26 -0600755 pmu {
756 compatible = "arm,cortex-a9-pmu";
Stephen Warren6cecf912013-02-13 12:51:51 -0700757 interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
758 <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
hdoyu@nvidia.com6a943e02012-05-09 21:45:33 +0000759 };
Grant Likely8e267f32011-07-19 17:26:54 -0600760};