Loading...
1/*
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
11#include <dt-bindings/gpio/gpio.h>
12#include <dt-bindings/interrupt-controller/arm-gic.h>
13#include <dt-bindings/clock/am4.h>
14
15/ {
16 compatible = "ti,am4372", "ti,am43";
17 interrupt-parent = <&wakeupgen>;
18 #address-cells = <1>;
19 #size-cells = <1>;
20 chosen { };
21
22 memory@0 {
23 device_type = "memory";
24 reg = <0 0>;
25 };
26
27 aliases {
28 i2c0 = &i2c0;
29 i2c1 = &i2c1;
30 i2c2 = &i2c2;
31 serial0 = &uart0;
32 serial1 = &uart1;
33 serial2 = &uart2;
34 serial3 = &uart3;
35 serial4 = &uart4;
36 serial5 = &uart5;
37 ethernet0 = &cpsw_emac0;
38 ethernet1 = &cpsw_emac1;
39 spi0 = &qspi;
40 };
41
42 cpus {
43 #address-cells = <1>;
44 #size-cells = <0>;
45 cpu: cpu@0 {
46 compatible = "arm,cortex-a9";
47 device_type = "cpu";
48 reg = <0>;
49
50 clocks = <&dpll_mpu_ck>;
51 clock-names = "cpu";
52
53 operating-points-v2 = <&cpu0_opp_table>;
54
55 clock-latency = <300000>; /* From omap-cpufreq driver */
56 };
57 };
58
59 cpu0_opp_table: opp-table {
60 compatible = "operating-points-v2-ti-cpu";
61 syscon = <&scm_conf>;
62
63 opp50-300000000 {
64 opp-hz = /bits/ 64 <300000000>;
65 opp-microvolt = <950000 931000 969000>;
66 opp-supported-hw = <0xFF 0x01>;
67 opp-suspend;
68 };
69
70 opp100-600000000 {
71 opp-hz = /bits/ 64 <600000000>;
72 opp-microvolt = <1100000 1078000 1122000>;
73 opp-supported-hw = <0xFF 0x04>;
74 };
75
76 opp120-720000000 {
77 opp-hz = /bits/ 64 <720000000>;
78 opp-microvolt = <1200000 1176000 1224000>;
79 opp-supported-hw = <0xFF 0x08>;
80 };
81
82 oppturbo-800000000 {
83 opp-hz = /bits/ 64 <800000000>;
84 opp-microvolt = <1260000 1234800 1285200>;
85 opp-supported-hw = <0xFF 0x10>;
86 };
87
88 oppnitro-1000000000 {
89 opp-hz = /bits/ 64 <1000000000>;
90 opp-microvolt = <1325000 1298500 1351500>;
91 opp-supported-hw = <0xFF 0x20>;
92 };
93 };
94
95 soc {
96 compatible = "ti,omap-infra";
97 mpu {
98 compatible = "ti,omap4-mpu";
99 ti,hwmods = "mpu";
100 pm-sram = <&pm_sram_code
101 &pm_sram_data>;
102 };
103 };
104
105 gic: interrupt-controller@48241000 {
106 compatible = "arm,cortex-a9-gic";
107 interrupt-controller;
108 #interrupt-cells = <3>;
109 reg = <0x48241000 0x1000>,
110 <0x48240100 0x0100>;
111 interrupt-parent = <&gic>;
112 };
113
114 wakeupgen: interrupt-controller@48281000 {
115 compatible = "ti,omap4-wugen-mpu";
116 interrupt-controller;
117 #interrupt-cells = <3>;
118 reg = <0x48281000 0x1000>;
119 interrupt-parent = <&gic>;
120 };
121
122 scu: scu@48240000 {
123 compatible = "arm,cortex-a9-scu";
124 reg = <0x48240000 0x100>;
125 };
126
127 global_timer: timer@48240200 {
128 compatible = "arm,cortex-a9-global-timer";
129 reg = <0x48240200 0x100>;
130 interrupts = <GIC_PPI 11 IRQ_TYPE_EDGE_RISING>;
131 interrupt-parent = <&gic>;
132 clocks = <&mpu_periphclk>;
133 };
134
135 local_timer: timer@48240600 {
136 compatible = "arm,cortex-a9-twd-timer";
137 reg = <0x48240600 0x100>;
138 interrupts = <GIC_PPI 13 IRQ_TYPE_EDGE_RISING>;
139 interrupt-parent = <&gic>;
140 clocks = <&mpu_periphclk>;
141 };
142
143 l2-cache-controller@48242000 {
144 compatible = "arm,pl310-cache";
145 reg = <0x48242000 0x1000>;
146 cache-unified;
147 cache-level = <2>;
148 };
149
150 ocp@44000000 {
151 compatible = "ti,am4372-l3-noc", "simple-bus";
152 #address-cells = <1>;
153 #size-cells = <1>;
154 ranges;
155 ti,hwmods = "l3_main";
156 ti,no-idle;
157 reg = <0x44000000 0x400000
158 0x44800000 0x400000>;
159 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
160 <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
161
162 l4_wkup: l4_wkup@44c00000 {
163 compatible = "ti,am4-l4-wkup", "simple-bus";
164 #address-cells = <1>;
165 #size-cells = <1>;
166 ranges = <0 0x44c00000 0x287000>;
167
168 wkup_m3: wkup_m3@100000 {
169 compatible = "ti,am4372-wkup-m3";
170 reg = <0x100000 0x4000>,
171 <0x180000 0x2000>;
172 reg-names = "umem", "dmem";
173 ti,hwmods = "wkup_m3";
174 ti,pm-firmware = "am335x-pm-firmware.elf";
175 };
176
177 prcm: prcm@1f0000 {
178 compatible = "ti,am4-prcm", "simple-bus";
179 reg = <0x1f0000 0x11000>;
180 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
181 #address-cells = <1>;
182 #size-cells = <1>;
183 ranges = <0 0x1f0000 0x11000>;
184
185 prcm_clocks: clocks {
186 #address-cells = <1>;
187 #size-cells = <0>;
188 };
189
190 prcm_clockdomains: clockdomains {
191 };
192 };
193
194 scm: scm@210000 {
195 compatible = "ti,am4-scm", "simple-bus";
196 reg = <0x210000 0x4000>;
197 #address-cells = <1>;
198 #size-cells = <1>;
199 ranges = <0 0x210000 0x4000>;
200
201 am43xx_pinmux: pinmux@800 {
202 compatible = "ti,am437-padconf",
203 "pinctrl-single";
204 reg = <0x800 0x31c>;
205 #address-cells = <1>;
206 #size-cells = <0>;
207 #pinctrl-cells = <1>;
208 #interrupt-cells = <1>;
209 interrupt-controller;
210 pinctrl-single,register-width = <32>;
211 pinctrl-single,function-mask = <0xffffffff>;
212 };
213
214 scm_conf: scm_conf@0 {
215 compatible = "syscon";
216 reg = <0x0 0x800>;
217 #address-cells = <1>;
218 #size-cells = <1>;
219
220 scm_clocks: clocks {
221 #address-cells = <1>;
222 #size-cells = <0>;
223 };
224 };
225
226 wkup_m3_ipc: wkup_m3_ipc@1324 {
227 compatible = "ti,am4372-wkup-m3-ipc";
228 reg = <0x1324 0x44>;
229 interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
230 ti,rproc = <&wkup_m3>;
231 mboxes = <&mailbox &mbox_wkupm3>;
232 };
233
234 edma_xbar: dma-router@f90 {
235 compatible = "ti,am335x-edma-crossbar";
236 reg = <0xf90 0x40>;
237 #dma-cells = <3>;
238 dma-requests = <64>;
239 dma-masters = <&edma>;
240 };
241
242 scm_clockdomains: clockdomains {
243 };
244 };
245 };
246
247 emif: emif@4c000000 {
248 compatible = "ti,emif-am4372";
249 reg = <0x4c000000 0x1000000>;
250 ti,hwmods = "emif";
251 interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
252 ti,no-idle;
253 sram = <&pm_sram_code
254 &pm_sram_data>;
255 };
256
257 edma: edma@49000000 {
258 compatible = "ti,edma3-tpcc";
259 ti,hwmods = "tpcc";
260 reg = <0x49000000 0x10000>;
261 reg-names = "edma3_cc";
262 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
263 <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
264 <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
265 interrupt-names = "edma3_ccint", "edma3_mperr",
266 "edma3_ccerrint";
267 dma-requests = <64>;
268 #dma-cells = <2>;
269
270 ti,tptcs = <&edma_tptc0 7>, <&edma_tptc1 5>,
271 <&edma_tptc2 0>;
272
273 ti,edma-memcpy-channels = <58 59>;
274 };
275
276 edma_tptc0: tptc@49800000 {
277 compatible = "ti,edma3-tptc";
278 ti,hwmods = "tptc0";
279 reg = <0x49800000 0x100000>;
280 interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
281 interrupt-names = "edma3_tcerrint";
282 };
283
284 edma_tptc1: tptc@49900000 {
285 compatible = "ti,edma3-tptc";
286 ti,hwmods = "tptc1";
287 reg = <0x49900000 0x100000>;
288 interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
289 interrupt-names = "edma3_tcerrint";
290 };
291
292 edma_tptc2: tptc@49a00000 {
293 compatible = "ti,edma3-tptc";
294 ti,hwmods = "tptc2";
295 reg = <0x49a00000 0x100000>;
296 interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
297 interrupt-names = "edma3_tcerrint";
298 };
299
300 uart0: serial@44e09000 {
301 compatible = "ti,am4372-uart","ti,omap2-uart";
302 reg = <0x44e09000 0x2000>;
303 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
304 ti,hwmods = "uart1";
305 };
306
307 uart1: serial@48022000 {
308 compatible = "ti,am4372-uart","ti,omap2-uart";
309 reg = <0x48022000 0x2000>;
310 interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
311 ti,hwmods = "uart2";
312 status = "disabled";
313 };
314
315 uart2: serial@48024000 {
316 compatible = "ti,am4372-uart","ti,omap2-uart";
317 reg = <0x48024000 0x2000>;
318 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
319 ti,hwmods = "uart3";
320 status = "disabled";
321 };
322
323 uart3: serial@481a6000 {
324 compatible = "ti,am4372-uart","ti,omap2-uart";
325 reg = <0x481a6000 0x2000>;
326 interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
327 ti,hwmods = "uart4";
328 status = "disabled";
329 };
330
331 uart4: serial@481a8000 {
332 compatible = "ti,am4372-uart","ti,omap2-uart";
333 reg = <0x481a8000 0x2000>;
334 interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
335 ti,hwmods = "uart5";
336 status = "disabled";
337 };
338
339 uart5: serial@481aa000 {
340 compatible = "ti,am4372-uart","ti,omap2-uart";
341 reg = <0x481aa000 0x2000>;
342 interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
343 ti,hwmods = "uart6";
344 status = "disabled";
345 };
346
347 mailbox: mailbox@480c8000 {
348 compatible = "ti,omap4-mailbox";
349 reg = <0x480C8000 0x200>;
350 interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
351 ti,hwmods = "mailbox";
352 #mbox-cells = <1>;
353 ti,mbox-num-users = <4>;
354 ti,mbox-num-fifos = <8>;
355 mbox_wkupm3: wkup_m3 {
356 ti,mbox-send-noirq;
357 ti,mbox-tx = <0 0 0>;
358 ti,mbox-rx = <0 0 3>;
359 };
360 };
361
362 timer1: timer@44e31000 {
363 compatible = "ti,am4372-timer-1ms","ti,am335x-timer-1ms";
364 reg = <0x44e31000 0x400>;
365 interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
366 ti,timer-alwon;
367 ti,hwmods = "timer1";
368 clocks = <&timer1_fck>;
369 clock-names = "fck";
370 };
371
372 timer2: timer@48040000 {
373 compatible = "ti,am4372-timer","ti,am335x-timer";
374 reg = <0x48040000 0x400>;
375 interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
376 ti,hwmods = "timer2";
377 clocks = <&timer2_fck>;
378 clock-names = "fck";
379 };
380
381 timer3: timer@48042000 {
382 compatible = "ti,am4372-timer","ti,am335x-timer";
383 reg = <0x48042000 0x400>;
384 interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
385 ti,hwmods = "timer3";
386 status = "disabled";
387 };
388
389 timer4: timer@48044000 {
390 compatible = "ti,am4372-timer","ti,am335x-timer";
391 reg = <0x48044000 0x400>;
392 interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
393 ti,timer-pwm;
394 ti,hwmods = "timer4";
395 status = "disabled";
396 };
397
398 timer5: timer@48046000 {
399 compatible = "ti,am4372-timer","ti,am335x-timer";
400 reg = <0x48046000 0x400>;
401 interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
402 ti,timer-pwm;
403 ti,hwmods = "timer5";
404 status = "disabled";
405 };
406
407 timer6: timer@48048000 {
408 compatible = "ti,am4372-timer","ti,am335x-timer";
409 reg = <0x48048000 0x400>;
410 interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
411 ti,timer-pwm;
412 ti,hwmods = "timer6";
413 status = "disabled";
414 };
415
416 timer7: timer@4804a000 {
417 compatible = "ti,am4372-timer","ti,am335x-timer";
418 reg = <0x4804a000 0x400>;
419 interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
420 ti,timer-pwm;
421 ti,hwmods = "timer7";
422 status = "disabled";
423 };
424
425 timer8: timer@481c1000 {
426 compatible = "ti,am4372-timer","ti,am335x-timer";
427 reg = <0x481c1000 0x400>;
428 interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>;
429 ti,hwmods = "timer8";
430 status = "disabled";
431 };
432
433 timer9: timer@4833d000 {
434 compatible = "ti,am4372-timer","ti,am335x-timer";
435 reg = <0x4833d000 0x400>;
436 interrupts = <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>;
437 ti,hwmods = "timer9";
438 status = "disabled";
439 };
440
441 timer10: timer@4833f000 {
442 compatible = "ti,am4372-timer","ti,am335x-timer";
443 reg = <0x4833f000 0x400>;
444 interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
445 ti,hwmods = "timer10";
446 status = "disabled";
447 };
448
449 timer11: timer@48341000 {
450 compatible = "ti,am4372-timer","ti,am335x-timer";
451 reg = <0x48341000 0x400>;
452 interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>;
453 ti,hwmods = "timer11";
454 status = "disabled";
455 };
456
457 counter32k: counter@44e86000 {
458 compatible = "ti,am4372-counter32k","ti,omap-counter32k";
459 reg = <0x44e86000 0x40>;
460 ti,hwmods = "counter_32k";
461 };
462
463 rtc: rtc@44e3e000 {
464 compatible = "ti,am4372-rtc", "ti,am3352-rtc",
465 "ti,da830-rtc";
466 reg = <0x44e3e000 0x1000>;
467 interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH
468 GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
469 ti,hwmods = "rtc";
470 clocks = <&clk_32768_ck>;
471 clock-names = "int-clk";
472 status = "disabled";
473 };
474
475 wdt: wdt@44e35000 {
476 compatible = "ti,am4372-wdt","ti,omap3-wdt";
477 reg = <0x44e35000 0x1000>;
478 interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
479 ti,hwmods = "wd_timer2";
480 };
481
482 gpio0: gpio@44e07000 {
483 compatible = "ti,am4372-gpio","ti,omap4-gpio";
484 reg = <0x44e07000 0x1000>;
485 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
486 gpio-controller;
487 #gpio-cells = <2>;
488 interrupt-controller;
489 #interrupt-cells = <2>;
490 ti,hwmods = "gpio1";
491 status = "disabled";
492 };
493
494 gpio1: gpio@4804c000 {
495 compatible = "ti,am4372-gpio","ti,omap4-gpio";
496 reg = <0x4804c000 0x1000>;
497 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
498 gpio-controller;
499 #gpio-cells = <2>;
500 interrupt-controller;
501 #interrupt-cells = <2>;
502 ti,hwmods = "gpio2";
503 status = "disabled";
504 };
505
506 gpio2: gpio@481ac000 {
507 compatible = "ti,am4372-gpio","ti,omap4-gpio";
508 reg = <0x481ac000 0x1000>;
509 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
510 gpio-controller;
511 #gpio-cells = <2>;
512 interrupt-controller;
513 #interrupt-cells = <2>;
514 ti,hwmods = "gpio3";
515 status = "disabled";
516 };
517
518 gpio3: gpio@481ae000 {
519 compatible = "ti,am4372-gpio","ti,omap4-gpio";
520 reg = <0x481ae000 0x1000>;
521 interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
522 gpio-controller;
523 #gpio-cells = <2>;
524 interrupt-controller;
525 #interrupt-cells = <2>;
526 ti,hwmods = "gpio4";
527 status = "disabled";
528 };
529
530 gpio4: gpio@48320000 {
531 compatible = "ti,am4372-gpio","ti,omap4-gpio";
532 reg = <0x48320000 0x1000>;
533 interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
534 gpio-controller;
535 #gpio-cells = <2>;
536 interrupt-controller;
537 #interrupt-cells = <2>;
538 ti,hwmods = "gpio5";
539 status = "disabled";
540 };
541
542 gpio5: gpio@48322000 {
543 compatible = "ti,am4372-gpio","ti,omap4-gpio";
544 reg = <0x48322000 0x1000>;
545 interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
546 gpio-controller;
547 #gpio-cells = <2>;
548 interrupt-controller;
549 #interrupt-cells = <2>;
550 ti,hwmods = "gpio6";
551 status = "disabled";
552 };
553
554 hwspinlock: spinlock@480ca000 {
555 compatible = "ti,omap4-hwspinlock";
556 reg = <0x480ca000 0x1000>;
557 ti,hwmods = "spinlock";
558 #hwlock-cells = <1>;
559 };
560
561 i2c0: i2c@44e0b000 {
562 compatible = "ti,am4372-i2c","ti,omap4-i2c";
563 reg = <0x44e0b000 0x1000>;
564 interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
565 ti,hwmods = "i2c1";
566 #address-cells = <1>;
567 #size-cells = <0>;
568 status = "disabled";
569 };
570
571 i2c1: i2c@4802a000 {
572 compatible = "ti,am4372-i2c","ti,omap4-i2c";
573 reg = <0x4802a000 0x1000>;
574 interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
575 ti,hwmods = "i2c2";
576 #address-cells = <1>;
577 #size-cells = <0>;
578 status = "disabled";
579 };
580
581 i2c2: i2c@4819c000 {
582 compatible = "ti,am4372-i2c","ti,omap4-i2c";
583 reg = <0x4819c000 0x1000>;
584 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
585 ti,hwmods = "i2c3";
586 #address-cells = <1>;
587 #size-cells = <0>;
588 status = "disabled";
589 };
590
591 spi0: spi@48030000 {
592 compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
593 reg = <0x48030000 0x400>;
594 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
595 ti,hwmods = "spi0";
596 #address-cells = <1>;
597 #size-cells = <0>;
598 status = "disabled";
599 };
600
601 mmc1: mmc@48060000 {
602 compatible = "ti,omap4-hsmmc";
603 reg = <0x48060000 0x1000>;
604 ti,hwmods = "mmc1";
605 ti,dual-volt;
606 ti,needs-special-reset;
607 dmas = <&edma 24 0>,
608 <&edma 25 0>;
609 dma-names = "tx", "rx";
610 interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
611 status = "disabled";
612 };
613
614 mmc2: mmc@481d8000 {
615 compatible = "ti,omap4-hsmmc";
616 reg = <0x481d8000 0x1000>;
617 ti,hwmods = "mmc2";
618 ti,needs-special-reset;
619 dmas = <&edma 2 0>,
620 <&edma 3 0>;
621 dma-names = "tx", "rx";
622 interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
623 status = "disabled";
624 };
625
626 mmc3: mmc@47810000 {
627 compatible = "ti,omap4-hsmmc";
628 reg = <0x47810000 0x1000>;
629 ti,hwmods = "mmc3";
630 ti,needs-special-reset;
631 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
632 status = "disabled";
633 };
634
635 spi1: spi@481a0000 {
636 compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
637 reg = <0x481a0000 0x400>;
638 interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>;
639 ti,hwmods = "spi1";
640 #address-cells = <1>;
641 #size-cells = <0>;
642 status = "disabled";
643 };
644
645 spi2: spi@481a2000 {
646 compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
647 reg = <0x481a2000 0x400>;
648 interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>;
649 ti,hwmods = "spi2";
650 #address-cells = <1>;
651 #size-cells = <0>;
652 status = "disabled";
653 };
654
655 spi3: spi@481a4000 {
656 compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
657 reg = <0x481a4000 0x400>;
658 interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>;
659 ti,hwmods = "spi3";
660 #address-cells = <1>;
661 #size-cells = <0>;
662 status = "disabled";
663 };
664
665 spi4: spi@48345000 {
666 compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
667 reg = <0x48345000 0x400>;
668 interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>;
669 ti,hwmods = "spi4";
670 #address-cells = <1>;
671 #size-cells = <0>;
672 status = "disabled";
673 };
674
675 mac: ethernet@4a100000 {
676 compatible = "ti,am4372-cpsw","ti,cpsw";
677 reg = <0x4a100000 0x800
678 0x4a101200 0x100>;
679 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH
680 GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH
681 GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH
682 GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
683 #address-cells = <1>;
684 #size-cells = <1>;
685 ti,hwmods = "cpgmac0";
686 clocks = <&cpsw_125mhz_gclk>, <&cpsw_cpts_rft_clk>,
687 <&dpll_clksel_mac_clk>;
688 clock-names = "fck", "cpts", "50mclk";
689 assigned-clocks = <&dpll_clksel_mac_clk>;
690 assigned-clock-rates = <50000000>;
691 status = "disabled";
692 cpdma_channels = <8>;
693 ale_entries = <1024>;
694 bd_ram_size = <0x2000>;
695 mac_control = <0x20>;
696 slaves = <2>;
697 active_slave = <0>;
698 cpts_clock_mult = <0x80000000>;
699 cpts_clock_shift = <29>;
700 ranges;
701 syscon = <&scm_conf>;
702
703 davinci_mdio: mdio@4a101000 {
704 compatible = "ti,am4372-mdio","ti,cpsw-mdio","ti,davinci_mdio";
705 reg = <0x4a101000 0x100>;
706 #address-cells = <1>;
707 #size-cells = <0>;
708 ti,hwmods = "davinci_mdio";
709 bus_freq = <1000000>;
710 status = "disabled";
711 };
712
713 cpsw_emac0: slave@4a100200 {
714 /* Filled in by U-Boot */
715 mac-address = [ 00 00 00 00 00 00 ];
716 };
717
718 cpsw_emac1: slave@4a100300 {
719 /* Filled in by U-Boot */
720 mac-address = [ 00 00 00 00 00 00 ];
721 };
722
723 phy_sel: cpsw-phy-sel@44e10650 {
724 compatible = "ti,am43xx-cpsw-phy-sel";
725 reg= <0x44e10650 0x4>;
726 reg-names = "gmii-sel";
727 };
728 };
729
730 epwmss0: epwmss@48300000 {
731 compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
732 reg = <0x48300000 0x10>;
733 #address-cells = <1>;
734 #size-cells = <1>;
735 ranges;
736 ti,hwmods = "epwmss0";
737 status = "disabled";
738
739 ecap0: ecap@48300100 {
740 compatible = "ti,am4372-ecap",
741 "ti,am3352-ecap",
742 "ti,am33xx-ecap";
743 #pwm-cells = <3>;
744 reg = <0x48300100 0x80>;
745 clocks = <&l4ls_gclk>;
746 clock-names = "fck";
747 status = "disabled";
748 };
749
750 ehrpwm0: pwm@48300200 {
751 compatible = "ti,am4372-ehrpwm",
752 "ti,am3352-ehrpwm",
753 "ti,am33xx-ehrpwm";
754 #pwm-cells = <3>;
755 reg = <0x48300200 0x80>;
756 clocks = <&ehrpwm0_tbclk>, <&l4ls_gclk>;
757 clock-names = "tbclk", "fck";
758 status = "disabled";
759 };
760 };
761
762 epwmss1: epwmss@48302000 {
763 compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
764 reg = <0x48302000 0x10>;
765 #address-cells = <1>;
766 #size-cells = <1>;
767 ranges;
768 ti,hwmods = "epwmss1";
769 status = "disabled";
770
771 ecap1: ecap@48302100 {
772 compatible = "ti,am4372-ecap",
773 "ti,am3352-ecap",
774 "ti,am33xx-ecap";
775 #pwm-cells = <3>;
776 reg = <0x48302100 0x80>;
777 clocks = <&l4ls_gclk>;
778 clock-names = "fck";
779 status = "disabled";
780 };
781
782 ehrpwm1: pwm@48302200 {
783 compatible = "ti,am4372-ehrpwm",
784 "ti,am3352-ehrpwm",
785 "ti,am33xx-ehrpwm";
786 #pwm-cells = <3>;
787 reg = <0x48302200 0x80>;
788 clocks = <&ehrpwm1_tbclk>, <&l4ls_gclk>;
789 clock-names = "tbclk", "fck";
790 status = "disabled";
791 };
792 };
793
794 epwmss2: epwmss@48304000 {
795 compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
796 reg = <0x48304000 0x10>;
797 #address-cells = <1>;
798 #size-cells = <1>;
799 ranges;
800 ti,hwmods = "epwmss2";
801 status = "disabled";
802
803 ecap2: ecap@48304100 {
804 compatible = "ti,am4372-ecap",
805 "ti,am3352-ecap",
806 "ti,am33xx-ecap";
807 #pwm-cells = <3>;
808 reg = <0x48304100 0x80>;
809 clocks = <&l4ls_gclk>;
810 clock-names = "fck";
811 status = "disabled";
812 };
813
814 ehrpwm2: pwm@48304200 {
815 compatible = "ti,am4372-ehrpwm",
816 "ti,am3352-ehrpwm",
817 "ti,am33xx-ehrpwm";
818 #pwm-cells = <3>;
819 reg = <0x48304200 0x80>;
820 clocks = <&ehrpwm2_tbclk>, <&l4ls_gclk>;
821 clock-names = "tbclk", "fck";
822 status = "disabled";
823 };
824 };
825
826 epwmss3: epwmss@48306000 {
827 compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
828 reg = <0x48306000 0x10>;
829 #address-cells = <1>;
830 #size-cells = <1>;
831 ranges;
832 ti,hwmods = "epwmss3";
833 status = "disabled";
834
835 ehrpwm3: pwm@48306200 {
836 compatible = "ti,am4372-ehrpwm",
837 "ti,am3352-ehrpwm",
838 "ti,am33xx-ehrpwm";
839 #pwm-cells = <3>;
840 reg = <0x48306200 0x80>;
841 clocks = <&ehrpwm3_tbclk>, <&l4ls_gclk>;
842 clock-names = "tbclk", "fck";
843 status = "disabled";
844 };
845 };
846
847 epwmss4: epwmss@48308000 {
848 compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
849 reg = <0x48308000 0x10>;
850 #address-cells = <1>;
851 #size-cells = <1>;
852 ranges;
853 ti,hwmods = "epwmss4";
854 status = "disabled";
855
856 ehrpwm4: pwm@48308200 {
857 compatible = "ti,am4372-ehrpwm",
858 "ti,am3352-ehrpwm",
859 "ti,am33xx-ehrpwm";
860 #pwm-cells = <3>;
861 reg = <0x48308200 0x80>;
862 clocks = <&ehrpwm4_tbclk>, <&l4ls_gclk>;
863 clock-names = "tbclk", "fck";
864 status = "disabled";
865 };
866 };
867
868 epwmss5: epwmss@4830a000 {
869 compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
870 reg = <0x4830a000 0x10>;
871 #address-cells = <1>;
872 #size-cells = <1>;
873 ranges;
874 ti,hwmods = "epwmss5";
875 status = "disabled";
876
877 ehrpwm5: pwm@4830a200 {
878 compatible = "ti,am4372-ehrpwm",
879 "ti,am3352-ehrpwm",
880 "ti,am33xx-ehrpwm";
881 #pwm-cells = <3>;
882 reg = <0x4830a200 0x80>;
883 clocks = <&ehrpwm5_tbclk>, <&l4ls_gclk>;
884 clock-names = "tbclk", "fck";
885 status = "disabled";
886 };
887 };
888
889 tscadc: tscadc@44e0d000 {
890 compatible = "ti,am3359-tscadc";
891 reg = <0x44e0d000 0x1000>;
892 ti,hwmods = "adc_tsc";
893 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
894 clocks = <&adc_tsc_fck>;
895 clock-names = "fck";
896 status = "disabled";
897 dmas = <&edma 53 0>, <&edma 57 0>;
898 dma-names = "fifo0", "fifo1";
899
900 tsc {
901 compatible = "ti,am3359-tsc";
902 };
903
904 adc {
905 #io-channel-cells = <1>;
906 compatible = "ti,am3359-adc";
907 };
908
909 };
910
911 sham: sham@53100000 {
912 compatible = "ti,omap5-sham";
913 ti,hwmods = "sham";
914 reg = <0x53100000 0x300>;
915 dmas = <&edma 36 0>;
916 dma-names = "rx";
917 interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
918 };
919
920 aes: aes@53501000 {
921 compatible = "ti,omap4-aes";
922 ti,hwmods = "aes";
923 reg = <0x53501000 0xa0>;
924 interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
925 dmas = <&edma 6 0>,
926 <&edma 5 0>;
927 dma-names = "tx", "rx";
928 };
929
930 des: des@53701000 {
931 compatible = "ti,omap4-des";
932 ti,hwmods = "des";
933 reg = <0x53701000 0xa0>;
934 interrupts = <GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>;
935 dmas = <&edma 34 0>,
936 <&edma 33 0>;
937 dma-names = "tx", "rx";
938 };
939
940 rng: rng@48310000 {
941 compatible = "ti,omap4-rng";
942 ti,hwmods = "rng";
943 reg = <0x48310000 0x2000>;
944 interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
945 };
946
947 mcasp0: mcasp@48038000 {
948 compatible = "ti,am33xx-mcasp-audio";
949 ti,hwmods = "mcasp0";
950 reg = <0x48038000 0x2000>,
951 <0x46000000 0x400000>;
952 reg-names = "mpu", "dat";
953 interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>,
954 <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
955 interrupt-names = "tx", "rx";
956 status = "disabled";
957 dmas = <&edma 8 2>,
958 <&edma 9 2>;
959 dma-names = "tx", "rx";
960 };
961
962 mcasp1: mcasp@4803c000 {
963 compatible = "ti,am33xx-mcasp-audio";
964 ti,hwmods = "mcasp1";
965 reg = <0x4803C000 0x2000>,
966 <0x46400000 0x400000>;
967 reg-names = "mpu", "dat";
968 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>,
969 <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
970 interrupt-names = "tx", "rx";
971 status = "disabled";
972 dmas = <&edma 10 2>,
973 <&edma 11 2>;
974 dma-names = "tx", "rx";
975 };
976
977 elm: elm@48080000 {
978 compatible = "ti,am3352-elm";
979 reg = <0x48080000 0x2000>;
980 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
981 ti,hwmods = "elm";
982 clocks = <&l4ls_gclk>;
983 clock-names = "fck";
984 status = "disabled";
985 };
986
987 gpmc: gpmc@50000000 {
988 compatible = "ti,am3352-gpmc";
989 ti,hwmods = "gpmc";
990 dmas = <&edma 52 0>;
991 dma-names = "rxtx";
992 clocks = <&l3s_gclk>;
993 clock-names = "fck";
994 reg = <0x50000000 0x2000>;
995 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
996 gpmc,num-cs = <7>;
997 gpmc,num-waitpins = <2>;
998 #address-cells = <2>;
999 #size-cells = <1>;
1000 interrupt-controller;
1001 #interrupt-cells = <2>;
1002 gpio-controller;
1003 #gpio-cells = <2>;
1004 status = "disabled";
1005 };
1006
1007 ocp2scp0: ocp2scp@483a8000 {
1008 compatible = "ti,am437x-ocp2scp", "ti,omap-ocp2scp";
1009 #address-cells = <1>;
1010 #size-cells = <1>;
1011 ranges;
1012 ti,hwmods = "ocp2scp0";
1013
1014 usb2_phy1: phy@483a8000 {
1015 compatible = "ti,am437x-usb2";
1016 reg = <0x483a8000 0x8000>;
1017 syscon-phy-power = <&scm_conf 0x620>;
1018 clocks = <&usb_phy0_always_on_clk32k>,
1019 <&l4_per_clkctrl AM4_USB_OTG_SS0_CLKCTRL 8>;
1020 clock-names = "wkupclk", "refclk";
1021 #phy-cells = <0>;
1022 status = "disabled";
1023 };
1024 };
1025
1026 ocp2scp1: ocp2scp@483e8000 {
1027 compatible = "ti,am437x-ocp2scp", "ti,omap-ocp2scp";
1028 #address-cells = <1>;
1029 #size-cells = <1>;
1030 ranges;
1031 ti,hwmods = "ocp2scp1";
1032
1033 usb2_phy2: phy@483e8000 {
1034 compatible = "ti,am437x-usb2";
1035 reg = <0x483e8000 0x8000>;
1036 syscon-phy-power = <&scm_conf 0x628>;
1037 clocks = <&usb_phy1_always_on_clk32k>,
1038 <&l4_per_clkctrl AM4_USB_OTG_SS1_CLKCTRL 8>;
1039 clock-names = "wkupclk", "refclk";
1040 #phy-cells = <0>;
1041 status = "disabled";
1042 };
1043 };
1044
1045 dwc3_1: omap_dwc3@48380000 {
1046 compatible = "ti,am437x-dwc3";
1047 ti,hwmods = "usb_otg_ss0";
1048 reg = <0x48380000 0x10000>;
1049 interrupts = <GIC_SPI 172 IRQ_TYPE_LEVEL_HIGH>;
1050 #address-cells = <1>;
1051 #size-cells = <1>;
1052 utmi-mode = <1>;
1053 ranges;
1054
1055 usb1: usb@48390000 {
1056 compatible = "synopsys,dwc3";
1057 reg = <0x48390000 0x10000>;
1058 interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>,
1059 <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>,
1060 <GIC_SPI 172 IRQ_TYPE_LEVEL_HIGH>;
1061 interrupt-names = "peripheral",
1062 "host",
1063 "otg";
1064 phys = <&usb2_phy1>;
1065 phy-names = "usb2-phy";
1066 maximum-speed = "high-speed";
1067 dr_mode = "otg";
1068 status = "disabled";
1069 snps,dis_u3_susphy_quirk;
1070 snps,dis_u2_susphy_quirk;
1071 };
1072 };
1073
1074 dwc3_2: omap_dwc3@483c0000 {
1075 compatible = "ti,am437x-dwc3";
1076 ti,hwmods = "usb_otg_ss1";
1077 reg = <0x483c0000 0x10000>;
1078 interrupts = <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>;
1079 #address-cells = <1>;
1080 #size-cells = <1>;
1081 utmi-mode = <1>;
1082 ranges;
1083
1084 usb2: usb@483d0000 {
1085 compatible = "synopsys,dwc3";
1086 reg = <0x483d0000 0x10000>;
1087 interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>,
1088 <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>,
1089 <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>;
1090 interrupt-names = "peripheral",
1091 "host",
1092 "otg";
1093 phys = <&usb2_phy2>;
1094 phy-names = "usb2-phy";
1095 maximum-speed = "high-speed";
1096 dr_mode = "otg";
1097 status = "disabled";
1098 snps,dis_u3_susphy_quirk;
1099 snps,dis_u2_susphy_quirk;
1100 };
1101 };
1102
1103 qspi: qspi@47900000 {
1104 compatible = "ti,am4372-qspi";
1105 reg = <0x47900000 0x100>,
1106 <0x30000000 0x4000000>;
1107 reg-names = "qspi_base", "qspi_mmap";
1108 #address-cells = <1>;
1109 #size-cells = <0>;
1110 ti,hwmods = "qspi";
1111 interrupts = <0 138 0x4>;
1112 num-cs = <4>;
1113 status = "disabled";
1114 };
1115
1116 hdq: hdq@48347000 {
1117 compatible = "ti,am4372-hdq";
1118 reg = <0x48347000 0x1000>;
1119 interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>;
1120 clocks = <&func_12m_clk>;
1121 clock-names = "fck";
1122 ti,hwmods = "hdq1w";
1123 status = "disabled";
1124 };
1125
1126 dss: dss@4832a000 {
1127 compatible = "ti,omap3-dss";
1128 reg = <0x4832a000 0x200>;
1129 status = "disabled";
1130 ti,hwmods = "dss_core";
1131 clocks = <&disp_clk>;
1132 clock-names = "fck";
1133 #address-cells = <1>;
1134 #size-cells = <1>;
1135 ranges;
1136
1137 dispc: dispc@4832a400 {
1138 compatible = "ti,omap3-dispc";
1139 reg = <0x4832a400 0x400>;
1140 interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
1141 ti,hwmods = "dss_dispc";
1142 clocks = <&disp_clk>;
1143 clock-names = "fck";
1144 };
1145
1146 rfbi: rfbi@4832a800 {
1147 compatible = "ti,omap3-rfbi";
1148 reg = <0x4832a800 0x100>;
1149 ti,hwmods = "dss_rfbi";
1150 clocks = <&disp_clk>;
1151 clock-names = "fck";
1152 status = "disabled";
1153 };
1154 };
1155
1156 ocmcram: ocmcram@40300000 {
1157 compatible = "mmio-sram";
1158 reg = <0x40300000 0x40000>; /* 256k */
1159 ranges = <0x0 0x40300000 0x40000>;
1160 #address-cells = <1>;
1161 #size-cells = <1>;
1162
1163 pm_sram_code: pm-sram-code@0 {
1164 compatible = "ti,sram";
1165 reg = <0x0 0x1000>;
1166 protect-exec;
1167 };
1168
1169 pm_sram_data: pm-sram-data@1000 {
1170 compatible = "ti,sram";
1171 reg = <0x1000 0x1000>;
1172 pool;
1173 };
1174 };
1175
1176 dcan0: can@481cc000 {
1177 compatible = "ti,am4372-d_can", "ti,am3352-d_can";
1178 ti,hwmods = "d_can0";
1179 clocks = <&dcan0_fck>;
1180 clock-names = "fck";
1181 reg = <0x481cc000 0x2000>;
1182 syscon-raminit = <&scm_conf 0x644 0>;
1183 interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
1184 status = "disabled";
1185 };
1186
1187 dcan1: can@481d0000 {
1188 compatible = "ti,am4372-d_can", "ti,am3352-d_can";
1189 ti,hwmods = "d_can1";
1190 clocks = <&dcan1_fck>;
1191 clock-names = "fck";
1192 reg = <0x481d0000 0x2000>;
1193 syscon-raminit = <&scm_conf 0x644 1>;
1194 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
1195 status = "disabled";
1196 };
1197
1198 vpfe0: vpfe@48326000 {
1199 compatible = "ti,am437x-vpfe";
1200 reg = <0x48326000 0x2000>;
1201 interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
1202 ti,hwmods = "vpfe0";
1203 status = "disabled";
1204 };
1205
1206 vpfe1: vpfe@48328000 {
1207 compatible = "ti,am437x-vpfe";
1208 reg = <0x48328000 0x2000>;
1209 interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
1210 ti,hwmods = "vpfe1";
1211 status = "disabled";
1212 };
1213 };
1214};
1215
1216#include "am43xx-clocks.dtsi"
1/*
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
11#include <dt-bindings/gpio/gpio.h>
12#include <dt-bindings/interrupt-controller/arm-gic.h>
13
14/ {
15 compatible = "ti,am4372", "ti,am43";
16 interrupt-parent = <&wakeupgen>;
17 #address-cells = <1>;
18 #size-cells = <1>;
19 chosen { };
20
21 memory@0 {
22 device_type = "memory";
23 reg = <0 0>;
24 };
25
26 aliases {
27 i2c0 = &i2c0;
28 i2c1 = &i2c1;
29 i2c2 = &i2c2;
30 serial0 = &uart0;
31 serial1 = &uart1;
32 serial2 = &uart2;
33 serial3 = &uart3;
34 serial4 = &uart4;
35 serial5 = &uart5;
36 ethernet0 = &cpsw_emac0;
37 ethernet1 = &cpsw_emac1;
38 spi0 = &qspi;
39 };
40
41 cpus {
42 #address-cells = <1>;
43 #size-cells = <0>;
44 cpu: cpu@0 {
45 compatible = "arm,cortex-a9";
46 device_type = "cpu";
47 reg = <0>;
48
49 clocks = <&dpll_mpu_ck>;
50 clock-names = "cpu";
51
52 operating-points-v2 = <&cpu0_opp_table>;
53 ti,syscon-efuse = <&scm_conf 0x610 0x3f 0>;
54 ti,syscon-rev = <&scm_conf 0x600>;
55
56 clock-latency = <300000>; /* From omap-cpufreq driver */
57 };
58 };
59
60 cpu0_opp_table: opp_table0 {
61 compatible = "operating-points-v2";
62
63 opp50@300000000 {
64 opp-hz = /bits/ 64 <300000000>;
65 opp-microvolt = <950000 931000 969000>;
66 opp-supported-hw = <0xFF 0x01>;
67 opp-suspend;
68 };
69
70 opp100@600000000 {
71 opp-hz = /bits/ 64 <600000000>;
72 opp-microvolt = <1100000 1078000 1122000>;
73 opp-supported-hw = <0xFF 0x04>;
74 };
75
76 opp120@720000000 {
77 opp-hz = /bits/ 64 <720000000>;
78 opp-microvolt = <1200000 1176000 1224000>;
79 opp-supported-hw = <0xFF 0x08>;
80 };
81
82 oppturbo@800000000 {
83 opp-hz = /bits/ 64 <800000000>;
84 opp-microvolt = <1260000 1234800 1285200>;
85 opp-supported-hw = <0xFF 0x10>;
86 };
87
88 oppnitro@1000000000 {
89 opp-hz = /bits/ 64 <1000000000>;
90 opp-microvolt = <1325000 1298500 1351500>;
91 opp-supported-hw = <0xFF 0x20>;
92 };
93 };
94
95 gic: interrupt-controller@48241000 {
96 compatible = "arm,cortex-a9-gic";
97 interrupt-controller;
98 #interrupt-cells = <3>;
99 reg = <0x48241000 0x1000>,
100 <0x48240100 0x0100>;
101 interrupt-parent = <&gic>;
102 };
103
104 wakeupgen: interrupt-controller@48281000 {
105 compatible = "ti,omap4-wugen-mpu";
106 interrupt-controller;
107 #interrupt-cells = <3>;
108 reg = <0x48281000 0x1000>;
109 interrupt-parent = <&gic>;
110 };
111
112 scu: scu@48240000 {
113 compatible = "arm,cortex-a9-scu";
114 reg = <0x48240000 0x100>;
115 };
116
117 global_timer: timer@48240200 {
118 compatible = "arm,cortex-a9-global-timer";
119 reg = <0x48240200 0x100>;
120 interrupts = <GIC_PPI 11 IRQ_TYPE_EDGE_RISING>;
121 interrupt-parent = <&gic>;
122 clocks = <&mpu_periphclk>;
123 };
124
125 local_timer: timer@48240600 {
126 compatible = "arm,cortex-a9-twd-timer";
127 reg = <0x48240600 0x100>;
128 interrupts = <GIC_PPI 13 IRQ_TYPE_EDGE_RISING>;
129 interrupt-parent = <&gic>;
130 clocks = <&mpu_periphclk>;
131 };
132
133 l2-cache-controller@48242000 {
134 compatible = "arm,pl310-cache";
135 reg = <0x48242000 0x1000>;
136 cache-unified;
137 cache-level = <2>;
138 };
139
140 ocp@44000000 {
141 compatible = "ti,am4372-l3-noc", "simple-bus";
142 #address-cells = <1>;
143 #size-cells = <1>;
144 ranges;
145 ti,hwmods = "l3_main";
146 reg = <0x44000000 0x400000
147 0x44800000 0x400000>;
148 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
149 <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
150
151 l4_wkup: l4_wkup@44c00000 {
152 compatible = "ti,am4-l4-wkup", "simple-bus";
153 #address-cells = <1>;
154 #size-cells = <1>;
155 ranges = <0 0x44c00000 0x287000>;
156
157 wkup_m3: wkup_m3@100000 {
158 compatible = "ti,am4372-wkup-m3";
159 reg = <0x100000 0x4000>,
160 <0x180000 0x2000>;
161 reg-names = "umem", "dmem";
162 ti,hwmods = "wkup_m3";
163 ti,pm-firmware = "am335x-pm-firmware.elf";
164 };
165
166 prcm: prcm@1f0000 {
167 compatible = "ti,am4-prcm";
168 reg = <0x1f0000 0x11000>;
169 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
170
171 prcm_clocks: clocks {
172 #address-cells = <1>;
173 #size-cells = <0>;
174 };
175
176 prcm_clockdomains: clockdomains {
177 };
178 };
179
180 scm: scm@210000 {
181 compatible = "ti,am4-scm", "simple-bus";
182 reg = <0x210000 0x4000>;
183 #address-cells = <1>;
184 #size-cells = <1>;
185 ranges = <0 0x210000 0x4000>;
186
187 am43xx_pinmux: pinmux@800 {
188 compatible = "ti,am437-padconf",
189 "pinctrl-single";
190 reg = <0x800 0x31c>;
191 #address-cells = <1>;
192 #size-cells = <0>;
193 #pinctrl-cells = <1>;
194 #interrupt-cells = <1>;
195 interrupt-controller;
196 pinctrl-single,register-width = <32>;
197 pinctrl-single,function-mask = <0xffffffff>;
198 };
199
200 scm_conf: scm_conf@0 {
201 compatible = "syscon";
202 reg = <0x0 0x800>;
203 #address-cells = <1>;
204 #size-cells = <1>;
205
206 scm_clocks: clocks {
207 #address-cells = <1>;
208 #size-cells = <0>;
209 };
210 };
211
212 wkup_m3_ipc: wkup_m3_ipc@1324 {
213 compatible = "ti,am4372-wkup-m3-ipc";
214 reg = <0x1324 0x44>;
215 interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
216 ti,rproc = <&wkup_m3>;
217 mboxes = <&mailbox &mbox_wkupm3>;
218 };
219
220 edma_xbar: dma-router@f90 {
221 compatible = "ti,am335x-edma-crossbar";
222 reg = <0xf90 0x40>;
223 #dma-cells = <3>;
224 dma-requests = <64>;
225 dma-masters = <&edma>;
226 };
227
228 scm_clockdomains: clockdomains {
229 };
230 };
231 };
232
233 emif: emif@4c000000 {
234 compatible = "ti,emif-am4372";
235 reg = <0x4c000000 0x1000000>;
236 ti,hwmods = "emif";
237 };
238
239 edma: edma@49000000 {
240 compatible = "ti,edma3-tpcc";
241 ti,hwmods = "tpcc";
242 reg = <0x49000000 0x10000>;
243 reg-names = "edma3_cc";
244 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
245 <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
246 <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
247 interrupt-names = "edma3_ccint", "edma3_mperr",
248 "edma3_ccerrint";
249 dma-requests = <64>;
250 #dma-cells = <2>;
251
252 ti,tptcs = <&edma_tptc0 7>, <&edma_tptc1 5>,
253 <&edma_tptc2 0>;
254
255 ti,edma-memcpy-channels = <58 59>;
256 };
257
258 edma_tptc0: tptc@49800000 {
259 compatible = "ti,edma3-tptc";
260 ti,hwmods = "tptc0";
261 reg = <0x49800000 0x100000>;
262 interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
263 interrupt-names = "edma3_tcerrint";
264 };
265
266 edma_tptc1: tptc@49900000 {
267 compatible = "ti,edma3-tptc";
268 ti,hwmods = "tptc1";
269 reg = <0x49900000 0x100000>;
270 interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
271 interrupt-names = "edma3_tcerrint";
272 };
273
274 edma_tptc2: tptc@49a00000 {
275 compatible = "ti,edma3-tptc";
276 ti,hwmods = "tptc2";
277 reg = <0x49a00000 0x100000>;
278 interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
279 interrupt-names = "edma3_tcerrint";
280 };
281
282 uart0: serial@44e09000 {
283 compatible = "ti,am4372-uart","ti,omap2-uart";
284 reg = <0x44e09000 0x2000>;
285 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
286 ti,hwmods = "uart1";
287 };
288
289 uart1: serial@48022000 {
290 compatible = "ti,am4372-uart","ti,omap2-uart";
291 reg = <0x48022000 0x2000>;
292 interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
293 ti,hwmods = "uart2";
294 status = "disabled";
295 };
296
297 uart2: serial@48024000 {
298 compatible = "ti,am4372-uart","ti,omap2-uart";
299 reg = <0x48024000 0x2000>;
300 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
301 ti,hwmods = "uart3";
302 status = "disabled";
303 };
304
305 uart3: serial@481a6000 {
306 compatible = "ti,am4372-uart","ti,omap2-uart";
307 reg = <0x481a6000 0x2000>;
308 interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
309 ti,hwmods = "uart4";
310 status = "disabled";
311 };
312
313 uart4: serial@481a8000 {
314 compatible = "ti,am4372-uart","ti,omap2-uart";
315 reg = <0x481a8000 0x2000>;
316 interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
317 ti,hwmods = "uart5";
318 status = "disabled";
319 };
320
321 uart5: serial@481aa000 {
322 compatible = "ti,am4372-uart","ti,omap2-uart";
323 reg = <0x481aa000 0x2000>;
324 interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
325 ti,hwmods = "uart6";
326 status = "disabled";
327 };
328
329 mailbox: mailbox@480C8000 {
330 compatible = "ti,omap4-mailbox";
331 reg = <0x480C8000 0x200>;
332 interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
333 ti,hwmods = "mailbox";
334 #mbox-cells = <1>;
335 ti,mbox-num-users = <4>;
336 ti,mbox-num-fifos = <8>;
337 mbox_wkupm3: wkup_m3 {
338 ti,mbox-send-noirq;
339 ti,mbox-tx = <0 0 0>;
340 ti,mbox-rx = <0 0 3>;
341 };
342 };
343
344 timer1: timer@44e31000 {
345 compatible = "ti,am4372-timer-1ms","ti,am335x-timer-1ms";
346 reg = <0x44e31000 0x400>;
347 interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
348 ti,timer-alwon;
349 ti,hwmods = "timer1";
350 };
351
352 timer2: timer@48040000 {
353 compatible = "ti,am4372-timer","ti,am335x-timer";
354 reg = <0x48040000 0x400>;
355 interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
356 ti,hwmods = "timer2";
357 };
358
359 timer3: timer@48042000 {
360 compatible = "ti,am4372-timer","ti,am335x-timer";
361 reg = <0x48042000 0x400>;
362 interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
363 ti,hwmods = "timer3";
364 status = "disabled";
365 };
366
367 timer4: timer@48044000 {
368 compatible = "ti,am4372-timer","ti,am335x-timer";
369 reg = <0x48044000 0x400>;
370 interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
371 ti,timer-pwm;
372 ti,hwmods = "timer4";
373 status = "disabled";
374 };
375
376 timer5: timer@48046000 {
377 compatible = "ti,am4372-timer","ti,am335x-timer";
378 reg = <0x48046000 0x400>;
379 interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
380 ti,timer-pwm;
381 ti,hwmods = "timer5";
382 status = "disabled";
383 };
384
385 timer6: timer@48048000 {
386 compatible = "ti,am4372-timer","ti,am335x-timer";
387 reg = <0x48048000 0x400>;
388 interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
389 ti,timer-pwm;
390 ti,hwmods = "timer6";
391 status = "disabled";
392 };
393
394 timer7: timer@4804a000 {
395 compatible = "ti,am4372-timer","ti,am335x-timer";
396 reg = <0x4804a000 0x400>;
397 interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
398 ti,timer-pwm;
399 ti,hwmods = "timer7";
400 status = "disabled";
401 };
402
403 timer8: timer@481c1000 {
404 compatible = "ti,am4372-timer","ti,am335x-timer";
405 reg = <0x481c1000 0x400>;
406 interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>;
407 ti,hwmods = "timer8";
408 status = "disabled";
409 };
410
411 timer9: timer@4833d000 {
412 compatible = "ti,am4372-timer","ti,am335x-timer";
413 reg = <0x4833d000 0x400>;
414 interrupts = <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>;
415 ti,hwmods = "timer9";
416 status = "disabled";
417 };
418
419 timer10: timer@4833f000 {
420 compatible = "ti,am4372-timer","ti,am335x-timer";
421 reg = <0x4833f000 0x400>;
422 interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
423 ti,hwmods = "timer10";
424 status = "disabled";
425 };
426
427 timer11: timer@48341000 {
428 compatible = "ti,am4372-timer","ti,am335x-timer";
429 reg = <0x48341000 0x400>;
430 interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>;
431 ti,hwmods = "timer11";
432 status = "disabled";
433 };
434
435 counter32k: counter@44e86000 {
436 compatible = "ti,am4372-counter32k","ti,omap-counter32k";
437 reg = <0x44e86000 0x40>;
438 ti,hwmods = "counter_32k";
439 };
440
441 rtc: rtc@44e3e000 {
442 compatible = "ti,am4372-rtc", "ti,am3352-rtc",
443 "ti,da830-rtc";
444 reg = <0x44e3e000 0x1000>;
445 interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH
446 GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
447 ti,hwmods = "rtc";
448 clocks = <&clk_32768_ck>;
449 clock-names = "int-clk";
450 status = "disabled";
451 };
452
453 wdt: wdt@44e35000 {
454 compatible = "ti,am4372-wdt","ti,omap3-wdt";
455 reg = <0x44e35000 0x1000>;
456 interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
457 ti,hwmods = "wd_timer2";
458 };
459
460 gpio0: gpio@44e07000 {
461 compatible = "ti,am4372-gpio","ti,omap4-gpio";
462 reg = <0x44e07000 0x1000>;
463 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
464 gpio-controller;
465 #gpio-cells = <2>;
466 interrupt-controller;
467 #interrupt-cells = <2>;
468 ti,hwmods = "gpio1";
469 status = "disabled";
470 };
471
472 gpio1: gpio@4804c000 {
473 compatible = "ti,am4372-gpio","ti,omap4-gpio";
474 reg = <0x4804c000 0x1000>;
475 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
476 gpio-controller;
477 #gpio-cells = <2>;
478 interrupt-controller;
479 #interrupt-cells = <2>;
480 ti,hwmods = "gpio2";
481 status = "disabled";
482 };
483
484 gpio2: gpio@481ac000 {
485 compatible = "ti,am4372-gpio","ti,omap4-gpio";
486 reg = <0x481ac000 0x1000>;
487 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
488 gpio-controller;
489 #gpio-cells = <2>;
490 interrupt-controller;
491 #interrupt-cells = <2>;
492 ti,hwmods = "gpio3";
493 status = "disabled";
494 };
495
496 gpio3: gpio@481ae000 {
497 compatible = "ti,am4372-gpio","ti,omap4-gpio";
498 reg = <0x481ae000 0x1000>;
499 interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
500 gpio-controller;
501 #gpio-cells = <2>;
502 interrupt-controller;
503 #interrupt-cells = <2>;
504 ti,hwmods = "gpio4";
505 status = "disabled";
506 };
507
508 gpio4: gpio@48320000 {
509 compatible = "ti,am4372-gpio","ti,omap4-gpio";
510 reg = <0x48320000 0x1000>;
511 interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
512 gpio-controller;
513 #gpio-cells = <2>;
514 interrupt-controller;
515 #interrupt-cells = <2>;
516 ti,hwmods = "gpio5";
517 status = "disabled";
518 };
519
520 gpio5: gpio@48322000 {
521 compatible = "ti,am4372-gpio","ti,omap4-gpio";
522 reg = <0x48322000 0x1000>;
523 interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
524 gpio-controller;
525 #gpio-cells = <2>;
526 interrupt-controller;
527 #interrupt-cells = <2>;
528 ti,hwmods = "gpio6";
529 status = "disabled";
530 };
531
532 hwspinlock: spinlock@480ca000 {
533 compatible = "ti,omap4-hwspinlock";
534 reg = <0x480ca000 0x1000>;
535 ti,hwmods = "spinlock";
536 #hwlock-cells = <1>;
537 };
538
539 i2c0: i2c@44e0b000 {
540 compatible = "ti,am4372-i2c","ti,omap4-i2c";
541 reg = <0x44e0b000 0x1000>;
542 interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
543 ti,hwmods = "i2c1";
544 #address-cells = <1>;
545 #size-cells = <0>;
546 status = "disabled";
547 };
548
549 i2c1: i2c@4802a000 {
550 compatible = "ti,am4372-i2c","ti,omap4-i2c";
551 reg = <0x4802a000 0x1000>;
552 interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
553 ti,hwmods = "i2c2";
554 #address-cells = <1>;
555 #size-cells = <0>;
556 status = "disabled";
557 };
558
559 i2c2: i2c@4819c000 {
560 compatible = "ti,am4372-i2c","ti,omap4-i2c";
561 reg = <0x4819c000 0x1000>;
562 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
563 ti,hwmods = "i2c3";
564 #address-cells = <1>;
565 #size-cells = <0>;
566 status = "disabled";
567 };
568
569 spi0: spi@48030000 {
570 compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
571 reg = <0x48030000 0x400>;
572 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
573 ti,hwmods = "spi0";
574 #address-cells = <1>;
575 #size-cells = <0>;
576 status = "disabled";
577 };
578
579 mmc1: mmc@48060000 {
580 compatible = "ti,omap4-hsmmc";
581 reg = <0x48060000 0x1000>;
582 ti,hwmods = "mmc1";
583 ti,dual-volt;
584 ti,needs-special-reset;
585 dmas = <&edma 24 0>,
586 <&edma 25 0>;
587 dma-names = "tx", "rx";
588 interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
589 status = "disabled";
590 };
591
592 mmc2: mmc@481d8000 {
593 compatible = "ti,omap4-hsmmc";
594 reg = <0x481d8000 0x1000>;
595 ti,hwmods = "mmc2";
596 ti,needs-special-reset;
597 dmas = <&edma 2 0>,
598 <&edma 3 0>;
599 dma-names = "tx", "rx";
600 interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
601 status = "disabled";
602 };
603
604 mmc3: mmc@47810000 {
605 compatible = "ti,omap4-hsmmc";
606 reg = <0x47810000 0x1000>;
607 ti,hwmods = "mmc3";
608 ti,needs-special-reset;
609 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
610 status = "disabled";
611 };
612
613 spi1: spi@481a0000 {
614 compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
615 reg = <0x481a0000 0x400>;
616 interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>;
617 ti,hwmods = "spi1";
618 #address-cells = <1>;
619 #size-cells = <0>;
620 status = "disabled";
621 };
622
623 spi2: spi@481a2000 {
624 compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
625 reg = <0x481a2000 0x400>;
626 interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>;
627 ti,hwmods = "spi2";
628 #address-cells = <1>;
629 #size-cells = <0>;
630 status = "disabled";
631 };
632
633 spi3: spi@481a4000 {
634 compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
635 reg = <0x481a4000 0x400>;
636 interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>;
637 ti,hwmods = "spi3";
638 #address-cells = <1>;
639 #size-cells = <0>;
640 status = "disabled";
641 };
642
643 spi4: spi@48345000 {
644 compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
645 reg = <0x48345000 0x400>;
646 interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>;
647 ti,hwmods = "spi4";
648 #address-cells = <1>;
649 #size-cells = <0>;
650 status = "disabled";
651 };
652
653 mac: ethernet@4a100000 {
654 compatible = "ti,am4372-cpsw","ti,cpsw";
655 reg = <0x4a100000 0x800
656 0x4a101200 0x100>;
657 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH
658 GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH
659 GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH
660 GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
661 #address-cells = <1>;
662 #size-cells = <1>;
663 ti,hwmods = "cpgmac0";
664 clocks = <&cpsw_125mhz_gclk>, <&cpsw_cpts_rft_clk>,
665 <&dpll_clksel_mac_clk>;
666 clock-names = "fck", "cpts", "50mclk";
667 assigned-clocks = <&dpll_clksel_mac_clk>;
668 assigned-clock-rates = <50000000>;
669 status = "disabled";
670 cpdma_channels = <8>;
671 ale_entries = <1024>;
672 bd_ram_size = <0x2000>;
673 no_bd_ram = <0>;
674 mac_control = <0x20>;
675 slaves = <2>;
676 active_slave = <0>;
677 cpts_clock_mult = <0x80000000>;
678 cpts_clock_shift = <29>;
679 ranges;
680 syscon = <&scm_conf>;
681
682 davinci_mdio: mdio@4a101000 {
683 compatible = "ti,am4372-mdio","ti,cpsw-mdio","ti,davinci_mdio";
684 reg = <0x4a101000 0x100>;
685 #address-cells = <1>;
686 #size-cells = <0>;
687 ti,hwmods = "davinci_mdio";
688 bus_freq = <1000000>;
689 status = "disabled";
690 };
691
692 cpsw_emac0: slave@4a100200 {
693 /* Filled in by U-Boot */
694 mac-address = [ 00 00 00 00 00 00 ];
695 };
696
697 cpsw_emac1: slave@4a100300 {
698 /* Filled in by U-Boot */
699 mac-address = [ 00 00 00 00 00 00 ];
700 };
701
702 phy_sel: cpsw-phy-sel@44e10650 {
703 compatible = "ti,am43xx-cpsw-phy-sel";
704 reg= <0x44e10650 0x4>;
705 reg-names = "gmii-sel";
706 };
707 };
708
709 epwmss0: epwmss@48300000 {
710 compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
711 reg = <0x48300000 0x10>;
712 #address-cells = <1>;
713 #size-cells = <1>;
714 ranges;
715 ti,hwmods = "epwmss0";
716 status = "disabled";
717
718 ecap0: ecap@48300100 {
719 compatible = "ti,am4372-ecap",
720 "ti,am3352-ecap",
721 "ti,am33xx-ecap";
722 #pwm-cells = <3>;
723 reg = <0x48300100 0x80>;
724 clocks = <&l4ls_gclk>;
725 clock-names = "fck";
726 status = "disabled";
727 };
728
729 ehrpwm0: pwm@48300200 {
730 compatible = "ti,am4372-ehrpwm",
731 "ti,am3352-ehrpwm",
732 "ti,am33xx-ehrpwm";
733 #pwm-cells = <3>;
734 reg = <0x48300200 0x80>;
735 clocks = <&ehrpwm0_tbclk>, <&l4ls_gclk>;
736 clock-names = "tbclk", "fck";
737 status = "disabled";
738 };
739 };
740
741 epwmss1: epwmss@48302000 {
742 compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
743 reg = <0x48302000 0x10>;
744 #address-cells = <1>;
745 #size-cells = <1>;
746 ranges;
747 ti,hwmods = "epwmss1";
748 status = "disabled";
749
750 ecap1: ecap@48302100 {
751 compatible = "ti,am4372-ecap",
752 "ti,am3352-ecap",
753 "ti,am33xx-ecap";
754 #pwm-cells = <3>;
755 reg = <0x48302100 0x80>;
756 clocks = <&l4ls_gclk>;
757 clock-names = "fck";
758 status = "disabled";
759 };
760
761 ehrpwm1: pwm@48302200 {
762 compatible = "ti,am4372-ehrpwm",
763 "ti,am3352-ehrpwm",
764 "ti,am33xx-ehrpwm";
765 #pwm-cells = <3>;
766 reg = <0x48302200 0x80>;
767 clocks = <&ehrpwm1_tbclk>, <&l4ls_gclk>;
768 clock-names = "tbclk", "fck";
769 status = "disabled";
770 };
771 };
772
773 epwmss2: epwmss@48304000 {
774 compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
775 reg = <0x48304000 0x10>;
776 #address-cells = <1>;
777 #size-cells = <1>;
778 ranges;
779 ti,hwmods = "epwmss2";
780 status = "disabled";
781
782 ecap2: ecap@48304100 {
783 compatible = "ti,am4372-ecap",
784 "ti,am3352-ecap",
785 "ti,am33xx-ecap";
786 #pwm-cells = <3>;
787 reg = <0x48304100 0x80>;
788 clocks = <&l4ls_gclk>;
789 clock-names = "fck";
790 status = "disabled";
791 };
792
793 ehrpwm2: pwm@48304200 {
794 compatible = "ti,am4372-ehrpwm",
795 "ti,am3352-ehrpwm",
796 "ti,am33xx-ehrpwm";
797 #pwm-cells = <3>;
798 reg = <0x48304200 0x80>;
799 clocks = <&ehrpwm2_tbclk>, <&l4ls_gclk>;
800 clock-names = "tbclk", "fck";
801 status = "disabled";
802 };
803 };
804
805 epwmss3: epwmss@48306000 {
806 compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
807 reg = <0x48306000 0x10>;
808 #address-cells = <1>;
809 #size-cells = <1>;
810 ranges;
811 ti,hwmods = "epwmss3";
812 status = "disabled";
813
814 ehrpwm3: pwm@48306200 {
815 compatible = "ti,am4372-ehrpwm",
816 "ti,am3352-ehrpwm",
817 "ti,am33xx-ehrpwm";
818 #pwm-cells = <3>;
819 reg = <0x48306200 0x80>;
820 clocks = <&ehrpwm3_tbclk>, <&l4ls_gclk>;
821 clock-names = "tbclk", "fck";
822 status = "disabled";
823 };
824 };
825
826 epwmss4: epwmss@48308000 {
827 compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
828 reg = <0x48308000 0x10>;
829 #address-cells = <1>;
830 #size-cells = <1>;
831 ranges;
832 ti,hwmods = "epwmss4";
833 status = "disabled";
834
835 ehrpwm4: pwm@48308200 {
836 compatible = "ti,am4372-ehrpwm",
837 "ti,am3352-ehrpwm",
838 "ti,am33xx-ehrpwm";
839 #pwm-cells = <3>;
840 reg = <0x48308200 0x80>;
841 clocks = <&ehrpwm4_tbclk>, <&l4ls_gclk>;
842 clock-names = "tbclk", "fck";
843 status = "disabled";
844 };
845 };
846
847 epwmss5: epwmss@4830a000 {
848 compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
849 reg = <0x4830a000 0x10>;
850 #address-cells = <1>;
851 #size-cells = <1>;
852 ranges;
853 ti,hwmods = "epwmss5";
854 status = "disabled";
855
856 ehrpwm5: pwm@4830a200 {
857 compatible = "ti,am4372-ehrpwm",
858 "ti,am3352-ehrpwm",
859 "ti,am33xx-ehrpwm";
860 #pwm-cells = <3>;
861 reg = <0x4830a200 0x80>;
862 clocks = <&ehrpwm5_tbclk>, <&l4ls_gclk>;
863 clock-names = "tbclk", "fck";
864 status = "disabled";
865 };
866 };
867
868 tscadc: tscadc@44e0d000 {
869 compatible = "ti,am3359-tscadc";
870 reg = <0x44e0d000 0x1000>;
871 ti,hwmods = "adc_tsc";
872 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
873 clocks = <&adc_tsc_fck>;
874 clock-names = "fck";
875 status = "disabled";
876 dmas = <&edma 53 0>, <&edma 57 0>;
877 dma-names = "fifo0", "fifo1";
878
879 tsc {
880 compatible = "ti,am3359-tsc";
881 };
882
883 adc {
884 #io-channel-cells = <1>;
885 compatible = "ti,am3359-adc";
886 };
887
888 };
889
890 sham: sham@53100000 {
891 compatible = "ti,omap5-sham";
892 ti,hwmods = "sham";
893 reg = <0x53100000 0x300>;
894 dmas = <&edma 36 0>;
895 dma-names = "rx";
896 interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
897 };
898
899 aes: aes@53501000 {
900 compatible = "ti,omap4-aes";
901 ti,hwmods = "aes";
902 reg = <0x53501000 0xa0>;
903 interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
904 dmas = <&edma 6 0>,
905 <&edma 5 0>;
906 dma-names = "tx", "rx";
907 };
908
909 des: des@53701000 {
910 compatible = "ti,omap4-des";
911 ti,hwmods = "des";
912 reg = <0x53701000 0xa0>;
913 interrupts = <GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>;
914 dmas = <&edma 34 0>,
915 <&edma 33 0>;
916 dma-names = "tx", "rx";
917 };
918
919 rng: rng@48310000 {
920 compatible = "ti,omap4-rng";
921 ti,hwmods = "rng";
922 reg = <0x48310000 0x2000>;
923 interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
924 };
925
926 mcasp0: mcasp@48038000 {
927 compatible = "ti,am33xx-mcasp-audio";
928 ti,hwmods = "mcasp0";
929 reg = <0x48038000 0x2000>,
930 <0x46000000 0x400000>;
931 reg-names = "mpu", "dat";
932 interrupts = <80>, <81>;
933 interrupt-names = "tx", "rx";
934 status = "disabled";
935 dmas = <&edma 8 2>,
936 <&edma 9 2>;
937 dma-names = "tx", "rx";
938 };
939
940 mcasp1: mcasp@4803C000 {
941 compatible = "ti,am33xx-mcasp-audio";
942 ti,hwmods = "mcasp1";
943 reg = <0x4803C000 0x2000>,
944 <0x46400000 0x400000>;
945 reg-names = "mpu", "dat";
946 interrupts = <82>, <83>;
947 interrupt-names = "tx", "rx";
948 status = "disabled";
949 dmas = <&edma 10 2>,
950 <&edma 11 2>;
951 dma-names = "tx", "rx";
952 };
953
954 elm: elm@48080000 {
955 compatible = "ti,am3352-elm";
956 reg = <0x48080000 0x2000>;
957 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
958 ti,hwmods = "elm";
959 clocks = <&l4ls_gclk>;
960 clock-names = "fck";
961 status = "disabled";
962 };
963
964 gpmc: gpmc@50000000 {
965 compatible = "ti,am3352-gpmc";
966 ti,hwmods = "gpmc";
967 dmas = <&edma 52 0>;
968 dma-names = "rxtx";
969 clocks = <&l3s_gclk>;
970 clock-names = "fck";
971 reg = <0x50000000 0x2000>;
972 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
973 gpmc,num-cs = <7>;
974 gpmc,num-waitpins = <2>;
975 #address-cells = <2>;
976 #size-cells = <1>;
977 interrupt-controller;
978 #interrupt-cells = <2>;
979 gpio-controller;
980 #gpio-cells = <2>;
981 status = "disabled";
982 };
983
984 ocp2scp0: ocp2scp@483a8000 {
985 compatible = "ti,am437x-ocp2scp", "ti,omap-ocp2scp";
986 #address-cells = <1>;
987 #size-cells = <1>;
988 ranges;
989 ti,hwmods = "ocp2scp0";
990
991 usb2_phy1: phy@483a8000 {
992 compatible = "ti,am437x-usb2";
993 reg = <0x483a8000 0x8000>;
994 syscon-phy-power = <&scm_conf 0x620>;
995 clocks = <&usb_phy0_always_on_clk32k>,
996 <&usb_otg_ss0_refclk960m>;
997 clock-names = "wkupclk", "refclk";
998 #phy-cells = <0>;
999 status = "disabled";
1000 };
1001 };
1002
1003 ocp2scp1: ocp2scp@483e8000 {
1004 compatible = "ti,am437x-ocp2scp", "ti,omap-ocp2scp";
1005 #address-cells = <1>;
1006 #size-cells = <1>;
1007 ranges;
1008 ti,hwmods = "ocp2scp1";
1009
1010 usb2_phy2: phy@483e8000 {
1011 compatible = "ti,am437x-usb2";
1012 reg = <0x483e8000 0x8000>;
1013 syscon-phy-power = <&scm_conf 0x628>;
1014 clocks = <&usb_phy1_always_on_clk32k>,
1015 <&usb_otg_ss1_refclk960m>;
1016 clock-names = "wkupclk", "refclk";
1017 #phy-cells = <0>;
1018 status = "disabled";
1019 };
1020 };
1021
1022 dwc3_1: omap_dwc3@48380000 {
1023 compatible = "ti,am437x-dwc3";
1024 ti,hwmods = "usb_otg_ss0";
1025 reg = <0x48380000 0x10000>;
1026 interrupts = <GIC_SPI 172 IRQ_TYPE_LEVEL_HIGH>;
1027 #address-cells = <1>;
1028 #size-cells = <1>;
1029 utmi-mode = <1>;
1030 ranges;
1031
1032 usb1: usb@48390000 {
1033 compatible = "synopsys,dwc3";
1034 reg = <0x48390000 0x10000>;
1035 interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>,
1036 <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>,
1037 <GIC_SPI 172 IRQ_TYPE_LEVEL_HIGH>;
1038 interrupt-names = "peripheral",
1039 "host",
1040 "otg";
1041 phys = <&usb2_phy1>;
1042 phy-names = "usb2-phy";
1043 maximum-speed = "high-speed";
1044 dr_mode = "otg";
1045 status = "disabled";
1046 snps,dis_u3_susphy_quirk;
1047 snps,dis_u2_susphy_quirk;
1048 };
1049 };
1050
1051 dwc3_2: omap_dwc3@483c0000 {
1052 compatible = "ti,am437x-dwc3";
1053 ti,hwmods = "usb_otg_ss1";
1054 reg = <0x483c0000 0x10000>;
1055 interrupts = <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>;
1056 #address-cells = <1>;
1057 #size-cells = <1>;
1058 utmi-mode = <1>;
1059 ranges;
1060
1061 usb2: usb@483d0000 {
1062 compatible = "synopsys,dwc3";
1063 reg = <0x483d0000 0x10000>;
1064 interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>,
1065 <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>,
1066 <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>;
1067 interrupt-names = "peripheral",
1068 "host",
1069 "otg";
1070 phys = <&usb2_phy2>;
1071 phy-names = "usb2-phy";
1072 maximum-speed = "high-speed";
1073 dr_mode = "otg";
1074 status = "disabled";
1075 snps,dis_u3_susphy_quirk;
1076 snps,dis_u2_susphy_quirk;
1077 };
1078 };
1079
1080 qspi: qspi@47900000 {
1081 compatible = "ti,am4372-qspi";
1082 reg = <0x47900000 0x100>,
1083 <0x30000000 0x4000000>;
1084 reg-names = "qspi_base", "qspi_mmap";
1085 #address-cells = <1>;
1086 #size-cells = <0>;
1087 ti,hwmods = "qspi";
1088 interrupts = <0 138 0x4>;
1089 num-cs = <4>;
1090 status = "disabled";
1091 };
1092
1093 hdq: hdq@48347000 {
1094 compatible = "ti,am4372-hdq";
1095 reg = <0x48347000 0x1000>;
1096 interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>;
1097 clocks = <&func_12m_clk>;
1098 clock-names = "fck";
1099 ti,hwmods = "hdq1w";
1100 status = "disabled";
1101 };
1102
1103 dss: dss@4832a000 {
1104 compatible = "ti,omap3-dss";
1105 reg = <0x4832a000 0x200>;
1106 status = "disabled";
1107 ti,hwmods = "dss_core";
1108 clocks = <&disp_clk>;
1109 clock-names = "fck";
1110 #address-cells = <1>;
1111 #size-cells = <1>;
1112 ranges;
1113
1114 dispc: dispc@4832a400 {
1115 compatible = "ti,omap3-dispc";
1116 reg = <0x4832a400 0x400>;
1117 interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
1118 ti,hwmods = "dss_dispc";
1119 clocks = <&disp_clk>;
1120 clock-names = "fck";
1121 };
1122
1123 rfbi: rfbi@4832a800 {
1124 compatible = "ti,omap3-rfbi";
1125 reg = <0x4832a800 0x100>;
1126 ti,hwmods = "dss_rfbi";
1127 clocks = <&disp_clk>;
1128 clock-names = "fck";
1129 status = "disabled";
1130 };
1131 };
1132
1133 ocmcram: ocmcram@40300000 {
1134 compatible = "mmio-sram";
1135 reg = <0x40300000 0x40000>; /* 256k */
1136 };
1137
1138 dcan0: can@481cc000 {
1139 compatible = "ti,am4372-d_can", "ti,am3352-d_can";
1140 ti,hwmods = "d_can0";
1141 clocks = <&dcan0_fck>;
1142 clock-names = "fck";
1143 reg = <0x481cc000 0x2000>;
1144 syscon-raminit = <&scm_conf 0x644 0>;
1145 interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
1146 status = "disabled";
1147 };
1148
1149 dcan1: can@481d0000 {
1150 compatible = "ti,am4372-d_can", "ti,am3352-d_can";
1151 ti,hwmods = "d_can1";
1152 clocks = <&dcan1_fck>;
1153 clock-names = "fck";
1154 reg = <0x481d0000 0x2000>;
1155 syscon-raminit = <&scm_conf 0x644 1>;
1156 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
1157 status = "disabled";
1158 };
1159
1160 vpfe0: vpfe@48326000 {
1161 compatible = "ti,am437x-vpfe";
1162 reg = <0x48326000 0x2000>;
1163 interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
1164 ti,hwmods = "vpfe0";
1165 status = "disabled";
1166 };
1167
1168 vpfe1: vpfe@48328000 {
1169 compatible = "ti,am437x-vpfe";
1170 reg = <0x48328000 0x2000>;
1171 interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
1172 ti,hwmods = "vpfe1";
1173 status = "disabled";
1174 };
1175 };
1176};
1177
1178/include/ "am43xx-clocks.dtsi"