blob: 480ecda3416b841b8941105d24646f1240f5ab37 [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
97 rgb {
98 status = "disabled";
99 };
100 };
101
102 dc@54240000 {
103 compatible = "nvidia,tegra20-dc";
104 reg = <0x54240000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700105 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300106 clocks = <&tegra_car TEGRA20_CLK_DISP2>,
107 <&tegra_car TEGRA20_CLK_PLL_P>;
Stephen Warrend8f64792013-11-06 14:00:25 -0700108 clock-names = "dc", "parent";
Stephen Warren3393d422013-11-06 14:01:16 -0700109 resets = <&tegra_car 26>;
110 reset-names = "dc";
Thierry Redinged821f02012-11-15 22:07:54 +0100111
112 rgb {
113 status = "disabled";
114 };
115 };
116
Stephen Warren58ecb232013-11-25 17:53:16 -0700117 hdmi@54280000 {
Thierry Redinged821f02012-11-15 22:07:54 +0100118 compatible = "nvidia,tegra20-hdmi";
119 reg = <0x54280000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700120 interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300121 clocks = <&tegra_car TEGRA20_CLK_HDMI>,
122 <&tegra_car TEGRA20_CLK_PLL_D_OUT0>;
Prashant Gaikwad8d8b43d2013-01-11 13:31:21 +0530123 clock-names = "hdmi", "parent";
Stephen Warren3393d422013-11-06 14:01:16 -0700124 resets = <&tegra_car 51>;
125 reset-names = "hdmi";
Thierry Redinged821f02012-11-15 22:07:54 +0100126 status = "disabled";
127 };
128
Stephen Warren58ecb232013-11-25 17:53:16 -0700129 tvo@542c0000 {
Thierry Redinged821f02012-11-15 22:07:54 +0100130 compatible = "nvidia,tegra20-tvo";
131 reg = <0x542c0000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700132 interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300133 clocks = <&tegra_car TEGRA20_CLK_TVO>;
Thierry Redinged821f02012-11-15 22:07:54 +0100134 status = "disabled";
135 };
136
Stephen Warren58ecb232013-11-25 17:53:16 -0700137 dsi@542c0000 {
Thierry Redinged821f02012-11-15 22:07:54 +0100138 compatible = "nvidia,tegra20-dsi";
Stephen Warren58ecb232013-11-25 17:53:16 -0700139 reg = <0x542c0000 0x00040000>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300140 clocks = <&tegra_car TEGRA20_CLK_DSI>;
Stephen Warren3393d422013-11-06 14:01:16 -0700141 resets = <&tegra_car 48>;
142 reset-names = "dsi";
Thierry Redinged821f02012-11-15 22:07:54 +0100143 status = "disabled";
144 };
145 };
146
Stephen Warren73368ba2012-09-19 14:17:24 -0600147 timer@50004600 {
148 compatible = "arm,cortex-a9-twd-timer";
149 reg = <0x50040600 0x20>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700150 interrupts = <GIC_PPI 13
151 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300152 clocks = <&tegra_car TEGRA20_CLK_TWD>;
Stephen Warren73368ba2012-09-19 14:17:24 -0600153 };
154
Stephen Warren58ecb232013-11-25 17:53:16 -0700155 intc: interrupt-controller@50041000 {
pdeschrijver@nvidia.com0d4f7472011-11-29 18:29:19 -0700156 compatible = "arm,cortex-a9-gic";
Stephen Warren5ff48882012-05-11 16:26:03 -0600157 reg = <0x50041000 0x1000
158 0x50040100 0x0100>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600159 interrupt-controller;
160 #interrupt-cells = <3>;
Grant Likely8e267f32011-07-19 17:26:54 -0600161 };
162
Stephen Warren58ecb232013-11-25 17:53:16 -0700163 cache-controller@50043000 {
Stephen Warrenbb2c1de2013-01-14 10:09:16 -0700164 compatible = "arm,pl310-cache";
165 reg = <0x50043000 0x1000>;
166 arm,data-latency = <5 5 2>;
167 arm,tag-latency = <4 4 2>;
168 cache-unified;
169 cache-level = <2>;
170 };
171
Stephen Warren2f2b7fb2012-09-19 12:02:31 -0600172 timer@60005000 {
173 compatible = "nvidia,tegra20-timer";
174 reg = <0x60005000 0x60>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700175 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
176 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
177 <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
178 <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300179 clocks = <&tegra_car TEGRA20_CLK_TIMER>;
Stephen Warren2f2b7fb2012-09-19 12:02:31 -0600180 };
181
Stephen Warren58ecb232013-11-25 17:53:16 -0700182 tegra_car: clock@60006000 {
Stephen Warren270f8ce2013-01-11 13:16:22 +0530183 compatible = "nvidia,tegra20-car";
184 reg = <0x60006000 0x1000>;
185 #clock-cells = <1>;
Stephen Warren3393d422013-11-06 14:01:16 -0700186 #reset-cells = <1>;
Stephen Warren270f8ce2013-01-11 13:16:22 +0530187 };
188
Stephen Warren58ecb232013-11-25 17:53:16 -0700189 apbdma: dma@6000a000 {
Stephen Warren8051b752012-01-11 16:09:54 -0700190 compatible = "nvidia,tegra20-apbdma";
191 reg = <0x6000a000 0x1200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700192 interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
193 <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
194 <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
195 <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
196 <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
197 <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
198 <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
199 <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
200 <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
201 <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
202 <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
203 <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
204 <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
205 <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
206 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
207 <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300208 clocks = <&tegra_car TEGRA20_CLK_APBDMA>;
Stephen Warren3393d422013-11-06 14:01:16 -0700209 resets = <&tegra_car 34>;
210 reset-names = "dma";
Stephen Warren034d0232013-11-11 13:05:59 -0700211 #dma-cells = <1>;
Stephen Warren8051b752012-01-11 16:09:54 -0700212 };
213
Stephen Warren58ecb232013-11-25 17:53:16 -0700214 ahb@6000c004 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600215 compatible = "nvidia,tegra20-ahb";
216 reg = <0x6000c004 0x10c>; /* AHB Arbitration + Gizmo Controller */
Grant Likely8e267f32011-07-19 17:26:54 -0600217 };
218
Stephen Warren58ecb232013-11-25 17:53:16 -0700219 gpio: gpio@6000d000 {
Grant Likely8e267f32011-07-19 17:26:54 -0600220 compatible = "nvidia,tegra20-gpio";
Stephen Warren95decf82012-05-11 16:11:38 -0600221 reg = <0x6000d000 0x1000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700222 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>,
223 <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>,
224 <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>,
225 <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>,
226 <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
227 <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>,
228 <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
Grant Likely8e267f32011-07-19 17:26:54 -0600229 #gpio-cells = <2>;
230 gpio-controller;
Stephen Warren6f74dc92012-01-04 08:39:37 +0000231 #interrupt-cells = <2>;
232 interrupt-controller;
Grant Likely8e267f32011-07-19 17:26:54 -0600233 };
234
Stephen Warren58ecb232013-11-25 17:53:16 -0700235 pinmux: pinmux@70000014 {
Stephen Warrenf62f5482011-10-11 16:16:13 -0600236 compatible = "nvidia,tegra20-pinmux";
Stephen Warren95decf82012-05-11 16:11:38 -0600237 reg = <0x70000014 0x10 /* Tri-state registers */
238 0x70000080 0x20 /* Mux registers */
239 0x700000a0 0x14 /* Pull-up/down registers */
240 0x70000868 0xa8>; /* Pad control registers */
Stephen Warrenf62f5482011-10-11 16:16:13 -0600241 };
242
Stephen Warren58ecb232013-11-25 17:53:16 -0700243 das@70000c00 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600244 compatible = "nvidia,tegra20-das";
245 reg = <0x70000c00 0x80>;
246 };
Stephen Warrenfc5c3062013-03-06 11:28:32 -0700247
Stephen Warren58ecb232013-11-25 17:53:16 -0700248 tegra_ac97: ac97@70002000 {
Lucas Stach0698ed12013-01-05 02:18:44 +0100249 compatible = "nvidia,tegra20-ac97";
250 reg = <0x70002000 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700251 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300252 clocks = <&tegra_car TEGRA20_CLK_AC97>;
Stephen Warren3393d422013-11-06 14:01:16 -0700253 resets = <&tegra_car 3>;
254 reset-names = "ac97";
Stephen Warren034d0232013-11-11 13:05:59 -0700255 dmas = <&apbdma 12>, <&apbdma 12>;
256 dma-names = "rx", "tx";
Lucas Stach0698ed12013-01-05 02:18:44 +0100257 status = "disabled";
258 };
Stephen Warrenc04abb32012-05-11 17:03:26 -0600259
260 tegra_i2s1: i2s@70002800 {
261 compatible = "nvidia,tegra20-i2s";
262 reg = <0x70002800 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700263 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300264 clocks = <&tegra_car TEGRA20_CLK_I2S1>;
Stephen Warren3393d422013-11-06 14:01:16 -0700265 resets = <&tegra_car 11>;
266 reset-names = "i2s";
Stephen Warren034d0232013-11-11 13:05:59 -0700267 dmas = <&apbdma 2>, <&apbdma 2>;
268 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200269 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600270 };
271
272 tegra_i2s2: i2s@70002a00 {
273 compatible = "nvidia,tegra20-i2s";
274 reg = <0x70002a00 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700275 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300276 clocks = <&tegra_car TEGRA20_CLK_I2S2>;
Stephen Warren3393d422013-11-06 14:01:16 -0700277 resets = <&tegra_car 18>;
278 reset-names = "i2s";
Stephen Warren034d0232013-11-11 13:05:59 -0700279 dmas = <&apbdma 1>, <&apbdma 1>;
280 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200281 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600282 };
283
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530284 /*
285 * There are two serial driver i.e. 8250 based simple serial
286 * driver and APB DMA based serial driver for higher baudrate
287 * and performace. To enable the 8250 based driver, the compatible
288 * is "nvidia,tegra20-uart" and to enable the APB DMA based serial
289 * driver, the comptible is "nvidia,tegra20-hsuart".
290 */
291 uarta: serial@70006000 {
Grant Likely8e267f32011-07-19 17:26:54 -0600292 compatible = "nvidia,tegra20-uart";
293 reg = <0x70006000 0x40>;
294 reg-shift = <2>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700295 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300296 clocks = <&tegra_car TEGRA20_CLK_UARTA>;
Stephen Warren3393d422013-11-06 14:01:16 -0700297 resets = <&tegra_car 6>;
298 reset-names = "serial";
Stephen Warren034d0232013-11-11 13:05:59 -0700299 dmas = <&apbdma 8>, <&apbdma 8>;
300 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200301 status = "disabled";
Grant Likely8e267f32011-07-19 17:26:54 -0600302 };
303
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530304 uartb: serial@70006040 {
Grant Likely8e267f32011-07-19 17:26:54 -0600305 compatible = "nvidia,tegra20-uart";
306 reg = <0x70006040 0x40>;
307 reg-shift = <2>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700308 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300309 clocks = <&tegra_car TEGRA20_CLK_UARTB>;
Stephen Warren3393d422013-11-06 14:01:16 -0700310 resets = <&tegra_car 7>;
311 reset-names = "serial";
Stephen Warren034d0232013-11-11 13:05:59 -0700312 dmas = <&apbdma 9>, <&apbdma 9>;
313 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200314 status = "disabled";
Grant Likely8e267f32011-07-19 17:26:54 -0600315 };
316
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530317 uartc: serial@70006200 {
Grant Likely8e267f32011-07-19 17:26:54 -0600318 compatible = "nvidia,tegra20-uart";
319 reg = <0x70006200 0x100>;
320 reg-shift = <2>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700321 interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300322 clocks = <&tegra_car TEGRA20_CLK_UARTC>;
Stephen Warren3393d422013-11-06 14:01:16 -0700323 resets = <&tegra_car 55>;
324 reset-names = "serial";
Stephen Warren034d0232013-11-11 13:05:59 -0700325 dmas = <&apbdma 10>, <&apbdma 10>;
326 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200327 status = "disabled";
Grant Likely8e267f32011-07-19 17:26:54 -0600328 };
329
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530330 uartd: serial@70006300 {
Grant Likely8e267f32011-07-19 17:26:54 -0600331 compatible = "nvidia,tegra20-uart";
332 reg = <0x70006300 0x100>;
333 reg-shift = <2>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700334 interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300335 clocks = <&tegra_car TEGRA20_CLK_UARTD>;
Stephen Warren3393d422013-11-06 14:01:16 -0700336 resets = <&tegra_car 65>;
337 reset-names = "serial";
Stephen Warren034d0232013-11-11 13:05:59 -0700338 dmas = <&apbdma 19>, <&apbdma 19>;
339 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200340 status = "disabled";
Grant Likely8e267f32011-07-19 17:26:54 -0600341 };
342
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530343 uarte: serial@70006400 {
Grant Likely8e267f32011-07-19 17:26:54 -0600344 compatible = "nvidia,tegra20-uart";
345 reg = <0x70006400 0x100>;
346 reg-shift = <2>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700347 interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300348 clocks = <&tegra_car TEGRA20_CLK_UARTE>;
Stephen Warren3393d422013-11-06 14:01:16 -0700349 resets = <&tegra_car 66>;
350 reset-names = "serial";
Stephen Warren034d0232013-11-11 13:05:59 -0700351 dmas = <&apbdma 20>, <&apbdma 20>;
352 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200353 status = "disabled";
Grant Likely8e267f32011-07-19 17:26:54 -0600354 };
355
Stephen Warren58ecb232013-11-25 17:53:16 -0700356 pwm: pwm@7000a000 {
Thierry Reding140fd972011-12-21 08:04:13 +0100357 compatible = "nvidia,tegra20-pwm";
358 reg = <0x7000a000 0x100>;
359 #pwm-cells = <2>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300360 clocks = <&tegra_car TEGRA20_CLK_PWM>;
Stephen Warren3393d422013-11-06 14:01:16 -0700361 resets = <&tegra_car 17>;
362 reset-names = "pwm";
Andrew Chewb69cd982013-03-12 16:40:51 -0700363 status = "disabled";
Thierry Reding140fd972011-12-21 08:04:13 +0100364 };
365
Stephen Warren58ecb232013-11-25 17:53:16 -0700366 rtc@7000e000 {
Stephen Warren380e04a2012-09-19 12:13:16 -0600367 compatible = "nvidia,tegra20-rtc";
368 reg = <0x7000e000 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700369 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300370 clocks = <&tegra_car TEGRA20_CLK_RTC>;
Stephen Warren380e04a2012-09-19 12:13:16 -0600371 };
372
Stephen Warrenc04abb32012-05-11 17:03:26 -0600373 i2c@7000c000 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600374 compatible = "nvidia,tegra20-i2c";
375 reg = <0x7000c000 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700376 interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600377 #address-cells = <1>;
378 #size-cells = <0>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300379 clocks = <&tegra_car TEGRA20_CLK_I2C1>,
380 <&tegra_car TEGRA20_CLK_PLL_P_OUT3>;
Prashant Gaikwad8d8b43d2013-01-11 13:31:21 +0530381 clock-names = "div-clk", "fast-clk";
Stephen Warren3393d422013-11-06 14:01:16 -0700382 resets = <&tegra_car 12>;
383 reset-names = "i2c";
Stephen Warren034d0232013-11-11 13:05:59 -0700384 dmas = <&apbdma 21>, <&apbdma 21>;
385 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200386 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600387 };
388
Laxman Dewanganfa98a112012-11-13 10:33:39 +0530389 spi@7000c380 {
390 compatible = "nvidia,tegra20-sflash";
391 reg = <0x7000c380 0x80>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700392 interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewanganfa98a112012-11-13 10:33:39 +0530393 #address-cells = <1>;
394 #size-cells = <0>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300395 clocks = <&tegra_car TEGRA20_CLK_SPI>;
Stephen Warren3393d422013-11-06 14:01:16 -0700396 resets = <&tegra_car 43>;
397 reset-names = "spi";
Stephen Warren034d0232013-11-11 13:05:59 -0700398 dmas = <&apbdma 11>, <&apbdma 11>;
399 dma-names = "rx", "tx";
Laxman Dewanganfa98a112012-11-13 10:33:39 +0530400 status = "disabled";
401 };
402
Stephen Warrenc04abb32012-05-11 17:03:26 -0600403 i2c@7000c400 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600404 compatible = "nvidia,tegra20-i2c";
405 reg = <0x7000c400 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700406 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600407 #address-cells = <1>;
408 #size-cells = <0>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300409 clocks = <&tegra_car TEGRA20_CLK_I2C2>,
410 <&tegra_car TEGRA20_CLK_PLL_P_OUT3>;
Prashant Gaikwad8d8b43d2013-01-11 13:31:21 +0530411 clock-names = "div-clk", "fast-clk";
Stephen Warren3393d422013-11-06 14:01:16 -0700412 resets = <&tegra_car 54>;
413 reset-names = "i2c";
Stephen Warren034d0232013-11-11 13:05:59 -0700414 dmas = <&apbdma 22>, <&apbdma 22>;
415 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200416 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600417 };
418
419 i2c@7000c500 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600420 compatible = "nvidia,tegra20-i2c";
421 reg = <0x7000c500 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700422 interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600423 #address-cells = <1>;
424 #size-cells = <0>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300425 clocks = <&tegra_car TEGRA20_CLK_I2C3>,
426 <&tegra_car TEGRA20_CLK_PLL_P_OUT3>;
Prashant Gaikwad8d8b43d2013-01-11 13:31:21 +0530427 clock-names = "div-clk", "fast-clk";
Stephen Warren3393d422013-11-06 14:01:16 -0700428 resets = <&tegra_car 67>;
429 reset-names = "i2c";
Stephen Warren034d0232013-11-11 13:05:59 -0700430 dmas = <&apbdma 23>, <&apbdma 23>;
431 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200432 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600433 };
434
435 i2c@7000d000 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600436 compatible = "nvidia,tegra20-i2c-dvc";
437 reg = <0x7000d000 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700438 interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600439 #address-cells = <1>;
440 #size-cells = <0>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300441 clocks = <&tegra_car TEGRA20_CLK_DVC>,
442 <&tegra_car TEGRA20_CLK_PLL_P_OUT3>;
Prashant Gaikwad8d8b43d2013-01-11 13:31:21 +0530443 clock-names = "div-clk", "fast-clk";
Stephen Warren3393d422013-11-06 14:01:16 -0700444 resets = <&tegra_car 47>;
445 reset-names = "i2c";
Stephen Warren034d0232013-11-11 13:05:59 -0700446 dmas = <&apbdma 24>, <&apbdma 24>;
447 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200448 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600449 };
450
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530451 spi@7000d400 {
452 compatible = "nvidia,tegra20-slink";
453 reg = <0x7000d400 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700454 interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530455 #address-cells = <1>;
456 #size-cells = <0>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300457 clocks = <&tegra_car TEGRA20_CLK_SBC1>;
Stephen Warren3393d422013-11-06 14:01:16 -0700458 resets = <&tegra_car 41>;
459 reset-names = "spi";
Stephen Warren034d0232013-11-11 13:05:59 -0700460 dmas = <&apbdma 15>, <&apbdma 15>;
461 dma-names = "rx", "tx";
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530462 status = "disabled";
463 };
464
465 spi@7000d600 {
466 compatible = "nvidia,tegra20-slink";
467 reg = <0x7000d600 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700468 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530469 #address-cells = <1>;
470 #size-cells = <0>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300471 clocks = <&tegra_car TEGRA20_CLK_SBC2>;
Stephen Warren3393d422013-11-06 14:01:16 -0700472 resets = <&tegra_car 44>;
473 reset-names = "spi";
Stephen Warren034d0232013-11-11 13:05:59 -0700474 dmas = <&apbdma 16>, <&apbdma 16>;
475 dma-names = "rx", "tx";
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530476 status = "disabled";
477 };
478
479 spi@7000d800 {
480 compatible = "nvidia,tegra20-slink";
Laxman Dewangan57471c82013-03-22 12:35:06 -0600481 reg = <0x7000d800 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700482 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530483 #address-cells = <1>;
484 #size-cells = <0>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300485 clocks = <&tegra_car TEGRA20_CLK_SBC3>;
Stephen Warren3393d422013-11-06 14:01:16 -0700486 resets = <&tegra_car 46>;
487 reset-names = "spi";
Stephen Warren034d0232013-11-11 13:05:59 -0700488 dmas = <&apbdma 17>, <&apbdma 17>;
489 dma-names = "rx", "tx";
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530490 status = "disabled";
491 };
492
493 spi@7000da00 {
494 compatible = "nvidia,tegra20-slink";
495 reg = <0x7000da00 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700496 interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530497 #address-cells = <1>;
498 #size-cells = <0>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300499 clocks = <&tegra_car TEGRA20_CLK_SBC4>;
Stephen Warren3393d422013-11-06 14:01:16 -0700500 resets = <&tegra_car 68>;
501 reset-names = "spi";
Stephen Warren034d0232013-11-11 13:05:59 -0700502 dmas = <&apbdma 18>, <&apbdma 18>;
503 dma-names = "rx", "tx";
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530504 status = "disabled";
505 };
506
Stephen Warren58ecb232013-11-25 17:53:16 -0700507 kbc@7000e200 {
Laxman Dewangan699ed4b2013-01-11 19:03:03 +0530508 compatible = "nvidia,tegra20-kbc";
509 reg = <0x7000e200 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700510 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300511 clocks = <&tegra_car TEGRA20_CLK_KBC>;
Stephen Warren3393d422013-11-06 14:01:16 -0700512 resets = <&tegra_car 36>;
513 reset-names = "kbc";
Laxman Dewangan699ed4b2013-01-11 19:03:03 +0530514 status = "disabled";
515 };
516
Stephen Warren58ecb232013-11-25 17:53:16 -0700517 pmc@7000e400 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600518 compatible = "nvidia,tegra20-pmc";
519 reg = <0x7000e400 0x400>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300520 clocks = <&tegra_car TEGRA20_CLK_PCLK>, <&clk32k_in>;
Joseph Lo7021d122013-04-03 19:31:27 +0800521 clock-names = "pclk", "clk32k_in";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600522 };
523
Stephen Warrenbbfc33b2012-10-02 13:10:47 -0600524 memory-controller@7000f000 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600525 compatible = "nvidia,tegra20-mc";
526 reg = <0x7000f000 0x024
527 0x7000f03c 0x3c4>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700528 interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warrenc04abb32012-05-11 17:03:26 -0600529 };
530
Stephen Warren58ecb232013-11-25 17:53:16 -0700531 iommu@7000f024 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600532 compatible = "nvidia,tegra20-gart";
533 reg = <0x7000f024 0x00000018 /* controller registers */
534 0x58000000 0x02000000>; /* GART aperture */
535 };
536
Stephen Warrenbbfc33b2012-10-02 13:10:47 -0600537 memory-controller@7000f400 {
Olof Johansson0c6700a2011-10-13 02:14:55 -0700538 compatible = "nvidia,tegra20-emc";
539 reg = <0x7000f400 0x200>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600540 #address-cells = <1>;
541 #size-cells = <0>;
Olof Johansson0c6700a2011-10-13 02:14:55 -0700542 };
543
Stephen Warren58ecb232013-11-25 17:53:16 -0700544 pcie-controller@80003000 {
Thierry Reding1b62b612013-08-09 16:49:19 +0200545 compatible = "nvidia,tegra20-pcie";
546 device_type = "pci";
547 reg = <0x80003000 0x00000800 /* PADS registers */
548 0x80003800 0x00000200 /* AFI registers */
549 0x90000000 0x10000000>; /* configuration space */
550 reg-names = "pads", "afi", "cs";
551 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH /* controller interrupt */
552 GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>; /* MSI interrupt */
553 interrupt-names = "intr", "msi";
554
555 bus-range = <0x00 0xff>;
556 #address-cells = <3>;
557 #size-cells = <2>;
558
559 ranges = <0x82000000 0 0x80000000 0x80000000 0 0x00001000 /* port 0 registers */
560 0x82000000 0 0x80001000 0x80001000 0 0x00001000 /* port 1 registers */
561 0x81000000 0 0 0x82000000 0 0x00010000 /* downstream I/O */
Jay Agarwald7283c12013-08-09 16:49:31 +0200562 0x82000000 0 0xa0000000 0xa0000000 0 0x08000000 /* non-prefetchable memory */
563 0xc2000000 0 0xa8000000 0xa8000000 0 0x18000000>; /* prefetchable memory */
Thierry Reding1b62b612013-08-09 16:49:19 +0200564
565 clocks = <&tegra_car TEGRA20_CLK_PEX>,
566 <&tegra_car TEGRA20_CLK_AFI>,
Thierry Reding1b62b612013-08-09 16:49:19 +0200567 <&tegra_car TEGRA20_CLK_PLL_E>;
Stephen Warren2bd541f2013-11-07 10:59:42 -0700568 clock-names = "pex", "afi", "pll_e";
Stephen Warren3393d422013-11-06 14:01:16 -0700569 resets = <&tegra_car 70>,
570 <&tegra_car 72>,
571 <&tegra_car 74>;
572 reset-names = "pex", "afi", "pcie_x";
Thierry Reding1b62b612013-08-09 16:49:19 +0200573 status = "disabled";
574
575 pci@1,0 {
576 device_type = "pci";
577 assigned-addresses = <0x82000800 0 0x80000000 0 0x1000>;
578 reg = <0x000800 0 0 0 0>;
579 status = "disabled";
580
581 #address-cells = <3>;
582 #size-cells = <2>;
583 ranges;
584
585 nvidia,num-lanes = <2>;
586 };
587
588 pci@2,0 {
589 device_type = "pci";
590 assigned-addresses = <0x82001000 0 0x80001000 0 0x1000>;
591 reg = <0x001000 0 0 0 0>;
592 status = "disabled";
593
594 #address-cells = <3>;
595 #size-cells = <2>;
596 ranges;
597
598 nvidia,num-lanes = <2>;
599 };
600 };
601
Stephen Warrenc04abb32012-05-11 17:03:26 -0600602 usb@c5000000 {
603 compatible = "nvidia,tegra20-ehci", "usb-ehci";
604 reg = <0xc5000000 0x4000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700605 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warrenc04abb32012-05-11 17:03:26 -0600606 phy_type = "utmi";
607 nvidia,has-legacy-mode;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300608 clocks = <&tegra_car TEGRA20_CLK_USBD>;
Stephen Warren3393d422013-11-06 14:01:16 -0700609 resets = <&tegra_car 22>;
610 reset-names = "usb";
Venu Byravarasub4e07472012-12-13 20:59:07 +0000611 nvidia,needs-double-reset;
Venu Byravarasue374b652013-01-16 03:30:19 +0000612 nvidia,phy = <&phy1>;
Roland Stigge223ef782012-06-11 21:09:45 +0200613 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600614 };
615
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530616 phy1: usb-phy@c5000000 {
Stephen Warren5d324412013-03-06 11:28:33 -0700617 compatible = "nvidia,tegra20-usb-phy";
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530618 reg = <0xc5000000 0x4000 0xc5000000 0x4000>;
Stephen Warren5d324412013-03-06 11:28:33 -0700619 phy_type = "utmi";
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300620 clocks = <&tegra_car TEGRA20_CLK_USBD>,
621 <&tegra_car TEGRA20_CLK_PLL_U>,
622 <&tegra_car TEGRA20_CLK_CLK_M>,
623 <&tegra_car TEGRA20_CLK_USBD>;
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530624 clock-names = "reg", "pll_u", "timer", "utmi-pads";
Stephen Warren5d324412013-03-06 11:28:33 -0700625 nvidia,has-legacy-mode;
Mikko Perttunenc49667e2013-07-17 09:31:00 +0300626 nvidia,hssync-start-delay = <9>;
627 nvidia,idle-wait-delay = <17>;
628 nvidia,elastic-limit = <16>;
629 nvidia,term-range-adj = <6>;
630 nvidia,xcvr-setup = <9>;
631 nvidia,xcvr-lsfslew = <1>;
632 nvidia,xcvr-lsrslew = <1>;
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530633 status = "disabled";
Stephen Warren5d324412013-03-06 11:28:33 -0700634 };
635
Stephen Warrenc04abb32012-05-11 17:03:26 -0600636 usb@c5004000 {
637 compatible = "nvidia,tegra20-ehci", "usb-ehci";
638 reg = <0xc5004000 0x4000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700639 interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warrenc04abb32012-05-11 17:03:26 -0600640 phy_type = "ulpi";
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300641 clocks = <&tegra_car TEGRA20_CLK_USB2>;
Stephen Warren3393d422013-11-06 14:01:16 -0700642 resets = <&tegra_car 58>;
643 reset-names = "usb";
Venu Byravarasue374b652013-01-16 03:30:19 +0000644 nvidia,phy = <&phy2>;
Roland Stigge223ef782012-06-11 21:09:45 +0200645 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600646 };
647
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530648 phy2: usb-phy@c5004000 {
Stephen Warren5d324412013-03-06 11:28:33 -0700649 compatible = "nvidia,tegra20-usb-phy";
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530650 reg = <0xc5004000 0x4000>;
Stephen Warren5d324412013-03-06 11:28:33 -0700651 phy_type = "ulpi";
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300652 clocks = <&tegra_car TEGRA20_CLK_USB2>,
653 <&tegra_car TEGRA20_CLK_PLL_U>,
654 <&tegra_car TEGRA20_CLK_CDEV2>;
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530655 clock-names = "reg", "pll_u", "ulpi-link";
656 status = "disabled";
Stephen Warren5d324412013-03-06 11:28:33 -0700657 };
658
Stephen Warrenc04abb32012-05-11 17:03:26 -0600659 usb@c5008000 {
660 compatible = "nvidia,tegra20-ehci", "usb-ehci";
661 reg = <0xc5008000 0x4000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700662 interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warrenc04abb32012-05-11 17:03:26 -0600663 phy_type = "utmi";
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300664 clocks = <&tegra_car TEGRA20_CLK_USB3>;
Stephen Warren3393d422013-11-06 14:01:16 -0700665 resets = <&tegra_car 59>;
666 reset-names = "usb";
Venu Byravarasue374b652013-01-16 03:30:19 +0000667 nvidia,phy = <&phy3>;
Roland Stigge223ef782012-06-11 21:09:45 +0200668 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600669 };
670
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530671 phy3: usb-phy@c5008000 {
Stephen Warren5d324412013-03-06 11:28:33 -0700672 compatible = "nvidia,tegra20-usb-phy";
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530673 reg = <0xc5008000 0x4000 0xc5000000 0x4000>;
Stephen Warren5d324412013-03-06 11:28:33 -0700674 phy_type = "utmi";
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300675 clocks = <&tegra_car TEGRA20_CLK_USB3>,
676 <&tegra_car TEGRA20_CLK_PLL_U>,
677 <&tegra_car TEGRA20_CLK_CLK_M>,
678 <&tegra_car TEGRA20_CLK_USBD>;
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530679 clock-names = "reg", "pll_u", "timer", "utmi-pads";
Mikko Perttunenc49667e2013-07-17 09:31:00 +0300680 nvidia,hssync-start-delay = <9>;
681 nvidia,idle-wait-delay = <17>;
682 nvidia,elastic-limit = <16>;
683 nvidia,term-range-adj = <6>;
684 nvidia,xcvr-setup = <9>;
685 nvidia,xcvr-lsfslew = <2>;
686 nvidia,xcvr-lsrslew = <2>;
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530687 status = "disabled";
Stephen Warren5d324412013-03-06 11:28:33 -0700688 };
689
Grant Likely8e267f32011-07-19 17:26:54 -0600690 sdhci@c8000000 {
691 compatible = "nvidia,tegra20-sdhci";
692 reg = <0xc8000000 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700693 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300694 clocks = <&tegra_car TEGRA20_CLK_SDMMC1>;
Stephen Warren3393d422013-11-06 14:01:16 -0700695 resets = <&tegra_car 14>;
696 reset-names = "sdhci";
Roland Stigge223ef782012-06-11 21:09:45 +0200697 status = "disabled";
Grant Likely8e267f32011-07-19 17:26:54 -0600698 };
699
700 sdhci@c8000200 {
701 compatible = "nvidia,tegra20-sdhci";
702 reg = <0xc8000200 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700703 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300704 clocks = <&tegra_car TEGRA20_CLK_SDMMC2>;
Stephen Warren3393d422013-11-06 14:01:16 -0700705 resets = <&tegra_car 9>;
706 reset-names = "sdhci";
Roland Stigge223ef782012-06-11 21:09:45 +0200707 status = "disabled";
Grant Likely8e267f32011-07-19 17:26:54 -0600708 };
709
710 sdhci@c8000400 {
711 compatible = "nvidia,tegra20-sdhci";
712 reg = <0xc8000400 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700713 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300714 clocks = <&tegra_car TEGRA20_CLK_SDMMC3>;
Stephen Warren3393d422013-11-06 14:01:16 -0700715 resets = <&tegra_car 69>;
716 reset-names = "sdhci";
Roland Stigge223ef782012-06-11 21:09:45 +0200717 status = "disabled";
Grant Likely8e267f32011-07-19 17:26:54 -0600718 };
719
720 sdhci@c8000600 {
721 compatible = "nvidia,tegra20-sdhci";
722 reg = <0xc8000600 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700723 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300724 clocks = <&tegra_car TEGRA20_CLK_SDMMC4>;
Stephen Warren3393d422013-11-06 14:01:16 -0700725 resets = <&tegra_car 15>;
726 reset-names = "sdhci";
Roland Stigge223ef782012-06-11 21:09:45 +0200727 status = "disabled";
Grant Likely8e267f32011-07-19 17:26:54 -0600728 };
Olof Johanssonc27317c2011-11-04 09:12:39 +0000729
Hiroshi Doyu4dd2bd32013-01-11 15:26:55 +0200730 cpus {
731 #address-cells = <1>;
732 #size-cells = <0>;
733
734 cpu@0 {
735 device_type = "cpu";
736 compatible = "arm,cortex-a9";
737 reg = <0>;
738 };
739
740 cpu@1 {
741 device_type = "cpu";
742 compatible = "arm,cortex-a9";
743 reg = <1>;
744 };
745 };
746
Stephen Warrenc04abb32012-05-11 17:03:26 -0600747 pmu {
748 compatible = "arm,cortex-a9-pmu";
Stephen Warren6cecf912013-02-13 12:51:51 -0700749 interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
750 <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
hdoyu@nvidia.com6a943e02012-05-09 21:45:33 +0000751 };
Grant Likely8e267f32011-07-19 17:26:54 -0600752};