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/gpio/gpio.h>
8 #include <dt-bindings/pinctrl/dm814x.h>
11 compatible = "ti,dm814";
12 interrupt-parent = <&intc>;
23 ethernet0 = &cpsw_emac0;
24 ethernet1 = &cpsw_emac1;
35 compatible = "arm,cortex-a8";
42 compatible = "arm,cortex-a8-pmu";
47 * The soc node represents the soc top level view. It is used for IPs
48 * that are not memory mapped in the MPU view or for the MPU itself.
51 compatible = "ti,omap-infra";
53 compatible = "ti,omap3-mpu";
59 compatible = "simple-bus";
63 ti,hwmods = "l3_main";
66 compatible = "ti,am33xx-usb";
67 reg = <0x47400000 0x1000>;
71 ti,hwmods = "usb_otg_hs";
73 usb0_phy: usb-phy@47401300 {
74 compatible = "ti,am335x-usb-phy";
75 reg = <0x47401300 0x100>;
77 ti,ctrl_mod = <&usb_ctrl_mod>;
82 compatible = "ti,musb-am33xx";
83 reg = <0x47401400 0x400
85 reg-names = "mc", "control";
88 interrupt-names = "mc";
90 mentor,multipoint = <1>;
91 mentor,num-eps = <16>;
92 mentor,ram-bits = <12>;
96 dmas = <&cppi41dma 0 0 &cppi41dma 1 0
97 &cppi41dma 2 0 &cppi41dma 3 0
98 &cppi41dma 4 0 &cppi41dma 5 0
99 &cppi41dma 6 0 &cppi41dma 7 0
100 &cppi41dma 8 0 &cppi41dma 9 0
101 &cppi41dma 10 0 &cppi41dma 11 0
102 &cppi41dma 12 0 &cppi41dma 13 0
103 &cppi41dma 14 0 &cppi41dma 0 1
104 &cppi41dma 1 1 &cppi41dma 2 1
105 &cppi41dma 3 1 &cppi41dma 4 1
106 &cppi41dma 5 1 &cppi41dma 6 1
107 &cppi41dma 7 1 &cppi41dma 8 1
108 &cppi41dma 9 1 &cppi41dma 10 1
109 &cppi41dma 11 1 &cppi41dma 12 1
110 &cppi41dma 13 1 &cppi41dma 14 1>;
112 "rx1", "rx2", "rx3", "rx4", "rx5", "rx6", "rx7",
113 "rx8", "rx9", "rx10", "rx11", "rx12", "rx13",
115 "tx1", "tx2", "tx3", "tx4", "tx5", "tx6", "tx7",
116 "tx8", "tx9", "tx10", "tx11", "tx12", "tx13",
121 compatible = "ti,musb-am33xx";
122 reg = <0x47401c00 0x400
124 reg-names = "mc", "control";
126 interrupt-names = "mc";
128 mentor,multipoint = <1>;
129 mentor,num-eps = <16>;
130 mentor,ram-bits = <12>;
131 mentor,power = <500>;
134 dmas = <&cppi41dma 15 0 &cppi41dma 16 0
135 &cppi41dma 17 0 &cppi41dma 18 0
136 &cppi41dma 19 0 &cppi41dma 20 0
137 &cppi41dma 21 0 &cppi41dma 22 0
138 &cppi41dma 23 0 &cppi41dma 24 0
139 &cppi41dma 25 0 &cppi41dma 26 0
140 &cppi41dma 27 0 &cppi41dma 28 0
141 &cppi41dma 29 0 &cppi41dma 15 1
142 &cppi41dma 16 1 &cppi41dma 17 1
143 &cppi41dma 18 1 &cppi41dma 19 1
144 &cppi41dma 20 1 &cppi41dma 21 1
145 &cppi41dma 22 1 &cppi41dma 23 1
146 &cppi41dma 24 1 &cppi41dma 25 1
147 &cppi41dma 26 1 &cppi41dma 27 1
148 &cppi41dma 28 1 &cppi41dma 29 1>;
150 "rx1", "rx2", "rx3", "rx4", "rx5", "rx6", "rx7",
151 "rx8", "rx9", "rx10", "rx11", "rx12", "rx13",
153 "tx1", "tx2", "tx3", "tx4", "tx5", "tx6", "tx7",
154 "tx8", "tx9", "tx10", "tx11", "tx12", "tx13",
158 cppi41dma: dma-controller@47402000 {
159 compatible = "ti,am3359-cppi41";
160 reg = <0x47400000 0x1000
164 reg-names = "glue", "controller", "scheduler", "queuemgr";
166 interrupt-names = "glue";
168 #dma-channels = <30>;
169 #dma-requests = <256>;
174 * See TRM "Table 1-317. L4LS Instance Summary" for hints.
175 * It shows the module target agent registers though, so the
176 * actual device is typically 0x1000 before the target agent
177 * except in cases where the module is larger than 0x1000.
179 l4ls: l4ls@48000000 {
180 compatible = "ti,dm814-l4ls", "simple-bus";
181 #address-cells = <1>;
183 ranges = <0 0x48000000 0x2000000>;
186 compatible = "ti,omap4-i2c";
187 #address-cells = <1>;
190 reg = <0x28000 0x1000>;
195 compatible = "ti,814-elm";
197 reg = <0x80000 0x2000>;
202 compatible = "ti,omap4-gpio";
205 reg = <0x32000 0x2000>;
209 interrupt-controller;
210 #interrupt-cells = <2>;
214 compatible = "ti,omap4-gpio";
217 reg = <0x4c000 0x2000>;
221 interrupt-controller;
222 #interrupt-cells = <2>;
226 compatible = "ti,omap4-gpio";
229 reg = <0x1ac000 0x2000>;
233 interrupt-controller;
234 #interrupt-cells = <2>;
238 compatible = "ti,omap4-gpio";
241 reg = <0x1ae000 0x2000>;
245 interrupt-controller;
246 #interrupt-cells = <2>;
250 compatible = "ti,omap4-i2c";
251 #address-cells = <1>;
254 reg = <0x2a000 0x1000>;
259 compatible = "ti,omap4-mcspi";
260 reg = <0x30000 0x1000>;
261 #address-cells = <1>;
265 ti,hwmods = "mcspi1";
266 dmas = <&edma 16 0 &edma 17 0
267 &edma 18 0 &edma 19 0
268 &edma 20 0 &edma 21 0
269 &edma 22 0 &edma 23 0>;
271 dma-names = "tx0", "rx0", "tx1", "rx1",
272 "tx2", "rx2", "tx3", "rx3";
276 compatible = "ti,omap4-mcspi";
277 reg = <0x1a0000 0x1000>;
278 #address-cells = <1>;
282 ti,hwmods = "mcspi2";
283 dmas = <&edma 42 0 &edma 43 0
284 &edma 44 0 &edma 45 0>;
285 dma-names = "tx0", "rx0", "tx1", "rx1";
288 /* Board must configure dmas with edma_xbar for EDMA */
290 compatible = "ti,omap4-mcspi";
291 reg = <0x1a2000 0x1000>;
292 #address-cells = <1>;
296 ti,hwmods = "mcspi3";
300 compatible = "ti,omap4-mcspi";
301 reg = <0x1a4000 0x1000>;
302 #address-cells = <1>;
306 ti,hwmods = "mcspi4";
309 timer1: timer@2e000 {
310 compatible = "ti,dm814-timer";
311 reg = <0x2e000 0x2000>;
313 ti,hwmods = "timer1";
315 clocks = <&timer1_fck>;
320 compatible = "ti,am3352-uart", "ti,omap3-uart";
322 reg = <0x20000 0x2000>;
323 clock-frequency = <48000000>;
325 dmas = <&edma 26 0 &edma 27 0>;
326 dma-names = "tx", "rx";
330 compatible = "ti,am3352-uart", "ti,omap3-uart";
332 reg = <0x22000 0x2000>;
333 clock-frequency = <48000000>;
335 dmas = <&edma 28 0 &edma 29 0>;
336 dma-names = "tx", "rx";
340 compatible = "ti,am3352-uart", "ti,omap3-uart";
342 reg = <0x24000 0x2000>;
343 clock-frequency = <48000000>;
345 dmas = <&edma 30 0 &edma 31 0>;
346 dma-names = "tx", "rx";
349 timer2: timer@40000 {
350 compatible = "ti,dm814-timer";
351 reg = <0x40000 0x2000>;
353 ti,hwmods = "timer2";
354 clocks = <&timer2_fck>;
358 timer3: timer@42000 {
359 compatible = "ti,dm814-timer";
360 reg = <0x42000 0x2000>;
362 ti,hwmods = "timer3";
366 compatible = "ti,omap4-hsmmc";
370 dma-names = "tx", "rx";
372 interrupt-parent = <&intc>;
373 reg = <0x60000 0x1000>;
377 compatible = "ti,am3352-rtc", "ti,da830-rtc";
378 reg = <0xc0000 0x1000>;
379 interrupts = <75 76>;
384 compatible = "ti,omap4-hsmmc";
388 dma-names = "tx", "rx";
390 interrupt-parent = <&intc>;
391 reg = <0x1d8000 0x1000>;
394 control: control@140000 {
395 compatible = "ti,dm814-scm", "simple-bus";
396 reg = <0x140000 0x20000>;
397 #address-cells = <1>;
399 ranges = <0 0x140000 0x20000>;
401 scm_conf: scm_conf@0 {
402 compatible = "syscon", "simple-bus";
404 #address-cells = <1>;
406 ranges = <0 0 0x800>;
408 phy_gmii_sel: phy-gmii-sel {
409 compatible = "ti,dm814-phy-gmii-sel";
415 #address-cells = <1>;
419 scm_clockdomains: clockdomains {
423 usb_ctrl_mod: control@620 {
424 compatible = "ti,am335x-usb-ctrl-module";
427 reg-names = "phy_ctrl", "wakeup";
430 edma_xbar: dma-router@f90 {
431 compatible = "ti,am335x-edma-crossbar";
435 dma-masters = <&edma>;
439 * Note that silicon revision 2.1 and older
440 * require input enabled (bit 18 set) for all
441 * 3.3V I/Os to avoid cumulative hardware damage.
442 * For more info, see errata advisory 2.1.87.
443 * We leave bit 18 out of function-mask and rely
444 * on the bootloader for it.
446 pincntl: pinmux@800 {
447 compatible = "pinctrl-single";
449 #address-cells = <1>;
451 #pinctrl-cells = <1>;
452 pinctrl-single,register-width = <32>;
453 pinctrl-single,function-mask = <0x307ff>;
456 usb1_phy: usb-phy@1b00 {
457 compatible = "ti,am335x-usb-phy";
458 reg = <0x1b00 0x100>;
460 ti,ctrl_mod = <&usb_ctrl_mod>;
466 compatible = "ti,dm814-prcm", "simple-bus";
467 reg = <0x180000 0x2000>;
468 #address-cells = <1>;
470 ranges = <0 0x180000 0x2000>;
472 prcm_clocks: clocks {
473 #address-cells = <1>;
477 prcm_clockdomains: clockdomains {
481 /* See TRM PLL_SUBSYS_BASE and "PLLSS Registers" */
482 pllss: pllss@1c5000 {
483 compatible = "ti,dm814-pllss", "simple-bus";
484 reg = <0x1c5000 0x1000>;
485 #address-cells = <1>;
487 ranges = <0 0x1c5000 0x1000>;
489 pllss_clocks: clocks {
490 #address-cells = <1>;
494 pllss_clockdomains: clockdomains {
499 compatible = "ti,omap3-wdt";
500 ti,hwmods = "wd_timer";
501 reg = <0x1c7000 0x1000>;
506 intc: interrupt-controller@48200000 {
507 compatible = "ti,dm814-intc";
508 interrupt-controller;
509 #interrupt-cells = <1>;
510 reg = <0x48200000 0x1000>;
513 /* Board must configure evtmux with edma_xbar for EDMA */
515 compatible = "ti,omap4-hsmmc";
518 interrupt-parent = <&intc>;
519 reg = <0x47810000 0x1000>;
522 edma: edma@49000000 {
523 compatible = "ti,edma3-tpcc";
525 reg = <0x49000000 0x10000>;
526 reg-names = "edma3_cc";
527 interrupts = <12 13 14>;
528 interrupt-names = "edma3_ccint", "edma3_mperr",
533 ti,tptcs = <&edma_tptc0 7>, <&edma_tptc1 5>,
534 <&edma_tptc2 3>, <&edma_tptc3 0>;
536 ti,edma-memcpy-channels = <20 21>;
539 edma_tptc0: tptc@49800000 {
540 compatible = "ti,edma3-tptc";
542 reg = <0x49800000 0x100000>;
544 interrupt-names = "edma3_tcerrint";
547 edma_tptc1: tptc@49900000 {
548 compatible = "ti,edma3-tptc";
550 reg = <0x49900000 0x100000>;
552 interrupt-names = "edma3_tcerrint";
555 edma_tptc2: tptc@49a00000 {
556 compatible = "ti,edma3-tptc";
558 reg = <0x49a00000 0x100000>;
560 interrupt-names = "edma3_tcerrint";
563 edma_tptc3: tptc@49b00000 {
564 compatible = "ti,edma3-tptc";
566 reg = <0x49b00000 0x100000>;
568 interrupt-names = "edma3_tcerrint";
571 /* See TRM "Table 1-318. L4HS Instance Summary" */
572 l4hs: l4hs@4a000000 {
573 compatible = "ti,dm814-l4hs", "simple-bus";
574 #address-cells = <1>;
576 ranges = <0 0x4a000000 0x1b4040>;
579 /* REVISIT: Move to live under l4hs once driver is fixed */
580 mac: ethernet@4a100000 {
581 compatible = "ti,cpsw";
582 ti,hwmods = "cpgmac0";
583 clocks = <&cpsw_125mhz_gclk>, <&cpsw_cpts_rft_clk>;
584 clock-names = "fck", "cpts";
585 cpdma_channels = <8>;
586 ale_entries = <1024>;
587 bd_ram_size = <0x2000>;
588 mac_control = <0x20>;
591 cpts_clock_mult = <0x80000000>;
592 cpts_clock_shift = <29>;
593 reg = <0x4a100000 0x800
595 #address-cells = <1>;
597 interrupt-parent = <&intc>;
604 interrupts = <40 41 42 43>;
606 syscon = <&scm_conf>;
608 davinci_mdio: mdio@4a100800 {
609 compatible = "ti,davinci_mdio";
610 #address-cells = <1>;
612 ti,hwmods = "davinci_mdio";
613 bus_freq = <1000000>;
614 reg = <0x4a100800 0x100>;
617 cpsw_emac0: slave@4a100200 {
618 /* Filled in by U-Boot */
619 mac-address = [ 00 00 00 00 00 00 ];
620 phys = <&phy_gmii_sel 1>;
624 cpsw_emac1: slave@4a100300 {
625 /* Filled in by U-Boot */
626 mac-address = [ 00 00 00 00 00 00 ];
627 phys = <&phy_gmii_sel 2>;
631 gpmc: gpmc@50000000 {
632 compatible = "ti,am3352-gpmc";
635 reg = <0x50000000 0x2000>;
638 gpmc,num-waitpins = <2>;
639 #address-cells = <2>;
641 interrupt-controller;
642 #interrupt-cells = <2>;
649 #include "dm814x-clocks.dtsi"