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/omap.h>
10 #include "skeleton.dtsi"
13 compatible = "ti,dm816";
14 interrupt-parent = <&intc>;
30 compatible = "arm,cortex-a8";
37 compatible = "arm,cortex-a8-pmu";
42 * The soc node represents the soc top level view. It is used for IPs
43 * that are not memory mapped in the MPU view or for the MPU itself.
46 compatible = "ti,omap-infra";
48 compatible = "ti,omap3-mpu";
54 * XXX: Use a flat representation of the dm816x interconnect.
55 * The real dm816x interconnect network is quite complex. Since
56 * it will not bring real advantage to represent that in DT
57 * for the moment, just use a fake OCP bus entry to represent
58 * the whole bus hierarchy.
61 compatible = "simple-bus";
62 reg = <0x44000000 0x10000>;
67 ti,hwmods = "l3_main";
70 compatible = "ti,dm816-prcm";
71 reg = <0x48180000 0x4000>;
78 prcm_clockdomains: clockdomains {
83 compatible = "ti,dm816-scrm", "simple-bus";
84 reg = <0x48140000 0x21000>;
87 ranges = <0 0x48140000 0x21000>;
89 dm816x_pinmux: pinmux@800 {
90 compatible = "pinctrl-single";
94 pinctrl-single,register-width = <16>;
95 pinctrl-single,function-mask = <0xf>;
98 /* Device Configuration Registers */
99 scm_conf: syscon@600 {
100 compatible = "syscon", "simple-bus";
102 #address-cells = <1>;
104 ranges = <0 0x600 0x110>;
106 usb_phy0: usb-phy@20 {
107 compatible = "ti,dm8168-usb-phy";
110 clocks = <&main_fapll 6>;
111 clock-names = "refclk";
113 syscon = <&scm_conf>;
116 usb_phy1: usb-phy@28 {
117 compatible = "ti,dm8168-usb-phy";
120 clocks = <&main_fapll 6>;
121 clock-names = "refclk";
123 syscon = <&scm_conf>;
127 scrm_clocks: clocks {
128 #address-cells = <1>;
132 scrm_clockdomains: clockdomains {
136 edma: edma@49000000 {
137 compatible = "ti,edma3";
138 ti,hwmods = "tpcc", "tptc0", "tptc1", "tptc2", "tptc3";
139 reg = <0x49000000 0x10000>,
141 interrupts = <12 13 14>;
146 compatible = "ti,816-elm";
148 reg = <0x48080000 0x2000>;
152 gpio1: gpio@48032000 {
153 compatible = "ti,omap4-gpio";
156 reg = <0x48032000 0x1000>;
160 interrupt-controller;
161 #interrupt-cells = <2>;
164 gpio2: gpio@4804c000 {
165 compatible = "ti,omap4-gpio";
168 reg = <0x4804c000 0x1000>;
172 interrupt-controller;
173 #interrupt-cells = <2>;
176 gpmc: gpmc@50000000 {
177 compatible = "ti,am3352-gpmc";
179 reg = <0x50000000 0x2000>;
180 #address-cells = <2>;
184 gpmc,num-waitpins = <2>;
188 compatible = "ti,omap4-i2c";
190 reg = <0x48028000 0x1000>;
191 #address-cells = <1>;
194 dmas = <&edma 58 &edma 59>;
195 dma-names = "tx", "rx";
199 compatible = "ti,omap4-i2c";
201 reg = <0x4802a000 0x1000>;
202 #address-cells = <1>;
205 dmas = <&edma 60 &edma 61>;
206 dma-names = "tx", "rx";
209 intc: interrupt-controller@48200000 {
210 compatible = "ti,dm816-intc";
211 interrupt-controller;
212 #interrupt-cells = <1>;
213 reg = <0x48200000 0x1000>;
216 mailbox: mailbox@480c8000 {
217 compatible = "ti,omap4-mailbox";
218 reg = <0x480c8000 0x2000>;
220 ti,hwmods = "mailbox";
221 ti,mbox-num-users = <4>;
222 ti,mbox-num-fifos = <12>;
224 ti,mbox-tx = <3 0 0>;
225 ti,mbox-rx = <0 0 0>;
229 mdio: mdio@4a100800 {
230 compatible = "ti,davinci_mdio";
231 #address-cells = <1>;
233 reg = <0x4a100800 0x100>;
234 ti,hwmods = "davinci_mdio";
235 bus_freq = <1000000>;
236 phy0: ethernet-phy@0 {
239 phy1: ethernet-phy@1 {
244 eth0: ethernet@4a100000 {
245 compatible = "ti,dm816-emac";
247 reg = <0x4a100000 0x800
249 clocks = <&sysclk24_ck>;
250 syscon = <&scm_conf>;
251 ti,davinci-ctrl-reg-offset = <0>;
252 ti,davinci-ctrl-mod-reg-offset = <0x900>;
253 ti,davinci-ctrl-ram-offset = <0x2000>;
254 ti,davinci-ctrl-ram-size = <0x2000>;
255 interrupts = <40 41 42 43>;
256 phy-handle = <&phy0>;
259 eth1: ethernet@4a120000 {
260 compatible = "ti,dm816-emac";
262 reg = <0x4a120000 0x4000>;
263 clocks = <&sysclk24_ck>;
264 syscon = <&scm_conf>;
265 ti,davinci-ctrl-reg-offset = <0>;
266 ti,davinci-ctrl-mod-reg-offset = <0x900>;
267 ti,davinci-ctrl-ram-offset = <0x2000>;
268 ti,davinci-ctrl-ram-size = <0x2000>;
269 interrupts = <44 45 46 47>;
270 phy-handle = <&phy1>;
273 mcspi1: spi@48030000 {
274 compatible = "ti,omap4-mcspi";
275 reg = <0x48030000 0x1000>;
276 #address-cells = <1>;
280 ti,hwmods = "mcspi1";
281 dmas = <&edma 16 &edma 17
283 dma-names = "tx0", "rx0", "tx1", "rx1";
287 compatible = "ti,omap4-hsmmc";
288 reg = <0x48060000 0x11000>;
291 dmas = <&edma 24 &edma 25>;
292 dma-names = "tx", "rx";
295 timer1: timer@4802e000 {
296 compatible = "ti,dm816-timer";
297 reg = <0x4802e000 0x2000>;
299 ti,hwmods = "timer1";
303 timer2: timer@48040000 {
304 compatible = "ti,dm816-timer";
305 reg = <0x48040000 0x2000>;
307 ti,hwmods = "timer2";
310 timer3: timer@48042000 {
311 compatible = "ti,dm816-timer";
312 reg = <0x48042000 0x2000>;
314 ti,hwmods = "timer3";
317 timer4: timer@48044000 {
318 compatible = "ti,dm816-timer";
319 reg = <0x48044000 0x2000>;
321 ti,hwmods = "timer4";
324 timer5: timer@48046000 {
325 compatible = "ti,dm816-timer";
326 reg = <0x48046000 0x2000>;
328 ti,hwmods = "timer5";
331 timer6: timer@48048000 {
332 compatible = "ti,dm816-timer";
333 reg = <0x48048000 0x2000>;
335 ti,hwmods = "timer6";
338 timer7: timer@4804a000 {
339 compatible = "ti,dm816-timer";
340 reg = <0x4804a000 0x2000>;
342 ti,hwmods = "timer7";
345 uart1: uart@48020000 {
346 compatible = "ti,omap3-uart";
348 reg = <0x48020000 0x2000>;
349 clock-frequency = <48000000>;
351 dmas = <&edma 26 &edma 27>;
352 dma-names = "tx", "rx";
355 uart2: uart@48022000 {
356 compatible = "ti,omap3-uart";
358 reg = <0x48022000 0x2000>;
359 clock-frequency = <48000000>;
361 dmas = <&edma 28 &edma 29>;
362 dma-names = "tx", "rx";
365 uart3: uart@48024000 {
366 compatible = "ti,omap3-uart";
368 reg = <0x48024000 0x2000>;
369 clock-frequency = <48000000>;
371 dmas = <&edma 30 &edma 31>;
372 dma-names = "tx", "rx";
375 /* NOTE: USB needs a transceiver driver for phys to work */
376 usb: usb_otg_hs@47401000 {
377 compatible = "ti,am33xx-usb";
378 reg = <0x47401000 0x400000>;
380 #address-cells = <1>;
382 ti,hwmods = "usb_otg_hs";
385 compatible = "ti,musb-dm816";
386 reg = <0x47401400 0x400
388 reg-names = "mc", "control";
390 interrupt-names = "mc";
392 interface-type = <0>;
394 phy-names = "usb2-phy";
395 mentor,multipoint = <1>;
396 mentor,num-eps = <16>;
397 mentor,ram-bits = <12>;
398 mentor,power = <500>;
400 dmas = <&cppi41dma 0 0 &cppi41dma 1 0
401 &cppi41dma 2 0 &cppi41dma 3 0
402 &cppi41dma 4 0 &cppi41dma 5 0
403 &cppi41dma 6 0 &cppi41dma 7 0
404 &cppi41dma 8 0 &cppi41dma 9 0
405 &cppi41dma 10 0 &cppi41dma 11 0
406 &cppi41dma 12 0 &cppi41dma 13 0
407 &cppi41dma 14 0 &cppi41dma 0 1
408 &cppi41dma 1 1 &cppi41dma 2 1
409 &cppi41dma 3 1 &cppi41dma 4 1
410 &cppi41dma 5 1 &cppi41dma 6 1
411 &cppi41dma 7 1 &cppi41dma 8 1
412 &cppi41dma 9 1 &cppi41dma 10 1
413 &cppi41dma 11 1 &cppi41dma 12 1
414 &cppi41dma 13 1 &cppi41dma 14 1>;
416 "rx1", "rx2", "rx3", "rx4", "rx5", "rx6", "rx7",
417 "rx8", "rx9", "rx10", "rx11", "rx12", "rx13",
419 "tx1", "tx2", "tx3", "tx4", "tx5", "tx6", "tx7",
420 "tx8", "tx9", "tx10", "tx11", "tx12", "tx13",
425 compatible = "ti,musb-dm816";
426 reg = <0x47401c00 0x400
428 reg-names = "mc", "control";
430 interrupt-names = "mc";
432 interface-type = <0>;
434 phy-names = "usb2-phy";
435 mentor,multipoint = <1>;
436 mentor,num-eps = <16>;
437 mentor,ram-bits = <12>;
438 mentor,power = <500>;
440 dmas = <&cppi41dma 15 0 &cppi41dma 16 0
441 &cppi41dma 17 0 &cppi41dma 18 0
442 &cppi41dma 19 0 &cppi41dma 20 0
443 &cppi41dma 21 0 &cppi41dma 22 0
444 &cppi41dma 23 0 &cppi41dma 24 0
445 &cppi41dma 25 0 &cppi41dma 26 0
446 &cppi41dma 27 0 &cppi41dma 28 0
447 &cppi41dma 29 0 &cppi41dma 15 1
448 &cppi41dma 16 1 &cppi41dma 17 1
449 &cppi41dma 18 1 &cppi41dma 19 1
450 &cppi41dma 20 1 &cppi41dma 21 1
451 &cppi41dma 22 1 &cppi41dma 23 1
452 &cppi41dma 24 1 &cppi41dma 25 1
453 &cppi41dma 26 1 &cppi41dma 27 1
454 &cppi41dma 28 1 &cppi41dma 29 1>;
456 "rx1", "rx2", "rx3", "rx4", "rx5", "rx6", "rx7",
457 "rx8", "rx9", "rx10", "rx11", "rx12", "rx13",
459 "tx1", "tx2", "tx3", "tx4", "tx5", "tx6", "tx7",
460 "tx8", "tx9", "tx10", "tx11", "tx12", "tx13",
464 cppi41dma: dma-controller@47402000 {
465 compatible = "ti,am3359-cppi41";
466 reg = <0x47400000 0x1000
470 reg-names = "glue", "controller", "scheduler", "queuemgr";
472 interrupt-names = "glue";
474 #dma-channels = <30>;
475 #dma-requests = <256>;
479 wd_timer2: wd_timer@480c2000 {
480 compatible = "ti,omap3-wdt";
481 ti,hwmods = "wd_timer";
482 reg = <0x480c2000 0x1000>;
488 #include "dm816x-clocks.dtsi"