blob: 9521a3827021a277bb56e7b9c9a51b8495352636 [file] [log] [blame]
Afzal Mohammed6cfd8112013-06-03 18:49:54 +05301/*
2 * Device Tree Source for AM4372 SoC
3 *
4 * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
5 *
6 * This file is licensed under the terms of the GNU General Public License
7 * version 2. This program is licensed "as is" without any warranty of any
8 * kind, whether express or implied.
9 */
10
Balaji T Kd2885db2014-03-03 20:20:20 +053011#include <dt-bindings/gpio/gpio.h>
Afzal Mohammed6cfd8112013-06-03 18:49:54 +053012#include <dt-bindings/interrupt-controller/arm-gic.h>
13
14#include "skeleton.dtsi"
15
16/ {
17 compatible = "ti,am4372", "ti,am43";
Marc Zyngier7136d452015-03-11 15:43:49 +000018 interrupt-parent = <&wakeupgen>;
Afzal Mohammed6cfd8112013-06-03 18:49:54 +053019
20
21 aliases {
Nishanth Menon6a968672013-10-16 15:21:04 -050022 i2c0 = &i2c0;
23 i2c1 = &i2c1;
24 i2c2 = &i2c2;
Afzal Mohammed6cfd8112013-06-03 18:49:54 +053025 serial0 = &uart0;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +053026 ethernet0 = &cpsw_emac0;
27 ethernet1 = &cpsw_emac1;
Afzal Mohammed6cfd8112013-06-03 18:49:54 +053028 };
29
30 cpus {
Afzal Mohammed738c7402013-08-02 19:16:13 +053031 #address-cells = <1>;
32 #size-cells = <0>;
Felipe Balbi08ecb282014-06-23 13:20:58 -050033 cpu: cpu@0 {
Afzal Mohammed6cfd8112013-06-03 18:49:54 +053034 compatible = "arm,cortex-a9";
Afzal Mohammed738c7402013-08-02 19:16:13 +053035 device_type = "cpu";
36 reg = <0>;
Nishanth Menon8d766fa2014-01-29 12:19:17 -060037
38 clocks = <&dpll_mpu_ck>;
39 clock-names = "cpu";
40
41 clock-latency = <300000>; /* From omap-cpufreq driver */
Afzal Mohammed6cfd8112013-06-03 18:49:54 +053042 };
43 };
44
45 gic: interrupt-controller@48241000 {
46 compatible = "arm,cortex-a9-gic";
47 interrupt-controller;
48 #interrupt-cells = <3>;
49 reg = <0x48241000 0x1000>,
50 <0x48240100 0x0100>;
Marc Zyngier7136d452015-03-11 15:43:49 +000051 interrupt-parent = <&gic>;
52 };
53
54 wakeupgen: interrupt-controller@48281000 {
55 compatible = "ti,omap4-wugen-mpu";
56 interrupt-controller;
57 #interrupt-cells = <3>;
58 reg = <0x48281000 0x1000>;
59 interrupt-parent = <&gic>;
Afzal Mohammed6cfd8112013-06-03 18:49:54 +053060 };
61
Lokesh Vutla9e3269b2013-10-11 00:44:53 +053062 l2-cache-controller@48242000 {
63 compatible = "arm,pl310-cache";
64 reg = <0x48242000 0x1000>;
65 cache-unified;
66 cache-level = <2>;
67 };
68
Afzal Mohammed6cfd8112013-06-03 18:49:54 +053069 ocp {
Afzal Mohammed2eeddb82013-12-02 17:48:57 +053070 compatible = "ti,am4372-l3-noc", "simple-bus";
Afzal Mohammed6cfd8112013-06-03 18:49:54 +053071 #address-cells = <1>;
72 #size-cells = <1>;
73 ranges;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +053074 ti,hwmods = "l3_main";
Afzal Mohammed2eeddb82013-12-02 17:48:57 +053075 reg = <0x44000000 0x400000
76 0x44800000 0x400000>;
77 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
78 <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +053079
Tero Kristo83a5d6c2015-02-12 10:25:40 +020080 l4_wkup: l4_wkup@44c00000 {
81 compatible = "ti,am4-l4-wkup", "simple-bus";
82 #address-cells = <1>;
83 #size-cells = <1>;
84 ranges = <0 0x44c00000 0x287000>;
Tero Kristo6a679202013-08-02 19:12:04 +030085
Tero Kristo83a5d6c2015-02-12 10:25:40 +020086 prcm: prcm@1f0000 {
87 compatible = "ti,am4-prcm";
88 reg = <0x1f0000 0x11000>;
89
90 prcm_clocks: clocks {
91 #address-cells = <1>;
92 #size-cells = <0>;
93 };
94
95 prcm_clockdomains: clockdomains {
96 };
97 };
98
99 scm: scm@210000 {
100 compatible = "ti,am4-scm", "simple-bus";
101 reg = <0x210000 0x4000>;
Tero Kristo6a679202013-08-02 19:12:04 +0300102 #address-cells = <1>;
Tero Kristo83a5d6c2015-02-12 10:25:40 +0200103 #size-cells = <1>;
104 ranges = <0 0x210000 0x4000>;
Tero Kristo6a679202013-08-02 19:12:04 +0300105
Tero Kristo83a5d6c2015-02-12 10:25:40 +0200106 am43xx_pinmux: pinmux@800 {
107 compatible = "ti,am437-padconf",
108 "pinctrl-single";
109 reg = <0x800 0x31c>;
110 #address-cells = <1>;
111 #size-cells = <0>;
112 #interrupt-cells = <1>;
113 interrupt-controller;
114 pinctrl-single,register-width = <32>;
115 pinctrl-single,function-mask = <0xffffffff>;
116 };
Tero Kristo6a679202013-08-02 19:12:04 +0300117
Tero Kristo83a5d6c2015-02-12 10:25:40 +0200118 scm_conf: scm_conf@0 {
119 compatible = "syscon";
120 reg = <0x0 0x800>;
121 #address-cells = <1>;
122 #size-cells = <1>;
Tero Kristo6a679202013-08-02 19:12:04 +0300123
Tero Kristo83a5d6c2015-02-12 10:25:40 +0200124 scm_clocks: clocks {
125 #address-cells = <1>;
126 #size-cells = <0>;
127 };
128 };
Tero Kristo6a679202013-08-02 19:12:04 +0300129
Tero Kristo83a5d6c2015-02-12 10:25:40 +0200130 scm_clockdomains: clockdomains {
131 };
Tero Kristo6a679202013-08-02 19:12:04 +0300132 };
133 };
134
Dave Gerlachfff75ee2015-05-06 12:25:33 -0500135 emif: emif@4c000000 {
136 compatible = "ti,emif-am4372";
137 reg = <0x4c000000 0x1000000>;
138 ti,hwmods = "emif";
139 };
140
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530141 edma: edma@49000000 {
142 compatible = "ti,edma3";
143 ti,hwmods = "tpcc", "tptc0", "tptc1", "tptc2";
144 reg = <0x49000000 0x10000>,
145 <0x44e10f90 0x10>;
146 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
147 <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
148 <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
149 #dma-cells = <1>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530150 };
Afzal Mohammed6cfd8112013-06-03 18:49:54 +0530151
152 uart0: serial@44e09000 {
153 compatible = "ti,am4372-uart","ti,omap2-uart";
154 reg = <0x44e09000 0x2000>;
155 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
Afzal Mohammed73456012013-08-02 19:16:35 +0530156 ti,hwmods = "uart1";
157 };
158
159 uart1: serial@48022000 {
160 compatible = "ti,am4372-uart","ti,omap2-uart";
161 reg = <0x48022000 0x2000>;
162 interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
163 ti,hwmods = "uart2";
164 status = "disabled";
165 };
166
167 uart2: serial@48024000 {
168 compatible = "ti,am4372-uart","ti,omap2-uart";
169 reg = <0x48024000 0x2000>;
170 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
171 ti,hwmods = "uart3";
172 status = "disabled";
173 };
174
175 uart3: serial@481a6000 {
176 compatible = "ti,am4372-uart","ti,omap2-uart";
177 reg = <0x481a6000 0x2000>;
178 interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
179 ti,hwmods = "uart4";
180 status = "disabled";
181 };
182
183 uart4: serial@481a8000 {
184 compatible = "ti,am4372-uart","ti,omap2-uart";
185 reg = <0x481a8000 0x2000>;
186 interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
187 ti,hwmods = "uart5";
188 status = "disabled";
189 };
190
191 uart5: serial@481aa000 {
192 compatible = "ti,am4372-uart","ti,omap2-uart";
193 reg = <0x481aa000 0x2000>;
194 interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
195 ti,hwmods = "uart6";
196 status = "disabled";
Afzal Mohammed6cfd8112013-06-03 18:49:54 +0530197 };
198
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530199 mailbox: mailbox@480C8000 {
200 compatible = "ti,omap4-mailbox";
201 reg = <0x480C8000 0x200>;
202 interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
203 ti,hwmods = "mailbox";
Suman Anna24df0452014-11-03 17:07:35 -0600204 #mbox-cells = <1>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530205 ti,mbox-num-users = <4>;
206 ti,mbox-num-fifos = <8>;
Suman Annad27704d2014-09-10 14:27:23 -0500207 mbox_wkupm3: wkup_m3 {
208 ti,mbox-tx = <0 0 0>;
209 ti,mbox-rx = <0 0 3>;
210 };
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530211 };
212
Afzal Mohammed6cfd8112013-06-03 18:49:54 +0530213 timer1: timer@44e31000 {
214 compatible = "ti,am4372-timer-1ms","ti,am335x-timer-1ms";
215 reg = <0x44e31000 0x400>;
216 interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
217 ti,timer-alwon;
Afzal Mohammed73456012013-08-02 19:16:35 +0530218 ti,hwmods = "timer1";
Afzal Mohammed6cfd8112013-06-03 18:49:54 +0530219 };
220
221 timer2: timer@48040000 {
222 compatible = "ti,am4372-timer","ti,am335x-timer";
223 reg = <0x48040000 0x400>;
224 interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
Afzal Mohammed73456012013-08-02 19:16:35 +0530225 ti,hwmods = "timer2";
226 };
227
228 timer3: timer@48042000 {
229 compatible = "ti,am4372-timer","ti,am335x-timer";
230 reg = <0x48042000 0x400>;
231 interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
232 ti,hwmods = "timer3";
233 status = "disabled";
234 };
235
236 timer4: timer@48044000 {
237 compatible = "ti,am4372-timer","ti,am335x-timer";
238 reg = <0x48044000 0x400>;
239 interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
240 ti,timer-pwm;
241 ti,hwmods = "timer4";
242 status = "disabled";
243 };
244
245 timer5: timer@48046000 {
246 compatible = "ti,am4372-timer","ti,am335x-timer";
247 reg = <0x48046000 0x400>;
248 interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
249 ti,timer-pwm;
250 ti,hwmods = "timer5";
251 status = "disabled";
252 };
253
254 timer6: timer@48048000 {
255 compatible = "ti,am4372-timer","ti,am335x-timer";
256 reg = <0x48048000 0x400>;
257 interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
258 ti,timer-pwm;
259 ti,hwmods = "timer6";
260 status = "disabled";
261 };
262
263 timer7: timer@4804a000 {
264 compatible = "ti,am4372-timer","ti,am335x-timer";
265 reg = <0x4804a000 0x400>;
266 interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
267 ti,timer-pwm;
268 ti,hwmods = "timer7";
269 status = "disabled";
270 };
271
272 timer8: timer@481c1000 {
273 compatible = "ti,am4372-timer","ti,am335x-timer";
274 reg = <0x481c1000 0x400>;
275 interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>;
276 ti,hwmods = "timer8";
277 status = "disabled";
278 };
279
280 timer9: timer@4833d000 {
281 compatible = "ti,am4372-timer","ti,am335x-timer";
282 reg = <0x4833d000 0x400>;
283 interrupts = <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>;
284 ti,hwmods = "timer9";
285 status = "disabled";
286 };
287
288 timer10: timer@4833f000 {
289 compatible = "ti,am4372-timer","ti,am335x-timer";
290 reg = <0x4833f000 0x400>;
291 interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
292 ti,hwmods = "timer10";
293 status = "disabled";
294 };
295
296 timer11: timer@48341000 {
297 compatible = "ti,am4372-timer","ti,am335x-timer";
298 reg = <0x48341000 0x400>;
299 interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>;
300 ti,hwmods = "timer11";
301 status = "disabled";
Afzal Mohammed6cfd8112013-06-03 18:49:54 +0530302 };
303
304 counter32k: counter@44e86000 {
305 compatible = "ti,am4372-counter32k","ti,omap-counter32k";
306 reg = <0x44e86000 0x40>;
Afzal Mohammed73456012013-08-02 19:16:35 +0530307 ti,hwmods = "counter_32k";
308 };
309
Felipe Balbi08ecb282014-06-23 13:20:58 -0500310 rtc: rtc@44e3e000 {
Afzal Mohammed73456012013-08-02 19:16:35 +0530311 compatible = "ti,am4372-rtc","ti,da830-rtc";
312 reg = <0x44e3e000 0x1000>;
313 interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH
314 GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
315 ti,hwmods = "rtc";
316 status = "disabled";
317 };
318
Felipe Balbi08ecb282014-06-23 13:20:58 -0500319 wdt: wdt@44e35000 {
Afzal Mohammed73456012013-08-02 19:16:35 +0530320 compatible = "ti,am4372-wdt","ti,omap3-wdt";
321 reg = <0x44e35000 0x1000>;
322 interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
323 ti,hwmods = "wd_timer2";
Afzal Mohammed73456012013-08-02 19:16:35 +0530324 };
325
326 gpio0: gpio@44e07000 {
327 compatible = "ti,am4372-gpio","ti,omap4-gpio";
328 reg = <0x44e07000 0x1000>;
329 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
330 gpio-controller;
331 #gpio-cells = <2>;
332 interrupt-controller;
333 #interrupt-cells = <2>;
334 ti,hwmods = "gpio1";
335 status = "disabled";
336 };
337
338 gpio1: gpio@4804c000 {
339 compatible = "ti,am4372-gpio","ti,omap4-gpio";
340 reg = <0x4804c000 0x1000>;
341 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
342 gpio-controller;
343 #gpio-cells = <2>;
344 interrupt-controller;
345 #interrupt-cells = <2>;
346 ti,hwmods = "gpio2";
347 status = "disabled";
348 };
349
350 gpio2: gpio@481ac000 {
351 compatible = "ti,am4372-gpio","ti,omap4-gpio";
352 reg = <0x481ac000 0x1000>;
353 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
354 gpio-controller;
355 #gpio-cells = <2>;
356 interrupt-controller;
357 #interrupt-cells = <2>;
358 ti,hwmods = "gpio3";
359 status = "disabled";
360 };
361
362 gpio3: gpio@481ae000 {
363 compatible = "ti,am4372-gpio","ti,omap4-gpio";
364 reg = <0x481ae000 0x1000>;
365 interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
366 gpio-controller;
367 #gpio-cells = <2>;
368 interrupt-controller;
369 #interrupt-cells = <2>;
370 ti,hwmods = "gpio4";
371 status = "disabled";
372 };
373
374 gpio4: gpio@48320000 {
375 compatible = "ti,am4372-gpio","ti,omap4-gpio";
376 reg = <0x48320000 0x1000>;
377 interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
378 gpio-controller;
379 #gpio-cells = <2>;
380 interrupt-controller;
381 #interrupt-cells = <2>;
382 ti,hwmods = "gpio5";
383 status = "disabled";
384 };
385
386 gpio5: gpio@48322000 {
387 compatible = "ti,am4372-gpio","ti,omap4-gpio";
388 reg = <0x48322000 0x1000>;
389 interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
390 gpio-controller;
391 #gpio-cells = <2>;
392 interrupt-controller;
393 #interrupt-cells = <2>;
394 ti,hwmods = "gpio6";
395 status = "disabled";
396 };
397
Suman Annafd4a8a62014-01-13 18:26:47 -0600398 hwspinlock: spinlock@480ca000 {
399 compatible = "ti,omap4-hwspinlock";
400 reg = <0x480ca000 0x1000>;
401 ti,hwmods = "spinlock";
402 #hwlock-cells = <1>;
403 };
404
Afzal Mohammed73456012013-08-02 19:16:35 +0530405 i2c0: i2c@44e0b000 {
406 compatible = "ti,am4372-i2c","ti,omap4-i2c";
407 reg = <0x44e0b000 0x1000>;
408 interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
409 ti,hwmods = "i2c1";
410 #address-cells = <1>;
411 #size-cells = <0>;
412 status = "disabled";
413 };
414
415 i2c1: i2c@4802a000 {
416 compatible = "ti,am4372-i2c","ti,omap4-i2c";
417 reg = <0x4802a000 0x1000>;
418 interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
419 ti,hwmods = "i2c2";
420 #address-cells = <1>;
421 #size-cells = <0>;
422 status = "disabled";
423 };
424
425 i2c2: i2c@4819c000 {
426 compatible = "ti,am4372-i2c","ti,omap4-i2c";
427 reg = <0x4819c000 0x1000>;
428 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
429 ti,hwmods = "i2c3";
430 #address-cells = <1>;
431 #size-cells = <0>;
432 status = "disabled";
433 };
434
435 spi0: spi@48030000 {
436 compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
437 reg = <0x48030000 0x400>;
438 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
439 ti,hwmods = "spi0";
440 #address-cells = <1>;
441 #size-cells = <0>;
442 status = "disabled";
443 };
444
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530445 mmc1: mmc@48060000 {
446 compatible = "ti,omap4-hsmmc";
447 reg = <0x48060000 0x1000>;
448 ti,hwmods = "mmc1";
449 ti,dual-volt;
450 ti,needs-special-reset;
451 dmas = <&edma 24
452 &edma 25>;
453 dma-names = "tx", "rx";
454 interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
455 status = "disabled";
456 };
457
458 mmc2: mmc@481d8000 {
459 compatible = "ti,omap4-hsmmc";
460 reg = <0x481d8000 0x1000>;
461 ti,hwmods = "mmc2";
462 ti,needs-special-reset;
463 dmas = <&edma 2
464 &edma 3>;
465 dma-names = "tx", "rx";
466 interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
467 status = "disabled";
468 };
469
470 mmc3: mmc@47810000 {
471 compatible = "ti,omap4-hsmmc";
472 reg = <0x47810000 0x1000>;
473 ti,hwmods = "mmc3";
474 ti,needs-special-reset;
475 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
476 status = "disabled";
477 };
478
Afzal Mohammed73456012013-08-02 19:16:35 +0530479 spi1: spi@481a0000 {
480 compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
481 reg = <0x481a0000 0x400>;
482 interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>;
483 ti,hwmods = "spi1";
484 #address-cells = <1>;
485 #size-cells = <0>;
486 status = "disabled";
487 };
488
489 spi2: spi@481a2000 {
490 compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
491 reg = <0x481a2000 0x400>;
492 interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>;
493 ti,hwmods = "spi2";
494 #address-cells = <1>;
495 #size-cells = <0>;
496 status = "disabled";
497 };
498
499 spi3: spi@481a4000 {
500 compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
501 reg = <0x481a4000 0x400>;
502 interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>;
503 ti,hwmods = "spi3";
504 #address-cells = <1>;
505 #size-cells = <0>;
506 status = "disabled";
507 };
508
509 spi4: spi@48345000 {
510 compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
511 reg = <0x48345000 0x400>;
512 interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>;
513 ti,hwmods = "spi4";
514 #address-cells = <1>;
515 #size-cells = <0>;
516 status = "disabled";
517 };
518
519 mac: ethernet@4a100000 {
520 compatible = "ti,am4372-cpsw","ti,cpsw";
521 reg = <0x4a100000 0x800
522 0x4a101200 0x100>;
523 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH
524 GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH
525 GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH
526 GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530527 #address-cells = <1>;
528 #size-cells = <1>;
Afzal Mohammed73456012013-08-02 19:16:35 +0530529 ti,hwmods = "cpgmac0";
George Cheriande21b262014-05-02 12:02:04 +0530530 clocks = <&cpsw_125mhz_gclk>, <&cpsw_cpts_rft_clk>;
531 clock-names = "fck", "cpts";
Afzal Mohammed73456012013-08-02 19:16:35 +0530532 status = "disabled";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530533 cpdma_channels = <8>;
534 ale_entries = <1024>;
535 bd_ram_size = <0x2000>;
536 no_bd_ram = <0>;
537 rx_descs = <64>;
538 mac_control = <0x20>;
539 slaves = <2>;
540 active_slave = <0>;
541 cpts_clock_mult = <0x80000000>;
542 cpts_clock_shift = <29>;
543 ranges;
544
545 davinci_mdio: mdio@4a101000 {
546 compatible = "ti,am4372-mdio","ti,davinci_mdio";
547 reg = <0x4a101000 0x100>;
548 #address-cells = <1>;
549 #size-cells = <0>;
550 ti,hwmods = "davinci_mdio";
551 bus_freq = <1000000>;
552 status = "disabled";
553 };
554
555 cpsw_emac0: slave@4a100200 {
556 /* Filled in by U-Boot */
557 mac-address = [ 00 00 00 00 00 00 ];
558 };
559
560 cpsw_emac1: slave@4a100300 {
561 /* Filled in by U-Boot */
562 mac-address = [ 00 00 00 00 00 00 ];
563 };
Mugunthan V Na9682cf2014-05-13 14:14:30 +0530564
565 phy_sel: cpsw-phy-sel@44e10650 {
566 compatible = "ti,am43xx-cpsw-phy-sel";
567 reg= <0x44e10650 0x4>;
568 reg-names = "gmii-sel";
569 };
Afzal Mohammed73456012013-08-02 19:16:35 +0530570 };
571
572 epwmss0: epwmss@48300000 {
573 compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
574 reg = <0x48300000 0x10>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530575 #address-cells = <1>;
576 #size-cells = <1>;
577 ranges;
Afzal Mohammed73456012013-08-02 19:16:35 +0530578 ti,hwmods = "epwmss0";
579 status = "disabled";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530580
581 ecap0: ecap@48300100 {
582 compatible = "ti,am4372-ecap","ti,am33xx-ecap";
Sourav Poddaraa842302013-12-19 18:03:33 +0530583 #pwm-cells = <3>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530584 reg = <0x48300100 0x80>;
585 ti,hwmods = "ecap0";
586 status = "disabled";
587 };
588
589 ehrpwm0: ehrpwm@48300200 {
590 compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
Sourav Poddaraa842302013-12-19 18:03:33 +0530591 #pwm-cells = <3>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530592 reg = <0x48300200 0x80>;
593 ti,hwmods = "ehrpwm0";
594 status = "disabled";
595 };
Afzal Mohammed73456012013-08-02 19:16:35 +0530596 };
597
598 epwmss1: epwmss@48302000 {
599 compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
600 reg = <0x48302000 0x10>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530601 #address-cells = <1>;
602 #size-cells = <1>;
603 ranges;
Afzal Mohammed73456012013-08-02 19:16:35 +0530604 ti,hwmods = "epwmss1";
605 status = "disabled";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530606
607 ecap1: ecap@48302100 {
608 compatible = "ti,am4372-ecap","ti,am33xx-ecap";
Sourav Poddaraa842302013-12-19 18:03:33 +0530609 #pwm-cells = <3>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530610 reg = <0x48302100 0x80>;
611 ti,hwmods = "ecap1";
612 status = "disabled";
613 };
614
615 ehrpwm1: ehrpwm@48302200 {
616 compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
Sourav Poddaraa842302013-12-19 18:03:33 +0530617 #pwm-cells = <3>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530618 reg = <0x48302200 0x80>;
619 ti,hwmods = "ehrpwm1";
620 status = "disabled";
621 };
Afzal Mohammed73456012013-08-02 19:16:35 +0530622 };
623
624 epwmss2: epwmss@48304000 {
625 compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
626 reg = <0x48304000 0x10>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530627 #address-cells = <1>;
628 #size-cells = <1>;
629 ranges;
Afzal Mohammed73456012013-08-02 19:16:35 +0530630 ti,hwmods = "epwmss2";
631 status = "disabled";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530632
633 ecap2: ecap@48304100 {
634 compatible = "ti,am4372-ecap","ti,am33xx-ecap";
Sourav Poddaraa842302013-12-19 18:03:33 +0530635 #pwm-cells = <3>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530636 reg = <0x48304100 0x80>;
637 ti,hwmods = "ecap2";
638 status = "disabled";
639 };
640
641 ehrpwm2: ehrpwm@48304200 {
642 compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
Sourav Poddaraa842302013-12-19 18:03:33 +0530643 #pwm-cells = <3>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530644 reg = <0x48304200 0x80>;
645 ti,hwmods = "ehrpwm2";
646 status = "disabled";
647 };
Afzal Mohammed73456012013-08-02 19:16:35 +0530648 };
649
650 epwmss3: epwmss@48306000 {
651 compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
652 reg = <0x48306000 0x10>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530653 #address-cells = <1>;
654 #size-cells = <1>;
655 ranges;
Afzal Mohammed73456012013-08-02 19:16:35 +0530656 ti,hwmods = "epwmss3";
657 status = "disabled";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530658
659 ehrpwm3: ehrpwm@48306200 {
660 compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
Sourav Poddaraa842302013-12-19 18:03:33 +0530661 #pwm-cells = <3>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530662 reg = <0x48306200 0x80>;
663 ti,hwmods = "ehrpwm3";
664 status = "disabled";
665 };
Afzal Mohammed73456012013-08-02 19:16:35 +0530666 };
667
668 epwmss4: epwmss@48308000 {
669 compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
670 reg = <0x48308000 0x10>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530671 #address-cells = <1>;
672 #size-cells = <1>;
673 ranges;
Afzal Mohammed73456012013-08-02 19:16:35 +0530674 ti,hwmods = "epwmss4";
675 status = "disabled";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530676
677 ehrpwm4: ehrpwm@48308200 {
678 compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
Sourav Poddaraa842302013-12-19 18:03:33 +0530679 #pwm-cells = <3>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530680 reg = <0x48308200 0x80>;
681 ti,hwmods = "ehrpwm4";
682 status = "disabled";
683 };
Afzal Mohammed73456012013-08-02 19:16:35 +0530684 };
685
686 epwmss5: epwmss@4830a000 {
687 compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
688 reg = <0x4830a000 0x10>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530689 #address-cells = <1>;
690 #size-cells = <1>;
691 ranges;
Afzal Mohammed73456012013-08-02 19:16:35 +0530692 ti,hwmods = "epwmss5";
693 status = "disabled";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530694
695 ehrpwm5: ehrpwm@4830a200 {
696 compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
Sourav Poddaraa842302013-12-19 18:03:33 +0530697 #pwm-cells = <3>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530698 reg = <0x4830a200 0x80>;
699 ti,hwmods = "ehrpwm5";
700 status = "disabled";
701 };
702 };
703
Vignesh R0f39f7b2014-11-21 15:44:22 +0530704 tscadc: tscadc@44e0d000 {
705 compatible = "ti,am3359-tscadc";
706 reg = <0x44e0d000 0x1000>;
707 ti,hwmods = "adc_tsc";
708 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
709 clocks = <&adc_tsc_fck>;
710 clock-names = "fck";
711 status = "disabled";
712
713 tsc {
714 compatible = "ti,am3359-tsc";
715 };
716
717 adc {
718 #io-channel-cells = <1>;
719 compatible = "ti,am3359-adc";
720 };
721
722 };
723
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530724 sham: sham@53100000 {
725 compatible = "ti,omap5-sham";
726 ti,hwmods = "sham";
727 reg = <0x53100000 0x300>;
728 dmas = <&edma 36>;
729 dma-names = "rx";
730 interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
Afzal Mohammed6cfd8112013-06-03 18:49:54 +0530731 };
Joel Fernandes6e70a512013-09-24 14:35:09 -0500732
733 aes: aes@53501000 {
734 compatible = "ti,omap4-aes";
735 ti,hwmods = "aes";
736 reg = <0x53501000 0xa0>;
737 interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530738 dmas = <&edma 6
739 &edma 5>;
740 dma-names = "tx", "rx";
Joel Fernandes6e70a512013-09-24 14:35:09 -0500741 };
Joel Fernandes099f3a852013-09-24 14:37:33 -0500742
743 des: des@53701000 {
744 compatible = "ti,omap4-des";
745 ti,hwmods = "des";
746 reg = <0x53701000 0xa0>;
747 interrupts = <GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530748 dmas = <&edma 34
749 &edma 33>;
750 dma-names = "tx", "rx";
Joel Fernandes099f3a852013-09-24 14:37:33 -0500751 };
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530752
Peter Ujfalusib9c95bf2013-10-21 12:45:58 +0300753 mcasp0: mcasp@48038000 {
754 compatible = "ti,am33xx-mcasp-audio";
755 ti,hwmods = "mcasp0";
756 reg = <0x48038000 0x2000>,
757 <0x46000000 0x400000>;
758 reg-names = "mpu", "dat";
759 interrupts = <80>, <81>;
Geert Uytterhoevenae107d02014-04-22 20:40:25 +0200760 interrupt-names = "tx", "rx";
Peter Ujfalusib9c95bf2013-10-21 12:45:58 +0300761 status = "disabled";
762 dmas = <&edma 8>,
763 <&edma 9>;
764 dma-names = "tx", "rx";
765 };
766
767 mcasp1: mcasp@4803C000 {
768 compatible = "ti,am33xx-mcasp-audio";
769 ti,hwmods = "mcasp1";
770 reg = <0x4803C000 0x2000>,
771 <0x46400000 0x400000>;
772 reg-names = "mpu", "dat";
773 interrupts = <82>, <83>;
Geert Uytterhoevenae107d02014-04-22 20:40:25 +0200774 interrupt-names = "tx", "rx";
Peter Ujfalusib9c95bf2013-10-21 12:45:58 +0300775 status = "disabled";
776 dmas = <&edma 10>,
777 <&edma 11>;
778 dma-names = "tx", "rx";
779 };
Pekon Guptaf68e3552014-02-05 18:58:34 +0530780
781 elm: elm@48080000 {
782 compatible = "ti,am3352-elm";
783 reg = <0x48080000 0x2000>;
784 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
785 ti,hwmods = "elm";
786 clocks = <&l4ls_gclk>;
787 clock-names = "fck";
788 status = "disabled";
789 };
790
791 gpmc: gpmc@50000000 {
792 compatible = "ti,am3352-gpmc";
793 ti,hwmods = "gpmc";
794 clocks = <&l3s_gclk>;
795 clock-names = "fck";
796 reg = <0x50000000 0x2000>;
797 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
798 gpmc,num-cs = <7>;
799 gpmc,num-waitpins = <2>;
800 #address-cells = <2>;
801 #size-cells = <1>;
802 status = "disabled";
803 };
George Cheriana0ae47e2014-03-19 15:40:01 +0530804
805 am43xx_control_usb2phy1: control-phy@44e10620 {
806 compatible = "ti,control-phy-usb2-am437";
807 reg = <0x44e10620 0x4>;
808 reg-names = "power";
809 };
810
811 am43xx_control_usb2phy2: control-phy@0x44e10628 {
812 compatible = "ti,control-phy-usb2-am437";
813 reg = <0x44e10628 0x4>;
814 reg-names = "power";
815 };
816
817 ocp2scp0: ocp2scp@483a8000 {
Kishon Vijay Abraham I20431db2015-03-17 16:54:50 +0530818 compatible = "ti,am437x-ocp2scp", "ti,omap-ocp2scp";
George Cheriana0ae47e2014-03-19 15:40:01 +0530819 #address-cells = <1>;
820 #size-cells = <1>;
821 ranges;
822 ti,hwmods = "ocp2scp0";
823
824 usb2_phy1: phy@483a8000 {
825 compatible = "ti,am437x-usb2";
826 reg = <0x483a8000 0x8000>;
827 ctrl-module = <&am43xx_control_usb2phy1>;
828 clocks = <&usb_phy0_always_on_clk32k>,
829 <&usb_otg_ss0_refclk960m>;
830 clock-names = "wkupclk", "refclk";
831 #phy-cells = <0>;
832 status = "disabled";
833 };
834 };
835
836 ocp2scp1: ocp2scp@483e8000 {
Kishon Vijay Abraham I20431db2015-03-17 16:54:50 +0530837 compatible = "ti,am437x-ocp2scp", "ti,omap-ocp2scp";
George Cheriana0ae47e2014-03-19 15:40:01 +0530838 #address-cells = <1>;
839 #size-cells = <1>;
840 ranges;
841 ti,hwmods = "ocp2scp1";
842
843 usb2_phy2: phy@483e8000 {
844 compatible = "ti,am437x-usb2";
845 reg = <0x483e8000 0x8000>;
846 ctrl-module = <&am43xx_control_usb2phy2>;
847 clocks = <&usb_phy1_always_on_clk32k>,
848 <&usb_otg_ss1_refclk960m>;
849 clock-names = "wkupclk", "refclk";
850 #phy-cells = <0>;
851 status = "disabled";
852 };
853 };
854
855 dwc3_1: omap_dwc3@48380000 {
856 compatible = "ti,am437x-dwc3";
857 ti,hwmods = "usb_otg_ss0";
858 reg = <0x48380000 0x10000>;
859 interrupts = <GIC_SPI 172 IRQ_TYPE_LEVEL_HIGH>;
860 #address-cells = <1>;
861 #size-cells = <1>;
862 utmi-mode = <1>;
863 ranges;
864
865 usb1: usb@48390000 {
866 compatible = "synopsys,dwc3";
Felipe Balbi4b143f02014-09-03 16:22:24 -0500867 reg = <0x48390000 0x10000>;
George Cheriana0ae47e2014-03-19 15:40:01 +0530868 interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
869 phys = <&usb2_phy1>;
870 phy-names = "usb2-phy";
871 maximum-speed = "high-speed";
872 dr_mode = "otg";
873 status = "disabled";
Felipe Balbi60f0e622014-11-06 11:32:35 -0600874 snps,dis_u3_susphy_quirk;
875 snps,dis_u2_susphy_quirk;
George Cheriana0ae47e2014-03-19 15:40:01 +0530876 };
877 };
878
879 dwc3_2: omap_dwc3@483c0000 {
880 compatible = "ti,am437x-dwc3";
881 ti,hwmods = "usb_otg_ss1";
882 reg = <0x483c0000 0x10000>;
883 interrupts = <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>;
884 #address-cells = <1>;
885 #size-cells = <1>;
886 utmi-mode = <1>;
887 ranges;
888
889 usb2: usb@483d0000 {
890 compatible = "synopsys,dwc3";
Felipe Balbi4b143f02014-09-03 16:22:24 -0500891 reg = <0x483d0000 0x10000>;
George Cheriana0ae47e2014-03-19 15:40:01 +0530892 interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
893 phys = <&usb2_phy2>;
894 phy-names = "usb2-phy";
895 maximum-speed = "high-speed";
896 dr_mode = "otg";
897 status = "disabled";
Felipe Balbi60f0e622014-11-06 11:32:35 -0600898 snps,dis_u3_susphy_quirk;
899 snps,dis_u2_susphy_quirk;
George Cheriana0ae47e2014-03-19 15:40:01 +0530900 };
901 };
Sourav Poddar2a1a5042014-04-28 19:12:30 +0530902
903 qspi: qspi@47900000 {
904 compatible = "ti,am4372-qspi";
905 reg = <0x47900000 0x100>;
906 #address-cells = <1>;
907 #size-cells = <0>;
908 ti,hwmods = "qspi";
909 interrupts = <0 138 0x4>;
910 num-cs = <4>;
911 status = "disabled";
912 };
Sourav Poddar741cac52014-05-08 11:30:07 +0530913
914 hdq: hdq@48347000 {
Vignesh Ra895b8a2015-03-02 16:19:34 +0530915 compatible = "ti,am4372-hdq";
Sourav Poddar741cac52014-05-08 11:30:07 +0530916 reg = <0x48347000 0x1000>;
917 interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>;
918 clocks = <&func_12m_clk>;
919 clock-names = "fck";
920 ti,hwmods = "hdq1w";
921 status = "disabled";
922 };
Sathya Prakash M R8c793362014-03-24 16:31:55 +0530923
924 dss: dss@4832a000 {
925 compatible = "ti,omap3-dss";
926 reg = <0x4832a000 0x200>;
927 status = "disabled";
928 ti,hwmods = "dss_core";
929 clocks = <&disp_clk>;
930 clock-names = "fck";
931 #address-cells = <1>;
932 #size-cells = <1>;
933 ranges;
934
Felipe Balbi08ecb282014-06-23 13:20:58 -0500935 dispc: dispc@4832a400 {
Sathya Prakash M R8c793362014-03-24 16:31:55 +0530936 compatible = "ti,omap3-dispc";
937 reg = <0x4832a400 0x400>;
938 interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
939 ti,hwmods = "dss_dispc";
940 clocks = <&disp_clk>;
941 clock-names = "fck";
942 };
943
944 rfbi: rfbi@4832a800 {
945 compatible = "ti,omap3-rfbi";
946 reg = <0x4832a800 0x100>;
947 ti,hwmods = "dss_rfbi";
948 clocks = <&disp_clk>;
949 clock-names = "fck";
950 };
951 };
Rajendra Nayak8b9a2812014-09-10 11:04:03 -0500952
953 ocmcram: ocmcram@40300000 {
954 compatible = "mmio-sram";
955 reg = <0x40300000 0x40000>; /* 256k */
956 };
Roger Quadros9e63b0d2014-09-04 15:36:03 +0300957
958 dcan0: can@481cc000 {
959 compatible = "ti,am4372-d_can", "ti,am3352-d_can";
960 ti,hwmods = "d_can0";
961 clocks = <&dcan0_fck>;
962 clock-names = "fck";
963 reg = <0x481cc000 0x2000>;
Tero Kristo83a5d6c2015-02-12 10:25:40 +0200964 syscon-raminit = <&scm_conf 0x644 0>;
Roger Quadros9e63b0d2014-09-04 15:36:03 +0300965 interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
966 status = "disabled";
967 };
968
969 dcan1: can@481d0000 {
970 compatible = "ti,am4372-d_can", "ti,am3352-d_can";
971 ti,hwmods = "d_can1";
972 clocks = <&dcan1_fck>;
973 clock-names = "fck";
974 reg = <0x481d0000 0x2000>;
Tero Kristo83a5d6c2015-02-12 10:25:40 +0200975 syscon-raminit = <&scm_conf 0x644 1>;
Roger Quadros9e63b0d2014-09-04 15:36:03 +0300976 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
977 status = "disabled";
978 };
Benoit Parrot9d0df0a2014-12-18 21:54:11 +0530979
980 vpfe0: vpfe@48326000 {
981 compatible = "ti,am437x-vpfe";
982 reg = <0x48326000 0x2000>;
983 interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
984 ti,hwmods = "vpfe0";
985 status = "disabled";
986 };
987
988 vpfe1: vpfe@48328000 {
989 compatible = "ti,am437x-vpfe";
990 reg = <0x48328000 0x2000>;
991 interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
992 ti,hwmods = "vpfe1";
993 status = "disabled";
994 };
Afzal Mohammed6cfd8112013-06-03 18:49:54 +0530995 };
996};
Tero Kristo6a679202013-08-02 19:12:04 +0300997
998/include/ "am43xx-clocks.dtsi"