blob: 2b670ab86eae37363f650878051c24ff0b2c77c9 [file] [log] [blame]
Benoit Coussond9fda072011-08-09 17:15:17 +02001/*
2 * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */
8
9/*
10 * Carveout for multimedia usecases
11 * It should be the last 48MB of the first 512MB memory part
12 * In theory, it should not even exist. That zone should be reserved
13 * dynamically during the .reserve callback.
14 */
15/memreserve/ 0x9d000000 0x03000000;
16
17/include/ "skeleton.dtsi"
18
19/ {
20 compatible = "ti,omap4430", "ti,omap4";
21 interrupt-parent = <&gic>;
22
23 aliases {
Rajendra Nayakcf3c79d2011-12-14 17:25:46 +053024 serial0 = &uart1;
25 serial1 = &uart2;
26 serial2 = &uart3;
27 serial3 = &uart4;
Benoit Coussond9fda072011-08-09 17:15:17 +020028 };
29
Benoit Cousson476b6792011-08-16 11:49:08 +020030 cpus {
31 cpu@0 {
32 compatible = "arm,cortex-a9";
Santosh Shilimkar926fd452012-07-04 17:57:34 +053033 next-level-cache = <&L2>;
Benoit Cousson476b6792011-08-16 11:49:08 +020034 };
35 cpu@1 {
36 compatible = "arm,cortex-a9";
Santosh Shilimkar926fd452012-07-04 17:57:34 +053037 next-level-cache = <&L2>;
Benoit Cousson476b6792011-08-16 11:49:08 +020038 };
39 };
40
Santosh Shilimkar926fd452012-07-04 17:57:34 +053041 L2: l2-cache-controller@48242000 {
42 compatible = "arm,pl310-cache";
43 reg = <0x48242000 0x1000>;
44 cache-unified;
45 cache-level = <2>;
46 };
47
Santosh Shilimkareed0de22012-07-04 18:32:32 +053048 local-timer@0x48240600 {
49 compatible = "arm,cortex-a9-twd-timer";
50 reg = <0x48240600 0x20>;
51 interrupts = <1 13 0x304>;
52 };
53
Benoit Coussond9fda072011-08-09 17:15:17 +020054 /*
55 * The soc node represents the soc top level view. It is uses for IPs
56 * that are not memory mapped in the MPU view or for the MPU itself.
57 */
58 soc {
59 compatible = "ti,omap-infra";
Benoit Cousson476b6792011-08-16 11:49:08 +020060 mpu {
61 compatible = "ti,omap4-mpu";
62 ti,hwmods = "mpu";
63 };
64
65 dsp {
66 compatible = "ti,omap3-c64";
67 ti,hwmods = "dsp";
68 };
69
70 iva {
71 compatible = "ti,ivahd";
72 ti,hwmods = "iva";
73 };
Benoit Coussond9fda072011-08-09 17:15:17 +020074 };
75
76 /*
77 * XXX: Use a flat representation of the OMAP4 interconnect.
78 * The real OMAP interconnect network is quite complex.
79 *
80 * MPU -+-- MPU_PRIVATE - GIC, L2
81 * |
82 * +----------------+----------+
83 * | | |
84 * + +- EMIF - DDR |
85 * | | |
86 * | + +--------+
87 * | | |
88 * | +- L4_ABE - AESS, MCBSP, TIMERs...
89 * | |
90 * +- L3_MAIN --+- L4_CORE - IPs...
91 * |
92 * +- L4_PER - IPs...
93 * |
94 * +- L4_CFG -+- L4_WKUP - IPs...
95 * | |
96 * | +- IPs...
97 * +- IPU ----+
98 * | |
99 * +- DSP ----+
100 * | |
101 * +- DSS ----+
102 *
103 * Since that will not bring real advantage to represent that in DT for
104 * the moment, just use a fake OCP bus entry to represent the whole bus
105 * hierarchy.
106 */
107 ocp {
Benoit Coussonad8dfac2011-08-12 13:48:47 +0200108 compatible = "ti,omap4-l3-noc", "simple-bus";
Benoit Coussond9fda072011-08-09 17:15:17 +0200109 #address-cells = <1>;
110 #size-cells = <1>;
111 ranges;
Benoit Coussonad8dfac2011-08-12 13:48:47 +0200112 ti,hwmods = "l3_main_1", "l3_main_2", "l3_main_3";
Benoit Coussond9fda072011-08-09 17:15:17 +0200113
114 gic: interrupt-controller@48241000 {
115 compatible = "arm,cortex-a9-gic";
116 interrupt-controller;
Benoit Cousson958e7672011-11-25 12:11:52 +0100117 #interrupt-cells = <3>;
Benoit Coussond9fda072011-08-09 17:15:17 +0200118 reg = <0x48241000 0x1000>,
119 <0x48240100 0x0100>;
120 };
Rajendra Nayakcf3c79d2011-12-14 17:25:46 +0530121
Benoit Coussone3e5a922011-08-16 11:51:54 +0200122 gpio1: gpio@4a310000 {
123 compatible = "ti,omap4-gpio";
124 ti,hwmods = "gpio1";
125 gpio-controller;
126 #gpio-cells = <2>;
127 interrupt-controller;
128 #interrupt-cells = <1>;
129 };
130
131 gpio2: gpio@48055000 {
132 compatible = "ti,omap4-gpio";
133 ti,hwmods = "gpio2";
134 gpio-controller;
135 #gpio-cells = <2>;
136 interrupt-controller;
137 #interrupt-cells = <1>;
138 };
139
140 gpio3: gpio@48057000 {
141 compatible = "ti,omap4-gpio";
142 ti,hwmods = "gpio3";
143 gpio-controller;
144 #gpio-cells = <2>;
145 interrupt-controller;
146 #interrupt-cells = <1>;
147 };
148
149 gpio4: gpio@48059000 {
150 compatible = "ti,omap4-gpio";
151 ti,hwmods = "gpio4";
152 gpio-controller;
153 #gpio-cells = <2>;
154 interrupt-controller;
155 #interrupt-cells = <1>;
156 };
157
158 gpio5: gpio@4805b000 {
159 compatible = "ti,omap4-gpio";
160 ti,hwmods = "gpio5";
161 gpio-controller;
162 #gpio-cells = <2>;
163 interrupt-controller;
164 #interrupt-cells = <1>;
165 };
166
167 gpio6: gpio@4805d000 {
168 compatible = "ti,omap4-gpio";
169 ti,hwmods = "gpio6";
170 gpio-controller;
171 #gpio-cells = <2>;
172 interrupt-controller;
173 #interrupt-cells = <1>;
174 };
175
Benoit Cousson19bfb762012-02-16 11:55:27 +0100176 uart1: serial@4806a000 {
Rajendra Nayakcf3c79d2011-12-14 17:25:46 +0530177 compatible = "ti,omap4-uart";
178 ti,hwmods = "uart1";
179 clock-frequency = <48000000>;
180 };
181
Benoit Cousson19bfb762012-02-16 11:55:27 +0100182 uart2: serial@4806c000 {
Rajendra Nayakcf3c79d2011-12-14 17:25:46 +0530183 compatible = "ti,omap4-uart";
184 ti,hwmods = "uart2";
185 clock-frequency = <48000000>;
186 };
187
Benoit Cousson19bfb762012-02-16 11:55:27 +0100188 uart3: serial@48020000 {
Rajendra Nayakcf3c79d2011-12-14 17:25:46 +0530189 compatible = "ti,omap4-uart";
190 ti,hwmods = "uart3";
191 clock-frequency = <48000000>;
192 };
193
Benoit Cousson19bfb762012-02-16 11:55:27 +0100194 uart4: serial@4806e000 {
Rajendra Nayakcf3c79d2011-12-14 17:25:46 +0530195 compatible = "ti,omap4-uart";
196 ti,hwmods = "uart4";
197 clock-frequency = <48000000>;
198 };
Benoit Cousson58e778f2011-08-17 19:00:03 +0530199
200 i2c1: i2c@48070000 {
201 compatible = "ti,omap4-i2c";
202 #address-cells = <1>;
203 #size-cells = <0>;
204 ti,hwmods = "i2c1";
205 };
206
207 i2c2: i2c@48072000 {
208 compatible = "ti,omap4-i2c";
209 #address-cells = <1>;
210 #size-cells = <0>;
211 ti,hwmods = "i2c2";
212 };
213
214 i2c3: i2c@48060000 {
215 compatible = "ti,omap4-i2c";
216 #address-cells = <1>;
217 #size-cells = <0>;
218 ti,hwmods = "i2c3";
219 };
220
221 i2c4: i2c@48350000 {
222 compatible = "ti,omap4-i2c";
223 #address-cells = <1>;
224 #size-cells = <0>;
225 ti,hwmods = "i2c4";
226 };
Benoit Coussonefcf1e52012-01-20 14:15:58 +0100227
228 mcspi1: spi@48098000 {
229 compatible = "ti,omap4-mcspi";
230 #address-cells = <1>;
231 #size-cells = <0>;
232 ti,hwmods = "mcspi1";
233 ti,spi-num-cs = <4>;
234 };
235
236 mcspi2: spi@4809a000 {
237 compatible = "ti,omap4-mcspi";
238 #address-cells = <1>;
239 #size-cells = <0>;
240 ti,hwmods = "mcspi2";
241 ti,spi-num-cs = <2>;
242 };
243
244 mcspi3: spi@480b8000 {
245 compatible = "ti,omap4-mcspi";
246 #address-cells = <1>;
247 #size-cells = <0>;
248 ti,hwmods = "mcspi3";
249 ti,spi-num-cs = <2>;
250 };
251
252 mcspi4: spi@480ba000 {
253 compatible = "ti,omap4-mcspi";
254 #address-cells = <1>;
255 #size-cells = <0>;
256 ti,hwmods = "mcspi4";
257 ti,spi-num-cs = <1>;
258 };
Rajendra Nayak74981762011-10-04 17:10:27 +0530259
260 mmc1: mmc@4809c000 {
261 compatible = "ti,omap4-hsmmc";
262 ti,hwmods = "mmc1";
263 ti,dual-volt;
264 ti,needs-special-reset;
265 };
266
267 mmc2: mmc@480b4000 {
268 compatible = "ti,omap4-hsmmc";
269 ti,hwmods = "mmc2";
270 ti,needs-special-reset;
271 };
272
273 mmc3: mmc@480ad000 {
274 compatible = "ti,omap4-hsmmc";
275 ti,hwmods = "mmc3";
276 ti,needs-special-reset;
277 };
278
279 mmc4: mmc@480d1000 {
280 compatible = "ti,omap4-hsmmc";
281 ti,hwmods = "mmc4";
282 ti,needs-special-reset;
283 };
284
285 mmc5: mmc@480d5000 {
286 compatible = "ti,omap4-hsmmc";
287 ti,hwmods = "mmc5";
288 ti,needs-special-reset;
289 };
Xiao Jiang94c30732012-06-01 12:44:14 +0800290
291 wdt2: wdt@4a314000 {
292 compatible = "ti,omap4-wdt", "ti,omap3-wdt";
293 ti,hwmods = "wd_timer2";
294 };
Peter Ujfalusi4f4b5c72012-06-08 17:01:59 +0300295
296 mcpdm: mcpdm@40132000 {
297 compatible = "ti,omap4-mcpdm";
298 reg = <0x40132000 0x7f>, /* MPU private access */
299 <0x49032000 0x7f>; /* L3 Interconnect */
300 interrupts = <0 112 0x4>;
301 interrupt-parent = <&gic>;
302 ti,hwmods = "mcpdm";
303 };
Peter Ujfalusia4c38312012-06-08 17:02:00 +0300304
305 dmic: dmic@4012e000 {
306 compatible = "ti,omap4-dmic";
307 reg = <0x4012e000 0x7f>, /* MPU private access */
308 <0x4902e000 0x7f>; /* L3 Interconnect */
309 interrupts = <0 114 0x4>;
310 interrupt-parent = <&gic>;
311 ti,hwmods = "dmic";
312 };
Sourav Poddar61bc3542012-08-14 16:45:37 +0530313
314 keypad: keypad@4a31c000 {
315 compatible = "ti,omap4-keypad";
316 ti,hwmods = "kbd";
317 };
Aneesh V11c27062012-01-20 20:35:26 +0530318
319 emif1: emif@4c000000 {
320 compatible = "ti,emif-4d";
321 ti,hwmods = "emif1";
322 phy-type = <1>;
323 hw-caps-read-idle-ctrl;
324 hw-caps-ll-interface;
325 hw-caps-temp-alert;
326 };
327
328 emif2: emif@4d000000 {
329 compatible = "ti,emif-4d";
330 ti,hwmods = "emif2";
331 phy-type = <1>;
332 hw-caps-read-idle-ctrl;
333 hw-caps-ll-interface;
334 hw-caps-temp-alert;
335 };
Benoit Coussond9fda072011-08-09 17:15:17 +0200336 };
337};