2 * This file is licensed under the terms of the GNU General Public License
3 * version 2. This program is licensed "as is" without any warranty of any
4 * kind, whether express or implied.
7 #include <dt-bindings/bus/ti-sysc.h>
8 #include <dt-bindings/clock/dm814.h>
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/pinctrl/dm814x.h>
13 compatible = "ti,dm814";
14 interrupt-parent = <&intc>;
25 ethernet0 = &cpsw_emac0;
26 ethernet1 = &cpsw_emac1;
37 compatible = "arm,cortex-a8";
44 compatible = "arm,cortex-a8-pmu";
49 * The soc node represents the soc top level view. It is used for IPs
50 * that are not memory mapped in the MPU view or for the MPU itself.
53 compatible = "ti,omap-infra";
55 compatible = "ti,omap3-mpu";
61 compatible = "simple-bus";
65 ti,hwmods = "l3_main";
68 compatible = "ti,am33xx-usb";
69 reg = <0x47400000 0x1000>;
73 ti,hwmods = "usb_otg_hs";
75 usb0_phy: usb-phy@47401300 {
76 compatible = "ti,am335x-usb-phy";
77 reg = <0x47401300 0x100>;
79 ti,ctrl_mod = <&usb_ctrl_mod>;
84 compatible = "ti,musb-am33xx";
85 reg = <0x47401400 0x400
87 reg-names = "mc", "control";
90 interrupt-names = "mc";
92 mentor,multipoint = <1>;
93 mentor,num-eps = <16>;
94 mentor,ram-bits = <12>;
98 dmas = <&cppi41dma 0 0 &cppi41dma 1 0
99 &cppi41dma 2 0 &cppi41dma 3 0
100 &cppi41dma 4 0 &cppi41dma 5 0
101 &cppi41dma 6 0 &cppi41dma 7 0
102 &cppi41dma 8 0 &cppi41dma 9 0
103 &cppi41dma 10 0 &cppi41dma 11 0
104 &cppi41dma 12 0 &cppi41dma 13 0
105 &cppi41dma 14 0 &cppi41dma 0 1
106 &cppi41dma 1 1 &cppi41dma 2 1
107 &cppi41dma 3 1 &cppi41dma 4 1
108 &cppi41dma 5 1 &cppi41dma 6 1
109 &cppi41dma 7 1 &cppi41dma 8 1
110 &cppi41dma 9 1 &cppi41dma 10 1
111 &cppi41dma 11 1 &cppi41dma 12 1
112 &cppi41dma 13 1 &cppi41dma 14 1>;
114 "rx1", "rx2", "rx3", "rx4", "rx5", "rx6", "rx7",
115 "rx8", "rx9", "rx10", "rx11", "rx12", "rx13",
117 "tx1", "tx2", "tx3", "tx4", "tx5", "tx6", "tx7",
118 "tx8", "tx9", "tx10", "tx11", "tx12", "tx13",
123 compatible = "ti,musb-am33xx";
124 reg = <0x47401c00 0x400
126 reg-names = "mc", "control";
128 interrupt-names = "mc";
130 mentor,multipoint = <1>;
131 mentor,num-eps = <16>;
132 mentor,ram-bits = <12>;
133 mentor,power = <500>;
136 dmas = <&cppi41dma 15 0 &cppi41dma 16 0
137 &cppi41dma 17 0 &cppi41dma 18 0
138 &cppi41dma 19 0 &cppi41dma 20 0
139 &cppi41dma 21 0 &cppi41dma 22 0
140 &cppi41dma 23 0 &cppi41dma 24 0
141 &cppi41dma 25 0 &cppi41dma 26 0
142 &cppi41dma 27 0 &cppi41dma 28 0
143 &cppi41dma 29 0 &cppi41dma 15 1
144 &cppi41dma 16 1 &cppi41dma 17 1
145 &cppi41dma 18 1 &cppi41dma 19 1
146 &cppi41dma 20 1 &cppi41dma 21 1
147 &cppi41dma 22 1 &cppi41dma 23 1
148 &cppi41dma 24 1 &cppi41dma 25 1
149 &cppi41dma 26 1 &cppi41dma 27 1
150 &cppi41dma 28 1 &cppi41dma 29 1>;
152 "rx1", "rx2", "rx3", "rx4", "rx5", "rx6", "rx7",
153 "rx8", "rx9", "rx10", "rx11", "rx12", "rx13",
155 "tx1", "tx2", "tx3", "tx4", "tx5", "tx6", "tx7",
156 "tx8", "tx9", "tx10", "tx11", "tx12", "tx13",
160 cppi41dma: dma-controller@47402000 {
161 compatible = "ti,am3359-cppi41";
162 reg = <0x47400000 0x1000
166 reg-names = "glue", "controller", "scheduler", "queuemgr";
168 interrupt-names = "glue";
170 #dma-channels = <30>;
171 #dma-requests = <256>;
176 * See TRM "Table 1-317. L4LS Instance Summary" for hints.
177 * It shows the module target agent registers though, so the
178 * actual device is typically 0x1000 before the target agent
179 * except in cases where the module is larger than 0x1000.
181 l4ls: l4ls@48000000 {
182 compatible = "ti,dm814-l4ls", "simple-bus";
183 #address-cells = <1>;
185 ranges = <0 0x48000000 0x2000000>;
188 compatible = "ti,omap4-i2c";
189 #address-cells = <1>;
192 reg = <0x28000 0x1000>;
197 compatible = "ti,814-elm";
199 reg = <0x80000 0x2000>;
204 compatible = "ti,omap4-gpio";
207 reg = <0x32000 0x2000>;
211 interrupt-controller;
212 #interrupt-cells = <2>;
216 compatible = "ti,omap4-gpio";
219 reg = <0x4c000 0x2000>;
223 interrupt-controller;
224 #interrupt-cells = <2>;
228 compatible = "ti,omap4-gpio";
231 reg = <0x1ac000 0x2000>;
235 interrupt-controller;
236 #interrupt-cells = <2>;
240 compatible = "ti,omap4-gpio";
243 reg = <0x1ae000 0x2000>;
247 interrupt-controller;
248 #interrupt-cells = <2>;
252 compatible = "ti,omap4-i2c";
253 #address-cells = <1>;
256 reg = <0x2a000 0x1000>;
261 compatible = "ti,omap4-mcspi";
262 reg = <0x30000 0x1000>;
263 #address-cells = <1>;
267 ti,hwmods = "mcspi1";
268 dmas = <&edma 16 0 &edma 17 0
269 &edma 18 0 &edma 19 0
270 &edma 20 0 &edma 21 0
271 &edma 22 0 &edma 23 0>;
273 dma-names = "tx0", "rx0", "tx1", "rx1",
274 "tx2", "rx2", "tx3", "rx3";
278 compatible = "ti,omap4-mcspi";
279 reg = <0x1a0000 0x1000>;
280 #address-cells = <1>;
284 ti,hwmods = "mcspi2";
285 dmas = <&edma 42 0 &edma 43 0
286 &edma 44 0 &edma 45 0>;
287 dma-names = "tx0", "rx0", "tx1", "rx1";
290 /* Board must configure dmas with edma_xbar for EDMA */
292 compatible = "ti,omap4-mcspi";
293 reg = <0x1a2000 0x1000>;
294 #address-cells = <1>;
298 ti,hwmods = "mcspi3";
302 compatible = "ti,omap4-mcspi";
303 reg = <0x1a4000 0x1000>;
304 #address-cells = <1>;
308 ti,hwmods = "mcspi4";
311 timer1_target: target-module@2e000 {
312 compatible = "ti,sysc-omap4-timer", "ti,sysc";
315 reg-names = "rev", "sysc";
316 ti,sysc-mask = <SYSC_OMAP4_SOFTRESET>;
317 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
320 <SYSC_IDLE_SMART_WKUP>;
321 clocks = <&timer1_fck>;
323 #address-cells = <1>;
325 ranges = <0x0 0x2e000 0x1000>;
328 compatible = "ti,am335x-timer-1ms";
332 clocks = <&timer1_fck>;
338 compatible = "ti,am3352-uart", "ti,omap3-uart";
340 reg = <0x20000 0x2000>;
341 clock-frequency = <48000000>;
343 dmas = <&edma 26 0 &edma 27 0>;
344 dma-names = "tx", "rx";
348 compatible = "ti,am3352-uart", "ti,omap3-uart";
350 reg = <0x22000 0x2000>;
351 clock-frequency = <48000000>;
353 dmas = <&edma 28 0 &edma 29 0>;
354 dma-names = "tx", "rx";
358 compatible = "ti,am3352-uart", "ti,omap3-uart";
360 reg = <0x24000 0x2000>;
361 clock-frequency = <48000000>;
363 dmas = <&edma 30 0 &edma 31 0>;
364 dma-names = "tx", "rx";
367 timer2_target: target-module@40000 {
368 compatible = "ti,sysc-omap4-timer", "ti,sysc";
371 reg-names = "rev", "sysc";
372 ti,sysc-mask = <SYSC_OMAP4_SOFTRESET>;
373 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
376 <SYSC_IDLE_SMART_WKUP>;
377 clocks = <&timer2_fck>;
379 #address-cells = <1>;
381 ranges = <0x0 0x40000 0x1000>;
384 compatible = "ti,dm814-timer";
387 clocks = <&timer2_fck>;
392 timer3: timer@42000 {
393 compatible = "ti,dm814-timer";
394 reg = <0x42000 0x2000>;
396 ti,hwmods = "timer3";
400 compatible = "ti,omap4-hsmmc";
404 dma-names = "tx", "rx";
406 interrupt-parent = <&intc>;
407 reg = <0x60000 0x1000>;
411 compatible = "ti,am3352-rtc", "ti,da830-rtc";
412 reg = <0xc0000 0x1000>;
413 interrupts = <75 76>;
418 compatible = "ti,omap4-hsmmc";
422 dma-names = "tx", "rx";
424 interrupt-parent = <&intc>;
425 reg = <0x1d8000 0x1000>;
428 control: control@140000 {
429 compatible = "ti,dm814-scm", "simple-bus";
430 reg = <0x140000 0x20000>;
431 #address-cells = <1>;
433 ranges = <0 0x140000 0x20000>;
435 scm_conf: scm_conf@0 {
436 compatible = "syscon", "simple-bus";
438 #address-cells = <1>;
440 ranges = <0 0 0x800>;
442 phy_gmii_sel: phy-gmii-sel {
443 compatible = "ti,dm814-phy-gmii-sel";
449 #address-cells = <1>;
453 scm_clockdomains: clockdomains {
457 usb_ctrl_mod: control@620 {
458 compatible = "ti,am335x-usb-ctrl-module";
461 reg-names = "phy_ctrl", "wakeup";
464 edma_xbar: dma-router@f90 {
465 compatible = "ti,am335x-edma-crossbar";
469 dma-masters = <&edma>;
473 * Note that silicon revision 2.1 and older
474 * require input enabled (bit 18 set) for all
475 * 3.3V I/Os to avoid cumulative hardware damage.
476 * For more info, see errata advisory 2.1.87.
477 * We leave bit 18 out of function-mask and rely
478 * on the bootloader for it.
480 pincntl: pinmux@800 {
481 compatible = "pinctrl-single";
483 #address-cells = <1>;
485 #pinctrl-cells = <1>;
486 pinctrl-single,register-width = <32>;
487 pinctrl-single,function-mask = <0x307ff>;
490 usb1_phy: usb-phy@1b00 {
491 compatible = "ti,am335x-usb-phy";
492 reg = <0x1b00 0x100>;
494 ti,ctrl_mod = <&usb_ctrl_mod>;
500 compatible = "ti,dm814-prcm", "simple-bus";
501 reg = <0x180000 0x2000>;
502 #address-cells = <1>;
504 ranges = <0 0x180000 0x2000>;
506 prcm_clocks: clocks {
507 #address-cells = <1>;
511 prcm_clockdomains: clockdomains {
515 /* See TRM PLL_SUBSYS_BASE and "PLLSS Registers" */
516 pllss: pllss@1c5000 {
517 compatible = "ti,dm814-pllss", "simple-bus";
518 reg = <0x1c5000 0x1000>;
519 #address-cells = <1>;
521 ranges = <0 0x1c5000 0x1000>;
523 pllss_clocks: clocks {
524 #address-cells = <1>;
528 pllss_clockdomains: clockdomains {
533 compatible = "ti,omap3-wdt";
534 ti,hwmods = "wd_timer";
535 reg = <0x1c7000 0x1000>;
540 intc: interrupt-controller@48200000 {
541 compatible = "ti,dm814-intc";
542 interrupt-controller;
543 #interrupt-cells = <1>;
544 reg = <0x48200000 0x1000>;
547 /* Board must configure evtmux with edma_xbar for EDMA */
549 compatible = "ti,omap4-hsmmc";
552 interrupt-parent = <&intc>;
553 reg = <0x47810000 0x1000>;
556 target-module@49000000 {
557 compatible = "ti,sysc-omap4", "ti,sysc";
558 reg = <0x49000000 0x4>;
560 clocks = <&alwon_clkctrl DM814_TPCC_CLKCTRL 0>;
562 #address-cells = <1>;
564 ranges = <0x0 0x49000000 0x10000>;
567 compatible = "ti,edma3-tpcc";
569 reg-names = "edma3_cc";
570 interrupts = <12 13 14>;
571 interrupt-names = "edma3_ccint", "edma3_mperr",
576 ti,tptcs = <&edma_tptc0 7>, <&edma_tptc1 5>,
577 <&edma_tptc2 3>, <&edma_tptc3 0>;
579 ti,edma-memcpy-channels = <20 21>;
583 target-module@49800000 {
584 compatible = "ti,sysc-omap4", "ti,sysc";
585 reg = <0x49800000 0x4>,
587 reg-names = "rev", "sysc";
588 ti,sysc-mask = <SYSC_OMAP4_SOFTRESET>;
589 ti,sysc-midle = <SYSC_IDLE_FORCE>;
590 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
592 clocks = <&alwon_clkctrl DM814_TPTC0_CLKCTRL 0>;
594 #address-cells = <1>;
596 ranges = <0x0 0x49800000 0x100000>;
599 compatible = "ti,edma3-tptc";
602 interrupt-names = "edma3_tcerrint";
606 target-module@49900000 {
607 compatible = "ti,sysc-omap4", "ti,sysc";
608 reg = <0x49900000 0x4>,
610 reg-names = "rev", "sysc";
611 ti,sysc-mask = <SYSC_OMAP4_SOFTRESET>;
612 ti,sysc-midle = <SYSC_IDLE_FORCE>;
613 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
615 clocks = <&alwon_clkctrl DM814_TPTC1_CLKCTRL 0>;
617 #address-cells = <1>;
619 ranges = <0x0 0x49900000 0x100000>;
622 compatible = "ti,edma3-tptc";
625 interrupt-names = "edma3_tcerrint";
629 target-module@49a00000 {
630 compatible = "ti,sysc-omap4", "ti,sysc";
631 reg = <0x49a00000 0x4>,
633 reg-names = "rev", "sysc";
634 ti,sysc-mask = <SYSC_OMAP4_SOFTRESET>;
635 ti,sysc-midle = <SYSC_IDLE_FORCE>;
636 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
638 clocks = <&alwon_clkctrl DM814_TPTC2_CLKCTRL 0>;
640 #address-cells = <1>;
642 ranges = <0x0 0x49a00000 0x100000>;
645 compatible = "ti,edma3-tptc";
648 interrupt-names = "edma3_tcerrint";
652 target-module@49b00000 {
653 compatible = "ti,sysc-omap4", "ti,sysc";
654 reg = <0x49b00000 0x4>,
656 reg-names = "rev", "sysc";
657 ti,sysc-mask = <SYSC_OMAP4_SOFTRESET>;
658 ti,sysc-midle = <SYSC_IDLE_FORCE>;
659 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
661 clocks = <&alwon_clkctrl DM814_TPTC3_CLKCTRL 0>;
663 #address-cells = <1>;
665 ranges = <0x0 0x49b00000 0x100000>;
668 compatible = "ti,edma3-tptc";
671 interrupt-names = "edma3_tcerrint";
675 /* See TRM "Table 1-318. L4HS Instance Summary" */
676 l4hs: l4hs@4a000000 {
677 compatible = "ti,dm814-l4hs", "simple-bus";
678 #address-cells = <1>;
680 ranges = <0 0x4a000000 0x1b4040>;
682 target-module@100000 {
683 compatible = "ti,sysc-omap4-simple", "ti,sysc";
684 reg = <0x100900 0x4>,
687 reg-names = "rev", "sysc", "syss";
689 ti,sysc-midle = <SYSC_IDLE_FORCE>,
691 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
694 clocks = <&alwon_ethernet_clkctrl DM814_ETHERNET_CPGMAC0_CLKCTRL 0>;
696 #address-cells = <1>;
698 ranges = <0 0x100000 0x8000>;
701 compatible = "ti,cpsw";
702 clocks = <&cpsw_125mhz_gclk>, <&cpsw_cpts_rft_clk>;
703 clock-names = "fck", "cpts";
704 cpdma_channels = <8>;
705 ale_entries = <1024>;
706 bd_ram_size = <0x2000>;
707 mac_control = <0x20>;
710 cpts_clock_mult = <0x80000000>;
711 cpts_clock_shift = <29>;
714 #address-cells = <1>;
722 interrupts = <40 41 42 43>;
723 ranges = <0 0 0x8000>;
724 syscon = <&scm_conf>;
726 davinci_mdio: mdio@800 {
727 compatible = "ti,cpsw-mdio", "ti,davinci_mdio";
728 clocks = <&cpsw_125mhz_gclk>;
730 #address-cells = <1>;
732 bus_freq = <1000000>;
736 cpsw_emac0: slave@200 {
737 /* Filled in by U-Boot */
738 mac-address = [ 00 00 00 00 00 00 ];
739 phys = <&phy_gmii_sel 1>;
742 cpsw_emac1: slave@300 {
743 /* Filled in by U-Boot */
744 mac-address = [ 00 00 00 00 00 00 ];
745 phys = <&phy_gmii_sel 2>;
751 gpmc: gpmc@50000000 {
752 compatible = "ti,am3352-gpmc";
755 reg = <0x50000000 0x2000>;
758 gpmc,num-waitpins = <2>;
759 #address-cells = <2>;
761 interrupt-controller;
762 #interrupt-cells = <2>;
769 #include "dm814x-clocks.dtsi"
771 /* Preferred always-on timer for clocksource */
776 assigned-clocks = <&timer1_fck>;
777 assigned-clock-parents = <&devosc_ck>;
781 /* Preferred timer for clockevent */
786 assigned-clocks = <&timer2_fck>;
787 assigned-clock-parents = <&devosc_ck>;