blob: 1db7c75b6596786b2a7a942669958763eb7d7c52 [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;
Sekhar Nori71256d92015-07-20 16:42:20 +053026 serial1 = &uart1;
27 serial2 = &uart2;
28 serial3 = &uart3;
29 serial4 = &uart4;
30 serial5 = &uart5;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +053031 ethernet0 = &cpsw_emac0;
32 ethernet1 = &cpsw_emac1;
Afzal Mohammed6cfd8112013-06-03 18:49:54 +053033 };
34
35 cpus {
Afzal Mohammed738c7402013-08-02 19:16:13 +053036 #address-cells = <1>;
37 #size-cells = <0>;
Felipe Balbi08ecb282014-06-23 13:20:58 -050038 cpu: cpu@0 {
Afzal Mohammed6cfd8112013-06-03 18:49:54 +053039 compatible = "arm,cortex-a9";
Afzal Mohammed738c7402013-08-02 19:16:13 +053040 device_type = "cpu";
41 reg = <0>;
Nishanth Menon8d766fa2014-01-29 12:19:17 -060042
43 clocks = <&dpll_mpu_ck>;
44 clock-names = "cpu";
45
46 clock-latency = <300000>; /* From omap-cpufreq driver */
Afzal Mohammed6cfd8112013-06-03 18:49:54 +053047 };
48 };
49
50 gic: interrupt-controller@48241000 {
51 compatible = "arm,cortex-a9-gic";
52 interrupt-controller;
53 #interrupt-cells = <3>;
54 reg = <0x48241000 0x1000>,
55 <0x48240100 0x0100>;
Marc Zyngier7136d452015-03-11 15:43:49 +000056 interrupt-parent = <&gic>;
57 };
58
59 wakeupgen: interrupt-controller@48281000 {
60 compatible = "ti,omap4-wugen-mpu";
61 interrupt-controller;
62 #interrupt-cells = <3>;
63 reg = <0x48281000 0x1000>;
64 interrupt-parent = <&gic>;
Afzal Mohammed6cfd8112013-06-03 18:49:54 +053065 };
66
Lokesh Vutla9e3269b2013-10-11 00:44:53 +053067 l2-cache-controller@48242000 {
68 compatible = "arm,pl310-cache";
69 reg = <0x48242000 0x1000>;
70 cache-unified;
71 cache-level = <2>;
72 };
73
Afzal Mohammed6cfd8112013-06-03 18:49:54 +053074 ocp {
Afzal Mohammed2eeddb82013-12-02 17:48:57 +053075 compatible = "ti,am4372-l3-noc", "simple-bus";
Afzal Mohammed6cfd8112013-06-03 18:49:54 +053076 #address-cells = <1>;
77 #size-cells = <1>;
78 ranges;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +053079 ti,hwmods = "l3_main";
Afzal Mohammed2eeddb82013-12-02 17:48:57 +053080 reg = <0x44000000 0x400000
81 0x44800000 0x400000>;
82 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
83 <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +053084
Tero Kristo83a5d6c2015-02-12 10:25:40 +020085 l4_wkup: l4_wkup@44c00000 {
86 compatible = "ti,am4-l4-wkup", "simple-bus";
87 #address-cells = <1>;
88 #size-cells = <1>;
89 ranges = <0 0x44c00000 0x287000>;
Tero Kristo6a679202013-08-02 19:12:04 +030090
Suman Anna340204222015-07-13 12:34:55 -050091 wkup_m3: wkup_m3@100000 {
92 compatible = "ti,am4372-wkup-m3";
93 reg = <0x100000 0x4000>,
94 <0x180000 0x2000>;
95 reg-names = "umem", "dmem";
96 ti,hwmods = "wkup_m3";
97 ti,pm-firmware = "am335x-pm-firmware.elf";
98 };
99
Tero Kristo83a5d6c2015-02-12 10:25:40 +0200100 prcm: prcm@1f0000 {
101 compatible = "ti,am4-prcm";
102 reg = <0x1f0000 0x11000>;
103
104 prcm_clocks: clocks {
105 #address-cells = <1>;
106 #size-cells = <0>;
107 };
108
109 prcm_clockdomains: clockdomains {
110 };
111 };
112
113 scm: scm@210000 {
114 compatible = "ti,am4-scm", "simple-bus";
115 reg = <0x210000 0x4000>;
Tero Kristo6a679202013-08-02 19:12:04 +0300116 #address-cells = <1>;
Tero Kristo83a5d6c2015-02-12 10:25:40 +0200117 #size-cells = <1>;
118 ranges = <0 0x210000 0x4000>;
Tero Kristo6a679202013-08-02 19:12:04 +0300119
Tero Kristo83a5d6c2015-02-12 10:25:40 +0200120 am43xx_pinmux: pinmux@800 {
121 compatible = "ti,am437-padconf",
122 "pinctrl-single";
123 reg = <0x800 0x31c>;
124 #address-cells = <1>;
125 #size-cells = <0>;
126 #interrupt-cells = <1>;
127 interrupt-controller;
128 pinctrl-single,register-width = <32>;
129 pinctrl-single,function-mask = <0xffffffff>;
130 };
Tero Kristo6a679202013-08-02 19:12:04 +0300131
Tero Kristo83a5d6c2015-02-12 10:25:40 +0200132 scm_conf: scm_conf@0 {
133 compatible = "syscon";
134 reg = <0x0 0x800>;
135 #address-cells = <1>;
136 #size-cells = <1>;
Tero Kristo6a679202013-08-02 19:12:04 +0300137
Tero Kristo83a5d6c2015-02-12 10:25:40 +0200138 scm_clocks: clocks {
139 #address-cells = <1>;
140 #size-cells = <0>;
141 };
142 };
Tero Kristo6a679202013-08-02 19:12:04 +0300143
Tero Kristo83a5d6c2015-02-12 10:25:40 +0200144 scm_clockdomains: clockdomains {
145 };
Tero Kristo6a679202013-08-02 19:12:04 +0300146 };
147 };
148
Dave Gerlachfff75ee2015-05-06 12:25:33 -0500149 emif: emif@4c000000 {
150 compatible = "ti,emif-am4372";
151 reg = <0x4c000000 0x1000000>;
152 ti,hwmods = "emif";
153 };
154
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530155 edma: edma@49000000 {
156 compatible = "ti,edma3";
157 ti,hwmods = "tpcc", "tptc0", "tptc1", "tptc2";
158 reg = <0x49000000 0x10000>,
159 <0x44e10f90 0x10>;
160 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
161 <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
162 <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
163 #dma-cells = <1>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530164 };
Afzal Mohammed6cfd8112013-06-03 18:49:54 +0530165
166 uart0: serial@44e09000 {
167 compatible = "ti,am4372-uart","ti,omap2-uart";
168 reg = <0x44e09000 0x2000>;
169 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
Afzal Mohammed73456012013-08-02 19:16:35 +0530170 ti,hwmods = "uart1";
171 };
172
173 uart1: serial@48022000 {
174 compatible = "ti,am4372-uart","ti,omap2-uart";
175 reg = <0x48022000 0x2000>;
176 interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
177 ti,hwmods = "uart2";
178 status = "disabled";
179 };
180
181 uart2: serial@48024000 {
182 compatible = "ti,am4372-uart","ti,omap2-uart";
183 reg = <0x48024000 0x2000>;
184 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
185 ti,hwmods = "uart3";
186 status = "disabled";
187 };
188
189 uart3: serial@481a6000 {
190 compatible = "ti,am4372-uart","ti,omap2-uart";
191 reg = <0x481a6000 0x2000>;
192 interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
193 ti,hwmods = "uart4";
194 status = "disabled";
195 };
196
197 uart4: serial@481a8000 {
198 compatible = "ti,am4372-uart","ti,omap2-uart";
199 reg = <0x481a8000 0x2000>;
200 interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
201 ti,hwmods = "uart5";
202 status = "disabled";
203 };
204
205 uart5: serial@481aa000 {
206 compatible = "ti,am4372-uart","ti,omap2-uart";
207 reg = <0x481aa000 0x2000>;
208 interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
209 ti,hwmods = "uart6";
210 status = "disabled";
Afzal Mohammed6cfd8112013-06-03 18:49:54 +0530211 };
212
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530213 mailbox: mailbox@480C8000 {
214 compatible = "ti,omap4-mailbox";
215 reg = <0x480C8000 0x200>;
216 interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
217 ti,hwmods = "mailbox";
Suman Anna24df0452014-11-03 17:07:35 -0600218 #mbox-cells = <1>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530219 ti,mbox-num-users = <4>;
220 ti,mbox-num-fifos = <8>;
Suman Annad27704d2014-09-10 14:27:23 -0500221 mbox_wkupm3: wkup_m3 {
222 ti,mbox-tx = <0 0 0>;
223 ti,mbox-rx = <0 0 3>;
224 };
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530225 };
226
Afzal Mohammed6cfd8112013-06-03 18:49:54 +0530227 timer1: timer@44e31000 {
228 compatible = "ti,am4372-timer-1ms","ti,am335x-timer-1ms";
229 reg = <0x44e31000 0x400>;
230 interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
231 ti,timer-alwon;
Afzal Mohammed73456012013-08-02 19:16:35 +0530232 ti,hwmods = "timer1";
Afzal Mohammed6cfd8112013-06-03 18:49:54 +0530233 };
234
235 timer2: timer@48040000 {
236 compatible = "ti,am4372-timer","ti,am335x-timer";
237 reg = <0x48040000 0x400>;
238 interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
Afzal Mohammed73456012013-08-02 19:16:35 +0530239 ti,hwmods = "timer2";
240 };
241
242 timer3: timer@48042000 {
243 compatible = "ti,am4372-timer","ti,am335x-timer";
244 reg = <0x48042000 0x400>;
245 interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
246 ti,hwmods = "timer3";
247 status = "disabled";
248 };
249
250 timer4: timer@48044000 {
251 compatible = "ti,am4372-timer","ti,am335x-timer";
252 reg = <0x48044000 0x400>;
253 interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
254 ti,timer-pwm;
255 ti,hwmods = "timer4";
256 status = "disabled";
257 };
258
259 timer5: timer@48046000 {
260 compatible = "ti,am4372-timer","ti,am335x-timer";
261 reg = <0x48046000 0x400>;
262 interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
263 ti,timer-pwm;
264 ti,hwmods = "timer5";
265 status = "disabled";
266 };
267
268 timer6: timer@48048000 {
269 compatible = "ti,am4372-timer","ti,am335x-timer";
270 reg = <0x48048000 0x400>;
271 interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
272 ti,timer-pwm;
273 ti,hwmods = "timer6";
274 status = "disabled";
275 };
276
277 timer7: timer@4804a000 {
278 compatible = "ti,am4372-timer","ti,am335x-timer";
279 reg = <0x4804a000 0x400>;
280 interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
281 ti,timer-pwm;
282 ti,hwmods = "timer7";
283 status = "disabled";
284 };
285
286 timer8: timer@481c1000 {
287 compatible = "ti,am4372-timer","ti,am335x-timer";
288 reg = <0x481c1000 0x400>;
289 interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>;
290 ti,hwmods = "timer8";
291 status = "disabled";
292 };
293
294 timer9: timer@4833d000 {
295 compatible = "ti,am4372-timer","ti,am335x-timer";
296 reg = <0x4833d000 0x400>;
297 interrupts = <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>;
298 ti,hwmods = "timer9";
299 status = "disabled";
300 };
301
302 timer10: timer@4833f000 {
303 compatible = "ti,am4372-timer","ti,am335x-timer";
304 reg = <0x4833f000 0x400>;
305 interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
306 ti,hwmods = "timer10";
307 status = "disabled";
308 };
309
310 timer11: timer@48341000 {
311 compatible = "ti,am4372-timer","ti,am335x-timer";
312 reg = <0x48341000 0x400>;
313 interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>;
314 ti,hwmods = "timer11";
315 status = "disabled";
Afzal Mohammed6cfd8112013-06-03 18:49:54 +0530316 };
317
318 counter32k: counter@44e86000 {
319 compatible = "ti,am4372-counter32k","ti,omap-counter32k";
320 reg = <0x44e86000 0x40>;
Afzal Mohammed73456012013-08-02 19:16:35 +0530321 ti,hwmods = "counter_32k";
322 };
323
Felipe Balbi08ecb282014-06-23 13:20:58 -0500324 rtc: rtc@44e3e000 {
Afzal Mohammed73456012013-08-02 19:16:35 +0530325 compatible = "ti,am4372-rtc","ti,da830-rtc";
326 reg = <0x44e3e000 0x1000>;
327 interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH
328 GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
329 ti,hwmods = "rtc";
330 status = "disabled";
331 };
332
Felipe Balbi08ecb282014-06-23 13:20:58 -0500333 wdt: wdt@44e35000 {
Afzal Mohammed73456012013-08-02 19:16:35 +0530334 compatible = "ti,am4372-wdt","ti,omap3-wdt";
335 reg = <0x44e35000 0x1000>;
336 interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
337 ti,hwmods = "wd_timer2";
Afzal Mohammed73456012013-08-02 19:16:35 +0530338 };
339
340 gpio0: gpio@44e07000 {
341 compatible = "ti,am4372-gpio","ti,omap4-gpio";
342 reg = <0x44e07000 0x1000>;
343 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
344 gpio-controller;
345 #gpio-cells = <2>;
346 interrupt-controller;
347 #interrupt-cells = <2>;
348 ti,hwmods = "gpio1";
349 status = "disabled";
350 };
351
352 gpio1: gpio@4804c000 {
353 compatible = "ti,am4372-gpio","ti,omap4-gpio";
354 reg = <0x4804c000 0x1000>;
355 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
356 gpio-controller;
357 #gpio-cells = <2>;
358 interrupt-controller;
359 #interrupt-cells = <2>;
360 ti,hwmods = "gpio2";
361 status = "disabled";
362 };
363
364 gpio2: gpio@481ac000 {
365 compatible = "ti,am4372-gpio","ti,omap4-gpio";
366 reg = <0x481ac000 0x1000>;
367 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
368 gpio-controller;
369 #gpio-cells = <2>;
370 interrupt-controller;
371 #interrupt-cells = <2>;
372 ti,hwmods = "gpio3";
373 status = "disabled";
374 };
375
376 gpio3: gpio@481ae000 {
377 compatible = "ti,am4372-gpio","ti,omap4-gpio";
378 reg = <0x481ae000 0x1000>;
379 interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
380 gpio-controller;
381 #gpio-cells = <2>;
382 interrupt-controller;
383 #interrupt-cells = <2>;
384 ti,hwmods = "gpio4";
385 status = "disabled";
386 };
387
388 gpio4: gpio@48320000 {
389 compatible = "ti,am4372-gpio","ti,omap4-gpio";
390 reg = <0x48320000 0x1000>;
391 interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
392 gpio-controller;
393 #gpio-cells = <2>;
394 interrupt-controller;
395 #interrupt-cells = <2>;
396 ti,hwmods = "gpio5";
397 status = "disabled";
398 };
399
400 gpio5: gpio@48322000 {
401 compatible = "ti,am4372-gpio","ti,omap4-gpio";
402 reg = <0x48322000 0x1000>;
403 interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
404 gpio-controller;
405 #gpio-cells = <2>;
406 interrupt-controller;
407 #interrupt-cells = <2>;
408 ti,hwmods = "gpio6";
409 status = "disabled";
410 };
411
Suman Annafd4a8a62014-01-13 18:26:47 -0600412 hwspinlock: spinlock@480ca000 {
413 compatible = "ti,omap4-hwspinlock";
414 reg = <0x480ca000 0x1000>;
415 ti,hwmods = "spinlock";
416 #hwlock-cells = <1>;
417 };
418
Afzal Mohammed73456012013-08-02 19:16:35 +0530419 i2c0: i2c@44e0b000 {
420 compatible = "ti,am4372-i2c","ti,omap4-i2c";
421 reg = <0x44e0b000 0x1000>;
422 interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
423 ti,hwmods = "i2c1";
424 #address-cells = <1>;
425 #size-cells = <0>;
426 status = "disabled";
427 };
428
429 i2c1: i2c@4802a000 {
430 compatible = "ti,am4372-i2c","ti,omap4-i2c";
431 reg = <0x4802a000 0x1000>;
432 interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
433 ti,hwmods = "i2c2";
434 #address-cells = <1>;
435 #size-cells = <0>;
436 status = "disabled";
437 };
438
439 i2c2: i2c@4819c000 {
440 compatible = "ti,am4372-i2c","ti,omap4-i2c";
441 reg = <0x4819c000 0x1000>;
442 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
443 ti,hwmods = "i2c3";
444 #address-cells = <1>;
445 #size-cells = <0>;
446 status = "disabled";
447 };
448
449 spi0: spi@48030000 {
450 compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
451 reg = <0x48030000 0x400>;
452 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
453 ti,hwmods = "spi0";
454 #address-cells = <1>;
455 #size-cells = <0>;
456 status = "disabled";
457 };
458
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530459 mmc1: mmc@48060000 {
460 compatible = "ti,omap4-hsmmc";
461 reg = <0x48060000 0x1000>;
462 ti,hwmods = "mmc1";
463 ti,dual-volt;
464 ti,needs-special-reset;
465 dmas = <&edma 24
466 &edma 25>;
467 dma-names = "tx", "rx";
468 interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
469 status = "disabled";
470 };
471
472 mmc2: mmc@481d8000 {
473 compatible = "ti,omap4-hsmmc";
474 reg = <0x481d8000 0x1000>;
475 ti,hwmods = "mmc2";
476 ti,needs-special-reset;
477 dmas = <&edma 2
478 &edma 3>;
479 dma-names = "tx", "rx";
480 interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
481 status = "disabled";
482 };
483
484 mmc3: mmc@47810000 {
485 compatible = "ti,omap4-hsmmc";
486 reg = <0x47810000 0x1000>;
487 ti,hwmods = "mmc3";
488 ti,needs-special-reset;
489 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
490 status = "disabled";
491 };
492
Afzal Mohammed73456012013-08-02 19:16:35 +0530493 spi1: spi@481a0000 {
494 compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
495 reg = <0x481a0000 0x400>;
496 interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>;
497 ti,hwmods = "spi1";
498 #address-cells = <1>;
499 #size-cells = <0>;
500 status = "disabled";
501 };
502
503 spi2: spi@481a2000 {
504 compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
505 reg = <0x481a2000 0x400>;
506 interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>;
507 ti,hwmods = "spi2";
508 #address-cells = <1>;
509 #size-cells = <0>;
510 status = "disabled";
511 };
512
513 spi3: spi@481a4000 {
514 compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
515 reg = <0x481a4000 0x400>;
516 interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>;
517 ti,hwmods = "spi3";
518 #address-cells = <1>;
519 #size-cells = <0>;
520 status = "disabled";
521 };
522
523 spi4: spi@48345000 {
524 compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
525 reg = <0x48345000 0x400>;
526 interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>;
527 ti,hwmods = "spi4";
528 #address-cells = <1>;
529 #size-cells = <0>;
530 status = "disabled";
531 };
532
533 mac: ethernet@4a100000 {
534 compatible = "ti,am4372-cpsw","ti,cpsw";
535 reg = <0x4a100000 0x800
536 0x4a101200 0x100>;
537 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH
538 GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH
539 GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH
540 GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530541 #address-cells = <1>;
542 #size-cells = <1>;
Afzal Mohammed73456012013-08-02 19:16:35 +0530543 ti,hwmods = "cpgmac0";
George Cheriande21b262014-05-02 12:02:04 +0530544 clocks = <&cpsw_125mhz_gclk>, <&cpsw_cpts_rft_clk>;
545 clock-names = "fck", "cpts";
Afzal Mohammed73456012013-08-02 19:16:35 +0530546 status = "disabled";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530547 cpdma_channels = <8>;
548 ale_entries = <1024>;
549 bd_ram_size = <0x2000>;
550 no_bd_ram = <0>;
551 rx_descs = <64>;
552 mac_control = <0x20>;
553 slaves = <2>;
554 active_slave = <0>;
555 cpts_clock_mult = <0x80000000>;
556 cpts_clock_shift = <29>;
557 ranges;
558
559 davinci_mdio: mdio@4a101000 {
560 compatible = "ti,am4372-mdio","ti,davinci_mdio";
561 reg = <0x4a101000 0x100>;
562 #address-cells = <1>;
563 #size-cells = <0>;
564 ti,hwmods = "davinci_mdio";
565 bus_freq = <1000000>;
566 status = "disabled";
567 };
568
569 cpsw_emac0: slave@4a100200 {
570 /* Filled in by U-Boot */
571 mac-address = [ 00 00 00 00 00 00 ];
572 };
573
574 cpsw_emac1: slave@4a100300 {
575 /* Filled in by U-Boot */
576 mac-address = [ 00 00 00 00 00 00 ];
577 };
Mugunthan V Na9682cf2014-05-13 14:14:30 +0530578
579 phy_sel: cpsw-phy-sel@44e10650 {
580 compatible = "ti,am43xx-cpsw-phy-sel";
581 reg= <0x44e10650 0x4>;
582 reg-names = "gmii-sel";
583 };
Afzal Mohammed73456012013-08-02 19:16:35 +0530584 };
585
586 epwmss0: epwmss@48300000 {
587 compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
588 reg = <0x48300000 0x10>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530589 #address-cells = <1>;
590 #size-cells = <1>;
591 ranges;
Afzal Mohammed73456012013-08-02 19:16:35 +0530592 ti,hwmods = "epwmss0";
593 status = "disabled";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530594
595 ecap0: ecap@48300100 {
596 compatible = "ti,am4372-ecap","ti,am33xx-ecap";
Sourav Poddaraa842302013-12-19 18:03:33 +0530597 #pwm-cells = <3>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530598 reg = <0x48300100 0x80>;
599 ti,hwmods = "ecap0";
600 status = "disabled";
601 };
602
603 ehrpwm0: ehrpwm@48300200 {
604 compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
Sourav Poddaraa842302013-12-19 18:03:33 +0530605 #pwm-cells = <3>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530606 reg = <0x48300200 0x80>;
607 ti,hwmods = "ehrpwm0";
608 status = "disabled";
609 };
Afzal Mohammed73456012013-08-02 19:16:35 +0530610 };
611
612 epwmss1: epwmss@48302000 {
613 compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
614 reg = <0x48302000 0x10>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530615 #address-cells = <1>;
616 #size-cells = <1>;
617 ranges;
Afzal Mohammed73456012013-08-02 19:16:35 +0530618 ti,hwmods = "epwmss1";
619 status = "disabled";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530620
621 ecap1: ecap@48302100 {
622 compatible = "ti,am4372-ecap","ti,am33xx-ecap";
Sourav Poddaraa842302013-12-19 18:03:33 +0530623 #pwm-cells = <3>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530624 reg = <0x48302100 0x80>;
625 ti,hwmods = "ecap1";
626 status = "disabled";
627 };
628
629 ehrpwm1: ehrpwm@48302200 {
630 compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
Sourav Poddaraa842302013-12-19 18:03:33 +0530631 #pwm-cells = <3>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530632 reg = <0x48302200 0x80>;
633 ti,hwmods = "ehrpwm1";
634 status = "disabled";
635 };
Afzal Mohammed73456012013-08-02 19:16:35 +0530636 };
637
638 epwmss2: epwmss@48304000 {
639 compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
640 reg = <0x48304000 0x10>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530641 #address-cells = <1>;
642 #size-cells = <1>;
643 ranges;
Afzal Mohammed73456012013-08-02 19:16:35 +0530644 ti,hwmods = "epwmss2";
645 status = "disabled";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530646
647 ecap2: ecap@48304100 {
648 compatible = "ti,am4372-ecap","ti,am33xx-ecap";
Sourav Poddaraa842302013-12-19 18:03:33 +0530649 #pwm-cells = <3>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530650 reg = <0x48304100 0x80>;
651 ti,hwmods = "ecap2";
652 status = "disabled";
653 };
654
655 ehrpwm2: ehrpwm@48304200 {
656 compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
Sourav Poddaraa842302013-12-19 18:03:33 +0530657 #pwm-cells = <3>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530658 reg = <0x48304200 0x80>;
659 ti,hwmods = "ehrpwm2";
660 status = "disabled";
661 };
Afzal Mohammed73456012013-08-02 19:16:35 +0530662 };
663
664 epwmss3: epwmss@48306000 {
665 compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
666 reg = <0x48306000 0x10>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530667 #address-cells = <1>;
668 #size-cells = <1>;
669 ranges;
Afzal Mohammed73456012013-08-02 19:16:35 +0530670 ti,hwmods = "epwmss3";
671 status = "disabled";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530672
673 ehrpwm3: ehrpwm@48306200 {
674 compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
Sourav Poddaraa842302013-12-19 18:03:33 +0530675 #pwm-cells = <3>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530676 reg = <0x48306200 0x80>;
677 ti,hwmods = "ehrpwm3";
678 status = "disabled";
679 };
Afzal Mohammed73456012013-08-02 19:16:35 +0530680 };
681
682 epwmss4: epwmss@48308000 {
683 compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
684 reg = <0x48308000 0x10>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530685 #address-cells = <1>;
686 #size-cells = <1>;
687 ranges;
Afzal Mohammed73456012013-08-02 19:16:35 +0530688 ti,hwmods = "epwmss4";
689 status = "disabled";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530690
691 ehrpwm4: ehrpwm@48308200 {
692 compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
Sourav Poddaraa842302013-12-19 18:03:33 +0530693 #pwm-cells = <3>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530694 reg = <0x48308200 0x80>;
695 ti,hwmods = "ehrpwm4";
696 status = "disabled";
697 };
Afzal Mohammed73456012013-08-02 19:16:35 +0530698 };
699
700 epwmss5: epwmss@4830a000 {
701 compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
702 reg = <0x4830a000 0x10>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530703 #address-cells = <1>;
704 #size-cells = <1>;
705 ranges;
Afzal Mohammed73456012013-08-02 19:16:35 +0530706 ti,hwmods = "epwmss5";
707 status = "disabled";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530708
709 ehrpwm5: ehrpwm@4830a200 {
710 compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
Sourav Poddaraa842302013-12-19 18:03:33 +0530711 #pwm-cells = <3>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530712 reg = <0x4830a200 0x80>;
713 ti,hwmods = "ehrpwm5";
714 status = "disabled";
715 };
716 };
717
Vignesh R0f39f7b2014-11-21 15:44:22 +0530718 tscadc: tscadc@44e0d000 {
719 compatible = "ti,am3359-tscadc";
720 reg = <0x44e0d000 0x1000>;
721 ti,hwmods = "adc_tsc";
722 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
723 clocks = <&adc_tsc_fck>;
724 clock-names = "fck";
725 status = "disabled";
726
727 tsc {
728 compatible = "ti,am3359-tsc";
729 };
730
731 adc {
732 #io-channel-cells = <1>;
733 compatible = "ti,am3359-adc";
734 };
735
736 };
737
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530738 sham: sham@53100000 {
739 compatible = "ti,omap5-sham";
740 ti,hwmods = "sham";
741 reg = <0x53100000 0x300>;
742 dmas = <&edma 36>;
743 dma-names = "rx";
744 interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
Afzal Mohammed6cfd8112013-06-03 18:49:54 +0530745 };
Joel Fernandes6e70a512013-09-24 14:35:09 -0500746
747 aes: aes@53501000 {
748 compatible = "ti,omap4-aes";
749 ti,hwmods = "aes";
750 reg = <0x53501000 0xa0>;
751 interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530752 dmas = <&edma 6
753 &edma 5>;
754 dma-names = "tx", "rx";
Joel Fernandes6e70a512013-09-24 14:35:09 -0500755 };
Joel Fernandes099f3a852013-09-24 14:37:33 -0500756
757 des: des@53701000 {
758 compatible = "ti,omap4-des";
759 ti,hwmods = "des";
760 reg = <0x53701000 0xa0>;
761 interrupts = <GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530762 dmas = <&edma 34
763 &edma 33>;
764 dma-names = "tx", "rx";
Joel Fernandes099f3a852013-09-24 14:37:33 -0500765 };
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530766
Peter Ujfalusib9c95bf2013-10-21 12:45:58 +0300767 mcasp0: mcasp@48038000 {
768 compatible = "ti,am33xx-mcasp-audio";
769 ti,hwmods = "mcasp0";
770 reg = <0x48038000 0x2000>,
771 <0x46000000 0x400000>;
772 reg-names = "mpu", "dat";
773 interrupts = <80>, <81>;
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 8>,
777 <&edma 9>;
778 dma-names = "tx", "rx";
779 };
780
781 mcasp1: mcasp@4803C000 {
782 compatible = "ti,am33xx-mcasp-audio";
783 ti,hwmods = "mcasp1";
784 reg = <0x4803C000 0x2000>,
785 <0x46400000 0x400000>;
786 reg-names = "mpu", "dat";
787 interrupts = <82>, <83>;
Geert Uytterhoevenae107d02014-04-22 20:40:25 +0200788 interrupt-names = "tx", "rx";
Peter Ujfalusib9c95bf2013-10-21 12:45:58 +0300789 status = "disabled";
790 dmas = <&edma 10>,
791 <&edma 11>;
792 dma-names = "tx", "rx";
793 };
Pekon Guptaf68e3552014-02-05 18:58:34 +0530794
795 elm: elm@48080000 {
796 compatible = "ti,am3352-elm";
797 reg = <0x48080000 0x2000>;
798 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
799 ti,hwmods = "elm";
800 clocks = <&l4ls_gclk>;
801 clock-names = "fck";
802 status = "disabled";
803 };
804
805 gpmc: gpmc@50000000 {
806 compatible = "ti,am3352-gpmc";
807 ti,hwmods = "gpmc";
808 clocks = <&l3s_gclk>;
809 clock-names = "fck";
810 reg = <0x50000000 0x2000>;
811 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
812 gpmc,num-cs = <7>;
813 gpmc,num-waitpins = <2>;
814 #address-cells = <2>;
815 #size-cells = <1>;
816 status = "disabled";
817 };
George Cheriana0ae47e2014-03-19 15:40:01 +0530818
819 am43xx_control_usb2phy1: control-phy@44e10620 {
820 compatible = "ti,control-phy-usb2-am437";
821 reg = <0x44e10620 0x4>;
822 reg-names = "power";
823 };
824
825 am43xx_control_usb2phy2: control-phy@0x44e10628 {
826 compatible = "ti,control-phy-usb2-am437";
827 reg = <0x44e10628 0x4>;
828 reg-names = "power";
829 };
830
831 ocp2scp0: ocp2scp@483a8000 {
Kishon Vijay Abraham I20431db2015-03-17 16:54:50 +0530832 compatible = "ti,am437x-ocp2scp", "ti,omap-ocp2scp";
George Cheriana0ae47e2014-03-19 15:40:01 +0530833 #address-cells = <1>;
834 #size-cells = <1>;
835 ranges;
836 ti,hwmods = "ocp2scp0";
837
838 usb2_phy1: phy@483a8000 {
839 compatible = "ti,am437x-usb2";
840 reg = <0x483a8000 0x8000>;
841 ctrl-module = <&am43xx_control_usb2phy1>;
842 clocks = <&usb_phy0_always_on_clk32k>,
843 <&usb_otg_ss0_refclk960m>;
844 clock-names = "wkupclk", "refclk";
845 #phy-cells = <0>;
846 status = "disabled";
847 };
848 };
849
850 ocp2scp1: ocp2scp@483e8000 {
Kishon Vijay Abraham I20431db2015-03-17 16:54:50 +0530851 compatible = "ti,am437x-ocp2scp", "ti,omap-ocp2scp";
George Cheriana0ae47e2014-03-19 15:40:01 +0530852 #address-cells = <1>;
853 #size-cells = <1>;
854 ranges;
855 ti,hwmods = "ocp2scp1";
856
857 usb2_phy2: phy@483e8000 {
858 compatible = "ti,am437x-usb2";
859 reg = <0x483e8000 0x8000>;
860 ctrl-module = <&am43xx_control_usb2phy2>;
861 clocks = <&usb_phy1_always_on_clk32k>,
862 <&usb_otg_ss1_refclk960m>;
863 clock-names = "wkupclk", "refclk";
864 #phy-cells = <0>;
865 status = "disabled";
866 };
867 };
868
869 dwc3_1: omap_dwc3@48380000 {
870 compatible = "ti,am437x-dwc3";
871 ti,hwmods = "usb_otg_ss0";
872 reg = <0x48380000 0x10000>;
873 interrupts = <GIC_SPI 172 IRQ_TYPE_LEVEL_HIGH>;
874 #address-cells = <1>;
875 #size-cells = <1>;
876 utmi-mode = <1>;
877 ranges;
878
879 usb1: usb@48390000 {
880 compatible = "synopsys,dwc3";
Felipe Balbi4b143f02014-09-03 16:22:24 -0500881 reg = <0x48390000 0x10000>;
George Cheriana0ae47e2014-03-19 15:40:01 +0530882 interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
883 phys = <&usb2_phy1>;
884 phy-names = "usb2-phy";
885 maximum-speed = "high-speed";
886 dr_mode = "otg";
887 status = "disabled";
Felipe Balbi60f0e622014-11-06 11:32:35 -0600888 snps,dis_u3_susphy_quirk;
889 snps,dis_u2_susphy_quirk;
George Cheriana0ae47e2014-03-19 15:40:01 +0530890 };
891 };
892
893 dwc3_2: omap_dwc3@483c0000 {
894 compatible = "ti,am437x-dwc3";
895 ti,hwmods = "usb_otg_ss1";
896 reg = <0x483c0000 0x10000>;
897 interrupts = <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>;
898 #address-cells = <1>;
899 #size-cells = <1>;
900 utmi-mode = <1>;
901 ranges;
902
903 usb2: usb@483d0000 {
904 compatible = "synopsys,dwc3";
Felipe Balbi4b143f02014-09-03 16:22:24 -0500905 reg = <0x483d0000 0x10000>;
George Cheriana0ae47e2014-03-19 15:40:01 +0530906 interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
907 phys = <&usb2_phy2>;
908 phy-names = "usb2-phy";
909 maximum-speed = "high-speed";
910 dr_mode = "otg";
911 status = "disabled";
Felipe Balbi60f0e622014-11-06 11:32:35 -0600912 snps,dis_u3_susphy_quirk;
913 snps,dis_u2_susphy_quirk;
George Cheriana0ae47e2014-03-19 15:40:01 +0530914 };
915 };
Sourav Poddar2a1a5042014-04-28 19:12:30 +0530916
917 qspi: qspi@47900000 {
918 compatible = "ti,am4372-qspi";
919 reg = <0x47900000 0x100>;
920 #address-cells = <1>;
921 #size-cells = <0>;
922 ti,hwmods = "qspi";
923 interrupts = <0 138 0x4>;
924 num-cs = <4>;
925 status = "disabled";
926 };
Sourav Poddar741cac52014-05-08 11:30:07 +0530927
928 hdq: hdq@48347000 {
Vignesh Ra895b8a2015-03-02 16:19:34 +0530929 compatible = "ti,am4372-hdq";
Sourav Poddar741cac52014-05-08 11:30:07 +0530930 reg = <0x48347000 0x1000>;
931 interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>;
932 clocks = <&func_12m_clk>;
933 clock-names = "fck";
934 ti,hwmods = "hdq1w";
935 status = "disabled";
936 };
Sathya Prakash M R8c793362014-03-24 16:31:55 +0530937
938 dss: dss@4832a000 {
939 compatible = "ti,omap3-dss";
940 reg = <0x4832a000 0x200>;
941 status = "disabled";
942 ti,hwmods = "dss_core";
943 clocks = <&disp_clk>;
944 clock-names = "fck";
945 #address-cells = <1>;
946 #size-cells = <1>;
947 ranges;
948
Felipe Balbi08ecb282014-06-23 13:20:58 -0500949 dispc: dispc@4832a400 {
Sathya Prakash M R8c793362014-03-24 16:31:55 +0530950 compatible = "ti,omap3-dispc";
951 reg = <0x4832a400 0x400>;
952 interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
953 ti,hwmods = "dss_dispc";
954 clocks = <&disp_clk>;
955 clock-names = "fck";
956 };
957
958 rfbi: rfbi@4832a800 {
959 compatible = "ti,omap3-rfbi";
960 reg = <0x4832a800 0x100>;
961 ti,hwmods = "dss_rfbi";
962 clocks = <&disp_clk>;
963 clock-names = "fck";
Tomi Valkeinen22a5dc12015-06-30 15:04:54 +0300964 status = "disabled";
Sathya Prakash M R8c793362014-03-24 16:31:55 +0530965 };
966 };
Rajendra Nayak8b9a2812014-09-10 11:04:03 -0500967
968 ocmcram: ocmcram@40300000 {
969 compatible = "mmio-sram";
970 reg = <0x40300000 0x40000>; /* 256k */
971 };
Roger Quadros9e63b0d2014-09-04 15:36:03 +0300972
973 dcan0: can@481cc000 {
974 compatible = "ti,am4372-d_can", "ti,am3352-d_can";
975 ti,hwmods = "d_can0";
976 clocks = <&dcan0_fck>;
977 clock-names = "fck";
978 reg = <0x481cc000 0x2000>;
Tero Kristo83a5d6c2015-02-12 10:25:40 +0200979 syscon-raminit = <&scm_conf 0x644 0>;
Roger Quadros9e63b0d2014-09-04 15:36:03 +0300980 interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
981 status = "disabled";
982 };
983
984 dcan1: can@481d0000 {
985 compatible = "ti,am4372-d_can", "ti,am3352-d_can";
986 ti,hwmods = "d_can1";
987 clocks = <&dcan1_fck>;
988 clock-names = "fck";
989 reg = <0x481d0000 0x2000>;
Tero Kristo83a5d6c2015-02-12 10:25:40 +0200990 syscon-raminit = <&scm_conf 0x644 1>;
Roger Quadros9e63b0d2014-09-04 15:36:03 +0300991 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
992 status = "disabled";
993 };
Benoit Parrot9d0df0a2014-12-18 21:54:11 +0530994
995 vpfe0: vpfe@48326000 {
996 compatible = "ti,am437x-vpfe";
997 reg = <0x48326000 0x2000>;
998 interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
999 ti,hwmods = "vpfe0";
1000 status = "disabled";
1001 };
1002
1003 vpfe1: vpfe@48328000 {
1004 compatible = "ti,am437x-vpfe";
1005 reg = <0x48328000 0x2000>;
1006 interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
1007 ti,hwmods = "vpfe1";
1008 status = "disabled";
1009 };
Afzal Mohammed6cfd8112013-06-03 18:49:54 +05301010 };
1011};
Tero Kristo6a679202013-08-02 19:12:04 +03001012
1013/include/ "am43xx-clocks.dtsi"