blob: 637133bc2ce5d7db0355110df0ed730aa8eaec98 [file] [log] [blame]
Afzal Mohammed6cfd8112013-06-03 18:49:54 +05301/*
2 * Device Tree Source for AM4372 SoC
3 *
4 * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
5 *
6 * This file is licensed under the terms of the GNU General Public License
7 * version 2. This program is licensed "as is" without any warranty of any
8 * kind, whether express or implied.
9 */
10
Balaji T Kd2885db2014-03-03 20:20:20 +053011#include <dt-bindings/gpio/gpio.h>
Afzal Mohammed6cfd8112013-06-03 18:49:54 +053012#include <dt-bindings/interrupt-controller/arm-gic.h>
13
14#include "skeleton.dtsi"
15
16/ {
17 compatible = "ti,am4372", "ti,am43";
Marc Zyngier7136d452015-03-11 15:43:49 +000018 interrupt-parent = <&wakeupgen>;
Afzal Mohammed6cfd8112013-06-03 18:49:54 +053019
20
21 aliases {
Nishanth Menon6a968672013-10-16 15:21:04 -050022 i2c0 = &i2c0;
23 i2c1 = &i2c1;
24 i2c2 = &i2c2;
Afzal Mohammed6cfd8112013-06-03 18:49:54 +053025 serial0 = &uart0;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +053026 ethernet0 = &cpsw_emac0;
27 ethernet1 = &cpsw_emac1;
Afzal Mohammed6cfd8112013-06-03 18:49:54 +053028 };
29
30 cpus {
Afzal Mohammed738c7402013-08-02 19:16:13 +053031 #address-cells = <1>;
32 #size-cells = <0>;
Felipe Balbi08ecb282014-06-23 13:20:58 -050033 cpu: cpu@0 {
Afzal Mohammed6cfd8112013-06-03 18:49:54 +053034 compatible = "arm,cortex-a9";
Afzal Mohammed738c7402013-08-02 19:16:13 +053035 device_type = "cpu";
36 reg = <0>;
Nishanth Menon8d766fa2014-01-29 12:19:17 -060037
38 clocks = <&dpll_mpu_ck>;
39 clock-names = "cpu";
40
41 clock-latency = <300000>; /* From omap-cpufreq driver */
Afzal Mohammed6cfd8112013-06-03 18:49:54 +053042 };
43 };
44
45 gic: interrupt-controller@48241000 {
46 compatible = "arm,cortex-a9-gic";
47 interrupt-controller;
48 #interrupt-cells = <3>;
49 reg = <0x48241000 0x1000>,
50 <0x48240100 0x0100>;
Marc Zyngier7136d452015-03-11 15:43:49 +000051 interrupt-parent = <&gic>;
52 };
53
54 wakeupgen: interrupt-controller@48281000 {
55 compatible = "ti,omap4-wugen-mpu";
56 interrupt-controller;
57 #interrupt-cells = <3>;
58 reg = <0x48281000 0x1000>;
59 interrupt-parent = <&gic>;
Afzal Mohammed6cfd8112013-06-03 18:49:54 +053060 };
61
Lokesh Vutla9e3269b2013-10-11 00:44:53 +053062 l2-cache-controller@48242000 {
63 compatible = "arm,pl310-cache";
64 reg = <0x48242000 0x1000>;
65 cache-unified;
66 cache-level = <2>;
67 };
68
Afzal Mohammed6cfd8112013-06-03 18:49:54 +053069 ocp {
Afzal Mohammed2eeddb82013-12-02 17:48:57 +053070 compatible = "ti,am4372-l3-noc", "simple-bus";
Afzal Mohammed6cfd8112013-06-03 18:49:54 +053071 #address-cells = <1>;
72 #size-cells = <1>;
73 ranges;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +053074 ti,hwmods = "l3_main";
Afzal Mohammed2eeddb82013-12-02 17:48:57 +053075 reg = <0x44000000 0x400000
76 0x44800000 0x400000>;
77 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
78 <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +053079
Tero Kristo83a5d6c2015-02-12 10:25:40 +020080 l4_wkup: l4_wkup@44c00000 {
81 compatible = "ti,am4-l4-wkup", "simple-bus";
82 #address-cells = <1>;
83 #size-cells = <1>;
84 ranges = <0 0x44c00000 0x287000>;
Tero Kristo6a679202013-08-02 19:12:04 +030085
Tero Kristo83a5d6c2015-02-12 10:25:40 +020086 prcm: prcm@1f0000 {
87 compatible = "ti,am4-prcm";
88 reg = <0x1f0000 0x11000>;
Keerthy6e487002015-06-22 11:52:53 +053089 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
Tero Kristo83a5d6c2015-02-12 10:25:40 +020090
91 prcm_clocks: clocks {
92 #address-cells = <1>;
93 #size-cells = <0>;
94 };
95
96 prcm_clockdomains: clockdomains {
97 };
98 };
99
100 scm: scm@210000 {
101 compatible = "ti,am4-scm", "simple-bus";
102 reg = <0x210000 0x4000>;
Tero Kristo6a679202013-08-02 19:12:04 +0300103 #address-cells = <1>;
Tero Kristo83a5d6c2015-02-12 10:25:40 +0200104 #size-cells = <1>;
105 ranges = <0 0x210000 0x4000>;
Tero Kristo6a679202013-08-02 19:12:04 +0300106
Tero Kristo83a5d6c2015-02-12 10:25:40 +0200107 am43xx_pinmux: pinmux@800 {
108 compatible = "ti,am437-padconf",
109 "pinctrl-single";
110 reg = <0x800 0x31c>;
111 #address-cells = <1>;
112 #size-cells = <0>;
113 #interrupt-cells = <1>;
114 interrupt-controller;
115 pinctrl-single,register-width = <32>;
116 pinctrl-single,function-mask = <0xffffffff>;
117 };
Tero Kristo6a679202013-08-02 19:12:04 +0300118
Tero Kristo83a5d6c2015-02-12 10:25:40 +0200119 scm_conf: scm_conf@0 {
120 compatible = "syscon";
121 reg = <0x0 0x800>;
122 #address-cells = <1>;
123 #size-cells = <1>;
Tero Kristo6a679202013-08-02 19:12:04 +0300124
Tero Kristo83a5d6c2015-02-12 10:25:40 +0200125 scm_clocks: clocks {
126 #address-cells = <1>;
127 #size-cells = <0>;
128 };
129 };
Tero Kristo6a679202013-08-02 19:12:04 +0300130
Tero Kristo83a5d6c2015-02-12 10:25:40 +0200131 scm_clockdomains: clockdomains {
132 };
Tero Kristo6a679202013-08-02 19:12:04 +0300133 };
134 };
135
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530136 edma: edma@49000000 {
137 compatible = "ti,edma3";
138 ti,hwmods = "tpcc", "tptc0", "tptc1", "tptc2";
139 reg = <0x49000000 0x10000>,
140 <0x44e10f90 0x10>;
141 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
142 <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
143 <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
144 #dma-cells = <1>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530145 };
Afzal Mohammed6cfd8112013-06-03 18:49:54 +0530146
147 uart0: serial@44e09000 {
148 compatible = "ti,am4372-uart","ti,omap2-uart";
149 reg = <0x44e09000 0x2000>;
150 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
Afzal Mohammed73456012013-08-02 19:16:35 +0530151 ti,hwmods = "uart1";
152 };
153
154 uart1: serial@48022000 {
155 compatible = "ti,am4372-uart","ti,omap2-uart";
156 reg = <0x48022000 0x2000>;
157 interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
158 ti,hwmods = "uart2";
159 status = "disabled";
160 };
161
162 uart2: serial@48024000 {
163 compatible = "ti,am4372-uart","ti,omap2-uart";
164 reg = <0x48024000 0x2000>;
165 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
166 ti,hwmods = "uart3";
167 status = "disabled";
168 };
169
170 uart3: serial@481a6000 {
171 compatible = "ti,am4372-uart","ti,omap2-uart";
172 reg = <0x481a6000 0x2000>;
173 interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
174 ti,hwmods = "uart4";
175 status = "disabled";
176 };
177
178 uart4: serial@481a8000 {
179 compatible = "ti,am4372-uart","ti,omap2-uart";
180 reg = <0x481a8000 0x2000>;
181 interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
182 ti,hwmods = "uart5";
183 status = "disabled";
184 };
185
186 uart5: serial@481aa000 {
187 compatible = "ti,am4372-uart","ti,omap2-uart";
188 reg = <0x481aa000 0x2000>;
189 interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
190 ti,hwmods = "uart6";
191 status = "disabled";
Afzal Mohammed6cfd8112013-06-03 18:49:54 +0530192 };
193
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530194 mailbox: mailbox@480C8000 {
195 compatible = "ti,omap4-mailbox";
196 reg = <0x480C8000 0x200>;
197 interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
198 ti,hwmods = "mailbox";
Suman Anna24df0452014-11-03 17:07:35 -0600199 #mbox-cells = <1>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530200 ti,mbox-num-users = <4>;
201 ti,mbox-num-fifos = <8>;
Suman Annad27704d2014-09-10 14:27:23 -0500202 mbox_wkupm3: wkup_m3 {
203 ti,mbox-tx = <0 0 0>;
204 ti,mbox-rx = <0 0 3>;
205 };
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530206 };
207
Afzal Mohammed6cfd8112013-06-03 18:49:54 +0530208 timer1: timer@44e31000 {
209 compatible = "ti,am4372-timer-1ms","ti,am335x-timer-1ms";
210 reg = <0x44e31000 0x400>;
211 interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
212 ti,timer-alwon;
Afzal Mohammed73456012013-08-02 19:16:35 +0530213 ti,hwmods = "timer1";
Afzal Mohammed6cfd8112013-06-03 18:49:54 +0530214 };
215
216 timer2: timer@48040000 {
217 compatible = "ti,am4372-timer","ti,am335x-timer";
218 reg = <0x48040000 0x400>;
219 interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
Afzal Mohammed73456012013-08-02 19:16:35 +0530220 ti,hwmods = "timer2";
221 };
222
223 timer3: timer@48042000 {
224 compatible = "ti,am4372-timer","ti,am335x-timer";
225 reg = <0x48042000 0x400>;
226 interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
227 ti,hwmods = "timer3";
228 status = "disabled";
229 };
230
231 timer4: timer@48044000 {
232 compatible = "ti,am4372-timer","ti,am335x-timer";
233 reg = <0x48044000 0x400>;
234 interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
235 ti,timer-pwm;
236 ti,hwmods = "timer4";
237 status = "disabled";
238 };
239
240 timer5: timer@48046000 {
241 compatible = "ti,am4372-timer","ti,am335x-timer";
242 reg = <0x48046000 0x400>;
243 interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
244 ti,timer-pwm;
245 ti,hwmods = "timer5";
246 status = "disabled";
247 };
248
249 timer6: timer@48048000 {
250 compatible = "ti,am4372-timer","ti,am335x-timer";
251 reg = <0x48048000 0x400>;
252 interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
253 ti,timer-pwm;
254 ti,hwmods = "timer6";
255 status = "disabled";
256 };
257
258 timer7: timer@4804a000 {
259 compatible = "ti,am4372-timer","ti,am335x-timer";
260 reg = <0x4804a000 0x400>;
261 interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
262 ti,timer-pwm;
263 ti,hwmods = "timer7";
264 status = "disabled";
265 };
266
267 timer8: timer@481c1000 {
268 compatible = "ti,am4372-timer","ti,am335x-timer";
269 reg = <0x481c1000 0x400>;
270 interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>;
271 ti,hwmods = "timer8";
272 status = "disabled";
273 };
274
275 timer9: timer@4833d000 {
276 compatible = "ti,am4372-timer","ti,am335x-timer";
277 reg = <0x4833d000 0x400>;
278 interrupts = <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>;
279 ti,hwmods = "timer9";
280 status = "disabled";
281 };
282
283 timer10: timer@4833f000 {
284 compatible = "ti,am4372-timer","ti,am335x-timer";
285 reg = <0x4833f000 0x400>;
286 interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
287 ti,hwmods = "timer10";
288 status = "disabled";
289 };
290
291 timer11: timer@48341000 {
292 compatible = "ti,am4372-timer","ti,am335x-timer";
293 reg = <0x48341000 0x400>;
294 interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>;
295 ti,hwmods = "timer11";
296 status = "disabled";
Afzal Mohammed6cfd8112013-06-03 18:49:54 +0530297 };
298
299 counter32k: counter@44e86000 {
300 compatible = "ti,am4372-counter32k","ti,omap-counter32k";
301 reg = <0x44e86000 0x40>;
Afzal Mohammed73456012013-08-02 19:16:35 +0530302 ti,hwmods = "counter_32k";
303 };
304
Felipe Balbi08ecb282014-06-23 13:20:58 -0500305 rtc: rtc@44e3e000 {
Afzal Mohammed73456012013-08-02 19:16:35 +0530306 compatible = "ti,am4372-rtc","ti,da830-rtc";
307 reg = <0x44e3e000 0x1000>;
308 interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH
309 GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
310 ti,hwmods = "rtc";
311 status = "disabled";
312 };
313
Felipe Balbi08ecb282014-06-23 13:20:58 -0500314 wdt: wdt@44e35000 {
Afzal Mohammed73456012013-08-02 19:16:35 +0530315 compatible = "ti,am4372-wdt","ti,omap3-wdt";
316 reg = <0x44e35000 0x1000>;
317 interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
318 ti,hwmods = "wd_timer2";
Afzal Mohammed73456012013-08-02 19:16:35 +0530319 };
320
321 gpio0: gpio@44e07000 {
322 compatible = "ti,am4372-gpio","ti,omap4-gpio";
323 reg = <0x44e07000 0x1000>;
324 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
325 gpio-controller;
326 #gpio-cells = <2>;
327 interrupt-controller;
328 #interrupt-cells = <2>;
329 ti,hwmods = "gpio1";
330 status = "disabled";
331 };
332
333 gpio1: gpio@4804c000 {
334 compatible = "ti,am4372-gpio","ti,omap4-gpio";
335 reg = <0x4804c000 0x1000>;
336 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
337 gpio-controller;
338 #gpio-cells = <2>;
339 interrupt-controller;
340 #interrupt-cells = <2>;
341 ti,hwmods = "gpio2";
342 status = "disabled";
343 };
344
345 gpio2: gpio@481ac000 {
346 compatible = "ti,am4372-gpio","ti,omap4-gpio";
347 reg = <0x481ac000 0x1000>;
348 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
349 gpio-controller;
350 #gpio-cells = <2>;
351 interrupt-controller;
352 #interrupt-cells = <2>;
353 ti,hwmods = "gpio3";
354 status = "disabled";
355 };
356
357 gpio3: gpio@481ae000 {
358 compatible = "ti,am4372-gpio","ti,omap4-gpio";
359 reg = <0x481ae000 0x1000>;
360 interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
361 gpio-controller;
362 #gpio-cells = <2>;
363 interrupt-controller;
364 #interrupt-cells = <2>;
365 ti,hwmods = "gpio4";
366 status = "disabled";
367 };
368
369 gpio4: gpio@48320000 {
370 compatible = "ti,am4372-gpio","ti,omap4-gpio";
371 reg = <0x48320000 0x1000>;
372 interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
373 gpio-controller;
374 #gpio-cells = <2>;
375 interrupt-controller;
376 #interrupt-cells = <2>;
377 ti,hwmods = "gpio5";
378 status = "disabled";
379 };
380
381 gpio5: gpio@48322000 {
382 compatible = "ti,am4372-gpio","ti,omap4-gpio";
383 reg = <0x48322000 0x1000>;
384 interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
385 gpio-controller;
386 #gpio-cells = <2>;
387 interrupt-controller;
388 #interrupt-cells = <2>;
389 ti,hwmods = "gpio6";
390 status = "disabled";
391 };
392
Suman Annafd4a8a62014-01-13 18:26:47 -0600393 hwspinlock: spinlock@480ca000 {
394 compatible = "ti,omap4-hwspinlock";
395 reg = <0x480ca000 0x1000>;
396 ti,hwmods = "spinlock";
397 #hwlock-cells = <1>;
398 };
399
Afzal Mohammed73456012013-08-02 19:16:35 +0530400 i2c0: i2c@44e0b000 {
401 compatible = "ti,am4372-i2c","ti,omap4-i2c";
402 reg = <0x44e0b000 0x1000>;
403 interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
404 ti,hwmods = "i2c1";
405 #address-cells = <1>;
406 #size-cells = <0>;
407 status = "disabled";
408 };
409
410 i2c1: i2c@4802a000 {
411 compatible = "ti,am4372-i2c","ti,omap4-i2c";
412 reg = <0x4802a000 0x1000>;
413 interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
414 ti,hwmods = "i2c2";
415 #address-cells = <1>;
416 #size-cells = <0>;
417 status = "disabled";
418 };
419
420 i2c2: i2c@4819c000 {
421 compatible = "ti,am4372-i2c","ti,omap4-i2c";
422 reg = <0x4819c000 0x1000>;
423 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
424 ti,hwmods = "i2c3";
425 #address-cells = <1>;
426 #size-cells = <0>;
427 status = "disabled";
428 };
429
430 spi0: spi@48030000 {
431 compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
432 reg = <0x48030000 0x400>;
433 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
434 ti,hwmods = "spi0";
435 #address-cells = <1>;
436 #size-cells = <0>;
437 status = "disabled";
438 };
439
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530440 mmc1: mmc@48060000 {
441 compatible = "ti,omap4-hsmmc";
442 reg = <0x48060000 0x1000>;
443 ti,hwmods = "mmc1";
444 ti,dual-volt;
445 ti,needs-special-reset;
446 dmas = <&edma 24
447 &edma 25>;
448 dma-names = "tx", "rx";
449 interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
450 status = "disabled";
451 };
452
453 mmc2: mmc@481d8000 {
454 compatible = "ti,omap4-hsmmc";
455 reg = <0x481d8000 0x1000>;
456 ti,hwmods = "mmc2";
457 ti,needs-special-reset;
458 dmas = <&edma 2
459 &edma 3>;
460 dma-names = "tx", "rx";
461 interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
462 status = "disabled";
463 };
464
465 mmc3: mmc@47810000 {
466 compatible = "ti,omap4-hsmmc";
467 reg = <0x47810000 0x1000>;
468 ti,hwmods = "mmc3";
469 ti,needs-special-reset;
470 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
471 status = "disabled";
472 };
473
Afzal Mohammed73456012013-08-02 19:16:35 +0530474 spi1: spi@481a0000 {
475 compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
476 reg = <0x481a0000 0x400>;
477 interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>;
478 ti,hwmods = "spi1";
479 #address-cells = <1>;
480 #size-cells = <0>;
481 status = "disabled";
482 };
483
484 spi2: spi@481a2000 {
485 compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
486 reg = <0x481a2000 0x400>;
487 interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>;
488 ti,hwmods = "spi2";
489 #address-cells = <1>;
490 #size-cells = <0>;
491 status = "disabled";
492 };
493
494 spi3: spi@481a4000 {
495 compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
496 reg = <0x481a4000 0x400>;
497 interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>;
498 ti,hwmods = "spi3";
499 #address-cells = <1>;
500 #size-cells = <0>;
501 status = "disabled";
502 };
503
504 spi4: spi@48345000 {
505 compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
506 reg = <0x48345000 0x400>;
507 interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>;
508 ti,hwmods = "spi4";
509 #address-cells = <1>;
510 #size-cells = <0>;
511 status = "disabled";
512 };
513
514 mac: ethernet@4a100000 {
515 compatible = "ti,am4372-cpsw","ti,cpsw";
516 reg = <0x4a100000 0x800
517 0x4a101200 0x100>;
518 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH
519 GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH
520 GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH
521 GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530522 #address-cells = <1>;
523 #size-cells = <1>;
Afzal Mohammed73456012013-08-02 19:16:35 +0530524 ti,hwmods = "cpgmac0";
George Cheriande21b262014-05-02 12:02:04 +0530525 clocks = <&cpsw_125mhz_gclk>, <&cpsw_cpts_rft_clk>;
526 clock-names = "fck", "cpts";
Afzal Mohammed73456012013-08-02 19:16:35 +0530527 status = "disabled";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530528 cpdma_channels = <8>;
529 ale_entries = <1024>;
530 bd_ram_size = <0x2000>;
531 no_bd_ram = <0>;
532 rx_descs = <64>;
533 mac_control = <0x20>;
534 slaves = <2>;
535 active_slave = <0>;
536 cpts_clock_mult = <0x80000000>;
537 cpts_clock_shift = <29>;
538 ranges;
539
540 davinci_mdio: mdio@4a101000 {
541 compatible = "ti,am4372-mdio","ti,davinci_mdio";
542 reg = <0x4a101000 0x100>;
543 #address-cells = <1>;
544 #size-cells = <0>;
545 ti,hwmods = "davinci_mdio";
546 bus_freq = <1000000>;
547 status = "disabled";
548 };
549
550 cpsw_emac0: slave@4a100200 {
551 /* Filled in by U-Boot */
552 mac-address = [ 00 00 00 00 00 00 ];
553 };
554
555 cpsw_emac1: slave@4a100300 {
556 /* Filled in by U-Boot */
557 mac-address = [ 00 00 00 00 00 00 ];
558 };
Mugunthan V Na9682cf2014-05-13 14:14:30 +0530559
560 phy_sel: cpsw-phy-sel@44e10650 {
561 compatible = "ti,am43xx-cpsw-phy-sel";
562 reg= <0x44e10650 0x4>;
563 reg-names = "gmii-sel";
564 };
Afzal Mohammed73456012013-08-02 19:16:35 +0530565 };
566
567 epwmss0: epwmss@48300000 {
568 compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
569 reg = <0x48300000 0x10>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530570 #address-cells = <1>;
571 #size-cells = <1>;
572 ranges;
Afzal Mohammed73456012013-08-02 19:16:35 +0530573 ti,hwmods = "epwmss0";
574 status = "disabled";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530575
576 ecap0: ecap@48300100 {
577 compatible = "ti,am4372-ecap","ti,am33xx-ecap";
Sourav Poddaraa842302013-12-19 18:03:33 +0530578 #pwm-cells = <3>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530579 reg = <0x48300100 0x80>;
580 ti,hwmods = "ecap0";
581 status = "disabled";
582 };
583
584 ehrpwm0: ehrpwm@48300200 {
585 compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
Sourav Poddaraa842302013-12-19 18:03:33 +0530586 #pwm-cells = <3>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530587 reg = <0x48300200 0x80>;
588 ti,hwmods = "ehrpwm0";
589 status = "disabled";
590 };
Afzal Mohammed73456012013-08-02 19:16:35 +0530591 };
592
593 epwmss1: epwmss@48302000 {
594 compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
595 reg = <0x48302000 0x10>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530596 #address-cells = <1>;
597 #size-cells = <1>;
598 ranges;
Afzal Mohammed73456012013-08-02 19:16:35 +0530599 ti,hwmods = "epwmss1";
600 status = "disabled";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530601
602 ecap1: ecap@48302100 {
603 compatible = "ti,am4372-ecap","ti,am33xx-ecap";
Sourav Poddaraa842302013-12-19 18:03:33 +0530604 #pwm-cells = <3>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530605 reg = <0x48302100 0x80>;
606 ti,hwmods = "ecap1";
607 status = "disabled";
608 };
609
610 ehrpwm1: ehrpwm@48302200 {
611 compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
Sourav Poddaraa842302013-12-19 18:03:33 +0530612 #pwm-cells = <3>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530613 reg = <0x48302200 0x80>;
614 ti,hwmods = "ehrpwm1";
615 status = "disabled";
616 };
Afzal Mohammed73456012013-08-02 19:16:35 +0530617 };
618
619 epwmss2: epwmss@48304000 {
620 compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
621 reg = <0x48304000 0x10>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530622 #address-cells = <1>;
623 #size-cells = <1>;
624 ranges;
Afzal Mohammed73456012013-08-02 19:16:35 +0530625 ti,hwmods = "epwmss2";
626 status = "disabled";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530627
628 ecap2: ecap@48304100 {
629 compatible = "ti,am4372-ecap","ti,am33xx-ecap";
Sourav Poddaraa842302013-12-19 18:03:33 +0530630 #pwm-cells = <3>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530631 reg = <0x48304100 0x80>;
632 ti,hwmods = "ecap2";
633 status = "disabled";
634 };
635
636 ehrpwm2: ehrpwm@48304200 {
637 compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
Sourav Poddaraa842302013-12-19 18:03:33 +0530638 #pwm-cells = <3>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530639 reg = <0x48304200 0x80>;
640 ti,hwmods = "ehrpwm2";
641 status = "disabled";
642 };
Afzal Mohammed73456012013-08-02 19:16:35 +0530643 };
644
645 epwmss3: epwmss@48306000 {
646 compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
647 reg = <0x48306000 0x10>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530648 #address-cells = <1>;
649 #size-cells = <1>;
650 ranges;
Afzal Mohammed73456012013-08-02 19:16:35 +0530651 ti,hwmods = "epwmss3";
652 status = "disabled";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530653
654 ehrpwm3: ehrpwm@48306200 {
655 compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
Sourav Poddaraa842302013-12-19 18:03:33 +0530656 #pwm-cells = <3>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530657 reg = <0x48306200 0x80>;
658 ti,hwmods = "ehrpwm3";
659 status = "disabled";
660 };
Afzal Mohammed73456012013-08-02 19:16:35 +0530661 };
662
663 epwmss4: epwmss@48308000 {
664 compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
665 reg = <0x48308000 0x10>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530666 #address-cells = <1>;
667 #size-cells = <1>;
668 ranges;
Afzal Mohammed73456012013-08-02 19:16:35 +0530669 ti,hwmods = "epwmss4";
670 status = "disabled";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530671
672 ehrpwm4: ehrpwm@48308200 {
673 compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
Sourav Poddaraa842302013-12-19 18:03:33 +0530674 #pwm-cells = <3>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530675 reg = <0x48308200 0x80>;
676 ti,hwmods = "ehrpwm4";
677 status = "disabled";
678 };
Afzal Mohammed73456012013-08-02 19:16:35 +0530679 };
680
681 epwmss5: epwmss@4830a000 {
682 compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
683 reg = <0x4830a000 0x10>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530684 #address-cells = <1>;
685 #size-cells = <1>;
686 ranges;
Afzal Mohammed73456012013-08-02 19:16:35 +0530687 ti,hwmods = "epwmss5";
688 status = "disabled";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530689
690 ehrpwm5: ehrpwm@4830a200 {
691 compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
Sourav Poddaraa842302013-12-19 18:03:33 +0530692 #pwm-cells = <3>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530693 reg = <0x4830a200 0x80>;
694 ti,hwmods = "ehrpwm5";
695 status = "disabled";
696 };
697 };
698
Vignesh R0f39f7b2014-11-21 15:44:22 +0530699 tscadc: tscadc@44e0d000 {
700 compatible = "ti,am3359-tscadc";
701 reg = <0x44e0d000 0x1000>;
702 ti,hwmods = "adc_tsc";
703 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
704 clocks = <&adc_tsc_fck>;
705 clock-names = "fck";
706 status = "disabled";
707
708 tsc {
709 compatible = "ti,am3359-tsc";
710 };
711
712 adc {
713 #io-channel-cells = <1>;
714 compatible = "ti,am3359-adc";
715 };
716
717 };
718
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530719 sham: sham@53100000 {
720 compatible = "ti,omap5-sham";
721 ti,hwmods = "sham";
722 reg = <0x53100000 0x300>;
723 dmas = <&edma 36>;
724 dma-names = "rx";
725 interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
Afzal Mohammed6cfd8112013-06-03 18:49:54 +0530726 };
Joel Fernandes6e70a512013-09-24 14:35:09 -0500727
728 aes: aes@53501000 {
729 compatible = "ti,omap4-aes";
730 ti,hwmods = "aes";
731 reg = <0x53501000 0xa0>;
732 interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530733 dmas = <&edma 6
734 &edma 5>;
735 dma-names = "tx", "rx";
Joel Fernandes6e70a512013-09-24 14:35:09 -0500736 };
Joel Fernandes099f3a852013-09-24 14:37:33 -0500737
738 des: des@53701000 {
739 compatible = "ti,omap4-des";
740 ti,hwmods = "des";
741 reg = <0x53701000 0xa0>;
742 interrupts = <GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530743 dmas = <&edma 34
744 &edma 33>;
745 dma-names = "tx", "rx";
Joel Fernandes099f3a852013-09-24 14:37:33 -0500746 };
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530747
Peter Ujfalusib9c95bf2013-10-21 12:45:58 +0300748 mcasp0: mcasp@48038000 {
749 compatible = "ti,am33xx-mcasp-audio";
750 ti,hwmods = "mcasp0";
751 reg = <0x48038000 0x2000>,
752 <0x46000000 0x400000>;
753 reg-names = "mpu", "dat";
754 interrupts = <80>, <81>;
Geert Uytterhoevenae107d02014-04-22 20:40:25 +0200755 interrupt-names = "tx", "rx";
Peter Ujfalusib9c95bf2013-10-21 12:45:58 +0300756 status = "disabled";
757 dmas = <&edma 8>,
758 <&edma 9>;
759 dma-names = "tx", "rx";
760 };
761
762 mcasp1: mcasp@4803C000 {
763 compatible = "ti,am33xx-mcasp-audio";
764 ti,hwmods = "mcasp1";
765 reg = <0x4803C000 0x2000>,
766 <0x46400000 0x400000>;
767 reg-names = "mpu", "dat";
768 interrupts = <82>, <83>;
Geert Uytterhoevenae107d02014-04-22 20:40:25 +0200769 interrupt-names = "tx", "rx";
Peter Ujfalusib9c95bf2013-10-21 12:45:58 +0300770 status = "disabled";
771 dmas = <&edma 10>,
772 <&edma 11>;
773 dma-names = "tx", "rx";
774 };
Pekon Guptaf68e3552014-02-05 18:58:34 +0530775
776 elm: elm@48080000 {
777 compatible = "ti,am3352-elm";
778 reg = <0x48080000 0x2000>;
779 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
780 ti,hwmods = "elm";
781 clocks = <&l4ls_gclk>;
782 clock-names = "fck";
783 status = "disabled";
784 };
785
786 gpmc: gpmc@50000000 {
787 compatible = "ti,am3352-gpmc";
788 ti,hwmods = "gpmc";
789 clocks = <&l3s_gclk>;
790 clock-names = "fck";
791 reg = <0x50000000 0x2000>;
792 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
793 gpmc,num-cs = <7>;
794 gpmc,num-waitpins = <2>;
795 #address-cells = <2>;
796 #size-cells = <1>;
797 status = "disabled";
798 };
George Cheriana0ae47e2014-03-19 15:40:01 +0530799
800 am43xx_control_usb2phy1: control-phy@44e10620 {
801 compatible = "ti,control-phy-usb2-am437";
802 reg = <0x44e10620 0x4>;
803 reg-names = "power";
804 };
805
806 am43xx_control_usb2phy2: control-phy@0x44e10628 {
807 compatible = "ti,control-phy-usb2-am437";
808 reg = <0x44e10628 0x4>;
809 reg-names = "power";
810 };
811
812 ocp2scp0: ocp2scp@483a8000 {
Kishon Vijay Abraham I20431db2015-03-17 16:54:50 +0530813 compatible = "ti,am437x-ocp2scp", "ti,omap-ocp2scp";
George Cheriana0ae47e2014-03-19 15:40:01 +0530814 #address-cells = <1>;
815 #size-cells = <1>;
816 ranges;
817 ti,hwmods = "ocp2scp0";
818
819 usb2_phy1: phy@483a8000 {
820 compatible = "ti,am437x-usb2";
821 reg = <0x483a8000 0x8000>;
822 ctrl-module = <&am43xx_control_usb2phy1>;
823 clocks = <&usb_phy0_always_on_clk32k>,
824 <&usb_otg_ss0_refclk960m>;
825 clock-names = "wkupclk", "refclk";
826 #phy-cells = <0>;
827 status = "disabled";
828 };
829 };
830
831 ocp2scp1: ocp2scp@483e8000 {
Kishon Vijay Abraham I20431db2015-03-17 16:54:50 +0530832 compatible = "ti,am437x-ocp2scp", "ti,omap-ocp2scp";
George Cheriana0ae47e2014-03-19 15:40:01 +0530833 #address-cells = <1>;
834 #size-cells = <1>;
835 ranges;
836 ti,hwmods = "ocp2scp1";
837
838 usb2_phy2: phy@483e8000 {
839 compatible = "ti,am437x-usb2";
840 reg = <0x483e8000 0x8000>;
841 ctrl-module = <&am43xx_control_usb2phy2>;
842 clocks = <&usb_phy1_always_on_clk32k>,
843 <&usb_otg_ss1_refclk960m>;
844 clock-names = "wkupclk", "refclk";
845 #phy-cells = <0>;
846 status = "disabled";
847 };
848 };
849
850 dwc3_1: omap_dwc3@48380000 {
851 compatible = "ti,am437x-dwc3";
852 ti,hwmods = "usb_otg_ss0";
853 reg = <0x48380000 0x10000>;
854 interrupts = <GIC_SPI 172 IRQ_TYPE_LEVEL_HIGH>;
855 #address-cells = <1>;
856 #size-cells = <1>;
857 utmi-mode = <1>;
858 ranges;
859
860 usb1: usb@48390000 {
861 compatible = "synopsys,dwc3";
Felipe Balbi4b143f02014-09-03 16:22:24 -0500862 reg = <0x48390000 0x10000>;
George Cheriana0ae47e2014-03-19 15:40:01 +0530863 interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
864 phys = <&usb2_phy1>;
865 phy-names = "usb2-phy";
866 maximum-speed = "high-speed";
867 dr_mode = "otg";
868 status = "disabled";
Felipe Balbi60f0e622014-11-06 11:32:35 -0600869 snps,dis_u3_susphy_quirk;
870 snps,dis_u2_susphy_quirk;
George Cheriana0ae47e2014-03-19 15:40:01 +0530871 };
872 };
873
874 dwc3_2: omap_dwc3@483c0000 {
875 compatible = "ti,am437x-dwc3";
876 ti,hwmods = "usb_otg_ss1";
877 reg = <0x483c0000 0x10000>;
878 interrupts = <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>;
879 #address-cells = <1>;
880 #size-cells = <1>;
881 utmi-mode = <1>;
882 ranges;
883
884 usb2: usb@483d0000 {
885 compatible = "synopsys,dwc3";
Felipe Balbi4b143f02014-09-03 16:22:24 -0500886 reg = <0x483d0000 0x10000>;
George Cheriana0ae47e2014-03-19 15:40:01 +0530887 interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
888 phys = <&usb2_phy2>;
889 phy-names = "usb2-phy";
890 maximum-speed = "high-speed";
891 dr_mode = "otg";
892 status = "disabled";
Felipe Balbi60f0e622014-11-06 11:32:35 -0600893 snps,dis_u3_susphy_quirk;
894 snps,dis_u2_susphy_quirk;
George Cheriana0ae47e2014-03-19 15:40:01 +0530895 };
896 };
Sourav Poddar2a1a5042014-04-28 19:12:30 +0530897
898 qspi: qspi@47900000 {
899 compatible = "ti,am4372-qspi";
900 reg = <0x47900000 0x100>;
901 #address-cells = <1>;
902 #size-cells = <0>;
903 ti,hwmods = "qspi";
904 interrupts = <0 138 0x4>;
905 num-cs = <4>;
906 status = "disabled";
907 };
Sourav Poddar741cac52014-05-08 11:30:07 +0530908
909 hdq: hdq@48347000 {
Vignesh Ra895b8a2015-03-02 16:19:34 +0530910 compatible = "ti,am4372-hdq";
Sourav Poddar741cac52014-05-08 11:30:07 +0530911 reg = <0x48347000 0x1000>;
912 interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>;
913 clocks = <&func_12m_clk>;
914 clock-names = "fck";
915 ti,hwmods = "hdq1w";
916 status = "disabled";
917 };
Sathya Prakash M R8c793362014-03-24 16:31:55 +0530918
919 dss: dss@4832a000 {
920 compatible = "ti,omap3-dss";
921 reg = <0x4832a000 0x200>;
922 status = "disabled";
923 ti,hwmods = "dss_core";
924 clocks = <&disp_clk>;
925 clock-names = "fck";
926 #address-cells = <1>;
927 #size-cells = <1>;
928 ranges;
929
Felipe Balbi08ecb282014-06-23 13:20:58 -0500930 dispc: dispc@4832a400 {
Sathya Prakash M R8c793362014-03-24 16:31:55 +0530931 compatible = "ti,omap3-dispc";
932 reg = <0x4832a400 0x400>;
933 interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
934 ti,hwmods = "dss_dispc";
935 clocks = <&disp_clk>;
936 clock-names = "fck";
937 };
938
939 rfbi: rfbi@4832a800 {
940 compatible = "ti,omap3-rfbi";
941 reg = <0x4832a800 0x100>;
942 ti,hwmods = "dss_rfbi";
943 clocks = <&disp_clk>;
944 clock-names = "fck";
945 };
946 };
Rajendra Nayak8b9a2812014-09-10 11:04:03 -0500947
948 ocmcram: ocmcram@40300000 {
949 compatible = "mmio-sram";
950 reg = <0x40300000 0x40000>; /* 256k */
951 };
Roger Quadros9e63b0d2014-09-04 15:36:03 +0300952
953 dcan0: can@481cc000 {
954 compatible = "ti,am4372-d_can", "ti,am3352-d_can";
955 ti,hwmods = "d_can0";
956 clocks = <&dcan0_fck>;
957 clock-names = "fck";
958 reg = <0x481cc000 0x2000>;
Tero Kristo83a5d6c2015-02-12 10:25:40 +0200959 syscon-raminit = <&scm_conf 0x644 0>;
Roger Quadros9e63b0d2014-09-04 15:36:03 +0300960 interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
961 status = "disabled";
962 };
963
964 dcan1: can@481d0000 {
965 compatible = "ti,am4372-d_can", "ti,am3352-d_can";
966 ti,hwmods = "d_can1";
967 clocks = <&dcan1_fck>;
968 clock-names = "fck";
969 reg = <0x481d0000 0x2000>;
Tero Kristo83a5d6c2015-02-12 10:25:40 +0200970 syscon-raminit = <&scm_conf 0x644 1>;
Roger Quadros9e63b0d2014-09-04 15:36:03 +0300971 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
972 status = "disabled";
973 };
Benoit Parrot9d0df0a2014-12-18 21:54:11 +0530974
975 vpfe0: vpfe@48326000 {
976 compatible = "ti,am437x-vpfe";
977 reg = <0x48326000 0x2000>;
978 interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
979 ti,hwmods = "vpfe0";
980 status = "disabled";
981 };
982
983 vpfe1: vpfe@48328000 {
984 compatible = "ti,am437x-vpfe";
985 reg = <0x48328000 0x2000>;
986 interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
987 ti,hwmods = "vpfe1";
988 status = "disabled";
989 };
Afzal Mohammed6cfd8112013-06-03 18:49:54 +0530990 };
991};
Tero Kristo6a679202013-08-02 19:12:04 +0300992
993/include/ "am43xx-clocks.dtsi"