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 = "ti,omap3-l3-smx", "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,omap3-gpio";
155 reg = <0x48032000 0x1000>;
159 gpio2: gpio@4804c000 {
160 compatible = "ti,omap3-gpio";
162 reg = <0x4804c000 0x1000>;
166 gpmc: gpmc@50000000 {
167 compatible = "ti,am3352-gpmc";
169 reg = <0x50000000 0x2000>;
170 #address-cells = <2>;
174 gpmc,num-waitpins = <2>;
178 compatible = "ti,omap4-i2c";
180 reg = <0x48028000 0x1000>;
181 #address-cells = <1>;
184 dmas = <&edma 58 &edma 59>;
185 dma-names = "tx", "rx";
189 compatible = "ti,omap4-i2c";
191 reg = <0x4802a000 0x1000>;
192 #address-cells = <1>;
195 dmas = <&edma 60 &edma 61>;
196 dma-names = "tx", "rx";
199 intc: interrupt-controller@48200000 {
200 compatible = "ti,dm816-intc";
201 interrupt-controller;
202 #interrupt-cells = <1>;
203 reg = <0x48200000 0x1000>;
206 mailbox: mailbox@480c8000 {
207 compatible = "ti,omap4-mailbox";
208 reg = <0x480c8000 0x2000>;
210 ti,hwmods = "mailbox";
211 ti,mbox-num-users = <4>;
212 ti,mbox-num-fifos = <12>;
214 ti,mbox-tx = <3 0 0>;
215 ti,mbox-rx = <0 0 0>;
219 mdio: mdio@4a100800 {
220 compatible = "ti,davinci_mdio";
221 #address-cells = <1>;
223 reg = <0x4a100800 0x100>;
224 ti,hwmods = "davinci_mdio";
225 bus_freq = <1000000>;
226 phy0: ethernet-phy@0 {
229 phy1: ethernet-phy@1 {
234 eth0: ethernet@4a100000 {
235 compatible = "ti,dm816-emac";
237 reg = <0x4a100000 0x800
239 clocks = <&sysclk24_ck>;
240 syscon = <&scm_conf>;
241 ti,davinci-ctrl-reg-offset = <0>;
242 ti,davinci-ctrl-mod-reg-offset = <0x900>;
243 ti,davinci-ctrl-ram-offset = <0x2000>;
244 ti,davinci-ctrl-ram-size = <0x2000>;
245 interrupts = <40 41 42 43>;
246 phy-handle = <&phy0>;
249 eth1: ethernet@4a120000 {
250 compatible = "ti,dm816-emac";
252 reg = <0x4a120000 0x4000>;
253 clocks = <&sysclk24_ck>;
254 syscon = <&scm_conf>;
255 ti,davinci-ctrl-reg-offset = <0>;
256 ti,davinci-ctrl-mod-reg-offset = <0x900>;
257 ti,davinci-ctrl-ram-offset = <0x2000>;
258 ti,davinci-ctrl-ram-size = <0x2000>;
259 interrupts = <44 45 46 47>;
260 phy-handle = <&phy1>;
263 mcspi1: spi@48030000 {
264 compatible = "ti,omap4-mcspi";
265 reg = <0x48030000 0x1000>;
266 #address-cells = <1>;
270 ti,hwmods = "mcspi1";
271 dmas = <&edma 16 &edma 17
273 dma-names = "tx0", "rx0", "tx1", "rx1";
277 compatible = "ti,omap4-hsmmc";
278 reg = <0x48060000 0x11000>;
281 dmas = <&edma 24 &edma 25>;
282 dma-names = "tx", "rx";
285 timer1: timer@4802e000 {
286 compatible = "ti,dm816-timer";
287 reg = <0x4802e000 0x2000>;
289 ti,hwmods = "timer1";
293 timer2: timer@48040000 {
294 compatible = "ti,dm816-timer";
295 reg = <0x48040000 0x2000>;
297 ti,hwmods = "timer2";
300 timer3: timer@48042000 {
301 compatible = "ti,dm816-timer";
302 reg = <0x48042000 0x2000>;
304 ti,hwmods = "timer3";
307 timer4: timer@48044000 {
308 compatible = "ti,dm816-timer";
309 reg = <0x48044000 0x2000>;
311 ti,hwmods = "timer4";
314 timer5: timer@48046000 {
315 compatible = "ti,dm816-timer";
316 reg = <0x48046000 0x2000>;
318 ti,hwmods = "timer5";
321 timer6: timer@48048000 {
322 compatible = "ti,dm816-timer";
323 reg = <0x48048000 0x2000>;
325 ti,hwmods = "timer6";
328 timer7: timer@4804a000 {
329 compatible = "ti,dm816-timer";
330 reg = <0x4804a000 0x2000>;
332 ti,hwmods = "timer7";
335 uart1: uart@48020000 {
336 compatible = "ti,omap3-uart";
338 reg = <0x48020000 0x2000>;
339 clock-frequency = <48000000>;
341 dmas = <&edma 26 &edma 27>;
342 dma-names = "tx", "rx";
345 uart2: uart@48022000 {
346 compatible = "ti,omap3-uart";
348 reg = <0x48022000 0x2000>;
349 clock-frequency = <48000000>;
351 dmas = <&edma 28 &edma 29>;
352 dma-names = "tx", "rx";
355 uart3: uart@48024000 {
356 compatible = "ti,omap3-uart";
358 reg = <0x48024000 0x2000>;
359 clock-frequency = <48000000>;
361 dmas = <&edma 30 &edma 31>;
362 dma-names = "tx", "rx";
365 /* NOTE: USB needs a transceiver driver for phys to work */
366 usb: usb_otg_hs@47401000 {
367 compatible = "ti,am33xx-usb";
368 reg = <0x47401000 0x400000>;
370 #address-cells = <1>;
372 ti,hwmods = "usb_otg_hs";
375 compatible = "ti,musb-am33xx";
376 reg = <0x47401400 0x400
378 reg-names = "mc", "control";
380 interrupt-names = "mc";
382 interface-type = <0>;
384 phy-names = "usb2-phy";
385 mentor,multipoint = <1>;
386 mentor,num-eps = <16>;
387 mentor,ram-bits = <12>;
388 mentor,power = <500>;
392 compatible = "ti,musb-am33xx";
393 reg = <0x47401c00 0x400
395 reg-names = "mc", "control";
397 interrupt-names = "mc";
399 interface-type = <0>;
401 phy-names = "usb2-phy";
402 mentor,multipoint = <1>;
403 mentor,num-eps = <16>;
404 mentor,ram-bits = <12>;
405 mentor,power = <500>;
409 wd_timer2: wd_timer@480c2000 {
410 compatible = "ti,omap3-wdt";
411 ti,hwmods = "wd_timer";
412 reg = <0x480c2000 0x1000>;
418 #include "dm816x-clocks.dtsi"