blob: 6f6f3931ec2d65888bf7c4aae795004098176f46 [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
Suman Anna340204222015-07-13 12:34:55 -050086 wkup_m3: wkup_m3@100000 {
87 compatible = "ti,am4372-wkup-m3";
88 reg = <0x100000 0x4000>,
89 <0x180000 0x2000>;
90 reg-names = "umem", "dmem";
91 ti,hwmods = "wkup_m3";
92 ti,pm-firmware = "am335x-pm-firmware.elf";
93 };
94
Tero Kristo83a5d6c2015-02-12 10:25:40 +020095 prcm: prcm@1f0000 {
96 compatible = "ti,am4-prcm";
97 reg = <0x1f0000 0x11000>;
98
99 prcm_clocks: clocks {
100 #address-cells = <1>;
101 #size-cells = <0>;
102 };
103
104 prcm_clockdomains: clockdomains {
105 };
106 };
107
108 scm: scm@210000 {
109 compatible = "ti,am4-scm", "simple-bus";
110 reg = <0x210000 0x4000>;
Tero Kristo6a679202013-08-02 19:12:04 +0300111 #address-cells = <1>;
Tero Kristo83a5d6c2015-02-12 10:25:40 +0200112 #size-cells = <1>;
113 ranges = <0 0x210000 0x4000>;
Tero Kristo6a679202013-08-02 19:12:04 +0300114
Tero Kristo83a5d6c2015-02-12 10:25:40 +0200115 am43xx_pinmux: pinmux@800 {
116 compatible = "ti,am437-padconf",
117 "pinctrl-single";
118 reg = <0x800 0x31c>;
119 #address-cells = <1>;
120 #size-cells = <0>;
121 #interrupt-cells = <1>;
122 interrupt-controller;
123 pinctrl-single,register-width = <32>;
124 pinctrl-single,function-mask = <0xffffffff>;
125 };
Tero Kristo6a679202013-08-02 19:12:04 +0300126
Tero Kristo83a5d6c2015-02-12 10:25:40 +0200127 scm_conf: scm_conf@0 {
128 compatible = "syscon";
129 reg = <0x0 0x800>;
130 #address-cells = <1>;
131 #size-cells = <1>;
Tero Kristo6a679202013-08-02 19:12:04 +0300132
Tero Kristo83a5d6c2015-02-12 10:25:40 +0200133 scm_clocks: clocks {
134 #address-cells = <1>;
135 #size-cells = <0>;
136 };
137 };
Tero Kristo6a679202013-08-02 19:12:04 +0300138
Tero Kristo83a5d6c2015-02-12 10:25:40 +0200139 scm_clockdomains: clockdomains {
140 };
Tero Kristo6a679202013-08-02 19:12:04 +0300141 };
142 };
143
Dave Gerlachfff75ee2015-05-06 12:25:33 -0500144 emif: emif@4c000000 {
145 compatible = "ti,emif-am4372";
146 reg = <0x4c000000 0x1000000>;
147 ti,hwmods = "emif";
148 };
149
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530150 edma: edma@49000000 {
151 compatible = "ti,edma3";
152 ti,hwmods = "tpcc", "tptc0", "tptc1", "tptc2";
153 reg = <0x49000000 0x10000>,
154 <0x44e10f90 0x10>;
155 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
156 <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
157 <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
158 #dma-cells = <1>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530159 };
Afzal Mohammed6cfd8112013-06-03 18:49:54 +0530160
161 uart0: serial@44e09000 {
162 compatible = "ti,am4372-uart","ti,omap2-uart";
163 reg = <0x44e09000 0x2000>;
164 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
Afzal Mohammed73456012013-08-02 19:16:35 +0530165 ti,hwmods = "uart1";
166 };
167
168 uart1: serial@48022000 {
169 compatible = "ti,am4372-uart","ti,omap2-uart";
170 reg = <0x48022000 0x2000>;
171 interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
172 ti,hwmods = "uart2";
173 status = "disabled";
174 };
175
176 uart2: serial@48024000 {
177 compatible = "ti,am4372-uart","ti,omap2-uart";
178 reg = <0x48024000 0x2000>;
179 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
180 ti,hwmods = "uart3";
181 status = "disabled";
182 };
183
184 uart3: serial@481a6000 {
185 compatible = "ti,am4372-uart","ti,omap2-uart";
186 reg = <0x481a6000 0x2000>;
187 interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
188 ti,hwmods = "uart4";
189 status = "disabled";
190 };
191
192 uart4: serial@481a8000 {
193 compatible = "ti,am4372-uart","ti,omap2-uart";
194 reg = <0x481a8000 0x2000>;
195 interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
196 ti,hwmods = "uart5";
197 status = "disabled";
198 };
199
200 uart5: serial@481aa000 {
201 compatible = "ti,am4372-uart","ti,omap2-uart";
202 reg = <0x481aa000 0x2000>;
203 interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
204 ti,hwmods = "uart6";
205 status = "disabled";
Afzal Mohammed6cfd8112013-06-03 18:49:54 +0530206 };
207
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530208 mailbox: mailbox@480C8000 {
209 compatible = "ti,omap4-mailbox";
210 reg = <0x480C8000 0x200>;
211 interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
212 ti,hwmods = "mailbox";
Suman Anna24df0452014-11-03 17:07:35 -0600213 #mbox-cells = <1>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530214 ti,mbox-num-users = <4>;
215 ti,mbox-num-fifos = <8>;
Suman Annad27704d2014-09-10 14:27:23 -0500216 mbox_wkupm3: wkup_m3 {
217 ti,mbox-tx = <0 0 0>;
218 ti,mbox-rx = <0 0 3>;
219 };
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530220 };
221
Afzal Mohammed6cfd8112013-06-03 18:49:54 +0530222 timer1: timer@44e31000 {
223 compatible = "ti,am4372-timer-1ms","ti,am335x-timer-1ms";
224 reg = <0x44e31000 0x400>;
225 interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
226 ti,timer-alwon;
Afzal Mohammed73456012013-08-02 19:16:35 +0530227 ti,hwmods = "timer1";
Afzal Mohammed6cfd8112013-06-03 18:49:54 +0530228 };
229
230 timer2: timer@48040000 {
231 compatible = "ti,am4372-timer","ti,am335x-timer";
232 reg = <0x48040000 0x400>;
233 interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
Afzal Mohammed73456012013-08-02 19:16:35 +0530234 ti,hwmods = "timer2";
235 };
236
237 timer3: timer@48042000 {
238 compatible = "ti,am4372-timer","ti,am335x-timer";
239 reg = <0x48042000 0x400>;
240 interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
241 ti,hwmods = "timer3";
242 status = "disabled";
243 };
244
245 timer4: timer@48044000 {
246 compatible = "ti,am4372-timer","ti,am335x-timer";
247 reg = <0x48044000 0x400>;
248 interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
249 ti,timer-pwm;
250 ti,hwmods = "timer4";
251 status = "disabled";
252 };
253
254 timer5: timer@48046000 {
255 compatible = "ti,am4372-timer","ti,am335x-timer";
256 reg = <0x48046000 0x400>;
257 interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
258 ti,timer-pwm;
259 ti,hwmods = "timer5";
260 status = "disabled";
261 };
262
263 timer6: timer@48048000 {
264 compatible = "ti,am4372-timer","ti,am335x-timer";
265 reg = <0x48048000 0x400>;
266 interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
267 ti,timer-pwm;
268 ti,hwmods = "timer6";
269 status = "disabled";
270 };
271
272 timer7: timer@4804a000 {
273 compatible = "ti,am4372-timer","ti,am335x-timer";
274 reg = <0x4804a000 0x400>;
275 interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
276 ti,timer-pwm;
277 ti,hwmods = "timer7";
278 status = "disabled";
279 };
280
281 timer8: timer@481c1000 {
282 compatible = "ti,am4372-timer","ti,am335x-timer";
283 reg = <0x481c1000 0x400>;
284 interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>;
285 ti,hwmods = "timer8";
286 status = "disabled";
287 };
288
289 timer9: timer@4833d000 {
290 compatible = "ti,am4372-timer","ti,am335x-timer";
291 reg = <0x4833d000 0x400>;
292 interrupts = <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>;
293 ti,hwmods = "timer9";
294 status = "disabled";
295 };
296
297 timer10: timer@4833f000 {
298 compatible = "ti,am4372-timer","ti,am335x-timer";
299 reg = <0x4833f000 0x400>;
300 interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
301 ti,hwmods = "timer10";
302 status = "disabled";
303 };
304
305 timer11: timer@48341000 {
306 compatible = "ti,am4372-timer","ti,am335x-timer";
307 reg = <0x48341000 0x400>;
308 interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>;
309 ti,hwmods = "timer11";
310 status = "disabled";
Afzal Mohammed6cfd8112013-06-03 18:49:54 +0530311 };
312
313 counter32k: counter@44e86000 {
314 compatible = "ti,am4372-counter32k","ti,omap-counter32k";
315 reg = <0x44e86000 0x40>;
Afzal Mohammed73456012013-08-02 19:16:35 +0530316 ti,hwmods = "counter_32k";
317 };
318
Felipe Balbi08ecb282014-06-23 13:20:58 -0500319 rtc: rtc@44e3e000 {
Afzal Mohammed73456012013-08-02 19:16:35 +0530320 compatible = "ti,am4372-rtc","ti,da830-rtc";
321 reg = <0x44e3e000 0x1000>;
322 interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH
323 GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
324 ti,hwmods = "rtc";
325 status = "disabled";
326 };
327
Felipe Balbi08ecb282014-06-23 13:20:58 -0500328 wdt: wdt@44e35000 {
Afzal Mohammed73456012013-08-02 19:16:35 +0530329 compatible = "ti,am4372-wdt","ti,omap3-wdt";
330 reg = <0x44e35000 0x1000>;
331 interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
332 ti,hwmods = "wd_timer2";
Afzal Mohammed73456012013-08-02 19:16:35 +0530333 };
334
335 gpio0: gpio@44e07000 {
336 compatible = "ti,am4372-gpio","ti,omap4-gpio";
337 reg = <0x44e07000 0x1000>;
338 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
339 gpio-controller;
340 #gpio-cells = <2>;
341 interrupt-controller;
342 #interrupt-cells = <2>;
343 ti,hwmods = "gpio1";
344 status = "disabled";
345 };
346
347 gpio1: gpio@4804c000 {
348 compatible = "ti,am4372-gpio","ti,omap4-gpio";
349 reg = <0x4804c000 0x1000>;
350 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
351 gpio-controller;
352 #gpio-cells = <2>;
353 interrupt-controller;
354 #interrupt-cells = <2>;
355 ti,hwmods = "gpio2";
356 status = "disabled";
357 };
358
359 gpio2: gpio@481ac000 {
360 compatible = "ti,am4372-gpio","ti,omap4-gpio";
361 reg = <0x481ac000 0x1000>;
362 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
363 gpio-controller;
364 #gpio-cells = <2>;
365 interrupt-controller;
366 #interrupt-cells = <2>;
367 ti,hwmods = "gpio3";
368 status = "disabled";
369 };
370
371 gpio3: gpio@481ae000 {
372 compatible = "ti,am4372-gpio","ti,omap4-gpio";
373 reg = <0x481ae000 0x1000>;
374 interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
375 gpio-controller;
376 #gpio-cells = <2>;
377 interrupt-controller;
378 #interrupt-cells = <2>;
379 ti,hwmods = "gpio4";
380 status = "disabled";
381 };
382
383 gpio4: gpio@48320000 {
384 compatible = "ti,am4372-gpio","ti,omap4-gpio";
385 reg = <0x48320000 0x1000>;
386 interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
387 gpio-controller;
388 #gpio-cells = <2>;
389 interrupt-controller;
390 #interrupt-cells = <2>;
391 ti,hwmods = "gpio5";
392 status = "disabled";
393 };
394
395 gpio5: gpio@48322000 {
396 compatible = "ti,am4372-gpio","ti,omap4-gpio";
397 reg = <0x48322000 0x1000>;
398 interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
399 gpio-controller;
400 #gpio-cells = <2>;
401 interrupt-controller;
402 #interrupt-cells = <2>;
403 ti,hwmods = "gpio6";
404 status = "disabled";
405 };
406
Suman Annafd4a8a62014-01-13 18:26:47 -0600407 hwspinlock: spinlock@480ca000 {
408 compatible = "ti,omap4-hwspinlock";
409 reg = <0x480ca000 0x1000>;
410 ti,hwmods = "spinlock";
411 #hwlock-cells = <1>;
412 };
413
Afzal Mohammed73456012013-08-02 19:16:35 +0530414 i2c0: i2c@44e0b000 {
415 compatible = "ti,am4372-i2c","ti,omap4-i2c";
416 reg = <0x44e0b000 0x1000>;
417 interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
418 ti,hwmods = "i2c1";
419 #address-cells = <1>;
420 #size-cells = <0>;
421 status = "disabled";
422 };
423
424 i2c1: i2c@4802a000 {
425 compatible = "ti,am4372-i2c","ti,omap4-i2c";
426 reg = <0x4802a000 0x1000>;
427 interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
428 ti,hwmods = "i2c2";
429 #address-cells = <1>;
430 #size-cells = <0>;
431 status = "disabled";
432 };
433
434 i2c2: i2c@4819c000 {
435 compatible = "ti,am4372-i2c","ti,omap4-i2c";
436 reg = <0x4819c000 0x1000>;
437 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
438 ti,hwmods = "i2c3";
439 #address-cells = <1>;
440 #size-cells = <0>;
441 status = "disabled";
442 };
443
444 spi0: spi@48030000 {
445 compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
446 reg = <0x48030000 0x400>;
447 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
448 ti,hwmods = "spi0";
449 #address-cells = <1>;
450 #size-cells = <0>;
451 status = "disabled";
452 };
453
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530454 mmc1: mmc@48060000 {
455 compatible = "ti,omap4-hsmmc";
456 reg = <0x48060000 0x1000>;
457 ti,hwmods = "mmc1";
458 ti,dual-volt;
459 ti,needs-special-reset;
460 dmas = <&edma 24
461 &edma 25>;
462 dma-names = "tx", "rx";
463 interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
464 status = "disabled";
465 };
466
467 mmc2: mmc@481d8000 {
468 compatible = "ti,omap4-hsmmc";
469 reg = <0x481d8000 0x1000>;
470 ti,hwmods = "mmc2";
471 ti,needs-special-reset;
472 dmas = <&edma 2
473 &edma 3>;
474 dma-names = "tx", "rx";
475 interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
476 status = "disabled";
477 };
478
479 mmc3: mmc@47810000 {
480 compatible = "ti,omap4-hsmmc";
481 reg = <0x47810000 0x1000>;
482 ti,hwmods = "mmc3";
483 ti,needs-special-reset;
484 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
485 status = "disabled";
486 };
487
Afzal Mohammed73456012013-08-02 19:16:35 +0530488 spi1: spi@481a0000 {
489 compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
490 reg = <0x481a0000 0x400>;
491 interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>;
492 ti,hwmods = "spi1";
493 #address-cells = <1>;
494 #size-cells = <0>;
495 status = "disabled";
496 };
497
498 spi2: spi@481a2000 {
499 compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
500 reg = <0x481a2000 0x400>;
501 interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>;
502 ti,hwmods = "spi2";
503 #address-cells = <1>;
504 #size-cells = <0>;
505 status = "disabled";
506 };
507
508 spi3: spi@481a4000 {
509 compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
510 reg = <0x481a4000 0x400>;
511 interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>;
512 ti,hwmods = "spi3";
513 #address-cells = <1>;
514 #size-cells = <0>;
515 status = "disabled";
516 };
517
518 spi4: spi@48345000 {
519 compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
520 reg = <0x48345000 0x400>;
521 interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>;
522 ti,hwmods = "spi4";
523 #address-cells = <1>;
524 #size-cells = <0>;
525 status = "disabled";
526 };
527
528 mac: ethernet@4a100000 {
529 compatible = "ti,am4372-cpsw","ti,cpsw";
530 reg = <0x4a100000 0x800
531 0x4a101200 0x100>;
532 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH
533 GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH
534 GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH
535 GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530536 #address-cells = <1>;
537 #size-cells = <1>;
Afzal Mohammed73456012013-08-02 19:16:35 +0530538 ti,hwmods = "cpgmac0";
George Cheriande21b262014-05-02 12:02:04 +0530539 clocks = <&cpsw_125mhz_gclk>, <&cpsw_cpts_rft_clk>;
540 clock-names = "fck", "cpts";
Afzal Mohammed73456012013-08-02 19:16:35 +0530541 status = "disabled";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530542 cpdma_channels = <8>;
543 ale_entries = <1024>;
544 bd_ram_size = <0x2000>;
545 no_bd_ram = <0>;
546 rx_descs = <64>;
547 mac_control = <0x20>;
548 slaves = <2>;
549 active_slave = <0>;
550 cpts_clock_mult = <0x80000000>;
551 cpts_clock_shift = <29>;
552 ranges;
553
554 davinci_mdio: mdio@4a101000 {
555 compatible = "ti,am4372-mdio","ti,davinci_mdio";
556 reg = <0x4a101000 0x100>;
557 #address-cells = <1>;
558 #size-cells = <0>;
559 ti,hwmods = "davinci_mdio";
560 bus_freq = <1000000>;
561 status = "disabled";
562 };
563
564 cpsw_emac0: slave@4a100200 {
565 /* Filled in by U-Boot */
566 mac-address = [ 00 00 00 00 00 00 ];
567 };
568
569 cpsw_emac1: slave@4a100300 {
570 /* Filled in by U-Boot */
571 mac-address = [ 00 00 00 00 00 00 ];
572 };
Mugunthan V Na9682cf2014-05-13 14:14:30 +0530573
574 phy_sel: cpsw-phy-sel@44e10650 {
575 compatible = "ti,am43xx-cpsw-phy-sel";
576 reg= <0x44e10650 0x4>;
577 reg-names = "gmii-sel";
578 };
Afzal Mohammed73456012013-08-02 19:16:35 +0530579 };
580
581 epwmss0: epwmss@48300000 {
582 compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
583 reg = <0x48300000 0x10>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530584 #address-cells = <1>;
585 #size-cells = <1>;
586 ranges;
Afzal Mohammed73456012013-08-02 19:16:35 +0530587 ti,hwmods = "epwmss0";
588 status = "disabled";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530589
590 ecap0: ecap@48300100 {
591 compatible = "ti,am4372-ecap","ti,am33xx-ecap";
Sourav Poddaraa842302013-12-19 18:03:33 +0530592 #pwm-cells = <3>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530593 reg = <0x48300100 0x80>;
594 ti,hwmods = "ecap0";
595 status = "disabled";
596 };
597
598 ehrpwm0: ehrpwm@48300200 {
599 compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
Sourav Poddaraa842302013-12-19 18:03:33 +0530600 #pwm-cells = <3>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530601 reg = <0x48300200 0x80>;
602 ti,hwmods = "ehrpwm0";
603 status = "disabled";
604 };
Afzal Mohammed73456012013-08-02 19:16:35 +0530605 };
606
607 epwmss1: epwmss@48302000 {
608 compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
609 reg = <0x48302000 0x10>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530610 #address-cells = <1>;
611 #size-cells = <1>;
612 ranges;
Afzal Mohammed73456012013-08-02 19:16:35 +0530613 ti,hwmods = "epwmss1";
614 status = "disabled";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530615
616 ecap1: ecap@48302100 {
617 compatible = "ti,am4372-ecap","ti,am33xx-ecap";
Sourav Poddaraa842302013-12-19 18:03:33 +0530618 #pwm-cells = <3>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530619 reg = <0x48302100 0x80>;
620 ti,hwmods = "ecap1";
621 status = "disabled";
622 };
623
624 ehrpwm1: ehrpwm@48302200 {
625 compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
Sourav Poddaraa842302013-12-19 18:03:33 +0530626 #pwm-cells = <3>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530627 reg = <0x48302200 0x80>;
628 ti,hwmods = "ehrpwm1";
629 status = "disabled";
630 };
Afzal Mohammed73456012013-08-02 19:16:35 +0530631 };
632
633 epwmss2: epwmss@48304000 {
634 compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
635 reg = <0x48304000 0x10>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530636 #address-cells = <1>;
637 #size-cells = <1>;
638 ranges;
Afzal Mohammed73456012013-08-02 19:16:35 +0530639 ti,hwmods = "epwmss2";
640 status = "disabled";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530641
642 ecap2: ecap@48304100 {
643 compatible = "ti,am4372-ecap","ti,am33xx-ecap";
Sourav Poddaraa842302013-12-19 18:03:33 +0530644 #pwm-cells = <3>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530645 reg = <0x48304100 0x80>;
646 ti,hwmods = "ecap2";
647 status = "disabled";
648 };
649
650 ehrpwm2: ehrpwm@48304200 {
651 compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
Sourav Poddaraa842302013-12-19 18:03:33 +0530652 #pwm-cells = <3>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530653 reg = <0x48304200 0x80>;
654 ti,hwmods = "ehrpwm2";
655 status = "disabled";
656 };
Afzal Mohammed73456012013-08-02 19:16:35 +0530657 };
658
659 epwmss3: epwmss@48306000 {
660 compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
661 reg = <0x48306000 0x10>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530662 #address-cells = <1>;
663 #size-cells = <1>;
664 ranges;
Afzal Mohammed73456012013-08-02 19:16:35 +0530665 ti,hwmods = "epwmss3";
666 status = "disabled";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530667
668 ehrpwm3: ehrpwm@48306200 {
669 compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
Sourav Poddaraa842302013-12-19 18:03:33 +0530670 #pwm-cells = <3>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530671 reg = <0x48306200 0x80>;
672 ti,hwmods = "ehrpwm3";
673 status = "disabled";
674 };
Afzal Mohammed73456012013-08-02 19:16:35 +0530675 };
676
677 epwmss4: epwmss@48308000 {
678 compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
679 reg = <0x48308000 0x10>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530680 #address-cells = <1>;
681 #size-cells = <1>;
682 ranges;
Afzal Mohammed73456012013-08-02 19:16:35 +0530683 ti,hwmods = "epwmss4";
684 status = "disabled";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530685
686 ehrpwm4: ehrpwm@48308200 {
687 compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
Sourav Poddaraa842302013-12-19 18:03:33 +0530688 #pwm-cells = <3>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530689 reg = <0x48308200 0x80>;
690 ti,hwmods = "ehrpwm4";
691 status = "disabled";
692 };
Afzal Mohammed73456012013-08-02 19:16:35 +0530693 };
694
695 epwmss5: epwmss@4830a000 {
696 compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
697 reg = <0x4830a000 0x10>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530698 #address-cells = <1>;
699 #size-cells = <1>;
700 ranges;
Afzal Mohammed73456012013-08-02 19:16:35 +0530701 ti,hwmods = "epwmss5";
702 status = "disabled";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530703
704 ehrpwm5: ehrpwm@4830a200 {
705 compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
Sourav Poddaraa842302013-12-19 18:03:33 +0530706 #pwm-cells = <3>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530707 reg = <0x4830a200 0x80>;
708 ti,hwmods = "ehrpwm5";
709 status = "disabled";
710 };
711 };
712
Vignesh R0f39f7b2014-11-21 15:44:22 +0530713 tscadc: tscadc@44e0d000 {
714 compatible = "ti,am3359-tscadc";
715 reg = <0x44e0d000 0x1000>;
716 ti,hwmods = "adc_tsc";
717 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
718 clocks = <&adc_tsc_fck>;
719 clock-names = "fck";
720 status = "disabled";
721
722 tsc {
723 compatible = "ti,am3359-tsc";
724 };
725
726 adc {
727 #io-channel-cells = <1>;
728 compatible = "ti,am3359-adc";
729 };
730
731 };
732
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530733 sham: sham@53100000 {
734 compatible = "ti,omap5-sham";
735 ti,hwmods = "sham";
736 reg = <0x53100000 0x300>;
737 dmas = <&edma 36>;
738 dma-names = "rx";
739 interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
Afzal Mohammed6cfd8112013-06-03 18:49:54 +0530740 };
Joel Fernandes6e70a512013-09-24 14:35:09 -0500741
742 aes: aes@53501000 {
743 compatible = "ti,omap4-aes";
744 ti,hwmods = "aes";
745 reg = <0x53501000 0xa0>;
746 interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530747 dmas = <&edma 6
748 &edma 5>;
749 dma-names = "tx", "rx";
Joel Fernandes6e70a512013-09-24 14:35:09 -0500750 };
Joel Fernandes099f3a852013-09-24 14:37:33 -0500751
752 des: des@53701000 {
753 compatible = "ti,omap4-des";
754 ti,hwmods = "des";
755 reg = <0x53701000 0xa0>;
756 interrupts = <GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530757 dmas = <&edma 34
758 &edma 33>;
759 dma-names = "tx", "rx";
Joel Fernandes099f3a852013-09-24 14:37:33 -0500760 };
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530761
Peter Ujfalusib9c95bf2013-10-21 12:45:58 +0300762 mcasp0: mcasp@48038000 {
763 compatible = "ti,am33xx-mcasp-audio";
764 ti,hwmods = "mcasp0";
765 reg = <0x48038000 0x2000>,
766 <0x46000000 0x400000>;
767 reg-names = "mpu", "dat";
768 interrupts = <80>, <81>;
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 8>,
772 <&edma 9>;
773 dma-names = "tx", "rx";
774 };
775
776 mcasp1: mcasp@4803C000 {
777 compatible = "ti,am33xx-mcasp-audio";
778 ti,hwmods = "mcasp1";
779 reg = <0x4803C000 0x2000>,
780 <0x46400000 0x400000>;
781 reg-names = "mpu", "dat";
782 interrupts = <82>, <83>;
Geert Uytterhoevenae107d02014-04-22 20:40:25 +0200783 interrupt-names = "tx", "rx";
Peter Ujfalusib9c95bf2013-10-21 12:45:58 +0300784 status = "disabled";
785 dmas = <&edma 10>,
786 <&edma 11>;
787 dma-names = "tx", "rx";
788 };
Pekon Guptaf68e3552014-02-05 18:58:34 +0530789
790 elm: elm@48080000 {
791 compatible = "ti,am3352-elm";
792 reg = <0x48080000 0x2000>;
793 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
794 ti,hwmods = "elm";
795 clocks = <&l4ls_gclk>;
796 clock-names = "fck";
797 status = "disabled";
798 };
799
800 gpmc: gpmc@50000000 {
801 compatible = "ti,am3352-gpmc";
802 ti,hwmods = "gpmc";
803 clocks = <&l3s_gclk>;
804 clock-names = "fck";
805 reg = <0x50000000 0x2000>;
806 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
807 gpmc,num-cs = <7>;
808 gpmc,num-waitpins = <2>;
809 #address-cells = <2>;
810 #size-cells = <1>;
811 status = "disabled";
812 };
George Cheriana0ae47e2014-03-19 15:40:01 +0530813
814 am43xx_control_usb2phy1: control-phy@44e10620 {
815 compatible = "ti,control-phy-usb2-am437";
816 reg = <0x44e10620 0x4>;
817 reg-names = "power";
818 };
819
820 am43xx_control_usb2phy2: control-phy@0x44e10628 {
821 compatible = "ti,control-phy-usb2-am437";
822 reg = <0x44e10628 0x4>;
823 reg-names = "power";
824 };
825
826 ocp2scp0: ocp2scp@483a8000 {
Kishon Vijay Abraham I20431db2015-03-17 16:54:50 +0530827 compatible = "ti,am437x-ocp2scp", "ti,omap-ocp2scp";
George Cheriana0ae47e2014-03-19 15:40:01 +0530828 #address-cells = <1>;
829 #size-cells = <1>;
830 ranges;
831 ti,hwmods = "ocp2scp0";
832
833 usb2_phy1: phy@483a8000 {
834 compatible = "ti,am437x-usb2";
835 reg = <0x483a8000 0x8000>;
836 ctrl-module = <&am43xx_control_usb2phy1>;
837 clocks = <&usb_phy0_always_on_clk32k>,
838 <&usb_otg_ss0_refclk960m>;
839 clock-names = "wkupclk", "refclk";
840 #phy-cells = <0>;
841 status = "disabled";
842 };
843 };
844
845 ocp2scp1: ocp2scp@483e8000 {
Kishon Vijay Abraham I20431db2015-03-17 16:54:50 +0530846 compatible = "ti,am437x-ocp2scp", "ti,omap-ocp2scp";
George Cheriana0ae47e2014-03-19 15:40:01 +0530847 #address-cells = <1>;
848 #size-cells = <1>;
849 ranges;
850 ti,hwmods = "ocp2scp1";
851
852 usb2_phy2: phy@483e8000 {
853 compatible = "ti,am437x-usb2";
854 reg = <0x483e8000 0x8000>;
855 ctrl-module = <&am43xx_control_usb2phy2>;
856 clocks = <&usb_phy1_always_on_clk32k>,
857 <&usb_otg_ss1_refclk960m>;
858 clock-names = "wkupclk", "refclk";
859 #phy-cells = <0>;
860 status = "disabled";
861 };
862 };
863
864 dwc3_1: omap_dwc3@48380000 {
865 compatible = "ti,am437x-dwc3";
866 ti,hwmods = "usb_otg_ss0";
867 reg = <0x48380000 0x10000>;
868 interrupts = <GIC_SPI 172 IRQ_TYPE_LEVEL_HIGH>;
869 #address-cells = <1>;
870 #size-cells = <1>;
871 utmi-mode = <1>;
872 ranges;
873
874 usb1: usb@48390000 {
875 compatible = "synopsys,dwc3";
Felipe Balbi4b143f02014-09-03 16:22:24 -0500876 reg = <0x48390000 0x10000>;
George Cheriana0ae47e2014-03-19 15:40:01 +0530877 interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
878 phys = <&usb2_phy1>;
879 phy-names = "usb2-phy";
880 maximum-speed = "high-speed";
881 dr_mode = "otg";
882 status = "disabled";
Felipe Balbi60f0e622014-11-06 11:32:35 -0600883 snps,dis_u3_susphy_quirk;
884 snps,dis_u2_susphy_quirk;
George Cheriana0ae47e2014-03-19 15:40:01 +0530885 };
886 };
887
888 dwc3_2: omap_dwc3@483c0000 {
889 compatible = "ti,am437x-dwc3";
890 ti,hwmods = "usb_otg_ss1";
891 reg = <0x483c0000 0x10000>;
892 interrupts = <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>;
893 #address-cells = <1>;
894 #size-cells = <1>;
895 utmi-mode = <1>;
896 ranges;
897
898 usb2: usb@483d0000 {
899 compatible = "synopsys,dwc3";
Felipe Balbi4b143f02014-09-03 16:22:24 -0500900 reg = <0x483d0000 0x10000>;
George Cheriana0ae47e2014-03-19 15:40:01 +0530901 interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
902 phys = <&usb2_phy2>;
903 phy-names = "usb2-phy";
904 maximum-speed = "high-speed";
905 dr_mode = "otg";
906 status = "disabled";
Felipe Balbi60f0e622014-11-06 11:32:35 -0600907 snps,dis_u3_susphy_quirk;
908 snps,dis_u2_susphy_quirk;
George Cheriana0ae47e2014-03-19 15:40:01 +0530909 };
910 };
Sourav Poddar2a1a5042014-04-28 19:12:30 +0530911
912 qspi: qspi@47900000 {
913 compatible = "ti,am4372-qspi";
914 reg = <0x47900000 0x100>;
915 #address-cells = <1>;
916 #size-cells = <0>;
917 ti,hwmods = "qspi";
918 interrupts = <0 138 0x4>;
919 num-cs = <4>;
920 status = "disabled";
921 };
Sourav Poddar741cac52014-05-08 11:30:07 +0530922
923 hdq: hdq@48347000 {
Vignesh Ra895b8a2015-03-02 16:19:34 +0530924 compatible = "ti,am4372-hdq";
Sourav Poddar741cac52014-05-08 11:30:07 +0530925 reg = <0x48347000 0x1000>;
926 interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>;
927 clocks = <&func_12m_clk>;
928 clock-names = "fck";
929 ti,hwmods = "hdq1w";
930 status = "disabled";
931 };
Sathya Prakash M R8c793362014-03-24 16:31:55 +0530932
933 dss: dss@4832a000 {
934 compatible = "ti,omap3-dss";
935 reg = <0x4832a000 0x200>;
936 status = "disabled";
937 ti,hwmods = "dss_core";
938 clocks = <&disp_clk>;
939 clock-names = "fck";
940 #address-cells = <1>;
941 #size-cells = <1>;
942 ranges;
943
Felipe Balbi08ecb282014-06-23 13:20:58 -0500944 dispc: dispc@4832a400 {
Sathya Prakash M R8c793362014-03-24 16:31:55 +0530945 compatible = "ti,omap3-dispc";
946 reg = <0x4832a400 0x400>;
947 interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
948 ti,hwmods = "dss_dispc";
949 clocks = <&disp_clk>;
950 clock-names = "fck";
951 };
952
953 rfbi: rfbi@4832a800 {
954 compatible = "ti,omap3-rfbi";
955 reg = <0x4832a800 0x100>;
956 ti,hwmods = "dss_rfbi";
957 clocks = <&disp_clk>;
958 clock-names = "fck";
Tomi Valkeinen22a5dc12015-06-30 15:04:54 +0300959 status = "disabled";
Sathya Prakash M R8c793362014-03-24 16:31:55 +0530960 };
961 };
Rajendra Nayak8b9a2812014-09-10 11:04:03 -0500962
963 ocmcram: ocmcram@40300000 {
964 compatible = "mmio-sram";
965 reg = <0x40300000 0x40000>; /* 256k */
966 };
Roger Quadros9e63b0d2014-09-04 15:36:03 +0300967
968 dcan0: can@481cc000 {
969 compatible = "ti,am4372-d_can", "ti,am3352-d_can";
970 ti,hwmods = "d_can0";
971 clocks = <&dcan0_fck>;
972 clock-names = "fck";
973 reg = <0x481cc000 0x2000>;
Tero Kristo83a5d6c2015-02-12 10:25:40 +0200974 syscon-raminit = <&scm_conf 0x644 0>;
Roger Quadros9e63b0d2014-09-04 15:36:03 +0300975 interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
976 status = "disabled";
977 };
978
979 dcan1: can@481d0000 {
980 compatible = "ti,am4372-d_can", "ti,am3352-d_can";
981 ti,hwmods = "d_can1";
982 clocks = <&dcan1_fck>;
983 clock-names = "fck";
984 reg = <0x481d0000 0x2000>;
Tero Kristo83a5d6c2015-02-12 10:25:40 +0200985 syscon-raminit = <&scm_conf 0x644 1>;
Roger Quadros9e63b0d2014-09-04 15:36:03 +0300986 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
987 status = "disabled";
988 };
Benoit Parrot9d0df0a2014-12-18 21:54:11 +0530989
990 vpfe0: vpfe@48326000 {
991 compatible = "ti,am437x-vpfe";
992 reg = <0x48326000 0x2000>;
993 interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
994 ti,hwmods = "vpfe0";
995 status = "disabled";
996 };
997
998 vpfe1: vpfe@48328000 {
999 compatible = "ti,am437x-vpfe";
1000 reg = <0x48328000 0x2000>;
1001 interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
1002 ti,hwmods = "vpfe1";
1003 status = "disabled";
1004 };
Afzal Mohammed6cfd8112013-06-03 18:49:54 +05301005 };
1006};
Tero Kristo6a679202013-08-02 19:12:04 +03001007
1008/include/ "am43xx-clocks.dtsi"