blob: df40b54fd8bca58eeeb610d6a5c755d4fec51aae [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>
Stephen Warren6cecf912013-02-13 12:51:51 -07003#include <dt-bindings/interrupt-controller/arm-gic.h>
Stephen Warren3325f1b2013-02-12 17:25:15 -07004
Stephen Warren1bd0bd42012-10-17 16:38:21 -06005#include "skeleton.dtsi"
Grant Likely8e267f32011-07-19 17:26:54 -06006
7/ {
8 compatible = "nvidia,tegra20";
9 interrupt-parent = <&intc>;
10
Laxman Dewanganb6551bb2012-12-19 12:01:11 +053011 aliases {
12 serial0 = &uarta;
13 serial1 = &uartb;
14 serial2 = &uartc;
15 serial3 = &uartd;
16 serial4 = &uarte;
17 };
18
Thierry Redinged821f02012-11-15 22:07:54 +010019 host1x {
20 compatible = "nvidia,tegra20-host1x", "simple-bus";
21 reg = <0x50000000 0x00024000>;
Stephen Warren6cecf912013-02-13 12:51:51 -070022 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, /* syncpt */
23 <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>; /* general */
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +030024 clocks = <&tegra_car TEGRA20_CLK_HOST1X>;
Thierry Redinged821f02012-11-15 22:07:54 +010025
26 #address-cells = <1>;
27 #size-cells = <1>;
28
29 ranges = <0x54000000 0x54000000 0x04000000>;
30
31 mpe {
32 compatible = "nvidia,tegra20-mpe";
33 reg = <0x54040000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -070034 interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +030035 clocks = <&tegra_car TEGRA20_CLK_MPE>;
Thierry Redinged821f02012-11-15 22:07:54 +010036 };
37
38 vi {
39 compatible = "nvidia,tegra20-vi";
40 reg = <0x54080000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -070041 interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +030042 clocks = <&tegra_car TEGRA20_CLK_VI>;
Thierry Redinged821f02012-11-15 22:07:54 +010043 };
44
45 epp {
46 compatible = "nvidia,tegra20-epp";
47 reg = <0x540c0000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -070048 interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +030049 clocks = <&tegra_car TEGRA20_CLK_EPP>;
Thierry Redinged821f02012-11-15 22:07:54 +010050 };
51
52 isp {
53 compatible = "nvidia,tegra20-isp";
54 reg = <0x54100000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -070055 interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +030056 clocks = <&tegra_car TEGRA20_CLK_ISP>;
Thierry Redinged821f02012-11-15 22:07:54 +010057 };
58
59 gr2d {
60 compatible = "nvidia,tegra20-gr2d";
61 reg = <0x54140000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -070062 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +030063 clocks = <&tegra_car TEGRA20_CLK_GR2D>;
Thierry Redinged821f02012-11-15 22:07:54 +010064 };
65
66 gr3d {
67 compatible = "nvidia,tegra20-gr3d";
68 reg = <0x54180000 0x00040000>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +030069 clocks = <&tegra_car TEGRA20_CLK_GR3D>;
Thierry Redinged821f02012-11-15 22:07:54 +010070 };
71
72 dc@54200000 {
73 compatible = "nvidia,tegra20-dc";
74 reg = <0x54200000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -070075 interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +030076 clocks = <&tegra_car TEGRA20_CLK_DISP1>,
77 <&tegra_car TEGRA20_CLK_PLL_P>;
Prashant Gaikwad8d8b43d2013-01-11 13:31:21 +053078 clock-names = "disp1", "parent";
Thierry Redinged821f02012-11-15 22:07:54 +010079
80 rgb {
81 status = "disabled";
82 };
83 };
84
85 dc@54240000 {
86 compatible = "nvidia,tegra20-dc";
87 reg = <0x54240000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -070088 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +030089 clocks = <&tegra_car TEGRA20_CLK_DISP2>,
90 <&tegra_car TEGRA20_CLK_PLL_P>;
Prashant Gaikwad8d8b43d2013-01-11 13:31:21 +053091 clock-names = "disp2", "parent";
Thierry Redinged821f02012-11-15 22:07:54 +010092
93 rgb {
94 status = "disabled";
95 };
96 };
97
98 hdmi {
99 compatible = "nvidia,tegra20-hdmi";
100 reg = <0x54280000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700101 interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300102 clocks = <&tegra_car TEGRA20_CLK_HDMI>,
103 <&tegra_car TEGRA20_CLK_PLL_D_OUT0>;
Prashant Gaikwad8d8b43d2013-01-11 13:31:21 +0530104 clock-names = "hdmi", "parent";
Thierry Redinged821f02012-11-15 22:07:54 +0100105 status = "disabled";
106 };
107
108 tvo {
109 compatible = "nvidia,tegra20-tvo";
110 reg = <0x542c0000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700111 interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300112 clocks = <&tegra_car TEGRA20_CLK_TVO>;
Thierry Redinged821f02012-11-15 22:07:54 +0100113 status = "disabled";
114 };
115
116 dsi {
117 compatible = "nvidia,tegra20-dsi";
118 reg = <0x54300000 0x00040000>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300119 clocks = <&tegra_car TEGRA20_CLK_DSI>;
Thierry Redinged821f02012-11-15 22:07:54 +0100120 status = "disabled";
121 };
122 };
123
Stephen Warren73368ba2012-09-19 14:17:24 -0600124 timer@50004600 {
125 compatible = "arm,cortex-a9-twd-timer";
126 reg = <0x50040600 0x20>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700127 interrupts = <GIC_PPI 13
128 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300129 clocks = <&tegra_car TEGRA20_CLK_TWD>;
Stephen Warren73368ba2012-09-19 14:17:24 -0600130 };
131
Stephen Warrenf9eb26a2012-05-11 16:17:47 -0600132 intc: interrupt-controller {
pdeschrijver@nvidia.com0d4f7472011-11-29 18:29:19 -0700133 compatible = "arm,cortex-a9-gic";
Stephen Warren5ff48882012-05-11 16:26:03 -0600134 reg = <0x50041000 0x1000
135 0x50040100 0x0100>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600136 interrupt-controller;
137 #interrupt-cells = <3>;
Grant Likely8e267f32011-07-19 17:26:54 -0600138 };
139
Stephen Warrenbb2c1de2013-01-14 10:09:16 -0700140 cache-controller {
141 compatible = "arm,pl310-cache";
142 reg = <0x50043000 0x1000>;
143 arm,data-latency = <5 5 2>;
144 arm,tag-latency = <4 4 2>;
145 cache-unified;
146 cache-level = <2>;
147 };
148
Stephen Warren2f2b7fb2012-09-19 12:02:31 -0600149 timer@60005000 {
150 compatible = "nvidia,tegra20-timer";
151 reg = <0x60005000 0x60>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700152 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
153 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
154 <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
155 <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300156 clocks = <&tegra_car TEGRA20_CLK_TIMER>;
Stephen Warren2f2b7fb2012-09-19 12:02:31 -0600157 };
158
Stephen Warren270f8ce2013-01-11 13:16:22 +0530159 tegra_car: clock {
160 compatible = "nvidia,tegra20-car";
161 reg = <0x60006000 0x1000>;
162 #clock-cells = <1>;
163 };
164
Stephen Warrenf9eb26a2012-05-11 16:17:47 -0600165 apbdma: dma {
Stephen Warren8051b752012-01-11 16:09:54 -0700166 compatible = "nvidia,tegra20-apbdma";
167 reg = <0x6000a000 0x1200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700168 interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
169 <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
170 <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
171 <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
172 <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
173 <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
174 <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
175 <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
176 <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
177 <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
178 <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
179 <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
180 <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
181 <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
182 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
183 <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300184 clocks = <&tegra_car TEGRA20_CLK_APBDMA>;
Stephen Warren8051b752012-01-11 16:09:54 -0700185 };
186
Stephen Warrenc04abb32012-05-11 17:03:26 -0600187 ahb {
188 compatible = "nvidia,tegra20-ahb";
189 reg = <0x6000c004 0x10c>; /* AHB Arbitration + Gizmo Controller */
Grant Likely8e267f32011-07-19 17:26:54 -0600190 };
191
Stephen Warrenf9eb26a2012-05-11 16:17:47 -0600192 gpio: gpio {
Grant Likely8e267f32011-07-19 17:26:54 -0600193 compatible = "nvidia,tegra20-gpio";
Stephen Warren95decf82012-05-11 16:11:38 -0600194 reg = <0x6000d000 0x1000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700195 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>,
196 <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>,
197 <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>,
198 <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>,
199 <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
200 <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>,
201 <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
Grant Likely8e267f32011-07-19 17:26:54 -0600202 #gpio-cells = <2>;
203 gpio-controller;
Stephen Warren6f74dc92012-01-04 08:39:37 +0000204 #interrupt-cells = <2>;
205 interrupt-controller;
Grant Likely8e267f32011-07-19 17:26:54 -0600206 };
207
Stephen Warrenf9eb26a2012-05-11 16:17:47 -0600208 pinmux: pinmux {
Stephen Warrenf62f5482011-10-11 16:16:13 -0600209 compatible = "nvidia,tegra20-pinmux";
Stephen Warren95decf82012-05-11 16:11:38 -0600210 reg = <0x70000014 0x10 /* Tri-state registers */
211 0x70000080 0x20 /* Mux registers */
212 0x700000a0 0x14 /* Pull-up/down registers */
213 0x70000868 0xa8>; /* Pad control registers */
Stephen Warrenf62f5482011-10-11 16:16:13 -0600214 };
215
Stephen Warrenc04abb32012-05-11 17:03:26 -0600216 das {
217 compatible = "nvidia,tegra20-das";
218 reg = <0x70000c00 0x80>;
219 };
Stephen Warrenfc5c3062013-03-06 11:28:32 -0700220
Lucas Stach0698ed12013-01-05 02:18:44 +0100221 tegra_ac97: ac97 {
222 compatible = "nvidia,tegra20-ac97";
223 reg = <0x70002000 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700224 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
Lucas Stach0698ed12013-01-05 02:18:44 +0100225 nvidia,dma-request-selector = <&apbdma 12>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300226 clocks = <&tegra_car TEGRA20_CLK_AC97>;
Lucas Stach0698ed12013-01-05 02:18:44 +0100227 status = "disabled";
228 };
Stephen Warrenc04abb32012-05-11 17:03:26 -0600229
230 tegra_i2s1: i2s@70002800 {
231 compatible = "nvidia,tegra20-i2s";
232 reg = <0x70002800 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700233 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warrenc04abb32012-05-11 17:03:26 -0600234 nvidia,dma-request-selector = <&apbdma 2>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300235 clocks = <&tegra_car TEGRA20_CLK_I2S1>;
Roland Stigge223ef782012-06-11 21:09:45 +0200236 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600237 };
238
239 tegra_i2s2: i2s@70002a00 {
240 compatible = "nvidia,tegra20-i2s";
241 reg = <0x70002a00 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700242 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warrenc04abb32012-05-11 17:03:26 -0600243 nvidia,dma-request-selector = <&apbdma 1>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300244 clocks = <&tegra_car TEGRA20_CLK_I2S2>;
Roland Stigge223ef782012-06-11 21:09:45 +0200245 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600246 };
247
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530248 /*
249 * There are two serial driver i.e. 8250 based simple serial
250 * driver and APB DMA based serial driver for higher baudrate
251 * and performace. To enable the 8250 based driver, the compatible
252 * is "nvidia,tegra20-uart" and to enable the APB DMA based serial
253 * driver, the comptible is "nvidia,tegra20-hsuart".
254 */
255 uarta: serial@70006000 {
Grant Likely8e267f32011-07-19 17:26:54 -0600256 compatible = "nvidia,tegra20-uart";
257 reg = <0x70006000 0x40>;
258 reg-shift = <2>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700259 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530260 nvidia,dma-request-selector = <&apbdma 8>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300261 clocks = <&tegra_car TEGRA20_CLK_UARTA>;
Roland Stigge223ef782012-06-11 21:09:45 +0200262 status = "disabled";
Grant Likely8e267f32011-07-19 17:26:54 -0600263 };
264
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530265 uartb: serial@70006040 {
Grant Likely8e267f32011-07-19 17:26:54 -0600266 compatible = "nvidia,tegra20-uart";
267 reg = <0x70006040 0x40>;
268 reg-shift = <2>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700269 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530270 nvidia,dma-request-selector = <&apbdma 9>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300271 clocks = <&tegra_car TEGRA20_CLK_UARTB>;
Roland Stigge223ef782012-06-11 21:09:45 +0200272 status = "disabled";
Grant Likely8e267f32011-07-19 17:26:54 -0600273 };
274
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530275 uartc: serial@70006200 {
Grant Likely8e267f32011-07-19 17:26:54 -0600276 compatible = "nvidia,tegra20-uart";
277 reg = <0x70006200 0x100>;
278 reg-shift = <2>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700279 interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530280 nvidia,dma-request-selector = <&apbdma 10>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300281 clocks = <&tegra_car TEGRA20_CLK_UARTC>;
Roland Stigge223ef782012-06-11 21:09:45 +0200282 status = "disabled";
Grant Likely8e267f32011-07-19 17:26:54 -0600283 };
284
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530285 uartd: serial@70006300 {
Grant Likely8e267f32011-07-19 17:26:54 -0600286 compatible = "nvidia,tegra20-uart";
287 reg = <0x70006300 0x100>;
288 reg-shift = <2>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700289 interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530290 nvidia,dma-request-selector = <&apbdma 19>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300291 clocks = <&tegra_car TEGRA20_CLK_UARTD>;
Roland Stigge223ef782012-06-11 21:09:45 +0200292 status = "disabled";
Grant Likely8e267f32011-07-19 17:26:54 -0600293 };
294
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530295 uarte: serial@70006400 {
Grant Likely8e267f32011-07-19 17:26:54 -0600296 compatible = "nvidia,tegra20-uart";
297 reg = <0x70006400 0x100>;
298 reg-shift = <2>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700299 interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530300 nvidia,dma-request-selector = <&apbdma 20>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300301 clocks = <&tegra_car TEGRA20_CLK_UARTE>;
Roland Stigge223ef782012-06-11 21:09:45 +0200302 status = "disabled";
Grant Likely8e267f32011-07-19 17:26:54 -0600303 };
304
Thierry Reding2b8b15d2012-09-20 17:06:05 +0200305 pwm: pwm {
Thierry Reding140fd972011-12-21 08:04:13 +0100306 compatible = "nvidia,tegra20-pwm";
307 reg = <0x7000a000 0x100>;
308 #pwm-cells = <2>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300309 clocks = <&tegra_car TEGRA20_CLK_PWM>;
Andrew Chewb69cd982013-03-12 16:40:51 -0700310 status = "disabled";
Thierry Reding140fd972011-12-21 08:04:13 +0100311 };
312
Stephen Warren380e04a2012-09-19 12:13:16 -0600313 rtc {
314 compatible = "nvidia,tegra20-rtc";
315 reg = <0x7000e000 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700316 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300317 clocks = <&tegra_car TEGRA20_CLK_RTC>;
Stephen Warren380e04a2012-09-19 12:13:16 -0600318 };
319
Stephen Warrenc04abb32012-05-11 17:03:26 -0600320 i2c@7000c000 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600321 compatible = "nvidia,tegra20-i2c";
322 reg = <0x7000c000 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700323 interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600324 #address-cells = <1>;
325 #size-cells = <0>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300326 clocks = <&tegra_car TEGRA20_CLK_I2C1>,
327 <&tegra_car TEGRA20_CLK_PLL_P_OUT3>;
Prashant Gaikwad8d8b43d2013-01-11 13:31:21 +0530328 clock-names = "div-clk", "fast-clk";
Roland Stigge223ef782012-06-11 21:09:45 +0200329 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600330 };
331
Laxman Dewanganfa98a112012-11-13 10:33:39 +0530332 spi@7000c380 {
333 compatible = "nvidia,tegra20-sflash";
334 reg = <0x7000c380 0x80>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700335 interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewanganfa98a112012-11-13 10:33:39 +0530336 nvidia,dma-request-selector = <&apbdma 11>;
337 #address-cells = <1>;
338 #size-cells = <0>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300339 clocks = <&tegra_car TEGRA20_CLK_SPI>;
Laxman Dewanganfa98a112012-11-13 10:33:39 +0530340 status = "disabled";
341 };
342
Stephen Warrenc04abb32012-05-11 17:03:26 -0600343 i2c@7000c400 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600344 compatible = "nvidia,tegra20-i2c";
345 reg = <0x7000c400 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700346 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600347 #address-cells = <1>;
348 #size-cells = <0>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300349 clocks = <&tegra_car TEGRA20_CLK_I2C2>,
350 <&tegra_car TEGRA20_CLK_PLL_P_OUT3>;
Prashant Gaikwad8d8b43d2013-01-11 13:31:21 +0530351 clock-names = "div-clk", "fast-clk";
Roland Stigge223ef782012-06-11 21:09:45 +0200352 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600353 };
354
355 i2c@7000c500 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600356 compatible = "nvidia,tegra20-i2c";
357 reg = <0x7000c500 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700358 interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600359 #address-cells = <1>;
360 #size-cells = <0>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300361 clocks = <&tegra_car TEGRA20_CLK_I2C3>,
362 <&tegra_car TEGRA20_CLK_PLL_P_OUT3>;
Prashant Gaikwad8d8b43d2013-01-11 13:31:21 +0530363 clock-names = "div-clk", "fast-clk";
Roland Stigge223ef782012-06-11 21:09:45 +0200364 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600365 };
366
367 i2c@7000d000 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600368 compatible = "nvidia,tegra20-i2c-dvc";
369 reg = <0x7000d000 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700370 interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600371 #address-cells = <1>;
372 #size-cells = <0>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300373 clocks = <&tegra_car TEGRA20_CLK_DVC>,
374 <&tegra_car TEGRA20_CLK_PLL_P_OUT3>;
Prashant Gaikwad8d8b43d2013-01-11 13:31:21 +0530375 clock-names = "div-clk", "fast-clk";
Roland Stigge223ef782012-06-11 21:09:45 +0200376 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600377 };
378
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530379 spi@7000d400 {
380 compatible = "nvidia,tegra20-slink";
381 reg = <0x7000d400 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700382 interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530383 nvidia,dma-request-selector = <&apbdma 15>;
384 #address-cells = <1>;
385 #size-cells = <0>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300386 clocks = <&tegra_car TEGRA20_CLK_SBC1>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530387 status = "disabled";
388 };
389
390 spi@7000d600 {
391 compatible = "nvidia,tegra20-slink";
392 reg = <0x7000d600 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700393 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530394 nvidia,dma-request-selector = <&apbdma 16>;
395 #address-cells = <1>;
396 #size-cells = <0>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300397 clocks = <&tegra_car TEGRA20_CLK_SBC2>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530398 status = "disabled";
399 };
400
401 spi@7000d800 {
402 compatible = "nvidia,tegra20-slink";
Laxman Dewangan57471c82013-03-22 12:35:06 -0600403 reg = <0x7000d800 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700404 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530405 nvidia,dma-request-selector = <&apbdma 17>;
406 #address-cells = <1>;
407 #size-cells = <0>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300408 clocks = <&tegra_car TEGRA20_CLK_SBC3>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530409 status = "disabled";
410 };
411
412 spi@7000da00 {
413 compatible = "nvidia,tegra20-slink";
414 reg = <0x7000da00 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700415 interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530416 nvidia,dma-request-selector = <&apbdma 18>;
417 #address-cells = <1>;
418 #size-cells = <0>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300419 clocks = <&tegra_car TEGRA20_CLK_SBC4>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530420 status = "disabled";
421 };
422
Laxman Dewangan699ed4b2013-01-11 19:03:03 +0530423 kbc {
424 compatible = "nvidia,tegra20-kbc";
425 reg = <0x7000e200 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700426 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300427 clocks = <&tegra_car TEGRA20_CLK_KBC>;
Laxman Dewangan699ed4b2013-01-11 19:03:03 +0530428 status = "disabled";
429 };
430
Stephen Warrenc04abb32012-05-11 17:03:26 -0600431 pmc {
432 compatible = "nvidia,tegra20-pmc";
433 reg = <0x7000e400 0x400>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300434 clocks = <&tegra_car TEGRA20_CLK_PCLK>, <&clk32k_in>;
Joseph Lo7021d122013-04-03 19:31:27 +0800435 clock-names = "pclk", "clk32k_in";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600436 };
437
Stephen Warrenbbfc33b2012-10-02 13:10:47 -0600438 memory-controller@7000f000 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600439 compatible = "nvidia,tegra20-mc";
440 reg = <0x7000f000 0x024
441 0x7000f03c 0x3c4>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700442 interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warrenc04abb32012-05-11 17:03:26 -0600443 };
444
Hiroshi Doyu109269e2013-01-29 10:30:30 +0200445 iommu {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600446 compatible = "nvidia,tegra20-gart";
447 reg = <0x7000f024 0x00000018 /* controller registers */
448 0x58000000 0x02000000>; /* GART aperture */
449 };
450
Stephen Warrenbbfc33b2012-10-02 13:10:47 -0600451 memory-controller@7000f400 {
Olof Johansson0c6700a2011-10-13 02:14:55 -0700452 compatible = "nvidia,tegra20-emc";
453 reg = <0x7000f400 0x200>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600454 #address-cells = <1>;
455 #size-cells = <0>;
Olof Johansson0c6700a2011-10-13 02:14:55 -0700456 };
457
Thierry Reding1b62b612013-08-09 16:49:19 +0200458 pcie-controller {
459 compatible = "nvidia,tegra20-pcie";
460 device_type = "pci";
461 reg = <0x80003000 0x00000800 /* PADS registers */
462 0x80003800 0x00000200 /* AFI registers */
463 0x90000000 0x10000000>; /* configuration space */
464 reg-names = "pads", "afi", "cs";
465 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH /* controller interrupt */
466 GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>; /* MSI interrupt */
467 interrupt-names = "intr", "msi";
468
469 bus-range = <0x00 0xff>;
470 #address-cells = <3>;
471 #size-cells = <2>;
472
473 ranges = <0x82000000 0 0x80000000 0x80000000 0 0x00001000 /* port 0 registers */
474 0x82000000 0 0x80001000 0x80001000 0 0x00001000 /* port 1 registers */
475 0x81000000 0 0 0x82000000 0 0x00010000 /* downstream I/O */
Jay Agarwald7283c12013-08-09 16:49:31 +0200476 0x82000000 0 0xa0000000 0xa0000000 0 0x08000000 /* non-prefetchable memory */
477 0xc2000000 0 0xa8000000 0xa8000000 0 0x18000000>; /* prefetchable memory */
Thierry Reding1b62b612013-08-09 16:49:19 +0200478
479 clocks = <&tegra_car TEGRA20_CLK_PEX>,
480 <&tegra_car TEGRA20_CLK_AFI>,
481 <&tegra_car TEGRA20_CLK_PCIE_XCLK>,
482 <&tegra_car TEGRA20_CLK_PLL_E>;
483 clock-names = "pex", "afi", "pcie_xclk", "pll_e";
484 status = "disabled";
485
486 pci@1,0 {
487 device_type = "pci";
488 assigned-addresses = <0x82000800 0 0x80000000 0 0x1000>;
489 reg = <0x000800 0 0 0 0>;
490 status = "disabled";
491
492 #address-cells = <3>;
493 #size-cells = <2>;
494 ranges;
495
496 nvidia,num-lanes = <2>;
497 };
498
499 pci@2,0 {
500 device_type = "pci";
501 assigned-addresses = <0x82001000 0 0x80001000 0 0x1000>;
502 reg = <0x001000 0 0 0 0>;
503 status = "disabled";
504
505 #address-cells = <3>;
506 #size-cells = <2>;
507 ranges;
508
509 nvidia,num-lanes = <2>;
510 };
511 };
512
Stephen Warrenc04abb32012-05-11 17:03:26 -0600513 usb@c5000000 {
514 compatible = "nvidia,tegra20-ehci", "usb-ehci";
515 reg = <0xc5000000 0x4000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700516 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warrenc04abb32012-05-11 17:03:26 -0600517 phy_type = "utmi";
518 nvidia,has-legacy-mode;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300519 clocks = <&tegra_car TEGRA20_CLK_USBD>;
Venu Byravarasub4e07472012-12-13 20:59:07 +0000520 nvidia,needs-double-reset;
Venu Byravarasue374b652013-01-16 03:30:19 +0000521 nvidia,phy = <&phy1>;
Roland Stigge223ef782012-06-11 21:09:45 +0200522 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600523 };
524
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530525 phy1: usb-phy@c5000000 {
Stephen Warren5d324412013-03-06 11:28:33 -0700526 compatible = "nvidia,tegra20-usb-phy";
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530527 reg = <0xc5000000 0x4000 0xc5000000 0x4000>;
Stephen Warren5d324412013-03-06 11:28:33 -0700528 phy_type = "utmi";
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300529 clocks = <&tegra_car TEGRA20_CLK_USBD>,
530 <&tegra_car TEGRA20_CLK_PLL_U>,
531 <&tegra_car TEGRA20_CLK_CLK_M>,
532 <&tegra_car TEGRA20_CLK_USBD>;
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530533 clock-names = "reg", "pll_u", "timer", "utmi-pads";
Stephen Warren5d324412013-03-06 11:28:33 -0700534 nvidia,has-legacy-mode;
Mikko Perttunenc49667e2013-07-17 09:31:00 +0300535 nvidia,hssync-start-delay = <9>;
536 nvidia,idle-wait-delay = <17>;
537 nvidia,elastic-limit = <16>;
538 nvidia,term-range-adj = <6>;
539 nvidia,xcvr-setup = <9>;
540 nvidia,xcvr-lsfslew = <1>;
541 nvidia,xcvr-lsrslew = <1>;
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530542 status = "disabled";
Stephen Warren5d324412013-03-06 11:28:33 -0700543 };
544
Stephen Warrenc04abb32012-05-11 17:03:26 -0600545 usb@c5004000 {
546 compatible = "nvidia,tegra20-ehci", "usb-ehci";
547 reg = <0xc5004000 0x4000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700548 interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warrenc04abb32012-05-11 17:03:26 -0600549 phy_type = "ulpi";
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300550 clocks = <&tegra_car TEGRA20_CLK_USB2>;
Venu Byravarasue374b652013-01-16 03:30:19 +0000551 nvidia,phy = <&phy2>;
Roland Stigge223ef782012-06-11 21:09:45 +0200552 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600553 };
554
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530555 phy2: usb-phy@c5004000 {
Stephen Warren5d324412013-03-06 11:28:33 -0700556 compatible = "nvidia,tegra20-usb-phy";
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530557 reg = <0xc5004000 0x4000>;
Stephen Warren5d324412013-03-06 11:28:33 -0700558 phy_type = "ulpi";
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300559 clocks = <&tegra_car TEGRA20_CLK_USB2>,
560 <&tegra_car TEGRA20_CLK_PLL_U>,
561 <&tegra_car TEGRA20_CLK_CDEV2>;
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530562 clock-names = "reg", "pll_u", "ulpi-link";
563 status = "disabled";
Stephen Warren5d324412013-03-06 11:28:33 -0700564 };
565
Stephen Warrenc04abb32012-05-11 17:03:26 -0600566 usb@c5008000 {
567 compatible = "nvidia,tegra20-ehci", "usb-ehci";
568 reg = <0xc5008000 0x4000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700569 interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warrenc04abb32012-05-11 17:03:26 -0600570 phy_type = "utmi";
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300571 clocks = <&tegra_car TEGRA20_CLK_USB3>;
Venu Byravarasue374b652013-01-16 03:30:19 +0000572 nvidia,phy = <&phy3>;
Roland Stigge223ef782012-06-11 21:09:45 +0200573 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600574 };
575
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530576 phy3: usb-phy@c5008000 {
Stephen Warren5d324412013-03-06 11:28:33 -0700577 compatible = "nvidia,tegra20-usb-phy";
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530578 reg = <0xc5008000 0x4000 0xc5000000 0x4000>;
Stephen Warren5d324412013-03-06 11:28:33 -0700579 phy_type = "utmi";
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300580 clocks = <&tegra_car TEGRA20_CLK_USB3>,
581 <&tegra_car TEGRA20_CLK_PLL_U>,
582 <&tegra_car TEGRA20_CLK_CLK_M>,
583 <&tegra_car TEGRA20_CLK_USBD>;
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530584 clock-names = "reg", "pll_u", "timer", "utmi-pads";
Mikko Perttunenc49667e2013-07-17 09:31:00 +0300585 nvidia,hssync-start-delay = <9>;
586 nvidia,idle-wait-delay = <17>;
587 nvidia,elastic-limit = <16>;
588 nvidia,term-range-adj = <6>;
589 nvidia,xcvr-setup = <9>;
590 nvidia,xcvr-lsfslew = <2>;
591 nvidia,xcvr-lsrslew = <2>;
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530592 status = "disabled";
Stephen Warren5d324412013-03-06 11:28:33 -0700593 };
594
Grant Likely8e267f32011-07-19 17:26:54 -0600595 sdhci@c8000000 {
596 compatible = "nvidia,tegra20-sdhci";
597 reg = <0xc8000000 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700598 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300599 clocks = <&tegra_car TEGRA20_CLK_SDMMC1>;
Roland Stigge223ef782012-06-11 21:09:45 +0200600 status = "disabled";
Grant Likely8e267f32011-07-19 17:26:54 -0600601 };
602
603 sdhci@c8000200 {
604 compatible = "nvidia,tegra20-sdhci";
605 reg = <0xc8000200 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700606 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300607 clocks = <&tegra_car TEGRA20_CLK_SDMMC2>;
Roland Stigge223ef782012-06-11 21:09:45 +0200608 status = "disabled";
Grant Likely8e267f32011-07-19 17:26:54 -0600609 };
610
611 sdhci@c8000400 {
612 compatible = "nvidia,tegra20-sdhci";
613 reg = <0xc8000400 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700614 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300615 clocks = <&tegra_car TEGRA20_CLK_SDMMC3>;
Roland Stigge223ef782012-06-11 21:09:45 +0200616 status = "disabled";
Grant Likely8e267f32011-07-19 17:26:54 -0600617 };
618
619 sdhci@c8000600 {
620 compatible = "nvidia,tegra20-sdhci";
621 reg = <0xc8000600 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700622 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300623 clocks = <&tegra_car TEGRA20_CLK_SDMMC4>;
Roland Stigge223ef782012-06-11 21:09:45 +0200624 status = "disabled";
Grant Likely8e267f32011-07-19 17:26:54 -0600625 };
Olof Johanssonc27317c2011-11-04 09:12:39 +0000626
Hiroshi Doyu4dd2bd32013-01-11 15:26:55 +0200627 cpus {
628 #address-cells = <1>;
629 #size-cells = <0>;
630
631 cpu@0 {
632 device_type = "cpu";
633 compatible = "arm,cortex-a9";
634 reg = <0>;
635 };
636
637 cpu@1 {
638 device_type = "cpu";
639 compatible = "arm,cortex-a9";
640 reg = <1>;
641 };
642 };
643
Stephen Warrenc04abb32012-05-11 17:03:26 -0600644 pmu {
645 compatible = "arm,cortex-a9-pmu";
Stephen Warren6cecf912013-02-13 12:51:51 -0700646 interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
647 <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
hdoyu@nvidia.com6a943e02012-05-09 21:45:33 +0000648 };
Grant Likely8e267f32011-07-19 17:26:54 -0600649};