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";
102 #address-cells = <1>;
106 scrm_clocks: clocks {
107 #address-cells = <1>;
111 scrm_clockdomains: clockdomains {
115 edma: edma@49000000 {
116 compatible = "ti,edma3";
117 ti,hwmods = "tpcc", "tptc0", "tptc1", "tptc2", "tptc3";
118 reg = <0x49000000 0x10000>,
120 interrupts = <12 13 14>;
125 compatible = "ti,816-elm";
127 reg = <0x48080000 0x2000>;
131 gpio1: gpio@48032000 {
132 compatible = "ti,omap3-gpio";
134 reg = <0x48032000 0x1000>;
138 gpio2: gpio@4804c000 {
139 compatible = "ti,omap3-gpio";
141 reg = <0x4804c000 0x1000>;
145 gpmc: gpmc@50000000 {
146 compatible = "ti,am3352-gpmc";
148 reg = <0x50000000 0x2000>;
149 #address-cells = <2>;
153 gpmc,num-waitpins = <2>;
157 compatible = "ti,omap4-i2c";
159 reg = <0x48028000 0x1000>;
160 #address-cells = <1>;
163 dmas = <&edma 58 &edma 59>;
164 dma-names = "tx", "rx";
168 compatible = "ti,omap4-i2c";
170 reg = <0x4802a000 0x1000>;
171 #address-cells = <1>;
174 dmas = <&edma 60 &edma 61>;
175 dma-names = "tx", "rx";
178 intc: interrupt-controller@48200000 {
179 compatible = "ti,dm816-intc";
180 interrupt-controller;
181 #interrupt-cells = <1>;
182 reg = <0x48200000 0x1000>;
185 mailbox: mailbox@480c8000 {
186 compatible = "ti,omap4-mailbox";
187 reg = <0x480c8000 0x2000>;
189 ti,hwmods = "mailbox";
190 ti,mbox-num-users = <4>;
191 ti,mbox-num-fifos = <12>;
193 ti,mbox-tx = <3 0 0>;
194 ti,mbox-rx = <0 0 0>;
198 mdio: mdio@4a100800 {
199 compatible = "ti,davinci_mdio";
200 #address-cells = <1>;
202 reg = <0x4a100800 0x100>;
203 ti,hwmods = "davinci_mdio";
204 bus_freq = <1000000>;
205 phy0: ethernet-phy@0 {
208 phy1: ethernet-phy@1 {
213 eth0: ethernet@4a100000 {
214 compatible = "ti,dm816-emac";
216 reg = <0x4a100000 0x800
218 clocks = <&sysclk24_ck>;
219 syscon = <&scm_conf>;
220 ti,davinci-ctrl-reg-offset = <0>;
221 ti,davinci-ctrl-mod-reg-offset = <0x900>;
222 ti,davinci-ctrl-ram-offset = <0x2000>;
223 ti,davinci-ctrl-ram-size = <0x2000>;
224 interrupts = <40 41 42 43>;
225 phy-handle = <&phy0>;
228 eth1: ethernet@4a120000 {
229 compatible = "ti,dm816-emac";
231 reg = <0x4a120000 0x4000>;
232 clocks = <&sysclk24_ck>;
233 syscon = <&scm_conf>;
234 ti,davinci-ctrl-reg-offset = <0>;
235 ti,davinci-ctrl-mod-reg-offset = <0x900>;
236 ti,davinci-ctrl-ram-offset = <0x2000>;
237 ti,davinci-ctrl-ram-size = <0x2000>;
238 interrupts = <44 45 46 47>;
239 phy-handle = <&phy1>;
242 mcspi1: spi@48030000 {
243 compatible = "ti,omap4-mcspi";
244 reg = <0x48030000 0x1000>;
245 #address-cells = <1>;
249 ti,hwmods = "mcspi1";
250 dmas = <&edma 16 &edma 17
252 dma-names = "tx0", "rx0", "tx1", "rx1";
256 compatible = "ti,omap4-hsmmc";
257 reg = <0x48060000 0x11000>;
260 dmas = <&edma 24 &edma 25>;
261 dma-names = "tx", "rx";
264 timer1: timer@4802e000 {
265 compatible = "ti,dm816-timer";
266 reg = <0x4802e000 0x2000>;
268 ti,hwmods = "timer1";
272 timer2: timer@48040000 {
273 compatible = "ti,dm816-timer";
274 reg = <0x48040000 0x2000>;
276 ti,hwmods = "timer2";
279 timer3: timer@48042000 {
280 compatible = "ti,dm816-timer";
281 reg = <0x48042000 0x2000>;
283 ti,hwmods = "timer3";
286 timer4: timer@48044000 {
287 compatible = "ti,dm816-timer";
288 reg = <0x48044000 0x2000>;
290 ti,hwmods = "timer4";
293 timer5: timer@48046000 {
294 compatible = "ti,dm816-timer";
295 reg = <0x48046000 0x2000>;
297 ti,hwmods = "timer5";
300 timer6: timer@48048000 {
301 compatible = "ti,dm816-timer";
302 reg = <0x48048000 0x2000>;
304 ti,hwmods = "timer6";
307 timer7: timer@4804a000 {
308 compatible = "ti,dm816-timer";
309 reg = <0x4804a000 0x2000>;
311 ti,hwmods = "timer7";
314 uart1: uart@48020000 {
315 compatible = "ti,omap3-uart";
317 reg = <0x48020000 0x2000>;
318 clock-frequency = <48000000>;
320 dmas = <&edma 26 &edma 27>;
321 dma-names = "tx", "rx";
324 uart2: uart@48022000 {
325 compatible = "ti,omap3-uart";
327 reg = <0x48022000 0x2000>;
328 clock-frequency = <48000000>;
330 dmas = <&edma 28 &edma 29>;
331 dma-names = "tx", "rx";
334 uart3: uart@48024000 {
335 compatible = "ti,omap3-uart";
337 reg = <0x48024000 0x2000>;
338 clock-frequency = <48000000>;
340 dmas = <&edma 30 &edma 31>;
341 dma-names = "tx", "rx";
344 /* NOTE: USB needs a transceiver driver for phys to work */
345 usb: usb_otg_hs@47401000 {
346 compatible = "ti,am33xx-usb";
347 reg = <0x47401000 0x400000>;
349 #address-cells = <1>;
351 ti,hwmods = "usb_otg_hs";
354 compatible = "ti,musb-am33xx";
355 reg = <0x47401400 0x400
357 reg-names = "mc", "control";
359 interrupt-names = "mc";
361 mentor,multipoint = <1>;
362 mentor,num-eps = <16>;
363 mentor,ram-bits = <12>;
364 mentor,power = <500>;
368 compatible = "ti,musb-am33xx";
370 reg = <0x47401c00 0x400
372 reg-names = "mc", "control";
374 interrupt-names = "mc";
376 mentor,multipoint = <1>;
377 mentor,num-eps = <16>;
378 mentor,ram-bits = <12>;
379 mentor,power = <500>;
383 wd_timer2: wd_timer@480c2000 {
384 compatible = "ti,omap3-wdt";
385 ti,hwmods = "wd_timer";
386 reg = <0x480c2000 0x1000>;
392 #include "dm816x-clocks.dtsi"