blob: e5527f74269666cd96f38b4ec6c335639e7b9314 [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
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";
145 reg = <0x50040600 0x20>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700146 interrupts = <GIC_PPI 13
147 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300148 clocks = <&tegra_car TEGRA20_CLK_TWD>;
Stephen Warren73368ba2012-09-19 14:17:24 -0600149 };
150
Stephen Warren58ecb232013-11-25 17:53:16 -0700151 intc: interrupt-controller@50041000 {
pdeschrijver@nvidia.com0d4f7472011-11-29 18:29:19 -0700152 compatible = "arm,cortex-a9-gic";
Stephen Warren5ff48882012-05-11 16:26:03 -0600153 reg = <0x50041000 0x1000
154 0x50040100 0x0100>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600155 interrupt-controller;
156 #interrupt-cells = <3>;
Grant Likely8e267f32011-07-19 17:26:54 -0600157 };
158
Stephen Warren58ecb232013-11-25 17:53:16 -0700159 cache-controller@50043000 {
Stephen Warrenbb2c1de2013-01-14 10:09:16 -0700160 compatible = "arm,pl310-cache";
161 reg = <0x50043000 0x1000>;
162 arm,data-latency = <5 5 2>;
163 arm,tag-latency = <4 4 2>;
164 cache-unified;
165 cache-level = <2>;
166 };
167
Stephen Warren2f2b7fb2012-09-19 12:02:31 -0600168 timer@60005000 {
169 compatible = "nvidia,tegra20-timer";
170 reg = <0x60005000 0x60>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700171 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
172 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
173 <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
174 <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300175 clocks = <&tegra_car TEGRA20_CLK_TIMER>;
Stephen Warren2f2b7fb2012-09-19 12:02:31 -0600176 };
177
Stephen Warren58ecb232013-11-25 17:53:16 -0700178 tegra_car: clock@60006000 {
Stephen Warren270f8ce2013-01-11 13:16:22 +0530179 compatible = "nvidia,tegra20-car";
180 reg = <0x60006000 0x1000>;
181 #clock-cells = <1>;
Stephen Warren3393d422013-11-06 14:01:16 -0700182 #reset-cells = <1>;
Stephen Warren270f8ce2013-01-11 13:16:22 +0530183 };
184
Thierry Redingb1023132014-08-26 08:14:03 +0200185 flow-controller@60007000 {
186 compatible = "nvidia,tegra20-flowctrl";
187 reg = <0x60007000 0x1000>;
188 };
189
Stephen Warren58ecb232013-11-25 17:53:16 -0700190 apbdma: dma@6000a000 {
Stephen Warren8051b752012-01-11 16:09:54 -0700191 compatible = "nvidia,tegra20-apbdma";
192 reg = <0x6000a000 0x1200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700193 interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
194 <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
195 <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
196 <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
197 <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
198 <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
199 <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
200 <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
201 <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
202 <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
203 <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
204 <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
205 <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
206 <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
207 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
208 <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300209 clocks = <&tegra_car TEGRA20_CLK_APBDMA>;
Stephen Warren3393d422013-11-06 14:01:16 -0700210 resets = <&tegra_car 34>;
211 reset-names = "dma";
Stephen Warren034d0232013-11-11 13:05:59 -0700212 #dma-cells = <1>;
Stephen Warren8051b752012-01-11 16:09:54 -0700213 };
214
Stephen Warren58ecb232013-11-25 17:53:16 -0700215 ahb@6000c004 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600216 compatible = "nvidia,tegra20-ahb";
217 reg = <0x6000c004 0x10c>; /* AHB Arbitration + Gizmo Controller */
Grant Likely8e267f32011-07-19 17:26:54 -0600218 };
219
Stephen Warren58ecb232013-11-25 17:53:16 -0700220 gpio: gpio@6000d000 {
Grant Likely8e267f32011-07-19 17:26:54 -0600221 compatible = "nvidia,tegra20-gpio";
Stephen Warren95decf82012-05-11 16:11:38 -0600222 reg = <0x6000d000 0x1000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700223 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>,
224 <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>,
225 <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>,
226 <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>,
227 <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
228 <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>,
229 <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
Grant Likely8e267f32011-07-19 17:26:54 -0600230 #gpio-cells = <2>;
231 gpio-controller;
Stephen Warren6f74dc92012-01-04 08:39:37 +0000232 #interrupt-cells = <2>;
233 interrupt-controller;
Grant Likely8e267f32011-07-19 17:26:54 -0600234 };
235
Peter De Schrijver155dfc72014-06-12 18:36:38 +0300236 apbmisc@70000800 {
237 compatible = "nvidia,tegra20-apbmisc";
238 reg = <0x70000800 0x64 /* Chip revision */
239 0x70000008 0x04>; /* Strapping options */
240 };
241
Stephen Warren58ecb232013-11-25 17:53:16 -0700242 pinmux: pinmux@70000014 {
Stephen Warrenf62f5482011-10-11 16:16:13 -0600243 compatible = "nvidia,tegra20-pinmux";
Stephen Warren95decf82012-05-11 16:11:38 -0600244 reg = <0x70000014 0x10 /* Tri-state registers */
245 0x70000080 0x20 /* Mux registers */
246 0x700000a0 0x14 /* Pull-up/down registers */
247 0x70000868 0xa8>; /* Pad control registers */
Stephen Warrenf62f5482011-10-11 16:16:13 -0600248 };
249
Stephen Warren58ecb232013-11-25 17:53:16 -0700250 das@70000c00 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600251 compatible = "nvidia,tegra20-das";
252 reg = <0x70000c00 0x80>;
253 };
Stephen Warrenfc5c3062013-03-06 11:28:32 -0700254
Stephen Warren58ecb232013-11-25 17:53:16 -0700255 tegra_ac97: ac97@70002000 {
Lucas Stach0698ed12013-01-05 02:18:44 +0100256 compatible = "nvidia,tegra20-ac97";
257 reg = <0x70002000 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700258 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300259 clocks = <&tegra_car TEGRA20_CLK_AC97>;
Stephen Warren3393d422013-11-06 14:01:16 -0700260 resets = <&tegra_car 3>;
261 reset-names = "ac97";
Stephen Warren034d0232013-11-11 13:05:59 -0700262 dmas = <&apbdma 12>, <&apbdma 12>;
263 dma-names = "rx", "tx";
Lucas Stach0698ed12013-01-05 02:18:44 +0100264 status = "disabled";
265 };
Stephen Warrenc04abb32012-05-11 17:03:26 -0600266
267 tegra_i2s1: i2s@70002800 {
268 compatible = "nvidia,tegra20-i2s";
269 reg = <0x70002800 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700270 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300271 clocks = <&tegra_car TEGRA20_CLK_I2S1>;
Stephen Warren3393d422013-11-06 14:01:16 -0700272 resets = <&tegra_car 11>;
273 reset-names = "i2s";
Stephen Warren034d0232013-11-11 13:05:59 -0700274 dmas = <&apbdma 2>, <&apbdma 2>;
275 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200276 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600277 };
278
279 tegra_i2s2: i2s@70002a00 {
280 compatible = "nvidia,tegra20-i2s";
281 reg = <0x70002a00 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700282 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300283 clocks = <&tegra_car TEGRA20_CLK_I2S2>;
Stephen Warren3393d422013-11-06 14:01:16 -0700284 resets = <&tegra_car 18>;
285 reset-names = "i2s";
Stephen Warren034d0232013-11-11 13:05:59 -0700286 dmas = <&apbdma 1>, <&apbdma 1>;
287 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200288 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600289 };
290
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530291 /*
292 * There are two serial driver i.e. 8250 based simple serial
293 * driver and APB DMA based serial driver for higher baudrate
294 * and performace. To enable the 8250 based driver, the compatible
295 * is "nvidia,tegra20-uart" and to enable the APB DMA based serial
296 * driver, the comptible is "nvidia,tegra20-hsuart".
297 */
298 uarta: serial@70006000 {
Grant Likely8e267f32011-07-19 17:26:54 -0600299 compatible = "nvidia,tegra20-uart";
300 reg = <0x70006000 0x40>;
301 reg-shift = <2>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700302 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300303 clocks = <&tegra_car TEGRA20_CLK_UARTA>;
Stephen Warren3393d422013-11-06 14:01:16 -0700304 resets = <&tegra_car 6>;
305 reset-names = "serial";
Stephen Warren034d0232013-11-11 13:05:59 -0700306 dmas = <&apbdma 8>, <&apbdma 8>;
307 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200308 status = "disabled";
Grant Likely8e267f32011-07-19 17:26:54 -0600309 };
310
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530311 uartb: serial@70006040 {
Grant Likely8e267f32011-07-19 17:26:54 -0600312 compatible = "nvidia,tegra20-uart";
313 reg = <0x70006040 0x40>;
314 reg-shift = <2>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700315 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300316 clocks = <&tegra_car TEGRA20_CLK_UARTB>;
Stephen Warren3393d422013-11-06 14:01:16 -0700317 resets = <&tegra_car 7>;
318 reset-names = "serial";
Stephen Warren034d0232013-11-11 13:05:59 -0700319 dmas = <&apbdma 9>, <&apbdma 9>;
320 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200321 status = "disabled";
Grant Likely8e267f32011-07-19 17:26:54 -0600322 };
323
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530324 uartc: serial@70006200 {
Grant Likely8e267f32011-07-19 17:26:54 -0600325 compatible = "nvidia,tegra20-uart";
326 reg = <0x70006200 0x100>;
327 reg-shift = <2>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700328 interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300329 clocks = <&tegra_car TEGRA20_CLK_UARTC>;
Stephen Warren3393d422013-11-06 14:01:16 -0700330 resets = <&tegra_car 55>;
331 reset-names = "serial";
Stephen Warren034d0232013-11-11 13:05:59 -0700332 dmas = <&apbdma 10>, <&apbdma 10>;
333 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200334 status = "disabled";
Grant Likely8e267f32011-07-19 17:26:54 -0600335 };
336
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530337 uartd: serial@70006300 {
Grant Likely8e267f32011-07-19 17:26:54 -0600338 compatible = "nvidia,tegra20-uart";
339 reg = <0x70006300 0x100>;
340 reg-shift = <2>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700341 interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300342 clocks = <&tegra_car TEGRA20_CLK_UARTD>;
Stephen Warren3393d422013-11-06 14:01:16 -0700343 resets = <&tegra_car 65>;
344 reset-names = "serial";
Stephen Warren034d0232013-11-11 13:05:59 -0700345 dmas = <&apbdma 19>, <&apbdma 19>;
346 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200347 status = "disabled";
Grant Likely8e267f32011-07-19 17:26:54 -0600348 };
349
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530350 uarte: serial@70006400 {
Grant Likely8e267f32011-07-19 17:26:54 -0600351 compatible = "nvidia,tegra20-uart";
352 reg = <0x70006400 0x100>;
353 reg-shift = <2>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700354 interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300355 clocks = <&tegra_car TEGRA20_CLK_UARTE>;
Stephen Warren3393d422013-11-06 14:01:16 -0700356 resets = <&tegra_car 66>;
357 reset-names = "serial";
Stephen Warren034d0232013-11-11 13:05:59 -0700358 dmas = <&apbdma 20>, <&apbdma 20>;
359 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200360 status = "disabled";
Grant Likely8e267f32011-07-19 17:26:54 -0600361 };
362
Stephen Warren58ecb232013-11-25 17:53:16 -0700363 pwm: pwm@7000a000 {
Thierry Reding140fd972011-12-21 08:04:13 +0100364 compatible = "nvidia,tegra20-pwm";
365 reg = <0x7000a000 0x100>;
366 #pwm-cells = <2>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300367 clocks = <&tegra_car TEGRA20_CLK_PWM>;
Stephen Warren3393d422013-11-06 14:01:16 -0700368 resets = <&tegra_car 17>;
369 reset-names = "pwm";
Andrew Chewb69cd982013-03-12 16:40:51 -0700370 status = "disabled";
Thierry Reding140fd972011-12-21 08:04:13 +0100371 };
372
Stephen Warren58ecb232013-11-25 17:53:16 -0700373 rtc@7000e000 {
Stephen Warren380e04a2012-09-19 12:13:16 -0600374 compatible = "nvidia,tegra20-rtc";
375 reg = <0x7000e000 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700376 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300377 clocks = <&tegra_car TEGRA20_CLK_RTC>;
Stephen Warren380e04a2012-09-19 12:13:16 -0600378 };
379
Stephen Warrenc04abb32012-05-11 17:03:26 -0600380 i2c@7000c000 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600381 compatible = "nvidia,tegra20-i2c";
382 reg = <0x7000c000 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700383 interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600384 #address-cells = <1>;
385 #size-cells = <0>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300386 clocks = <&tegra_car TEGRA20_CLK_I2C1>,
387 <&tegra_car TEGRA20_CLK_PLL_P_OUT3>;
Prashant Gaikwad8d8b43d2013-01-11 13:31:21 +0530388 clock-names = "div-clk", "fast-clk";
Stephen Warren3393d422013-11-06 14:01:16 -0700389 resets = <&tegra_car 12>;
390 reset-names = "i2c";
Stephen Warren034d0232013-11-11 13:05:59 -0700391 dmas = <&apbdma 21>, <&apbdma 21>;
392 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200393 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600394 };
395
Laxman Dewanganfa98a112012-11-13 10:33:39 +0530396 spi@7000c380 {
397 compatible = "nvidia,tegra20-sflash";
398 reg = <0x7000c380 0x80>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700399 interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewanganfa98a112012-11-13 10:33:39 +0530400 #address-cells = <1>;
401 #size-cells = <0>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300402 clocks = <&tegra_car TEGRA20_CLK_SPI>;
Stephen Warren3393d422013-11-06 14:01:16 -0700403 resets = <&tegra_car 43>;
404 reset-names = "spi";
Stephen Warren034d0232013-11-11 13:05:59 -0700405 dmas = <&apbdma 11>, <&apbdma 11>;
406 dma-names = "rx", "tx";
Laxman Dewanganfa98a112012-11-13 10:33:39 +0530407 status = "disabled";
408 };
409
Stephen Warrenc04abb32012-05-11 17:03:26 -0600410 i2c@7000c400 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600411 compatible = "nvidia,tegra20-i2c";
412 reg = <0x7000c400 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700413 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600414 #address-cells = <1>;
415 #size-cells = <0>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300416 clocks = <&tegra_car TEGRA20_CLK_I2C2>,
417 <&tegra_car TEGRA20_CLK_PLL_P_OUT3>;
Prashant Gaikwad8d8b43d2013-01-11 13:31:21 +0530418 clock-names = "div-clk", "fast-clk";
Stephen Warren3393d422013-11-06 14:01:16 -0700419 resets = <&tegra_car 54>;
420 reset-names = "i2c";
Stephen Warren034d0232013-11-11 13:05:59 -0700421 dmas = <&apbdma 22>, <&apbdma 22>;
422 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200423 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600424 };
425
426 i2c@7000c500 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600427 compatible = "nvidia,tegra20-i2c";
428 reg = <0x7000c500 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700429 interrupts = <GIC_SPI 92 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_I2C3>,
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 67>;
436 reset-names = "i2c";
Stephen Warren034d0232013-11-11 13:05:59 -0700437 dmas = <&apbdma 23>, <&apbdma 23>;
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@7000d000 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600443 compatible = "nvidia,tegra20-i2c-dvc";
444 reg = <0x7000d000 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700445 interrupts = <GIC_SPI 53 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_DVC>,
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 47>;
452 reset-names = "i2c";
Stephen Warren034d0232013-11-11 13:05:59 -0700453 dmas = <&apbdma 24>, <&apbdma 24>;
454 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200455 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600456 };
457
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530458 spi@7000d400 {
459 compatible = "nvidia,tegra20-slink";
460 reg = <0x7000d400 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700461 interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530462 #address-cells = <1>;
463 #size-cells = <0>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300464 clocks = <&tegra_car TEGRA20_CLK_SBC1>;
Stephen Warren3393d422013-11-06 14:01:16 -0700465 resets = <&tegra_car 41>;
466 reset-names = "spi";
Stephen Warren034d0232013-11-11 13:05:59 -0700467 dmas = <&apbdma 15>, <&apbdma 15>;
468 dma-names = "rx", "tx";
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530469 status = "disabled";
470 };
471
472 spi@7000d600 {
473 compatible = "nvidia,tegra20-slink";
474 reg = <0x7000d600 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700475 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530476 #address-cells = <1>;
477 #size-cells = <0>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300478 clocks = <&tegra_car TEGRA20_CLK_SBC2>;
Stephen Warren3393d422013-11-06 14:01:16 -0700479 resets = <&tegra_car 44>;
480 reset-names = "spi";
Stephen Warren034d0232013-11-11 13:05:59 -0700481 dmas = <&apbdma 16>, <&apbdma 16>;
482 dma-names = "rx", "tx";
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530483 status = "disabled";
484 };
485
486 spi@7000d800 {
487 compatible = "nvidia,tegra20-slink";
Laxman Dewangan57471c82013-03-22 12:35:06 -0600488 reg = <0x7000d800 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700489 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530490 #address-cells = <1>;
491 #size-cells = <0>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300492 clocks = <&tegra_car TEGRA20_CLK_SBC3>;
Stephen Warren3393d422013-11-06 14:01:16 -0700493 resets = <&tegra_car 46>;
494 reset-names = "spi";
Stephen Warren034d0232013-11-11 13:05:59 -0700495 dmas = <&apbdma 17>, <&apbdma 17>;
496 dma-names = "rx", "tx";
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530497 status = "disabled";
498 };
499
500 spi@7000da00 {
501 compatible = "nvidia,tegra20-slink";
502 reg = <0x7000da00 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700503 interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530504 #address-cells = <1>;
505 #size-cells = <0>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300506 clocks = <&tegra_car TEGRA20_CLK_SBC4>;
Stephen Warren3393d422013-11-06 14:01:16 -0700507 resets = <&tegra_car 68>;
508 reset-names = "spi";
Stephen Warren034d0232013-11-11 13:05:59 -0700509 dmas = <&apbdma 18>, <&apbdma 18>;
510 dma-names = "rx", "tx";
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530511 status = "disabled";
512 };
513
Stephen Warren58ecb232013-11-25 17:53:16 -0700514 kbc@7000e200 {
Laxman Dewangan699ed4b2013-01-11 19:03:03 +0530515 compatible = "nvidia,tegra20-kbc";
516 reg = <0x7000e200 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700517 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300518 clocks = <&tegra_car TEGRA20_CLK_KBC>;
Stephen Warren3393d422013-11-06 14:01:16 -0700519 resets = <&tegra_car 36>;
520 reset-names = "kbc";
Laxman Dewangan699ed4b2013-01-11 19:03:03 +0530521 status = "disabled";
522 };
523
Stephen Warren58ecb232013-11-25 17:53:16 -0700524 pmc@7000e400 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600525 compatible = "nvidia,tegra20-pmc";
526 reg = <0x7000e400 0x400>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300527 clocks = <&tegra_car TEGRA20_CLK_PCLK>, <&clk32k_in>;
Joseph Lo7021d122013-04-03 19:31:27 +0800528 clock-names = "pclk", "clk32k_in";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600529 };
530
Stephen Warrenbbfc33b2012-10-02 13:10:47 -0600531 memory-controller@7000f000 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600532 compatible = "nvidia,tegra20-mc";
533 reg = <0x7000f000 0x024
534 0x7000f03c 0x3c4>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700535 interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warrenc04abb32012-05-11 17:03:26 -0600536 };
537
Stephen Warren58ecb232013-11-25 17:53:16 -0700538 iommu@7000f024 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600539 compatible = "nvidia,tegra20-gart";
540 reg = <0x7000f024 0x00000018 /* controller registers */
541 0x58000000 0x02000000>; /* GART aperture */
542 };
543
Stephen Warrenbbfc33b2012-10-02 13:10:47 -0600544 memory-controller@7000f400 {
Olof Johansson0c6700a2011-10-13 02:14:55 -0700545 compatible = "nvidia,tegra20-emc";
546 reg = <0x7000f400 0x200>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600547 #address-cells = <1>;
548 #size-cells = <0>;
Olof Johansson0c6700a2011-10-13 02:14:55 -0700549 };
550
Peter De Schrijver155dfc72014-06-12 18:36:38 +0300551 fuse@7000f800 {
552 compatible = "nvidia,tegra20-efuse";
553 reg = <0x7000F800 0x400>;
554 clocks = <&tegra_car TEGRA20_CLK_FUSE>;
555 clock-names = "fuse";
556 resets = <&tegra_car 39>;
557 reset-names = "fuse";
558 };
559
Stephen Warren58ecb232013-11-25 17:53:16 -0700560 pcie-controller@80003000 {
Thierry Reding1b62b612013-08-09 16:49:19 +0200561 compatible = "nvidia,tegra20-pcie";
562 device_type = "pci";
563 reg = <0x80003000 0x00000800 /* PADS registers */
564 0x80003800 0x00000200 /* AFI registers */
565 0x90000000 0x10000000>; /* configuration space */
566 reg-names = "pads", "afi", "cs";
567 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH /* controller interrupt */
568 GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>; /* MSI interrupt */
569 interrupt-names = "intr", "msi";
570
Lucas Stach97070bd2014-03-05 14:25:46 +0100571 #interrupt-cells = <1>;
572 interrupt-map-mask = <0 0 0 0>;
573 interrupt-map = <0 0 0 0 &intc GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
574
Thierry Reding1b62b612013-08-09 16:49:19 +0200575 bus-range = <0x00 0xff>;
576 #address-cells = <3>;
577 #size-cells = <2>;
578
579 ranges = <0x82000000 0 0x80000000 0x80000000 0 0x00001000 /* port 0 registers */
580 0x82000000 0 0x80001000 0x80001000 0 0x00001000 /* port 1 registers */
581 0x81000000 0 0 0x82000000 0 0x00010000 /* downstream I/O */
Jay Agarwald7283c12013-08-09 16:49:31 +0200582 0x82000000 0 0xa0000000 0xa0000000 0 0x08000000 /* non-prefetchable memory */
583 0xc2000000 0 0xa8000000 0xa8000000 0 0x18000000>; /* prefetchable memory */
Thierry Reding1b62b612013-08-09 16:49:19 +0200584
585 clocks = <&tegra_car TEGRA20_CLK_PEX>,
586 <&tegra_car TEGRA20_CLK_AFI>,
Thierry Reding1b62b612013-08-09 16:49:19 +0200587 <&tegra_car TEGRA20_CLK_PLL_E>;
Stephen Warren2bd541f2013-11-07 10:59:42 -0700588 clock-names = "pex", "afi", "pll_e";
Stephen Warren3393d422013-11-06 14:01:16 -0700589 resets = <&tegra_car 70>,
590 <&tegra_car 72>,
591 <&tegra_car 74>;
592 reset-names = "pex", "afi", "pcie_x";
Thierry Reding1b62b612013-08-09 16:49:19 +0200593 status = "disabled";
594
595 pci@1,0 {
596 device_type = "pci";
597 assigned-addresses = <0x82000800 0 0x80000000 0 0x1000>;
598 reg = <0x000800 0 0 0 0>;
599 status = "disabled";
600
601 #address-cells = <3>;
602 #size-cells = <2>;
603 ranges;
604
605 nvidia,num-lanes = <2>;
606 };
607
608 pci@2,0 {
609 device_type = "pci";
610 assigned-addresses = <0x82001000 0 0x80001000 0 0x1000>;
611 reg = <0x001000 0 0 0 0>;
612 status = "disabled";
613
614 #address-cells = <3>;
615 #size-cells = <2>;
616 ranges;
617
618 nvidia,num-lanes = <2>;
619 };
620 };
621
Stephen Warrenc04abb32012-05-11 17:03:26 -0600622 usb@c5000000 {
623 compatible = "nvidia,tegra20-ehci", "usb-ehci";
624 reg = <0xc5000000 0x4000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700625 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warrenc04abb32012-05-11 17:03:26 -0600626 phy_type = "utmi";
627 nvidia,has-legacy-mode;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300628 clocks = <&tegra_car TEGRA20_CLK_USBD>;
Stephen Warren3393d422013-11-06 14:01:16 -0700629 resets = <&tegra_car 22>;
630 reset-names = "usb";
Venu Byravarasub4e07472012-12-13 20:59:07 +0000631 nvidia,needs-double-reset;
Venu Byravarasue374b652013-01-16 03:30:19 +0000632 nvidia,phy = <&phy1>;
Roland Stigge223ef782012-06-11 21:09:45 +0200633 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600634 };
635
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530636 phy1: usb-phy@c5000000 {
Stephen Warren5d324412013-03-06 11:28:33 -0700637 compatible = "nvidia,tegra20-usb-phy";
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530638 reg = <0xc5000000 0x4000 0xc5000000 0x4000>;
Stephen Warren5d324412013-03-06 11:28:33 -0700639 phy_type = "utmi";
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300640 clocks = <&tegra_car TEGRA20_CLK_USBD>,
641 <&tegra_car TEGRA20_CLK_PLL_U>,
642 <&tegra_car TEGRA20_CLK_CLK_M>,
643 <&tegra_car TEGRA20_CLK_USBD>;
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530644 clock-names = "reg", "pll_u", "timer", "utmi-pads";
Tuomas Tynkkynen308efde2014-07-04 04:09:37 +0300645 resets = <&tegra_car 22>, <&tegra_car 22>;
646 reset-names = "usb", "utmi-pads";
Stephen Warren5d324412013-03-06 11:28:33 -0700647 nvidia,has-legacy-mode;
Mikko Perttunenc49667e2013-07-17 09:31:00 +0300648 nvidia,hssync-start-delay = <9>;
649 nvidia,idle-wait-delay = <17>;
650 nvidia,elastic-limit = <16>;
651 nvidia,term-range-adj = <6>;
652 nvidia,xcvr-setup = <9>;
653 nvidia,xcvr-lsfslew = <1>;
654 nvidia,xcvr-lsrslew = <1>;
Tuomas Tynkkynen308efde2014-07-04 04:09:37 +0300655 nvidia,has-utmi-pad-registers;
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530656 status = "disabled";
Stephen Warren5d324412013-03-06 11:28:33 -0700657 };
658
Stephen Warrenc04abb32012-05-11 17:03:26 -0600659 usb@c5004000 {
660 compatible = "nvidia,tegra20-ehci", "usb-ehci";
661 reg = <0xc5004000 0x4000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700662 interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warrenc04abb32012-05-11 17:03:26 -0600663 phy_type = "ulpi";
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300664 clocks = <&tegra_car TEGRA20_CLK_USB2>;
Stephen Warren3393d422013-11-06 14:01:16 -0700665 resets = <&tegra_car 58>;
666 reset-names = "usb";
Venu Byravarasue374b652013-01-16 03:30:19 +0000667 nvidia,phy = <&phy2>;
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 phy2: usb-phy@c5004000 {
Stephen Warren5d324412013-03-06 11:28:33 -0700672 compatible = "nvidia,tegra20-usb-phy";
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530673 reg = <0xc5004000 0x4000>;
Stephen Warren5d324412013-03-06 11:28:33 -0700674 phy_type = "ulpi";
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300675 clocks = <&tegra_car TEGRA20_CLK_USB2>,
676 <&tegra_car TEGRA20_CLK_PLL_U>,
677 <&tegra_car TEGRA20_CLK_CDEV2>;
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530678 clock-names = "reg", "pll_u", "ulpi-link";
Tuomas Tynkkynen308efde2014-07-04 04:09:37 +0300679 resets = <&tegra_car 58>, <&tegra_car 22>;
680 reset-names = "usb", "utmi-pads";
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530681 status = "disabled";
Stephen Warren5d324412013-03-06 11:28:33 -0700682 };
683
Stephen Warrenc04abb32012-05-11 17:03:26 -0600684 usb@c5008000 {
685 compatible = "nvidia,tegra20-ehci", "usb-ehci";
686 reg = <0xc5008000 0x4000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700687 interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warrenc04abb32012-05-11 17:03:26 -0600688 phy_type = "utmi";
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300689 clocks = <&tegra_car TEGRA20_CLK_USB3>;
Stephen Warren3393d422013-11-06 14:01:16 -0700690 resets = <&tegra_car 59>;
691 reset-names = "usb";
Venu Byravarasue374b652013-01-16 03:30:19 +0000692 nvidia,phy = <&phy3>;
Roland Stigge223ef782012-06-11 21:09:45 +0200693 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600694 };
695
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530696 phy3: usb-phy@c5008000 {
Stephen Warren5d324412013-03-06 11:28:33 -0700697 compatible = "nvidia,tegra20-usb-phy";
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530698 reg = <0xc5008000 0x4000 0xc5000000 0x4000>;
Stephen Warren5d324412013-03-06 11:28:33 -0700699 phy_type = "utmi";
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300700 clocks = <&tegra_car TEGRA20_CLK_USB3>,
701 <&tegra_car TEGRA20_CLK_PLL_U>,
702 <&tegra_car TEGRA20_CLK_CLK_M>,
703 <&tegra_car TEGRA20_CLK_USBD>;
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530704 clock-names = "reg", "pll_u", "timer", "utmi-pads";
Tuomas Tynkkynen308efde2014-07-04 04:09:37 +0300705 resets = <&tegra_car 59>, <&tegra_car 22>;
706 reset-names = "usb", "utmi-pads";
Mikko Perttunenc49667e2013-07-17 09:31:00 +0300707 nvidia,hssync-start-delay = <9>;
708 nvidia,idle-wait-delay = <17>;
709 nvidia,elastic-limit = <16>;
710 nvidia,term-range-adj = <6>;
711 nvidia,xcvr-setup = <9>;
712 nvidia,xcvr-lsfslew = <2>;
713 nvidia,xcvr-lsrslew = <2>;
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530714 status = "disabled";
Stephen Warren5d324412013-03-06 11:28:33 -0700715 };
716
Grant Likely8e267f32011-07-19 17:26:54 -0600717 sdhci@c8000000 {
718 compatible = "nvidia,tegra20-sdhci";
719 reg = <0xc8000000 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700720 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300721 clocks = <&tegra_car TEGRA20_CLK_SDMMC1>;
Stephen Warren3393d422013-11-06 14:01:16 -0700722 resets = <&tegra_car 14>;
723 reset-names = "sdhci";
Roland Stigge223ef782012-06-11 21:09:45 +0200724 status = "disabled";
Grant Likely8e267f32011-07-19 17:26:54 -0600725 };
726
727 sdhci@c8000200 {
728 compatible = "nvidia,tegra20-sdhci";
729 reg = <0xc8000200 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700730 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300731 clocks = <&tegra_car TEGRA20_CLK_SDMMC2>;
Stephen Warren3393d422013-11-06 14:01:16 -0700732 resets = <&tegra_car 9>;
733 reset-names = "sdhci";
Roland Stigge223ef782012-06-11 21:09:45 +0200734 status = "disabled";
Grant Likely8e267f32011-07-19 17:26:54 -0600735 };
736
737 sdhci@c8000400 {
738 compatible = "nvidia,tegra20-sdhci";
739 reg = <0xc8000400 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700740 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300741 clocks = <&tegra_car TEGRA20_CLK_SDMMC3>;
Stephen Warren3393d422013-11-06 14:01:16 -0700742 resets = <&tegra_car 69>;
743 reset-names = "sdhci";
Roland Stigge223ef782012-06-11 21:09:45 +0200744 status = "disabled";
Grant Likely8e267f32011-07-19 17:26:54 -0600745 };
746
747 sdhci@c8000600 {
748 compatible = "nvidia,tegra20-sdhci";
749 reg = <0xc8000600 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700750 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300751 clocks = <&tegra_car TEGRA20_CLK_SDMMC4>;
Stephen Warren3393d422013-11-06 14:01:16 -0700752 resets = <&tegra_car 15>;
753 reset-names = "sdhci";
Roland Stigge223ef782012-06-11 21:09:45 +0200754 status = "disabled";
Grant Likely8e267f32011-07-19 17:26:54 -0600755 };
Olof Johanssonc27317c2011-11-04 09:12:39 +0000756
Hiroshi Doyu4dd2bd32013-01-11 15:26:55 +0200757 cpus {
758 #address-cells = <1>;
759 #size-cells = <0>;
760
761 cpu@0 {
762 device_type = "cpu";
763 compatible = "arm,cortex-a9";
764 reg = <0>;
765 };
766
767 cpu@1 {
768 device_type = "cpu";
769 compatible = "arm,cortex-a9";
770 reg = <1>;
771 };
772 };
773
Stephen Warrenc04abb32012-05-11 17:03:26 -0600774 pmu {
775 compatible = "arm,cortex-a9-pmu";
Stephen Warren6cecf912013-02-13 12:51:51 -0700776 interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
777 <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
hdoyu@nvidia.com6a943e02012-05-09 21:45:33 +0000778 };
Grant Likely8e267f32011-07-19 17:26:54 -0600779};