blob: dcad6d6128cf7422bd575936306c219aa0023b5f [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001// SPDX-License-Identifier: GPL-2.0
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +03002#include <dt-bindings/clock/tegra20-car.h>
Stephen Warren3325f1b2013-02-12 17:25:15 -07003#include <dt-bindings/gpio/tegra-gpio.h>
Dmitry Osipenkoa37ff8f2018-05-20 16:48:44 +03004#include <dt-bindings/memory/tegra20-mc.h>
Laxman Dewanganba4104e2013-12-05 16:14:08 +05305#include <dt-bindings/pinctrl/pinctrl-tegra.h>
Stephen Warren6cecf912013-02-13 12:51:51 -07006#include <dt-bindings/interrupt-controller/arm-gic.h>
Stephen Warren3325f1b2013-02-12 17:25:15 -07007
Grant Likely8e267f32011-07-19 17:26:54 -06008/ {
9 compatible = "nvidia,tegra20";
Marc Zyngier870c81a2015-03-11 15:43:01 +000010 interrupt-parent = <&lic>;
Krzysztof Kozlowskif48ba1a2018-07-09 18:05:16 +020011 #address-cells = <1>;
12 #size-cells = <1>;
13
Krzysztof Kozlowski48299762018-07-09 18:05:17 +020014 memory@0 {
Krzysztof Kozlowskif48ba1a2018-07-09 18:05:16 +020015 device_type = "memory";
Krzysztof Kozlowski48299762018-07-09 18:05:17 +020016 reg = <0 0>;
Krzysztof Kozlowskif48ba1a2018-07-09 18:05:16 +020017 };
Grant Likely8e267f32011-07-19 17:26:54 -060018
Vladimir Zapolskiyf143bf32017-12-12 03:26:09 +030019 iram@40000000 {
20 compatible = "mmio-sram";
21 reg = <0x40000000 0x40000>;
22 #address-cells = <1>;
23 #size-cells = <1>;
24 ranges = <0 0x40000000 0x40000>;
Dmitry Osipenkobb768f22017-12-12 03:26:10 +030025
Thierry Reding0275e4a2018-03-08 14:54:46 +010026 vde_pool: vde@400 {
Dmitry Osipenkobb768f22017-12-12 03:26:10 +030027 reg = <0x400 0x3fc00>;
28 pool;
29 };
Vladimir Zapolskiyf143bf32017-12-12 03:26:09 +030030 };
31
Stephen Warren58ecb232013-11-25 17:53:16 -070032 host1x@50000000 {
Thierry Redinged821f02012-11-15 22:07:54 +010033 compatible = "nvidia,tegra20-host1x", "simple-bus";
34 reg = <0x50000000 0x00024000>;
Stephen Warren6cecf912013-02-13 12:51:51 -070035 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, /* syncpt */
36 <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>; /* general */
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +030037 clocks = <&tegra_car TEGRA20_CLK_HOST1X>;
Stephen Warren3393d422013-11-06 14:01:16 -070038 resets = <&tegra_car 28>;
39 reset-names = "host1x";
Thierry Redinged821f02012-11-15 22:07:54 +010040
41 #address-cells = <1>;
42 #size-cells = <1>;
43
44 ranges = <0x54000000 0x54000000 0x04000000>;
45
Stephen Warren58ecb232013-11-25 17:53:16 -070046 mpe@54040000 {
Thierry Redinged821f02012-11-15 22:07:54 +010047 compatible = "nvidia,tegra20-mpe";
48 reg = <0x54040000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -070049 interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +030050 clocks = <&tegra_car TEGRA20_CLK_MPE>;
Stephen Warren3393d422013-11-06 14:01:16 -070051 resets = <&tegra_car 60>;
52 reset-names = "mpe";
Thierry Redinged821f02012-11-15 22:07:54 +010053 };
54
Stephen Warren58ecb232013-11-25 17:53:16 -070055 vi@54080000 {
Thierry Redinged821f02012-11-15 22:07:54 +010056 compatible = "nvidia,tegra20-vi";
57 reg = <0x54080000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -070058 interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +030059 clocks = <&tegra_car TEGRA20_CLK_VI>;
Stephen Warren3393d422013-11-06 14:01:16 -070060 resets = <&tegra_car 20>;
61 reset-names = "vi";
Thierry Redinged821f02012-11-15 22:07:54 +010062 };
63
Stephen Warren58ecb232013-11-25 17:53:16 -070064 epp@540c0000 {
Thierry Redinged821f02012-11-15 22:07:54 +010065 compatible = "nvidia,tegra20-epp";
66 reg = <0x540c0000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -070067 interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +030068 clocks = <&tegra_car TEGRA20_CLK_EPP>;
Stephen Warren3393d422013-11-06 14:01:16 -070069 resets = <&tegra_car 19>;
70 reset-names = "epp";
Thierry Redinged821f02012-11-15 22:07:54 +010071 };
72
Stephen Warren58ecb232013-11-25 17:53:16 -070073 isp@54100000 {
Thierry Redinged821f02012-11-15 22:07:54 +010074 compatible = "nvidia,tegra20-isp";
75 reg = <0x54100000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -070076 interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +030077 clocks = <&tegra_car TEGRA20_CLK_ISP>;
Stephen Warren3393d422013-11-06 14:01:16 -070078 resets = <&tegra_car 23>;
79 reset-names = "isp";
Thierry Redinged821f02012-11-15 22:07:54 +010080 };
81
Stephen Warren58ecb232013-11-25 17:53:16 -070082 gr2d@54140000 {
Thierry Redinged821f02012-11-15 22:07:54 +010083 compatible = "nvidia,tegra20-gr2d";
84 reg = <0x54140000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -070085 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +030086 clocks = <&tegra_car TEGRA20_CLK_GR2D>;
Stephen Warren3393d422013-11-06 14:01:16 -070087 resets = <&tegra_car 21>;
88 reset-names = "2d";
Thierry Redinged821f02012-11-15 22:07:54 +010089 };
90
Dmitry Osipenkode476992014-12-12 18:19:19 +030091 gr3d@54180000 {
Thierry Redinged821f02012-11-15 22:07:54 +010092 compatible = "nvidia,tegra20-gr3d";
Dmitry Osipenkode476992014-12-12 18:19:19 +030093 reg = <0x54180000 0x00040000>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +030094 clocks = <&tegra_car TEGRA20_CLK_GR3D>;
Stephen Warren3393d422013-11-06 14:01:16 -070095 resets = <&tegra_car 24>;
96 reset-names = "3d";
Thierry Redinged821f02012-11-15 22:07:54 +010097 };
98
99 dc@54200000 {
100 compatible = "nvidia,tegra20-dc";
101 reg = <0x54200000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700102 interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300103 clocks = <&tegra_car TEGRA20_CLK_DISP1>,
104 <&tegra_car TEGRA20_CLK_PLL_P>;
Stephen Warrend8f64792013-11-06 14:00:25 -0700105 clock-names = "dc", "parent";
Stephen Warren3393d422013-11-06 14:01:16 -0700106 resets = <&tegra_car 27>;
107 reset-names = "dc";
Thierry Redinged821f02012-11-15 22:07:54 +0100108
Thierry Reding688b56b2014-02-18 23:03:31 +0100109 nvidia,head = <0>;
110
Thierry Redinged821f02012-11-15 22:07:54 +0100111 rgb {
112 status = "disabled";
113 };
114 };
115
116 dc@54240000 {
117 compatible = "nvidia,tegra20-dc";
118 reg = <0x54240000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700119 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300120 clocks = <&tegra_car TEGRA20_CLK_DISP2>,
121 <&tegra_car TEGRA20_CLK_PLL_P>;
Stephen Warrend8f64792013-11-06 14:00:25 -0700122 clock-names = "dc", "parent";
Stephen Warren3393d422013-11-06 14:01:16 -0700123 resets = <&tegra_car 26>;
124 reset-names = "dc";
Thierry Redinged821f02012-11-15 22:07:54 +0100125
Thierry Reding688b56b2014-02-18 23:03:31 +0100126 nvidia,head = <1>;
127
Thierry Redinged821f02012-11-15 22:07:54 +0100128 rgb {
129 status = "disabled";
130 };
131 };
132
Stephen Warren58ecb232013-11-25 17:53:16 -0700133 hdmi@54280000 {
Thierry Redinged821f02012-11-15 22:07:54 +0100134 compatible = "nvidia,tegra20-hdmi";
135 reg = <0x54280000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700136 interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300137 clocks = <&tegra_car TEGRA20_CLK_HDMI>,
138 <&tegra_car TEGRA20_CLK_PLL_D_OUT0>;
Prashant Gaikwad8d8b43d2013-01-11 13:31:21 +0530139 clock-names = "hdmi", "parent";
Stephen Warren3393d422013-11-06 14:01:16 -0700140 resets = <&tegra_car 51>;
141 reset-names = "hdmi";
Thierry Redinged821f02012-11-15 22:07:54 +0100142 status = "disabled";
143 };
144
Stephen Warren58ecb232013-11-25 17:53:16 -0700145 tvo@542c0000 {
Thierry Redinged821f02012-11-15 22:07:54 +0100146 compatible = "nvidia,tegra20-tvo";
147 reg = <0x542c0000 0x00040000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700148 interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300149 clocks = <&tegra_car TEGRA20_CLK_TVO>;
Thierry Redinged821f02012-11-15 22:07:54 +0100150 status = "disabled";
151 };
152
Dmitry Osipenkode476992014-12-12 18:19:19 +0300153 dsi@54300000 {
Thierry Redinged821f02012-11-15 22:07:54 +0100154 compatible = "nvidia,tegra20-dsi";
Dmitry Osipenkode476992014-12-12 18:19:19 +0300155 reg = <0x54300000 0x00040000>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300156 clocks = <&tegra_car TEGRA20_CLK_DSI>;
Stephen Warren3393d422013-11-06 14:01:16 -0700157 resets = <&tegra_car 48>;
158 reset-names = "dsi";
Thierry Redinged821f02012-11-15 22:07:54 +0100159 status = "disabled";
160 };
161 };
162
Thierry Reding2cda1882015-01-08 13:24:33 +0100163 timer@50040600 {
Stephen Warren73368ba2012-09-19 14:17:24 -0600164 compatible = "arm,cortex-a9-twd-timer";
Marc Zyngier870c81a2015-03-11 15:43:01 +0000165 interrupt-parent = <&intc>;
Stephen Warren73368ba2012-09-19 14:17:24 -0600166 reg = <0x50040600 0x20>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700167 interrupts = <GIC_PPI 13
Jon Huntere7d9b272016-03-17 14:19:05 +0000168 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_EDGE_RISING)>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300169 clocks = <&tegra_car TEGRA20_CLK_TWD>;
Stephen Warren73368ba2012-09-19 14:17:24 -0600170 };
171
Stephen Warren58ecb232013-11-25 17:53:16 -0700172 intc: interrupt-controller@50041000 {
pdeschrijver@nvidia.com0d4f7472011-11-29 18:29:19 -0700173 compatible = "arm,cortex-a9-gic";
Stephen Warren5ff48882012-05-11 16:26:03 -0600174 reg = <0x50041000 0x1000
175 0x50040100 0x0100>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600176 interrupt-controller;
177 #interrupt-cells = <3>;
Marc Zyngier870c81a2015-03-11 15:43:01 +0000178 interrupt-parent = <&intc>;
Grant Likely8e267f32011-07-19 17:26:54 -0600179 };
180
Stephen Warren58ecb232013-11-25 17:53:16 -0700181 cache-controller@50043000 {
Stephen Warrenbb2c1de2013-01-14 10:09:16 -0700182 compatible = "arm,pl310-cache";
183 reg = <0x50043000 0x1000>;
184 arm,data-latency = <5 5 2>;
185 arm,tag-latency = <4 4 2>;
186 cache-unified;
187 cache-level = <2>;
188 };
189
Marc Zyngier870c81a2015-03-11 15:43:01 +0000190 lic: interrupt-controller@60004000 {
191 compatible = "nvidia,tegra20-ictlr";
192 reg = <0x60004000 0x100>,
193 <0x60004100 0x50>,
194 <0x60004200 0x50>,
195 <0x60004300 0x50>;
196 interrupt-controller;
197 #interrupt-cells = <3>;
198 interrupt-parent = <&intc>;
199 };
200
Stephen Warren2f2b7fb2012-09-19 12:02:31 -0600201 timer@60005000 {
202 compatible = "nvidia,tegra20-timer";
203 reg = <0x60005000 0x60>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700204 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
205 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
206 <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
207 <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300208 clocks = <&tegra_car TEGRA20_CLK_TIMER>;
Stephen Warren2f2b7fb2012-09-19 12:02:31 -0600209 };
210
Stephen Warren58ecb232013-11-25 17:53:16 -0700211 tegra_car: clock@60006000 {
Stephen Warren270f8ce2013-01-11 13:16:22 +0530212 compatible = "nvidia,tegra20-car";
213 reg = <0x60006000 0x1000>;
214 #clock-cells = <1>;
Stephen Warren3393d422013-11-06 14:01:16 -0700215 #reset-cells = <1>;
Stephen Warren270f8ce2013-01-11 13:16:22 +0530216 };
217
Thierry Redingb1023132014-08-26 08:14:03 +0200218 flow-controller@60007000 {
219 compatible = "nvidia,tegra20-flowctrl";
220 reg = <0x60007000 0x1000>;
221 };
222
Stephen Warren58ecb232013-11-25 17:53:16 -0700223 apbdma: dma@6000a000 {
Stephen Warren8051b752012-01-11 16:09:54 -0700224 compatible = "nvidia,tegra20-apbdma";
225 reg = <0x6000a000 0x1200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700226 interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
227 <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
228 <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
229 <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
230 <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
231 <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
232 <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
233 <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
234 <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
235 <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
236 <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
237 <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
238 <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
239 <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
240 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
241 <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300242 clocks = <&tegra_car TEGRA20_CLK_APBDMA>;
Stephen Warren3393d422013-11-06 14:01:16 -0700243 resets = <&tegra_car 34>;
244 reset-names = "dma";
Stephen Warren034d0232013-11-11 13:05:59 -0700245 #dma-cells = <1>;
Stephen Warren8051b752012-01-11 16:09:54 -0700246 };
247
Nicolas Chauvet0d5ccb32015-08-08 15:58:12 +0200248 ahb@6000c000 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600249 compatible = "nvidia,tegra20-ahb";
Nicolas Chauvet0d5ccb32015-08-08 15:58:12 +0200250 reg = <0x6000c000 0x110>; /* AHB Arbitration + Gizmo Controller */
Grant Likely8e267f32011-07-19 17:26:54 -0600251 };
252
Stephen Warren58ecb232013-11-25 17:53:16 -0700253 gpio: gpio@6000d000 {
Grant Likely8e267f32011-07-19 17:26:54 -0600254 compatible = "nvidia,tegra20-gpio";
Stephen Warren95decf82012-05-11 16:11:38 -0600255 reg = <0x6000d000 0x1000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700256 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>,
257 <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>,
258 <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>,
259 <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>,
260 <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
261 <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>,
262 <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
Grant Likely8e267f32011-07-19 17:26:54 -0600263 #gpio-cells = <2>;
264 gpio-controller;
Stephen Warren6f74dc92012-01-04 08:39:37 +0000265 #interrupt-cells = <2>;
266 interrupt-controller;
Thierry Reding4f1d8412015-10-09 17:51:47 +0200267 /*
Tomeu Vizoso17cdddf2015-07-14 10:29:56 +0200268 gpio-ranges = <&pinmux 0 0 224>;
Thierry Reding4f1d8412015-10-09 17:51:47 +0200269 */
Grant Likely8e267f32011-07-19 17:26:54 -0600270 };
271
Dmitry Osipenkobb768f22017-12-12 03:26:10 +0300272 vde@6001a000 {
273 compatible = "nvidia,tegra20-vde";
274 reg = <0x6001a000 0x1000 /* Syntax Engine */
275 0x6001b000 0x1000 /* Video Bitstream Engine */
276 0x6001c000 0x100 /* Macroblock Engine */
277 0x6001c200 0x100 /* Post-processing Engine */
278 0x6001c400 0x100 /* Motion Compensation Engine */
279 0x6001c600 0x100 /* Transform Engine */
280 0x6001c800 0x100 /* Pixel prediction block */
281 0x6001ca00 0x100 /* Video DMA */
282 0x6001d800 0x300>; /* Video frame controls */
283 reg-names = "sxe", "bsev", "mbe", "ppe", "mce",
284 "tfe", "ppb", "vdma", "frameid";
285 iram = <&vde_pool>; /* IRAM region */
286 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>, /* Sync token interrupt */
287 <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>, /* BSE-V interrupt */
288 <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; /* SXE interrupt */
289 interrupt-names = "sync-token", "bsev", "sxe";
290 clocks = <&tegra_car TEGRA20_CLK_VDE>;
Dmitry Osipenkoa37ff8f2018-05-20 16:48:44 +0300291 reset-names = "vde", "mc";
292 resets = <&tegra_car 61>, <&mc TEGRA20_MC_RESET_VDE>;
Dmitry Osipenkobb768f22017-12-12 03:26:10 +0300293 };
294
Peter De Schrijver155dfc72014-06-12 18:36:38 +0300295 apbmisc@70000800 {
296 compatible = "nvidia,tegra20-apbmisc";
297 reg = <0x70000800 0x64 /* Chip revision */
298 0x70000008 0x04>; /* Strapping options */
299 };
300
Stephen Warren58ecb232013-11-25 17:53:16 -0700301 pinmux: pinmux@70000014 {
Stephen Warrenf62f5482011-10-11 16:16:13 -0600302 compatible = "nvidia,tegra20-pinmux";
Stephen Warren95decf82012-05-11 16:11:38 -0600303 reg = <0x70000014 0x10 /* Tri-state registers */
304 0x70000080 0x20 /* Mux registers */
305 0x700000a0 0x14 /* Pull-up/down registers */
306 0x70000868 0xa8>; /* Pad control registers */
Stephen Warrenf62f5482011-10-11 16:16:13 -0600307 };
308
Stephen Warren58ecb232013-11-25 17:53:16 -0700309 das@70000c00 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600310 compatible = "nvidia,tegra20-das";
311 reg = <0x70000c00 0x80>;
312 };
Stephen Warrenfc5c3062013-03-06 11:28:32 -0700313
Stephen Warren58ecb232013-11-25 17:53:16 -0700314 tegra_ac97: ac97@70002000 {
Lucas Stach0698ed12013-01-05 02:18:44 +0100315 compatible = "nvidia,tegra20-ac97";
316 reg = <0x70002000 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700317 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300318 clocks = <&tegra_car TEGRA20_CLK_AC97>;
Stephen Warren3393d422013-11-06 14:01:16 -0700319 resets = <&tegra_car 3>;
320 reset-names = "ac97";
Stephen Warren034d0232013-11-11 13:05:59 -0700321 dmas = <&apbdma 12>, <&apbdma 12>;
322 dma-names = "rx", "tx";
Lucas Stach0698ed12013-01-05 02:18:44 +0100323 status = "disabled";
324 };
Stephen Warrenc04abb32012-05-11 17:03:26 -0600325
326 tegra_i2s1: i2s@70002800 {
327 compatible = "nvidia,tegra20-i2s";
328 reg = <0x70002800 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700329 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300330 clocks = <&tegra_car TEGRA20_CLK_I2S1>;
Stephen Warren3393d422013-11-06 14:01:16 -0700331 resets = <&tegra_car 11>;
332 reset-names = "i2s";
Stephen Warren034d0232013-11-11 13:05:59 -0700333 dmas = <&apbdma 2>, <&apbdma 2>;
334 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200335 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600336 };
337
338 tegra_i2s2: i2s@70002a00 {
339 compatible = "nvidia,tegra20-i2s";
340 reg = <0x70002a00 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700341 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300342 clocks = <&tegra_car TEGRA20_CLK_I2S2>;
Stephen Warren3393d422013-11-06 14:01:16 -0700343 resets = <&tegra_car 18>;
344 reset-names = "i2s";
Stephen Warren034d0232013-11-11 13:05:59 -0700345 dmas = <&apbdma 1>, <&apbdma 1>;
346 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200347 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600348 };
349
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530350 /*
351 * There are two serial driver i.e. 8250 based simple serial
352 * driver and APB DMA based serial driver for higher baudrate
353 * and performace. To enable the 8250 based driver, the compatible
354 * is "nvidia,tegra20-uart" and to enable the APB DMA based serial
Ralf Ramsauere1098242016-01-26 17:59:17 +0100355 * driver, the compatible is "nvidia,tegra20-hsuart".
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530356 */
357 uarta: serial@70006000 {
Grant Likely8e267f32011-07-19 17:26:54 -0600358 compatible = "nvidia,tegra20-uart";
359 reg = <0x70006000 0x40>;
360 reg-shift = <2>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700361 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300362 clocks = <&tegra_car TEGRA20_CLK_UARTA>;
Stephen Warren3393d422013-11-06 14:01:16 -0700363 resets = <&tegra_car 6>;
364 reset-names = "serial";
Stephen Warren034d0232013-11-11 13:05:59 -0700365 dmas = <&apbdma 8>, <&apbdma 8>;
366 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200367 status = "disabled";
Grant Likely8e267f32011-07-19 17:26:54 -0600368 };
369
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530370 uartb: serial@70006040 {
Grant Likely8e267f32011-07-19 17:26:54 -0600371 compatible = "nvidia,tegra20-uart";
372 reg = <0x70006040 0x40>;
373 reg-shift = <2>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700374 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300375 clocks = <&tegra_car TEGRA20_CLK_UARTB>;
Stephen Warren3393d422013-11-06 14:01:16 -0700376 resets = <&tegra_car 7>;
377 reset-names = "serial";
Stephen Warren034d0232013-11-11 13:05:59 -0700378 dmas = <&apbdma 9>, <&apbdma 9>;
379 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200380 status = "disabled";
Grant Likely8e267f32011-07-19 17:26:54 -0600381 };
382
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530383 uartc: serial@70006200 {
Grant Likely8e267f32011-07-19 17:26:54 -0600384 compatible = "nvidia,tegra20-uart";
385 reg = <0x70006200 0x100>;
386 reg-shift = <2>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700387 interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300388 clocks = <&tegra_car TEGRA20_CLK_UARTC>;
Stephen Warren3393d422013-11-06 14:01:16 -0700389 resets = <&tegra_car 55>;
390 reset-names = "serial";
Stephen Warren034d0232013-11-11 13:05:59 -0700391 dmas = <&apbdma 10>, <&apbdma 10>;
392 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200393 status = "disabled";
Grant Likely8e267f32011-07-19 17:26:54 -0600394 };
395
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530396 uartd: serial@70006300 {
Grant Likely8e267f32011-07-19 17:26:54 -0600397 compatible = "nvidia,tegra20-uart";
398 reg = <0x70006300 0x100>;
399 reg-shift = <2>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700400 interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300401 clocks = <&tegra_car TEGRA20_CLK_UARTD>;
Stephen Warren3393d422013-11-06 14:01:16 -0700402 resets = <&tegra_car 65>;
403 reset-names = "serial";
Stephen Warren034d0232013-11-11 13:05:59 -0700404 dmas = <&apbdma 19>, <&apbdma 19>;
405 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200406 status = "disabled";
Grant Likely8e267f32011-07-19 17:26:54 -0600407 };
408
Laxman Dewanganb6551bb2012-12-19 12:01:11 +0530409 uarte: serial@70006400 {
Grant Likely8e267f32011-07-19 17:26:54 -0600410 compatible = "nvidia,tegra20-uart";
411 reg = <0x70006400 0x100>;
412 reg-shift = <2>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700413 interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300414 clocks = <&tegra_car TEGRA20_CLK_UARTE>;
Stephen Warren3393d422013-11-06 14:01:16 -0700415 resets = <&tegra_car 66>;
416 reset-names = "serial";
Stephen Warren034d0232013-11-11 13:05:59 -0700417 dmas = <&apbdma 20>, <&apbdma 20>;
418 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200419 status = "disabled";
Grant Likely8e267f32011-07-19 17:26:54 -0600420 };
421
Lucas Stach6c468f12018-06-24 23:27:26 +0200422 nand-controller@70008000 {
423 compatible = "nvidia,tegra20-nand";
424 reg = <0x70008000 0x100>;
425 #address-cells = <1>;
426 #size-cells = <0>;
427 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
428 clocks = <&tegra_car TEGRA20_CLK_NDFLASH>;
429 clock-names = "nand";
430 resets = <&tegra_car 13>;
431 reset-names = "nand";
432 assigned-clocks = <&tegra_car TEGRA20_CLK_NDFLASH>;
433 assigned-clock-rates = <150000000>;
434 status = "disabled";
435 };
436
Marcel Ziswiler81883912018-08-16 10:06:03 +0200437 gmi@70009000 {
438 compatible = "nvidia,tegra20-gmi";
439 reg = <0x70009000 0x1000>;
440 #address-cells = <2>;
441 #size-cells = <1>;
442 ranges = <0 0 0xd0000000 0xfffffff>;
443 clocks = <&tegra_car TEGRA20_CLK_NOR>;
444 clock-names = "gmi";
445 resets = <&tegra_car 42>;
446 reset-names = "gmi";
447 status = "disabled";
448 };
449
Stephen Warren58ecb232013-11-25 17:53:16 -0700450 pwm: pwm@7000a000 {
Thierry Reding140fd972011-12-21 08:04:13 +0100451 compatible = "nvidia,tegra20-pwm";
452 reg = <0x7000a000 0x100>;
453 #pwm-cells = <2>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300454 clocks = <&tegra_car TEGRA20_CLK_PWM>;
Stephen Warren3393d422013-11-06 14:01:16 -0700455 resets = <&tegra_car 17>;
456 reset-names = "pwm";
Andrew Chewb69cd982013-03-12 16:40:51 -0700457 status = "disabled";
Thierry Reding140fd972011-12-21 08:04:13 +0100458 };
459
Stephen Warren58ecb232013-11-25 17:53:16 -0700460 rtc@7000e000 {
Stephen Warren380e04a2012-09-19 12:13:16 -0600461 compatible = "nvidia,tegra20-rtc";
462 reg = <0x7000e000 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700463 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300464 clocks = <&tegra_car TEGRA20_CLK_RTC>;
Stephen Warren380e04a2012-09-19 12:13:16 -0600465 };
466
Stephen Warrenc04abb32012-05-11 17:03:26 -0600467 i2c@7000c000 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600468 compatible = "nvidia,tegra20-i2c";
469 reg = <0x7000c000 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700470 interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600471 #address-cells = <1>;
472 #size-cells = <0>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300473 clocks = <&tegra_car TEGRA20_CLK_I2C1>,
474 <&tegra_car TEGRA20_CLK_PLL_P_OUT3>;
Prashant Gaikwad8d8b43d2013-01-11 13:31:21 +0530475 clock-names = "div-clk", "fast-clk";
Stephen Warren3393d422013-11-06 14:01:16 -0700476 resets = <&tegra_car 12>;
477 reset-names = "i2c";
Stephen Warren034d0232013-11-11 13:05:59 -0700478 dmas = <&apbdma 21>, <&apbdma 21>;
479 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200480 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600481 };
482
Laxman Dewanganfa98a112012-11-13 10:33:39 +0530483 spi@7000c380 {
484 compatible = "nvidia,tegra20-sflash";
485 reg = <0x7000c380 0x80>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700486 interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewanganfa98a112012-11-13 10:33:39 +0530487 #address-cells = <1>;
488 #size-cells = <0>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300489 clocks = <&tegra_car TEGRA20_CLK_SPI>;
Stephen Warren3393d422013-11-06 14:01:16 -0700490 resets = <&tegra_car 43>;
491 reset-names = "spi";
Stephen Warren034d0232013-11-11 13:05:59 -0700492 dmas = <&apbdma 11>, <&apbdma 11>;
493 dma-names = "rx", "tx";
Laxman Dewanganfa98a112012-11-13 10:33:39 +0530494 status = "disabled";
495 };
496
Stephen Warrenc04abb32012-05-11 17:03:26 -0600497 i2c@7000c400 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600498 compatible = "nvidia,tegra20-i2c";
499 reg = <0x7000c400 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700500 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600501 #address-cells = <1>;
502 #size-cells = <0>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300503 clocks = <&tegra_car TEGRA20_CLK_I2C2>,
504 <&tegra_car TEGRA20_CLK_PLL_P_OUT3>;
Prashant Gaikwad8d8b43d2013-01-11 13:31:21 +0530505 clock-names = "div-clk", "fast-clk";
Stephen Warren3393d422013-11-06 14:01:16 -0700506 resets = <&tegra_car 54>;
507 reset-names = "i2c";
Stephen Warren034d0232013-11-11 13:05:59 -0700508 dmas = <&apbdma 22>, <&apbdma 22>;
509 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200510 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600511 };
512
513 i2c@7000c500 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600514 compatible = "nvidia,tegra20-i2c";
515 reg = <0x7000c500 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700516 interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600517 #address-cells = <1>;
518 #size-cells = <0>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300519 clocks = <&tegra_car TEGRA20_CLK_I2C3>,
520 <&tegra_car TEGRA20_CLK_PLL_P_OUT3>;
Prashant Gaikwad8d8b43d2013-01-11 13:31:21 +0530521 clock-names = "div-clk", "fast-clk";
Stephen Warren3393d422013-11-06 14:01:16 -0700522 resets = <&tegra_car 67>;
523 reset-names = "i2c";
Stephen Warren034d0232013-11-11 13:05:59 -0700524 dmas = <&apbdma 23>, <&apbdma 23>;
525 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200526 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600527 };
528
529 i2c@7000d000 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600530 compatible = "nvidia,tegra20-i2c-dvc";
531 reg = <0x7000d000 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700532 interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600533 #address-cells = <1>;
534 #size-cells = <0>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300535 clocks = <&tegra_car TEGRA20_CLK_DVC>,
536 <&tegra_car TEGRA20_CLK_PLL_P_OUT3>;
Prashant Gaikwad8d8b43d2013-01-11 13:31:21 +0530537 clock-names = "div-clk", "fast-clk";
Stephen Warren3393d422013-11-06 14:01:16 -0700538 resets = <&tegra_car 47>;
539 reset-names = "i2c";
Stephen Warren034d0232013-11-11 13:05:59 -0700540 dmas = <&apbdma 24>, <&apbdma 24>;
541 dma-names = "rx", "tx";
Roland Stigge223ef782012-06-11 21:09:45 +0200542 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600543 };
544
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530545 spi@7000d400 {
546 compatible = "nvidia,tegra20-slink";
547 reg = <0x7000d400 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700548 interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530549 #address-cells = <1>;
550 #size-cells = <0>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300551 clocks = <&tegra_car TEGRA20_CLK_SBC1>;
Stephen Warren3393d422013-11-06 14:01:16 -0700552 resets = <&tegra_car 41>;
553 reset-names = "spi";
Stephen Warren034d0232013-11-11 13:05:59 -0700554 dmas = <&apbdma 15>, <&apbdma 15>;
555 dma-names = "rx", "tx";
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530556 status = "disabled";
557 };
558
559 spi@7000d600 {
560 compatible = "nvidia,tegra20-slink";
561 reg = <0x7000d600 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700562 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530563 #address-cells = <1>;
564 #size-cells = <0>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300565 clocks = <&tegra_car TEGRA20_CLK_SBC2>;
Stephen Warren3393d422013-11-06 14:01:16 -0700566 resets = <&tegra_car 44>;
567 reset-names = "spi";
Stephen Warren034d0232013-11-11 13:05:59 -0700568 dmas = <&apbdma 16>, <&apbdma 16>;
569 dma-names = "rx", "tx";
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530570 status = "disabled";
571 };
572
573 spi@7000d800 {
574 compatible = "nvidia,tegra20-slink";
Laxman Dewangan57471c82013-03-22 12:35:06 -0600575 reg = <0x7000d800 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700576 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530577 #address-cells = <1>;
578 #size-cells = <0>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300579 clocks = <&tegra_car TEGRA20_CLK_SBC3>;
Stephen Warren3393d422013-11-06 14:01:16 -0700580 resets = <&tegra_car 46>;
581 reset-names = "spi";
Stephen Warren034d0232013-11-11 13:05:59 -0700582 dmas = <&apbdma 17>, <&apbdma 17>;
583 dma-names = "rx", "tx";
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530584 status = "disabled";
585 };
586
587 spi@7000da00 {
588 compatible = "nvidia,tegra20-slink";
589 reg = <0x7000da00 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700590 interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530591 #address-cells = <1>;
592 #size-cells = <0>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300593 clocks = <&tegra_car TEGRA20_CLK_SBC4>;
Stephen Warren3393d422013-11-06 14:01:16 -0700594 resets = <&tegra_car 68>;
595 reset-names = "spi";
Stephen Warren034d0232013-11-11 13:05:59 -0700596 dmas = <&apbdma 18>, <&apbdma 18>;
597 dma-names = "rx", "tx";
Laxman Dewangana86b0db2012-10-30 12:35:23 +0530598 status = "disabled";
599 };
600
Stephen Warren58ecb232013-11-25 17:53:16 -0700601 kbc@7000e200 {
Laxman Dewangan699ed4b2013-01-11 19:03:03 +0530602 compatible = "nvidia,tegra20-kbc";
603 reg = <0x7000e200 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700604 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300605 clocks = <&tegra_car TEGRA20_CLK_KBC>;
Stephen Warren3393d422013-11-06 14:01:16 -0700606 resets = <&tegra_car 36>;
607 reset-names = "kbc";
Laxman Dewangan699ed4b2013-01-11 19:03:03 +0530608 status = "disabled";
609 };
610
Stephen Warren58ecb232013-11-25 17:53:16 -0700611 pmc@7000e400 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600612 compatible = "nvidia,tegra20-pmc";
613 reg = <0x7000e400 0x400>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300614 clocks = <&tegra_car TEGRA20_CLK_PCLK>, <&clk32k_in>;
Joseph Lo7021d122013-04-03 19:31:27 +0800615 clock-names = "pclk", "clk32k_in";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600616 };
617
Dmitry Osipenkoa37ff8f2018-05-20 16:48:44 +0300618 mc: memory-controller@7000f000 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600619 compatible = "nvidia,tegra20-mc";
620 reg = <0x7000f000 0x024
621 0x7000f03c 0x3c4>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700622 interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
Dmitry Osipenkoa37ff8f2018-05-20 16:48:44 +0300623 #reset-cells = <1>;
Stephen Warrenc04abb32012-05-11 17:03:26 -0600624 };
625
Stephen Warren58ecb232013-11-25 17:53:16 -0700626 iommu@7000f024 {
Stephen Warrenc04abb32012-05-11 17:03:26 -0600627 compatible = "nvidia,tegra20-gart";
628 reg = <0x7000f024 0x00000018 /* controller registers */
629 0x58000000 0x02000000>; /* GART aperture */
630 };
631
Stephen Warrenbbfc33b2012-10-02 13:10:47 -0600632 memory-controller@7000f400 {
Olof Johansson0c6700a2011-10-13 02:14:55 -0700633 compatible = "nvidia,tegra20-emc";
634 reg = <0x7000f400 0x200>;
Dmitry Osipenko279e57c2018-10-21 21:30:48 +0300635 interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
Dmitry Osipenkocd9f6982018-10-21 21:30:49 +0300636 clocks = <&tegra_car TEGRA20_CLK_EMC>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600637 #address-cells = <1>;
638 #size-cells = <0>;
Olof Johansson0c6700a2011-10-13 02:14:55 -0700639 };
640
Peter De Schrijver155dfc72014-06-12 18:36:38 +0300641 fuse@7000f800 {
642 compatible = "nvidia,tegra20-efuse";
Thierry Reding5431b0f2015-04-29 13:53:21 +0200643 reg = <0x7000f800 0x400>;
Peter De Schrijver155dfc72014-06-12 18:36:38 +0300644 clocks = <&tegra_car TEGRA20_CLK_FUSE>;
645 clock-names = "fuse";
646 resets = <&tegra_car 39>;
647 reset-names = "fuse";
648 };
649
Rob Herring508d6902017-03-21 21:03:06 -0500650 pcie@80003000 {
Thierry Reding1b62b612013-08-09 16:49:19 +0200651 compatible = "nvidia,tegra20-pcie";
652 device_type = "pci";
653 reg = <0x80003000 0x00000800 /* PADS registers */
654 0x80003800 0x00000200 /* AFI registers */
655 0x90000000 0x10000000>; /* configuration space */
656 reg-names = "pads", "afi", "cs";
657 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH /* controller interrupt */
658 GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>; /* MSI interrupt */
659 interrupt-names = "intr", "msi";
660
Lucas Stach97070bd2014-03-05 14:25:46 +0100661 #interrupt-cells = <1>;
662 interrupt-map-mask = <0 0 0 0>;
663 interrupt-map = <0 0 0 0 &intc GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
664
Thierry Reding1b62b612013-08-09 16:49:19 +0200665 bus-range = <0x00 0xff>;
666 #address-cells = <3>;
667 #size-cells = <2>;
668
669 ranges = <0x82000000 0 0x80000000 0x80000000 0 0x00001000 /* port 0 registers */
670 0x82000000 0 0x80001000 0x80001000 0 0x00001000 /* port 1 registers */
671 0x81000000 0 0 0x82000000 0 0x00010000 /* downstream I/O */
Jay Agarwald7283c12013-08-09 16:49:31 +0200672 0x82000000 0 0xa0000000 0xa0000000 0 0x08000000 /* non-prefetchable memory */
673 0xc2000000 0 0xa8000000 0xa8000000 0 0x18000000>; /* prefetchable memory */
Thierry Reding1b62b612013-08-09 16:49:19 +0200674
675 clocks = <&tegra_car TEGRA20_CLK_PEX>,
676 <&tegra_car TEGRA20_CLK_AFI>,
Thierry Reding1b62b612013-08-09 16:49:19 +0200677 <&tegra_car TEGRA20_CLK_PLL_E>;
Stephen Warren2bd541f2013-11-07 10:59:42 -0700678 clock-names = "pex", "afi", "pll_e";
Stephen Warren3393d422013-11-06 14:01:16 -0700679 resets = <&tegra_car 70>,
Marcel Ziswilerd8b316b2015-08-27 11:44:48 +0200680 <&tegra_car 72>,
681 <&tegra_car 74>;
Stephen Warren3393d422013-11-06 14:01:16 -0700682 reset-names = "pex", "afi", "pcie_x";
Thierry Reding1b62b612013-08-09 16:49:19 +0200683 status = "disabled";
684
685 pci@1,0 {
686 device_type = "pci";
687 assigned-addresses = <0x82000800 0 0x80000000 0 0x1000>;
688 reg = <0x000800 0 0 0 0>;
Rob Herring508d6902017-03-21 21:03:06 -0500689 bus-range = <0x00 0xff>;
Thierry Reding1b62b612013-08-09 16:49:19 +0200690 status = "disabled";
691
692 #address-cells = <3>;
693 #size-cells = <2>;
694 ranges;
695
696 nvidia,num-lanes = <2>;
697 };
698
699 pci@2,0 {
700 device_type = "pci";
701 assigned-addresses = <0x82001000 0 0x80001000 0 0x1000>;
702 reg = <0x001000 0 0 0 0>;
Rob Herring508d6902017-03-21 21:03:06 -0500703 bus-range = <0x00 0xff>;
Thierry Reding1b62b612013-08-09 16:49:19 +0200704 status = "disabled";
705
706 #address-cells = <3>;
707 #size-cells = <2>;
708 ranges;
709
710 nvidia,num-lanes = <2>;
711 };
712 };
713
Stephen Warrenc04abb32012-05-11 17:03:26 -0600714 usb@c5000000 {
715 compatible = "nvidia,tegra20-ehci", "usb-ehci";
716 reg = <0xc5000000 0x4000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700717 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warrenc04abb32012-05-11 17:03:26 -0600718 phy_type = "utmi";
719 nvidia,has-legacy-mode;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300720 clocks = <&tegra_car TEGRA20_CLK_USBD>;
Stephen Warren3393d422013-11-06 14:01:16 -0700721 resets = <&tegra_car 22>;
722 reset-names = "usb";
Venu Byravarasub4e07472012-12-13 20:59:07 +0000723 nvidia,needs-double-reset;
Venu Byravarasue374b652013-01-16 03:30:19 +0000724 nvidia,phy = <&phy1>;
Roland Stigge223ef782012-06-11 21:09:45 +0200725 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600726 };
727
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530728 phy1: usb-phy@c5000000 {
Stephen Warren5d324412013-03-06 11:28:33 -0700729 compatible = "nvidia,tegra20-usb-phy";
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530730 reg = <0xc5000000 0x4000 0xc5000000 0x4000>;
Stephen Warren5d324412013-03-06 11:28:33 -0700731 phy_type = "utmi";
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300732 clocks = <&tegra_car TEGRA20_CLK_USBD>,
733 <&tegra_car TEGRA20_CLK_PLL_U>,
734 <&tegra_car TEGRA20_CLK_CLK_M>,
735 <&tegra_car TEGRA20_CLK_USBD>;
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530736 clock-names = "reg", "pll_u", "timer", "utmi-pads";
Tuomas Tynkkynen308efde2014-07-04 04:09:37 +0300737 resets = <&tegra_car 22>, <&tegra_car 22>;
738 reset-names = "usb", "utmi-pads";
Stephen Warren5d324412013-03-06 11:28:33 -0700739 nvidia,has-legacy-mode;
Mikko Perttunenc49667e2013-07-17 09:31:00 +0300740 nvidia,hssync-start-delay = <9>;
741 nvidia,idle-wait-delay = <17>;
742 nvidia,elastic-limit = <16>;
743 nvidia,term-range-adj = <6>;
744 nvidia,xcvr-setup = <9>;
745 nvidia,xcvr-lsfslew = <1>;
746 nvidia,xcvr-lsrslew = <1>;
Tuomas Tynkkynen308efde2014-07-04 04:09:37 +0300747 nvidia,has-utmi-pad-registers;
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530748 status = "disabled";
Stephen Warren5d324412013-03-06 11:28:33 -0700749 };
750
Stephen Warrenc04abb32012-05-11 17:03:26 -0600751 usb@c5004000 {
752 compatible = "nvidia,tegra20-ehci", "usb-ehci";
753 reg = <0xc5004000 0x4000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700754 interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warrenc04abb32012-05-11 17:03:26 -0600755 phy_type = "ulpi";
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300756 clocks = <&tegra_car TEGRA20_CLK_USB2>;
Stephen Warren3393d422013-11-06 14:01:16 -0700757 resets = <&tegra_car 58>;
758 reset-names = "usb";
Venu Byravarasue374b652013-01-16 03:30:19 +0000759 nvidia,phy = <&phy2>;
Roland Stigge223ef782012-06-11 21:09:45 +0200760 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600761 };
762
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530763 phy2: usb-phy@c5004000 {
Stephen Warren5d324412013-03-06 11:28:33 -0700764 compatible = "nvidia,tegra20-usb-phy";
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530765 reg = <0xc5004000 0x4000>;
Stephen Warren5d324412013-03-06 11:28:33 -0700766 phy_type = "ulpi";
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300767 clocks = <&tegra_car TEGRA20_CLK_USB2>,
768 <&tegra_car TEGRA20_CLK_PLL_U>,
Dmitry Osipenko9bf4e372018-05-04 01:55:37 +0300769 <&tegra_car TEGRA20_CLK_CDEV2>;
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530770 clock-names = "reg", "pll_u", "ulpi-link";
Tuomas Tynkkynen308efde2014-07-04 04:09:37 +0300771 resets = <&tegra_car 58>, <&tegra_car 22>;
772 reset-names = "usb", "utmi-pads";
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530773 status = "disabled";
Stephen Warren5d324412013-03-06 11:28:33 -0700774 };
775
Stephen Warrenc04abb32012-05-11 17:03:26 -0600776 usb@c5008000 {
777 compatible = "nvidia,tegra20-ehci", "usb-ehci";
778 reg = <0xc5008000 0x4000>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700779 interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warrenc04abb32012-05-11 17:03:26 -0600780 phy_type = "utmi";
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300781 clocks = <&tegra_car TEGRA20_CLK_USB3>;
Stephen Warren3393d422013-11-06 14:01:16 -0700782 resets = <&tegra_car 59>;
783 reset-names = "usb";
Venu Byravarasue374b652013-01-16 03:30:19 +0000784 nvidia,phy = <&phy3>;
Roland Stigge223ef782012-06-11 21:09:45 +0200785 status = "disabled";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600786 };
787
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530788 phy3: usb-phy@c5008000 {
Stephen Warren5d324412013-03-06 11:28:33 -0700789 compatible = "nvidia,tegra20-usb-phy";
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530790 reg = <0xc5008000 0x4000 0xc5000000 0x4000>;
Stephen Warren5d324412013-03-06 11:28:33 -0700791 phy_type = "utmi";
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300792 clocks = <&tegra_car TEGRA20_CLK_USB3>,
793 <&tegra_car TEGRA20_CLK_PLL_U>,
794 <&tegra_car TEGRA20_CLK_CLK_M>,
795 <&tegra_car TEGRA20_CLK_USBD>;
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530796 clock-names = "reg", "pll_u", "timer", "utmi-pads";
Tuomas Tynkkynen308efde2014-07-04 04:09:37 +0300797 resets = <&tegra_car 59>, <&tegra_car 22>;
798 reset-names = "usb", "utmi-pads";
Mikko Perttunenc49667e2013-07-17 09:31:00 +0300799 nvidia,hssync-start-delay = <9>;
800 nvidia,idle-wait-delay = <17>;
801 nvidia,elastic-limit = <16>;
802 nvidia,term-range-adj = <6>;
803 nvidia,xcvr-setup = <9>;
804 nvidia,xcvr-lsfslew = <2>;
805 nvidia,xcvr-lsrslew = <2>;
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530806 status = "disabled";
Stephen Warren5d324412013-03-06 11:28:33 -0700807 };
808
Grant Likely8e267f32011-07-19 17:26:54 -0600809 sdhci@c8000000 {
810 compatible = "nvidia,tegra20-sdhci";
811 reg = <0xc8000000 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700812 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300813 clocks = <&tegra_car TEGRA20_CLK_SDMMC1>;
Stephen Warren3393d422013-11-06 14:01:16 -0700814 resets = <&tegra_car 14>;
815 reset-names = "sdhci";
Roland Stigge223ef782012-06-11 21:09:45 +0200816 status = "disabled";
Grant Likely8e267f32011-07-19 17:26:54 -0600817 };
818
819 sdhci@c8000200 {
820 compatible = "nvidia,tegra20-sdhci";
821 reg = <0xc8000200 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700822 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300823 clocks = <&tegra_car TEGRA20_CLK_SDMMC2>;
Stephen Warren3393d422013-11-06 14:01:16 -0700824 resets = <&tegra_car 9>;
825 reset-names = "sdhci";
Roland Stigge223ef782012-06-11 21:09:45 +0200826 status = "disabled";
Grant Likely8e267f32011-07-19 17:26:54 -0600827 };
828
829 sdhci@c8000400 {
830 compatible = "nvidia,tegra20-sdhci";
831 reg = <0xc8000400 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700832 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300833 clocks = <&tegra_car TEGRA20_CLK_SDMMC3>;
Stephen Warren3393d422013-11-06 14:01:16 -0700834 resets = <&tegra_car 69>;
835 reset-names = "sdhci";
Roland Stigge223ef782012-06-11 21:09:45 +0200836 status = "disabled";
Grant Likely8e267f32011-07-19 17:26:54 -0600837 };
838
839 sdhci@c8000600 {
840 compatible = "nvidia,tegra20-sdhci";
841 reg = <0xc8000600 0x200>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700842 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300843 clocks = <&tegra_car TEGRA20_CLK_SDMMC4>;
Stephen Warren3393d422013-11-06 14:01:16 -0700844 resets = <&tegra_car 15>;
845 reset-names = "sdhci";
Roland Stigge223ef782012-06-11 21:09:45 +0200846 status = "disabled";
Grant Likely8e267f32011-07-19 17:26:54 -0600847 };
Olof Johanssonc27317c2011-11-04 09:12:39 +0000848
Hiroshi Doyu4dd2bd32013-01-11 15:26:55 +0200849 cpus {
850 #address-cells = <1>;
851 #size-cells = <0>;
852
853 cpu@0 {
854 device_type = "cpu";
855 compatible = "arm,cortex-a9";
856 reg = <0>;
857 };
858
859 cpu@1 {
860 device_type = "cpu";
861 compatible = "arm,cortex-a9";
862 reg = <1>;
863 };
864 };
865
Stephen Warrenc04abb32012-05-11 17:03:26 -0600866 pmu {
867 compatible = "arm,cortex-a9-pmu";
Stephen Warren6cecf912013-02-13 12:51:51 -0700868 interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
869 <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
Marcel Ziswiler2db12b12018-08-16 10:06:04 +0200870 interrupt-affinity = <&{/cpus/cpu@0}>,
871 <&{/cpus/cpu@1}>;
hdoyu@nvidia.com6a943e02012-05-09 21:45:33 +0000872 };
Grant Likely8e267f32011-07-19 17:26:54 -0600873};