ARM: dts: OMAP: Move interrupt-parent to the root node to avoid duplication
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / arm / boot / dts / omap4.dtsi
CommitLineData
d9fda07a
BC
1/*
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 {
cf3c79de
RN
24 serial0 = &uart1;
25 serial1 = &uart2;
26 serial2 = &uart3;
27 serial3 = &uart4;
d9fda07a
BC
28 };
29
476b679a
BC
30 cpus {
31 cpu@0 {
32 compatible = "arm,cortex-a9";
926fd45b 33 next-level-cache = <&L2>;
476b679a
BC
34 };
35 cpu@1 {
36 compatible = "arm,cortex-a9";
926fd45b 37 next-level-cache = <&L2>;
476b679a
BC
38 };
39 };
40
5635121e
BC
41 gic: interrupt-controller@48241000 {
42 compatible = "arm,cortex-a9-gic";
43 interrupt-controller;
44 #interrupt-cells = <3>;
45 reg = <0x48241000 0x1000>,
46 <0x48240100 0x0100>;
47 };
48
926fd45b
SS
49 L2: l2-cache-controller@48242000 {
50 compatible = "arm,pl310-cache";
51 reg = <0x48242000 0x1000>;
52 cache-unified;
53 cache-level = <2>;
54 };
55
eed0de27
SS
56 local-timer@0x48240600 {
57 compatible = "arm,cortex-a9-twd-timer";
58 reg = <0x48240600 0x20>;
59 interrupts = <1 13 0x304>;
60 };
61
d9fda07a
BC
62 /*
63 * The soc node represents the soc top level view. It is uses for IPs
64 * that are not memory mapped in the MPU view or for the MPU itself.
65 */
66 soc {
67 compatible = "ti,omap-infra";
476b679a
BC
68 mpu {
69 compatible = "ti,omap4-mpu";
70 ti,hwmods = "mpu";
71 };
72
73 dsp {
74 compatible = "ti,omap3-c64";
75 ti,hwmods = "dsp";
76 };
77
78 iva {
79 compatible = "ti,ivahd";
80 ti,hwmods = "iva";
81 };
d9fda07a
BC
82 };
83
84 /*
85 * XXX: Use a flat representation of the OMAP4 interconnect.
86 * The real OMAP interconnect network is quite complex.
d9fda07a
BC
87 * Since that will not bring real advantage to represent that in DT for
88 * the moment, just use a fake OCP bus entry to represent the whole bus
89 * hierarchy.
90 */
91 ocp {
ad8dfac6 92 compatible = "ti,omap4-l3-noc", "simple-bus";
d9fda07a
BC
93 #address-cells = <1>;
94 #size-cells = <1>;
95 ranges;
ad8dfac6 96 ti,hwmods = "l3_main_1", "l3_main_2", "l3_main_3";
d9fda07a 97
679e3310
TL
98 omap4_pmx_core: pinmux@4a100040 {
99 compatible = "ti,omap4-padconf", "pinctrl-single";
100 reg = <0x4a100040 0x0196>;
101 #address-cells = <1>;
102 #size-cells = <0>;
103 pinctrl-single,register-width = <16>;
104 pinctrl-single,function-mask = <0x7fff>;
105 };
106 omap4_pmx_wkup: pinmux@4a31e040 {
107 compatible = "ti,omap4-padconf", "pinctrl-single";
108 reg = <0x4a31e040 0x0038>;
109 #address-cells = <1>;
110 #size-cells = <0>;
111 pinctrl-single,register-width = <16>;
112 pinctrl-single,function-mask = <0x7fff>;
113 };
114
e3e5a92d
BC
115 gpio1: gpio@4a310000 {
116 compatible = "ti,omap4-gpio";
48420dbc
BC
117 reg = <0x4a310000 0x200>;
118 interrupts = <0 29 0x4>;
e3e5a92d
BC
119 ti,hwmods = "gpio1";
120 gpio-controller;
121 #gpio-cells = <2>;
122 interrupt-controller;
123 #interrupt-cells = <1>;
124 };
125
126 gpio2: gpio@48055000 {
127 compatible = "ti,omap4-gpio";
48420dbc
BC
128 reg = <0x48055000 0x200>;
129 interrupts = <0 30 0x4>;
e3e5a92d
BC
130 ti,hwmods = "gpio2";
131 gpio-controller;
132 #gpio-cells = <2>;
133 interrupt-controller;
134 #interrupt-cells = <1>;
135 };
136
137 gpio3: gpio@48057000 {
138 compatible = "ti,omap4-gpio";
48420dbc
BC
139 reg = <0x48057000 0x200>;
140 interrupts = <0 31 0x4>;
e3e5a92d
BC
141 ti,hwmods = "gpio3";
142 gpio-controller;
143 #gpio-cells = <2>;
144 interrupt-controller;
145 #interrupt-cells = <1>;
146 };
147
148 gpio4: gpio@48059000 {
149 compatible = "ti,omap4-gpio";
48420dbc
BC
150 reg = <0x48059000 0x200>;
151 interrupts = <0 32 0x4>;
e3e5a92d
BC
152 ti,hwmods = "gpio4";
153 gpio-controller;
154 #gpio-cells = <2>;
155 interrupt-controller;
156 #interrupt-cells = <1>;
157 };
158
159 gpio5: gpio@4805b000 {
160 compatible = "ti,omap4-gpio";
48420dbc
BC
161 reg = <0x4805b000 0x200>;
162 interrupts = <0 33 0x4>;
e3e5a92d
BC
163 ti,hwmods = "gpio5";
164 gpio-controller;
165 #gpio-cells = <2>;
166 interrupt-controller;
167 #interrupt-cells = <1>;
168 };
169
170 gpio6: gpio@4805d000 {
171 compatible = "ti,omap4-gpio";
48420dbc
BC
172 reg = <0x4805d000 0x200>;
173 interrupts = <0 34 0x4>;
e3e5a92d
BC
174 ti,hwmods = "gpio6";
175 gpio-controller;
176 #gpio-cells = <2>;
177 interrupt-controller;
178 #interrupt-cells = <1>;
179 };
cf3c79de 180
19bfb76c 181 uart1: serial@4806a000 {
cf3c79de 182 compatible = "ti,omap4-uart";
48420dbc
BC
183 reg = <0x4806a000 0x100>;
184 interrupts = <0 72 0x4>;
cf3c79de
RN
185 ti,hwmods = "uart1";
186 clock-frequency = <48000000>;
187 };
188
19bfb76c 189 uart2: serial@4806c000 {
cf3c79de 190 compatible = "ti,omap4-uart";
48420dbc
BC
191 reg = <0x4806c000 0x100>;
192 interrupts = <0 73 0x4>;
cf3c79de
RN
193 ti,hwmods = "uart2";
194 clock-frequency = <48000000>;
195 };
196
19bfb76c 197 uart3: serial@48020000 {
cf3c79de 198 compatible = "ti,omap4-uart";
48420dbc
BC
199 reg = <0x48020000 0x100>;
200 interrupts = <0 74 0x4>;
cf3c79de
RN
201 ti,hwmods = "uart3";
202 clock-frequency = <48000000>;
203 };
204
19bfb76c 205 uart4: serial@4806e000 {
cf3c79de 206 compatible = "ti,omap4-uart";
48420dbc
BC
207 reg = <0x4806e000 0x100>;
208 interrupts = <0 70 0x4>;
cf3c79de
RN
209 ti,hwmods = "uart4";
210 clock-frequency = <48000000>;
211 };
58e778f9
BC
212
213 i2c1: i2c@48070000 {
214 compatible = "ti,omap4-i2c";
48420dbc
BC
215 reg = <0x48070000 0x100>;
216 interrupts = <0 56 0x4>;
58e778f9
BC
217 #address-cells = <1>;
218 #size-cells = <0>;
219 ti,hwmods = "i2c1";
220 };
221
222 i2c2: i2c@48072000 {
223 compatible = "ti,omap4-i2c";
48420dbc
BC
224 reg = <0x48072000 0x100>;
225 interrupts = <0 57 0x4>;
58e778f9
BC
226 #address-cells = <1>;
227 #size-cells = <0>;
228 ti,hwmods = "i2c2";
229 };
230
231 i2c3: i2c@48060000 {
232 compatible = "ti,omap4-i2c";
48420dbc
BC
233 reg = <0x48060000 0x100>;
234 interrupts = <0 61 0x4>;
58e778f9
BC
235 #address-cells = <1>;
236 #size-cells = <0>;
237 ti,hwmods = "i2c3";
238 };
239
240 i2c4: i2c@48350000 {
241 compatible = "ti,omap4-i2c";
48420dbc
BC
242 reg = <0x48350000 0x100>;
243 interrupts = <0 62 0x4>;
58e778f9
BC
244 #address-cells = <1>;
245 #size-cells = <0>;
246 ti,hwmods = "i2c4";
247 };
efcf1e50
BC
248
249 mcspi1: spi@48098000 {
250 compatible = "ti,omap4-mcspi";
48420dbc
BC
251 reg = <0x48098000 0x200>;
252 interrupts = <0 65 0x4>;
efcf1e50
BC
253 #address-cells = <1>;
254 #size-cells = <0>;
255 ti,hwmods = "mcspi1";
256 ti,spi-num-cs = <4>;
257 };
258
259 mcspi2: spi@4809a000 {
260 compatible = "ti,omap4-mcspi";
48420dbc
BC
261 reg = <0x4809a000 0x200>;
262 interrupts = <0 66 0x4>;
efcf1e50
BC
263 #address-cells = <1>;
264 #size-cells = <0>;
265 ti,hwmods = "mcspi2";
266 ti,spi-num-cs = <2>;
267 };
268
269 mcspi3: spi@480b8000 {
270 compatible = "ti,omap4-mcspi";
48420dbc
BC
271 reg = <0x480b8000 0x200>;
272 interrupts = <0 91 0x4>;
efcf1e50
BC
273 #address-cells = <1>;
274 #size-cells = <0>;
275 ti,hwmods = "mcspi3";
276 ti,spi-num-cs = <2>;
277 };
278
279 mcspi4: spi@480ba000 {
280 compatible = "ti,omap4-mcspi";
48420dbc
BC
281 reg = <0x480ba000 0x200>;
282 interrupts = <0 48 0x4>;
efcf1e50
BC
283 #address-cells = <1>;
284 #size-cells = <0>;
285 ti,hwmods = "mcspi4";
286 ti,spi-num-cs = <1>;
287 };
74981768
RN
288
289 mmc1: mmc@4809c000 {
290 compatible = "ti,omap4-hsmmc";
48420dbc
BC
291 reg = <0x4809c000 0x400>;
292 interrupts = <0 83 0x4>;
74981768
RN
293 ti,hwmods = "mmc1";
294 ti,dual-volt;
295 ti,needs-special-reset;
296 };
297
298 mmc2: mmc@480b4000 {
299 compatible = "ti,omap4-hsmmc";
48420dbc
BC
300 reg = <0x480b4000 0x400>;
301 interrupts = <0 86 0x4>;
74981768
RN
302 ti,hwmods = "mmc2";
303 ti,needs-special-reset;
304 };
305
306 mmc3: mmc@480ad000 {
307 compatible = "ti,omap4-hsmmc";
48420dbc
BC
308 reg = <0x480ad000 0x400>;
309 interrupts = <0 94 0x4>;
74981768
RN
310 ti,hwmods = "mmc3";
311 ti,needs-special-reset;
312 };
313
314 mmc4: mmc@480d1000 {
315 compatible = "ti,omap4-hsmmc";
48420dbc
BC
316 reg = <0x480d1000 0x400>;
317 interrupts = <0 96 0x4>;
74981768
RN
318 ti,hwmods = "mmc4";
319 ti,needs-special-reset;
320 };
321
322 mmc5: mmc@480d5000 {
323 compatible = "ti,omap4-hsmmc";
48420dbc
BC
324 reg = <0x480d5000 0x400>;
325 interrupts = <0 59 0x4>;
74981768
RN
326 ti,hwmods = "mmc5";
327 ti,needs-special-reset;
328 };
94c30732
XJ
329
330 wdt2: wdt@4a314000 {
331 compatible = "ti,omap4-wdt", "ti,omap3-wdt";
48420dbc
BC
332 reg = <0x4a314000 0x80>;
333 interrupts = <0 80 0x4>;
94c30732
XJ
334 ti,hwmods = "wd_timer2";
335 };
4f4b5c74
PU
336
337 mcpdm: mcpdm@40132000 {
338 compatible = "ti,omap4-mcpdm";
339 reg = <0x40132000 0x7f>, /* MPU private access */
340 <0x49032000 0x7f>; /* L3 Interconnect */
63467cf2 341 reg-names = "mpu", "dma";
4f4b5c74 342 interrupts = <0 112 0x4>;
4f4b5c74
PU
343 ti,hwmods = "mcpdm";
344 };
a4c38319
PU
345
346 dmic: dmic@4012e000 {
347 compatible = "ti,omap4-dmic";
348 reg = <0x4012e000 0x7f>, /* MPU private access */
349 <0x4902e000 0x7f>; /* L3 Interconnect */
63467cf2 350 reg-names = "mpu", "dma";
a4c38319 351 interrupts = <0 114 0x4>;
a4c38319
PU
352 ti,hwmods = "dmic";
353 };
61bc3544 354
2995a100
PU
355 mcbsp1: mcbsp@40122000 {
356 compatible = "ti,omap4-mcbsp";
357 reg = <0x40122000 0xff>, /* MPU private access */
358 <0x49022000 0xff>; /* L3 Interconnect */
359 reg-names = "mpu", "dma";
360 interrupts = <0 17 0x4>;
361 interrupt-names = "common";
2995a100
PU
362 ti,buffer-size = <128>;
363 ti,hwmods = "mcbsp1";
364 };
365
366 mcbsp2: mcbsp@40124000 {
367 compatible = "ti,omap4-mcbsp";
368 reg = <0x40124000 0xff>, /* MPU private access */
369 <0x49024000 0xff>; /* L3 Interconnect */
370 reg-names = "mpu", "dma";
371 interrupts = <0 22 0x4>;
372 interrupt-names = "common";
2995a100
PU
373 ti,buffer-size = <128>;
374 ti,hwmods = "mcbsp2";
375 };
376
377 mcbsp3: mcbsp@40126000 {
378 compatible = "ti,omap4-mcbsp";
379 reg = <0x40126000 0xff>, /* MPU private access */
380 <0x49026000 0xff>; /* L3 Interconnect */
381 reg-names = "mpu", "dma";
382 interrupts = <0 23 0x4>;
383 interrupt-names = "common";
2995a100
PU
384 ti,buffer-size = <128>;
385 ti,hwmods = "mcbsp3";
386 };
387
388 mcbsp4: mcbsp@48096000 {
389 compatible = "ti,omap4-mcbsp";
390 reg = <0x48096000 0xff>; /* L4 Interconnect */
391 reg-names = "mpu";
392 interrupts = <0 16 0x4>;
393 interrupt-names = "common";
2995a100
PU
394 ti,buffer-size = <128>;
395 ti,hwmods = "mcbsp4";
396 };
397
61bc3544
SP
398 keypad: keypad@4a31c000 {
399 compatible = "ti,omap4-keypad";
48420dbc
BC
400 reg = <0x4a31c000 0x80>;
401 interrupts = <0 120 0x4>;
402 reg-names = "mpu";
61bc3544
SP
403 ti,hwmods = "kbd";
404 };
11c27069
A
405
406 emif1: emif@4c000000 {
407 compatible = "ti,emif-4d";
48420dbc
BC
408 reg = <0x4c000000 0x100>;
409 interrupts = <0 110 0x4>;
11c27069
A
410 ti,hwmods = "emif1";
411 phy-type = <1>;
412 hw-caps-read-idle-ctrl;
413 hw-caps-ll-interface;
414 hw-caps-temp-alert;
415 };
416
417 emif2: emif@4d000000 {
418 compatible = "ti,emif-4d";
48420dbc
BC
419 reg = <0x4d000000 0x100>;
420 interrupts = <0 111 0x4>;
11c27069
A
421 ti,hwmods = "emif2";
422 phy-type = <1>;
423 hw-caps-read-idle-ctrl;
424 hw-caps-ll-interface;
425 hw-caps-temp-alert;
426 };
8f446a7a 427
3ce0a99c 428 ocp2scp@4a0ad000 {
59bafcf6 429 compatible = "ti,omap-ocp2scp";
3ce0a99c 430 reg = <0x4a0ad000 0x1f>;
59bafcf6
KVA
431 #address-cells = <1>;
432 #size-cells = <1>;
433 ranges;
434 ti,hwmods = "ocp2scp_usb_phy";
435 };
d9fda07a
BC
436 };
437};