blob: 5a065b8eb4b6dc6b6a70d69e6b4f058da35ff492 [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;
Sekhar Nori71256d92015-07-20 16:42:20 +053026 serial1 = &uart1;
27 serial2 = &uart2;
28 serial3 = &uart3;
29 serial4 = &uart4;
30 serial5 = &uart5;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +053031 ethernet0 = &cpsw_emac0;
32 ethernet1 = &cpsw_emac1;
Mugunthan V Ne05edea2015-11-19 12:31:02 +053033 spi0 = &qspi;
Afzal Mohammed6cfd8112013-06-03 18:49:54 +053034 };
35
36 cpus {
Afzal Mohammed738c7402013-08-02 19:16:13 +053037 #address-cells = <1>;
38 #size-cells = <0>;
Felipe Balbi08ecb282014-06-23 13:20:58 -050039 cpu: cpu@0 {
Afzal Mohammed6cfd8112013-06-03 18:49:54 +053040 compatible = "arm,cortex-a9";
Afzal Mohammed738c7402013-08-02 19:16:13 +053041 device_type = "cpu";
42 reg = <0>;
Nishanth Menon8d766fa2014-01-29 12:19:17 -060043
44 clocks = <&dpll_mpu_ck>;
45 clock-names = "cpu";
46
Dave Gerlach6da9c792016-05-18 18:36:29 -050047 operating-points-v2 = <&cpu0_opp_table>;
48 ti,syscon-efuse = <&scm_conf 0x610 0x3f 0>;
49 ti,syscon-rev = <&scm_conf 0x600>;
50
Nishanth Menon8d766fa2014-01-29 12:19:17 -060051 clock-latency = <300000>; /* From omap-cpufreq driver */
Afzal Mohammed6cfd8112013-06-03 18:49:54 +053052 };
53 };
54
Dave Gerlach6da9c792016-05-18 18:36:29 -050055 cpu0_opp_table: opp_table0 {
56 compatible = "operating-points-v2";
57
58 opp50@300000000 {
59 opp-hz = /bits/ 64 <300000000>;
60 opp-microvolt = <950000 931000 969000>;
61 opp-supported-hw = <0xFF 0x01>;
62 opp-suspend;
63 };
64
65 opp100@600000000 {
66 opp-hz = /bits/ 64 <600000000>;
67 opp-microvolt = <1100000 1078000 1122000>;
68 opp-supported-hw = <0xFF 0x04>;
69 };
70
71 opp120@720000000 {
72 opp-hz = /bits/ 64 <720000000>;
73 opp-microvolt = <1200000 1176000 1224000>;
74 opp-supported-hw = <0xFF 0x08>;
75 };
76
77 oppturbo@800000000 {
78 opp-hz = /bits/ 64 <800000000>;
79 opp-microvolt = <1260000 1234800 1285200>;
80 opp-supported-hw = <0xFF 0x10>;
81 };
82
83 oppnitro@1000000000 {
84 opp-hz = /bits/ 64 <1000000000>;
85 opp-microvolt = <1325000 1298500 1351500>;
86 opp-supported-hw = <0xFF 0x20>;
87 };
88 };
89
Afzal Mohammed6cfd8112013-06-03 18:49:54 +053090 gic: interrupt-controller@48241000 {
91 compatible = "arm,cortex-a9-gic";
92 interrupt-controller;
93 #interrupt-cells = <3>;
94 reg = <0x48241000 0x1000>,
95 <0x48240100 0x0100>;
Marc Zyngier7136d452015-03-11 15:43:49 +000096 interrupt-parent = <&gic>;
97 };
98
99 wakeupgen: interrupt-controller@48281000 {
100 compatible = "ti,omap4-wugen-mpu";
101 interrupt-controller;
102 #interrupt-cells = <3>;
103 reg = <0x48281000 0x1000>;
104 interrupt-parent = <&gic>;
Afzal Mohammed6cfd8112013-06-03 18:49:54 +0530105 };
106
Felipe Balbi8cbd4c2f2015-08-12 14:56:54 -0500107 scu: scu@48240000 {
108 compatible = "arm,cortex-a9-scu";
109 reg = <0x48240000 0x100>;
110 };
111
112 global_timer: timer@48240200 {
113 compatible = "arm,cortex-a9-global-timer";
114 reg = <0x48240200 0x100>;
Grygorii Strashko84fb2252015-12-28 15:52:04 +0200115 interrupts = <GIC_PPI 11 IRQ_TYPE_EDGE_RISING>;
Felipe Balbi8cbd4c2f2015-08-12 14:56:54 -0500116 interrupt-parent = <&gic>;
Grygorii Strashko14054fb2015-11-30 17:56:38 +0200117 clocks = <&mpu_periphclk>;
Felipe Balbi8cbd4c2f2015-08-12 14:56:54 -0500118 };
119
120 local_timer: timer@48240600 {
121 compatible = "arm,cortex-a9-twd-timer";
122 reg = <0x48240600 0x100>;
Grygorii Strashko84fb2252015-12-28 15:52:04 +0200123 interrupts = <GIC_PPI 13 IRQ_TYPE_EDGE_RISING>;
Felipe Balbi8cbd4c2f2015-08-12 14:56:54 -0500124 interrupt-parent = <&gic>;
Grygorii Strashko14054fb2015-11-30 17:56:38 +0200125 clocks = <&mpu_periphclk>;
Felipe Balbi8cbd4c2f2015-08-12 14:56:54 -0500126 };
127
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530128 l2-cache-controller@48242000 {
129 compatible = "arm,pl310-cache";
130 reg = <0x48242000 0x1000>;
131 cache-unified;
132 cache-level = <2>;
133 };
134
Afzal Mohammed6cfd8112013-06-03 18:49:54 +0530135 ocp {
Afzal Mohammed2eeddb82013-12-02 17:48:57 +0530136 compatible = "ti,am4372-l3-noc", "simple-bus";
Afzal Mohammed6cfd8112013-06-03 18:49:54 +0530137 #address-cells = <1>;
138 #size-cells = <1>;
139 ranges;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530140 ti,hwmods = "l3_main";
Afzal Mohammed2eeddb82013-12-02 17:48:57 +0530141 reg = <0x44000000 0x400000
142 0x44800000 0x400000>;
143 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
144 <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530145
Tero Kristo83a5d6c2015-02-12 10:25:40 +0200146 l4_wkup: l4_wkup@44c00000 {
147 compatible = "ti,am4-l4-wkup", "simple-bus";
148 #address-cells = <1>;
149 #size-cells = <1>;
150 ranges = <0 0x44c00000 0x287000>;
Tero Kristo6a679202013-08-02 19:12:04 +0300151
Suman Anna340204222015-07-13 12:34:55 -0500152 wkup_m3: wkup_m3@100000 {
153 compatible = "ti,am4372-wkup-m3";
154 reg = <0x100000 0x4000>,
155 <0x180000 0x2000>;
156 reg-names = "umem", "dmem";
157 ti,hwmods = "wkup_m3";
158 ti,pm-firmware = "am335x-pm-firmware.elf";
159 };
160
Tero Kristo83a5d6c2015-02-12 10:25:40 +0200161 prcm: prcm@1f0000 {
162 compatible = "ti,am4-prcm";
163 reg = <0x1f0000 0x11000>;
Keerthy6e487002015-06-22 11:52:53 +0530164 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
Tero Kristo83a5d6c2015-02-12 10:25:40 +0200165
166 prcm_clocks: clocks {
167 #address-cells = <1>;
168 #size-cells = <0>;
169 };
170
171 prcm_clockdomains: clockdomains {
172 };
173 };
174
175 scm: scm@210000 {
176 compatible = "ti,am4-scm", "simple-bus";
177 reg = <0x210000 0x4000>;
Tero Kristo6a679202013-08-02 19:12:04 +0300178 #address-cells = <1>;
Tero Kristo83a5d6c2015-02-12 10:25:40 +0200179 #size-cells = <1>;
180 ranges = <0 0x210000 0x4000>;
Tero Kristo6a679202013-08-02 19:12:04 +0300181
Tero Kristo83a5d6c2015-02-12 10:25:40 +0200182 am43xx_pinmux: pinmux@800 {
183 compatible = "ti,am437-padconf",
184 "pinctrl-single";
185 reg = <0x800 0x31c>;
186 #address-cells = <1>;
187 #size-cells = <0>;
188 #interrupt-cells = <1>;
189 interrupt-controller;
190 pinctrl-single,register-width = <32>;
191 pinctrl-single,function-mask = <0xffffffff>;
192 };
Tero Kristo6a679202013-08-02 19:12:04 +0300193
Tero Kristo83a5d6c2015-02-12 10:25:40 +0200194 scm_conf: scm_conf@0 {
195 compatible = "syscon";
196 reg = <0x0 0x800>;
197 #address-cells = <1>;
198 #size-cells = <1>;
Tero Kristo6a679202013-08-02 19:12:04 +0300199
Tero Kristo83a5d6c2015-02-12 10:25:40 +0200200 scm_clocks: clocks {
201 #address-cells = <1>;
202 #size-cells = <0>;
203 };
204 };
Tero Kristo6a679202013-08-02 19:12:04 +0300205
Suman Annac9ab94d2015-07-17 16:08:04 -0500206 wkup_m3_ipc: wkup_m3_ipc@1324 {
207 compatible = "ti,am4372-wkup-m3-ipc";
208 reg = <0x1324 0x44>;
209 interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
210 ti,rproc = <&wkup_m3>;
211 mboxes = <&mailbox &mbox_wkupm3>;
212 };
213
Peter Ujfalusicce1ee02015-12-17 15:33:37 +0200214 edma_xbar: dma-router@f90 {
215 compatible = "ti,am335x-edma-crossbar";
216 reg = <0xf90 0x40>;
217 #dma-cells = <3>;
218 dma-requests = <64>;
219 dma-masters = <&edma>;
220 };
221
Tero Kristo83a5d6c2015-02-12 10:25:40 +0200222 scm_clockdomains: clockdomains {
223 };
Tero Kristo6a679202013-08-02 19:12:04 +0300224 };
225 };
226
Dave Gerlachfff75ee2015-05-06 12:25:33 -0500227 emif: emif@4c000000 {
228 compatible = "ti,emif-am4372";
229 reg = <0x4c000000 0x1000000>;
230 ti,hwmods = "emif";
231 };
232
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530233 edma: edma@49000000 {
Peter Ujfalusicce1ee02015-12-17 15:33:37 +0200234 compatible = "ti,edma3-tpcc";
235 ti,hwmods = "tpcc";
236 reg = <0x49000000 0x10000>;
237 reg-names = "edma3_cc";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530238 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
Peter Ujfalusicce1ee02015-12-17 15:33:37 +0200239 <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
240 <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
241 interrupt-names = "edma3_ccint", "emda3_mperr",
242 "edma3_ccerrint";
243 dma-requests = <64>;
244 #dma-cells = <2>;
245
246 ti,tptcs = <&edma_tptc0 7>, <&edma_tptc1 5>,
247 <&edma_tptc2 0>;
248
Tero Kristod41676d2016-03-14 11:01:50 +0200249 ti,edma-memcpy-channels = <58 59>;
Peter Ujfalusicce1ee02015-12-17 15:33:37 +0200250 };
251
252 edma_tptc0: tptc@49800000 {
253 compatible = "ti,edma3-tptc";
254 ti,hwmods = "tptc0";
255 reg = <0x49800000 0x100000>;
256 interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
257 interrupt-names = "edma3_tcerrint";
258 };
259
260 edma_tptc1: tptc@49900000 {
261 compatible = "ti,edma3-tptc";
262 ti,hwmods = "tptc1";
263 reg = <0x49900000 0x100000>;
264 interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
265 interrupt-names = "edma3_tcerrint";
266 };
267
268 edma_tptc2: tptc@49a00000 {
269 compatible = "ti,edma3-tptc";
270 ti,hwmods = "tptc2";
271 reg = <0x49a00000 0x100000>;
272 interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
273 interrupt-names = "edma3_tcerrint";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530274 };
Afzal Mohammed6cfd8112013-06-03 18:49:54 +0530275
276 uart0: serial@44e09000 {
277 compatible = "ti,am4372-uart","ti,omap2-uart";
278 reg = <0x44e09000 0x2000>;
279 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
Afzal Mohammed73456012013-08-02 19:16:35 +0530280 ti,hwmods = "uart1";
281 };
282
283 uart1: serial@48022000 {
284 compatible = "ti,am4372-uart","ti,omap2-uart";
285 reg = <0x48022000 0x2000>;
286 interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
287 ti,hwmods = "uart2";
288 status = "disabled";
289 };
290
291 uart2: serial@48024000 {
292 compatible = "ti,am4372-uart","ti,omap2-uart";
293 reg = <0x48024000 0x2000>;
294 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
295 ti,hwmods = "uart3";
296 status = "disabled";
297 };
298
299 uart3: serial@481a6000 {
300 compatible = "ti,am4372-uart","ti,omap2-uart";
301 reg = <0x481a6000 0x2000>;
302 interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
303 ti,hwmods = "uart4";
304 status = "disabled";
305 };
306
307 uart4: serial@481a8000 {
308 compatible = "ti,am4372-uart","ti,omap2-uart";
309 reg = <0x481a8000 0x2000>;
310 interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
311 ti,hwmods = "uart5";
312 status = "disabled";
313 };
314
315 uart5: serial@481aa000 {
316 compatible = "ti,am4372-uart","ti,omap2-uart";
317 reg = <0x481aa000 0x2000>;
318 interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
319 ti,hwmods = "uart6";
320 status = "disabled";
Afzal Mohammed6cfd8112013-06-03 18:49:54 +0530321 };
322
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530323 mailbox: mailbox@480C8000 {
324 compatible = "ti,omap4-mailbox";
325 reg = <0x480C8000 0x200>;
326 interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
327 ti,hwmods = "mailbox";
Suman Anna24df0452014-11-03 17:07:35 -0600328 #mbox-cells = <1>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530329 ti,mbox-num-users = <4>;
330 ti,mbox-num-fifos = <8>;
Suman Annad27704d2014-09-10 14:27:23 -0500331 mbox_wkupm3: wkup_m3 {
Keerthycf19f3ab2015-07-17 16:08:02 -0500332 ti,mbox-send-noirq;
Suman Annad27704d2014-09-10 14:27:23 -0500333 ti,mbox-tx = <0 0 0>;
334 ti,mbox-rx = <0 0 3>;
335 };
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530336 };
337
Afzal Mohammed6cfd8112013-06-03 18:49:54 +0530338 timer1: timer@44e31000 {
339 compatible = "ti,am4372-timer-1ms","ti,am335x-timer-1ms";
340 reg = <0x44e31000 0x400>;
341 interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
342 ti,timer-alwon;
Afzal Mohammed73456012013-08-02 19:16:35 +0530343 ti,hwmods = "timer1";
Afzal Mohammed6cfd8112013-06-03 18:49:54 +0530344 };
345
346 timer2: timer@48040000 {
347 compatible = "ti,am4372-timer","ti,am335x-timer";
348 reg = <0x48040000 0x400>;
349 interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
Afzal Mohammed73456012013-08-02 19:16:35 +0530350 ti,hwmods = "timer2";
351 };
352
353 timer3: timer@48042000 {
354 compatible = "ti,am4372-timer","ti,am335x-timer";
355 reg = <0x48042000 0x400>;
356 interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
357 ti,hwmods = "timer3";
358 status = "disabled";
359 };
360
361 timer4: timer@48044000 {
362 compatible = "ti,am4372-timer","ti,am335x-timer";
363 reg = <0x48044000 0x400>;
364 interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
365 ti,timer-pwm;
366 ti,hwmods = "timer4";
367 status = "disabled";
368 };
369
370 timer5: timer@48046000 {
371 compatible = "ti,am4372-timer","ti,am335x-timer";
372 reg = <0x48046000 0x400>;
373 interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
374 ti,timer-pwm;
375 ti,hwmods = "timer5";
376 status = "disabled";
377 };
378
379 timer6: timer@48048000 {
380 compatible = "ti,am4372-timer","ti,am335x-timer";
381 reg = <0x48048000 0x400>;
382 interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
383 ti,timer-pwm;
384 ti,hwmods = "timer6";
385 status = "disabled";
386 };
387
388 timer7: timer@4804a000 {
389 compatible = "ti,am4372-timer","ti,am335x-timer";
390 reg = <0x4804a000 0x400>;
391 interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
392 ti,timer-pwm;
393 ti,hwmods = "timer7";
394 status = "disabled";
395 };
396
397 timer8: timer@481c1000 {
398 compatible = "ti,am4372-timer","ti,am335x-timer";
399 reg = <0x481c1000 0x400>;
400 interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>;
401 ti,hwmods = "timer8";
402 status = "disabled";
403 };
404
405 timer9: timer@4833d000 {
406 compatible = "ti,am4372-timer","ti,am335x-timer";
407 reg = <0x4833d000 0x400>;
408 interrupts = <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>;
409 ti,hwmods = "timer9";
410 status = "disabled";
411 };
412
413 timer10: timer@4833f000 {
414 compatible = "ti,am4372-timer","ti,am335x-timer";
415 reg = <0x4833f000 0x400>;
416 interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
417 ti,hwmods = "timer10";
418 status = "disabled";
419 };
420
421 timer11: timer@48341000 {
422 compatible = "ti,am4372-timer","ti,am335x-timer";
423 reg = <0x48341000 0x400>;
424 interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>;
425 ti,hwmods = "timer11";
426 status = "disabled";
Afzal Mohammed6cfd8112013-06-03 18:49:54 +0530427 };
428
429 counter32k: counter@44e86000 {
430 compatible = "ti,am4372-counter32k","ti,omap-counter32k";
431 reg = <0x44e86000 0x40>;
Afzal Mohammed73456012013-08-02 19:16:35 +0530432 ti,hwmods = "counter_32k";
433 };
434
Felipe Balbi08ecb282014-06-23 13:20:58 -0500435 rtc: rtc@44e3e000 {
Keerthy05743b32015-08-07 10:37:19 +0530436 compatible = "ti,am4372-rtc", "ti,am3352-rtc",
437 "ti,da830-rtc";
Afzal Mohammed73456012013-08-02 19:16:35 +0530438 reg = <0x44e3e000 0x1000>;
439 interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH
440 GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
441 ti,hwmods = "rtc";
Keerthyfff51e72015-08-18 15:11:14 +0530442 clocks = <&clk_32768_ck>;
443 clock-names = "int-clk";
Afzal Mohammed73456012013-08-02 19:16:35 +0530444 status = "disabled";
445 };
446
Felipe Balbi08ecb282014-06-23 13:20:58 -0500447 wdt: wdt@44e35000 {
Afzal Mohammed73456012013-08-02 19:16:35 +0530448 compatible = "ti,am4372-wdt","ti,omap3-wdt";
449 reg = <0x44e35000 0x1000>;
450 interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
451 ti,hwmods = "wd_timer2";
Afzal Mohammed73456012013-08-02 19:16:35 +0530452 };
453
454 gpio0: gpio@44e07000 {
455 compatible = "ti,am4372-gpio","ti,omap4-gpio";
456 reg = <0x44e07000 0x1000>;
457 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
458 gpio-controller;
459 #gpio-cells = <2>;
460 interrupt-controller;
461 #interrupt-cells = <2>;
462 ti,hwmods = "gpio1";
463 status = "disabled";
464 };
465
466 gpio1: gpio@4804c000 {
467 compatible = "ti,am4372-gpio","ti,omap4-gpio";
468 reg = <0x4804c000 0x1000>;
469 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
470 gpio-controller;
471 #gpio-cells = <2>;
472 interrupt-controller;
473 #interrupt-cells = <2>;
474 ti,hwmods = "gpio2";
475 status = "disabled";
476 };
477
478 gpio2: gpio@481ac000 {
479 compatible = "ti,am4372-gpio","ti,omap4-gpio";
480 reg = <0x481ac000 0x1000>;
481 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
482 gpio-controller;
483 #gpio-cells = <2>;
484 interrupt-controller;
485 #interrupt-cells = <2>;
486 ti,hwmods = "gpio3";
487 status = "disabled";
488 };
489
490 gpio3: gpio@481ae000 {
491 compatible = "ti,am4372-gpio","ti,omap4-gpio";
492 reg = <0x481ae000 0x1000>;
493 interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
494 gpio-controller;
495 #gpio-cells = <2>;
496 interrupt-controller;
497 #interrupt-cells = <2>;
498 ti,hwmods = "gpio4";
499 status = "disabled";
500 };
501
502 gpio4: gpio@48320000 {
503 compatible = "ti,am4372-gpio","ti,omap4-gpio";
504 reg = <0x48320000 0x1000>;
505 interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
506 gpio-controller;
507 #gpio-cells = <2>;
508 interrupt-controller;
509 #interrupt-cells = <2>;
510 ti,hwmods = "gpio5";
511 status = "disabled";
512 };
513
514 gpio5: gpio@48322000 {
515 compatible = "ti,am4372-gpio","ti,omap4-gpio";
516 reg = <0x48322000 0x1000>;
517 interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
518 gpio-controller;
519 #gpio-cells = <2>;
520 interrupt-controller;
521 #interrupt-cells = <2>;
522 ti,hwmods = "gpio6";
523 status = "disabled";
524 };
525
Suman Annafd4a8a62014-01-13 18:26:47 -0600526 hwspinlock: spinlock@480ca000 {
527 compatible = "ti,omap4-hwspinlock";
528 reg = <0x480ca000 0x1000>;
529 ti,hwmods = "spinlock";
530 #hwlock-cells = <1>;
531 };
532
Afzal Mohammed73456012013-08-02 19:16:35 +0530533 i2c0: i2c@44e0b000 {
534 compatible = "ti,am4372-i2c","ti,omap4-i2c";
535 reg = <0x44e0b000 0x1000>;
536 interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
537 ti,hwmods = "i2c1";
538 #address-cells = <1>;
539 #size-cells = <0>;
540 status = "disabled";
541 };
542
543 i2c1: i2c@4802a000 {
544 compatible = "ti,am4372-i2c","ti,omap4-i2c";
545 reg = <0x4802a000 0x1000>;
546 interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
547 ti,hwmods = "i2c2";
548 #address-cells = <1>;
549 #size-cells = <0>;
550 status = "disabled";
551 };
552
553 i2c2: i2c@4819c000 {
554 compatible = "ti,am4372-i2c","ti,omap4-i2c";
555 reg = <0x4819c000 0x1000>;
556 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
557 ti,hwmods = "i2c3";
558 #address-cells = <1>;
559 #size-cells = <0>;
560 status = "disabled";
561 };
562
563 spi0: spi@48030000 {
564 compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
565 reg = <0x48030000 0x400>;
566 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
567 ti,hwmods = "spi0";
568 #address-cells = <1>;
569 #size-cells = <0>;
570 status = "disabled";
571 };
572
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530573 mmc1: mmc@48060000 {
574 compatible = "ti,omap4-hsmmc";
575 reg = <0x48060000 0x1000>;
576 ti,hwmods = "mmc1";
577 ti,dual-volt;
578 ti,needs-special-reset;
Peter Ujfalusicce1ee02015-12-17 15:33:37 +0200579 dmas = <&edma 24 0>,
580 <&edma 25 0>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530581 dma-names = "tx", "rx";
582 interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
583 status = "disabled";
584 };
585
586 mmc2: mmc@481d8000 {
587 compatible = "ti,omap4-hsmmc";
588 reg = <0x481d8000 0x1000>;
589 ti,hwmods = "mmc2";
590 ti,needs-special-reset;
Peter Ujfalusicce1ee02015-12-17 15:33:37 +0200591 dmas = <&edma 2 0>,
592 <&edma 3 0>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530593 dma-names = "tx", "rx";
594 interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
595 status = "disabled";
596 };
597
598 mmc3: mmc@47810000 {
599 compatible = "ti,omap4-hsmmc";
600 reg = <0x47810000 0x1000>;
601 ti,hwmods = "mmc3";
602 ti,needs-special-reset;
603 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
604 status = "disabled";
605 };
606
Afzal Mohammed73456012013-08-02 19:16:35 +0530607 spi1: spi@481a0000 {
608 compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
609 reg = <0x481a0000 0x400>;
610 interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>;
611 ti,hwmods = "spi1";
612 #address-cells = <1>;
613 #size-cells = <0>;
614 status = "disabled";
615 };
616
617 spi2: spi@481a2000 {
618 compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
619 reg = <0x481a2000 0x400>;
620 interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>;
621 ti,hwmods = "spi2";
622 #address-cells = <1>;
623 #size-cells = <0>;
624 status = "disabled";
625 };
626
627 spi3: spi@481a4000 {
628 compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
629 reg = <0x481a4000 0x400>;
630 interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>;
631 ti,hwmods = "spi3";
632 #address-cells = <1>;
633 #size-cells = <0>;
634 status = "disabled";
635 };
636
637 spi4: spi@48345000 {
638 compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
639 reg = <0x48345000 0x400>;
640 interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>;
641 ti,hwmods = "spi4";
642 #address-cells = <1>;
643 #size-cells = <0>;
644 status = "disabled";
645 };
646
647 mac: ethernet@4a100000 {
648 compatible = "ti,am4372-cpsw","ti,cpsw";
649 reg = <0x4a100000 0x800
650 0x4a101200 0x100>;
651 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH
652 GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH
653 GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH
654 GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530655 #address-cells = <1>;
656 #size-cells = <1>;
Afzal Mohammed73456012013-08-02 19:16:35 +0530657 ti,hwmods = "cpgmac0";
Keerthydff8a202015-06-18 13:31:13 +0530658 clocks = <&cpsw_125mhz_gclk>, <&cpsw_cpts_rft_clk>,
659 <&dpll_clksel_mac_clk>;
660 clock-names = "fck", "cpts", "50mclk";
661 assigned-clocks = <&dpll_clksel_mac_clk>;
662 assigned-clock-rates = <50000000>;
Afzal Mohammed73456012013-08-02 19:16:35 +0530663 status = "disabled";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530664 cpdma_channels = <8>;
665 ale_entries = <1024>;
666 bd_ram_size = <0x2000>;
667 no_bd_ram = <0>;
668 rx_descs = <64>;
669 mac_control = <0x20>;
670 slaves = <2>;
671 active_slave = <0>;
672 cpts_clock_mult = <0x80000000>;
673 cpts_clock_shift = <29>;
674 ranges;
Mugunthan V Ncec42842015-09-21 15:56:53 +0530675 syscon = <&scm_conf>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530676
677 davinci_mdio: mdio@4a101000 {
678 compatible = "ti,am4372-mdio","ti,davinci_mdio";
679 reg = <0x4a101000 0x100>;
680 #address-cells = <1>;
681 #size-cells = <0>;
682 ti,hwmods = "davinci_mdio";
683 bus_freq = <1000000>;
684 status = "disabled";
685 };
686
687 cpsw_emac0: slave@4a100200 {
688 /* Filled in by U-Boot */
689 mac-address = [ 00 00 00 00 00 00 ];
690 };
691
692 cpsw_emac1: slave@4a100300 {
693 /* Filled in by U-Boot */
694 mac-address = [ 00 00 00 00 00 00 ];
695 };
Mugunthan V Na9682cf2014-05-13 14:14:30 +0530696
697 phy_sel: cpsw-phy-sel@44e10650 {
698 compatible = "ti,am43xx-cpsw-phy-sel";
699 reg= <0x44e10650 0x4>;
700 reg-names = "gmii-sel";
701 };
Afzal Mohammed73456012013-08-02 19:16:35 +0530702 };
703
704 epwmss0: epwmss@48300000 {
705 compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
706 reg = <0x48300000 0x10>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530707 #address-cells = <1>;
708 #size-cells = <1>;
709 ranges;
Afzal Mohammed73456012013-08-02 19:16:35 +0530710 ti,hwmods = "epwmss0";
711 status = "disabled";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530712
713 ecap0: ecap@48300100 {
Franklin S Cooper Jr229110c2016-05-03 10:56:51 -0500714 compatible = "ti,am4372-ecap",
715 "ti,am3352-ecap",
716 "ti,am33xx-ecap";
Sourav Poddaraa842302013-12-19 18:03:33 +0530717 #pwm-cells = <3>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530718 reg = <0x48300100 0x80>;
Franklin S Cooper Jr229110c2016-05-03 10:56:51 -0500719 clocks = <&l4ls_gclk>;
720 clock-names = "fck";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530721 status = "disabled";
722 };
723
Franklin S Cooper Jrdce2a652016-03-17 20:15:22 -0500724 ehrpwm0: pwm@48300200 {
Franklin S Cooper Jr229110c2016-05-03 10:56:51 -0500725 compatible = "ti,am4372-ehrpwm",
726 "ti,am3352-ehrpwm",
727 "ti,am33xx-ehrpwm";
Sourav Poddaraa842302013-12-19 18:03:33 +0530728 #pwm-cells = <3>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530729 reg = <0x48300200 0x80>;
Franklin S Cooper Jr229110c2016-05-03 10:56:51 -0500730 clocks = <&ehrpwm0_tbclk>, <&l4ls_gclk>;
731 clock-names = "tbclk", "fck";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530732 status = "disabled";
733 };
Afzal Mohammed73456012013-08-02 19:16:35 +0530734 };
735
736 epwmss1: epwmss@48302000 {
737 compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
738 reg = <0x48302000 0x10>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530739 #address-cells = <1>;
740 #size-cells = <1>;
741 ranges;
Afzal Mohammed73456012013-08-02 19:16:35 +0530742 ti,hwmods = "epwmss1";
743 status = "disabled";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530744
745 ecap1: ecap@48302100 {
Franklin S Cooper Jr229110c2016-05-03 10:56:51 -0500746 compatible = "ti,am4372-ecap",
747 "ti,am3352-ecap",
748 "ti,am33xx-ecap";
Sourav Poddaraa842302013-12-19 18:03:33 +0530749 #pwm-cells = <3>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530750 reg = <0x48302100 0x80>;
Franklin S Cooper Jr229110c2016-05-03 10:56:51 -0500751 clocks = <&l4ls_gclk>;
752 clock-names = "fck";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530753 status = "disabled";
754 };
755
Franklin S Cooper Jrdce2a652016-03-17 20:15:22 -0500756 ehrpwm1: pwm@48302200 {
Franklin S Cooper Jr229110c2016-05-03 10:56:51 -0500757 compatible = "ti,am4372-ehrpwm",
758 "ti,am3352-ehrpwm",
759 "ti,am33xx-ehrpwm";
Sourav Poddaraa842302013-12-19 18:03:33 +0530760 #pwm-cells = <3>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530761 reg = <0x48302200 0x80>;
Franklin S Cooper Jr229110c2016-05-03 10:56:51 -0500762 clocks = <&ehrpwm1_tbclk>, <&l4ls_gclk>;
763 clock-names = "tbclk", "fck";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530764 status = "disabled";
765 };
Afzal Mohammed73456012013-08-02 19:16:35 +0530766 };
767
768 epwmss2: epwmss@48304000 {
769 compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
770 reg = <0x48304000 0x10>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530771 #address-cells = <1>;
772 #size-cells = <1>;
773 ranges;
Afzal Mohammed73456012013-08-02 19:16:35 +0530774 ti,hwmods = "epwmss2";
775 status = "disabled";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530776
777 ecap2: ecap@48304100 {
Franklin S Cooper Jr229110c2016-05-03 10:56:51 -0500778 compatible = "ti,am4372-ecap",
779 "ti,am3352-ecap",
780 "ti,am33xx-ecap";
Sourav Poddaraa842302013-12-19 18:03:33 +0530781 #pwm-cells = <3>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530782 reg = <0x48304100 0x80>;
Franklin S Cooper Jr229110c2016-05-03 10:56:51 -0500783 clocks = <&l4ls_gclk>;
784 clock-names = "fck";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530785 status = "disabled";
786 };
787
Franklin S Cooper Jrdce2a652016-03-17 20:15:22 -0500788 ehrpwm2: pwm@48304200 {
Franklin S Cooper Jr229110c2016-05-03 10:56:51 -0500789 compatible = "ti,am4372-ehrpwm",
790 "ti,am3352-ehrpwm",
791 "ti,am33xx-ehrpwm";
Sourav Poddaraa842302013-12-19 18:03:33 +0530792 #pwm-cells = <3>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530793 reg = <0x48304200 0x80>;
Franklin S Cooper Jr229110c2016-05-03 10:56:51 -0500794 clocks = <&ehrpwm2_tbclk>, <&l4ls_gclk>;
795 clock-names = "tbclk", "fck";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530796 status = "disabled";
797 };
Afzal Mohammed73456012013-08-02 19:16:35 +0530798 };
799
800 epwmss3: epwmss@48306000 {
801 compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
802 reg = <0x48306000 0x10>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530803 #address-cells = <1>;
804 #size-cells = <1>;
805 ranges;
Afzal Mohammed73456012013-08-02 19:16:35 +0530806 ti,hwmods = "epwmss3";
807 status = "disabled";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530808
Franklin S Cooper Jrdce2a652016-03-17 20:15:22 -0500809 ehrpwm3: pwm@48306200 {
Franklin S Cooper Jr229110c2016-05-03 10:56:51 -0500810 compatible = "ti,am4372-ehrpwm",
811 "ti,am3352-ehrpwm",
812 "ti,am33xx-ehrpwm";
Sourav Poddaraa842302013-12-19 18:03:33 +0530813 #pwm-cells = <3>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530814 reg = <0x48306200 0x80>;
Franklin S Cooper Jr229110c2016-05-03 10:56:51 -0500815 clocks = <&ehrpwm3_tbclk>, <&l4ls_gclk>;
816 clock-names = "tbclk", "fck";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530817 status = "disabled";
818 };
Afzal Mohammed73456012013-08-02 19:16:35 +0530819 };
820
821 epwmss4: epwmss@48308000 {
822 compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
823 reg = <0x48308000 0x10>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530824 #address-cells = <1>;
825 #size-cells = <1>;
826 ranges;
Afzal Mohammed73456012013-08-02 19:16:35 +0530827 ti,hwmods = "epwmss4";
828 status = "disabled";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530829
Franklin S Cooper Jrdce2a652016-03-17 20:15:22 -0500830 ehrpwm4: pwm@48308200 {
Franklin S Cooper Jr229110c2016-05-03 10:56:51 -0500831 compatible = "ti,am4372-ehrpwm",
832 "ti,am3352-ehrpwm",
833 "ti,am33xx-ehrpwm";
Sourav Poddaraa842302013-12-19 18:03:33 +0530834 #pwm-cells = <3>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530835 reg = <0x48308200 0x80>;
Franklin S Cooper Jr229110c2016-05-03 10:56:51 -0500836 clocks = <&ehrpwm4_tbclk>, <&l4ls_gclk>;
837 clock-names = "tbclk", "fck";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530838 status = "disabled";
839 };
Afzal Mohammed73456012013-08-02 19:16:35 +0530840 };
841
842 epwmss5: epwmss@4830a000 {
843 compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
844 reg = <0x4830a000 0x10>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530845 #address-cells = <1>;
846 #size-cells = <1>;
847 ranges;
Afzal Mohammed73456012013-08-02 19:16:35 +0530848 ti,hwmods = "epwmss5";
849 status = "disabled";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530850
Franklin S Cooper Jrdce2a652016-03-17 20:15:22 -0500851 ehrpwm5: pwm@4830a200 {
Franklin S Cooper Jr229110c2016-05-03 10:56:51 -0500852 compatible = "ti,am4372-ehrpwm",
853 "ti,am3352-ehrpwm",
854 "ti,am33xx-ehrpwm";
Sourav Poddaraa842302013-12-19 18:03:33 +0530855 #pwm-cells = <3>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530856 reg = <0x4830a200 0x80>;
Franklin S Cooper Jr229110c2016-05-03 10:56:51 -0500857 clocks = <&ehrpwm5_tbclk>, <&l4ls_gclk>;
858 clock-names = "tbclk", "fck";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530859 status = "disabled";
860 };
861 };
862
Vignesh R0f39f7b2014-11-21 15:44:22 +0530863 tscadc: tscadc@44e0d000 {
864 compatible = "ti,am3359-tscadc";
865 reg = <0x44e0d000 0x1000>;
866 ti,hwmods = "adc_tsc";
867 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
868 clocks = <&adc_tsc_fck>;
869 clock-names = "fck";
870 status = "disabled";
871
872 tsc {
873 compatible = "ti,am3359-tsc";
874 };
875
876 adc {
877 #io-channel-cells = <1>;
878 compatible = "ti,am3359-adc";
879 };
880
881 };
882
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530883 sham: sham@53100000 {
884 compatible = "ti,omap5-sham";
885 ti,hwmods = "sham";
886 reg = <0x53100000 0x300>;
Peter Ujfalusicce1ee02015-12-17 15:33:37 +0200887 dmas = <&edma 36 0>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530888 dma-names = "rx";
889 interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
Afzal Mohammed6cfd8112013-06-03 18:49:54 +0530890 };
Joel Fernandes6e70a512013-09-24 14:35:09 -0500891
892 aes: aes@53501000 {
893 compatible = "ti,omap4-aes";
894 ti,hwmods = "aes";
895 reg = <0x53501000 0xa0>;
896 interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
Peter Ujfalusicce1ee02015-12-17 15:33:37 +0200897 dmas = <&edma 6 0>,
898 <&edma 5 0>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530899 dma-names = "tx", "rx";
Joel Fernandes6e70a512013-09-24 14:35:09 -0500900 };
Joel Fernandes099f3a852013-09-24 14:37:33 -0500901
902 des: des@53701000 {
903 compatible = "ti,omap4-des";
904 ti,hwmods = "des";
905 reg = <0x53701000 0xa0>;
906 interrupts = <GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>;
Peter Ujfalusicce1ee02015-12-17 15:33:37 +0200907 dmas = <&edma 34 0>,
908 <&edma 33 0>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530909 dma-names = "tx", "rx";
Joel Fernandes099f3a852013-09-24 14:37:33 -0500910 };
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530911
Peter Ujfalusib9c95bf2013-10-21 12:45:58 +0300912 mcasp0: mcasp@48038000 {
913 compatible = "ti,am33xx-mcasp-audio";
914 ti,hwmods = "mcasp0";
915 reg = <0x48038000 0x2000>,
916 <0x46000000 0x400000>;
917 reg-names = "mpu", "dat";
918 interrupts = <80>, <81>;
Geert Uytterhoevenae107d02014-04-22 20:40:25 +0200919 interrupt-names = "tx", "rx";
Peter Ujfalusib9c95bf2013-10-21 12:45:58 +0300920 status = "disabled";
Peter Ujfalusicce1ee02015-12-17 15:33:37 +0200921 dmas = <&edma 8 2>,
922 <&edma 9 2>;
Peter Ujfalusib9c95bf2013-10-21 12:45:58 +0300923 dma-names = "tx", "rx";
924 };
925
926 mcasp1: mcasp@4803C000 {
927 compatible = "ti,am33xx-mcasp-audio";
928 ti,hwmods = "mcasp1";
929 reg = <0x4803C000 0x2000>,
930 <0x46400000 0x400000>;
931 reg-names = "mpu", "dat";
932 interrupts = <82>, <83>;
Geert Uytterhoevenae107d02014-04-22 20:40:25 +0200933 interrupt-names = "tx", "rx";
Peter Ujfalusib9c95bf2013-10-21 12:45:58 +0300934 status = "disabled";
Peter Ujfalusicce1ee02015-12-17 15:33:37 +0200935 dmas = <&edma 10 2>,
936 <&edma 11 2>;
Peter Ujfalusib9c95bf2013-10-21 12:45:58 +0300937 dma-names = "tx", "rx";
938 };
Pekon Guptaf68e3552014-02-05 18:58:34 +0530939
940 elm: elm@48080000 {
941 compatible = "ti,am3352-elm";
942 reg = <0x48080000 0x2000>;
943 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
944 ti,hwmods = "elm";
945 clocks = <&l4ls_gclk>;
946 clock-names = "fck";
947 status = "disabled";
948 };
949
950 gpmc: gpmc@50000000 {
951 compatible = "ti,am3352-gpmc";
952 ti,hwmods = "gpmc";
Franklin S Cooper Jr883cbc92016-03-10 17:56:39 -0600953 dmas = <&edma 52 0>;
Franklin S Cooper Jr201c7e32015-10-15 12:37:27 -0500954 dma-names = "rxtx";
Pekon Guptaf68e3552014-02-05 18:58:34 +0530955 clocks = <&l3s_gclk>;
956 clock-names = "fck";
957 reg = <0x50000000 0x2000>;
958 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
959 gpmc,num-cs = <7>;
960 gpmc,num-waitpins = <2>;
961 #address-cells = <2>;
962 #size-cells = <1>;
Roger Quadrosbe3f39c2016-02-23 18:37:19 +0200963 interrupt-controller;
964 #interrupt-cells = <2>;
Roger Quadros9e08c2d2016-04-07 13:25:33 +0300965 gpio-controller;
966 #gpio-cells = <2>;
Pekon Guptaf68e3552014-02-05 18:58:34 +0530967 status = "disabled";
968 };
George Cheriana0ae47e2014-03-19 15:40:01 +0530969
George Cheriana0ae47e2014-03-19 15:40:01 +0530970 ocp2scp0: ocp2scp@483a8000 {
Kishon Vijay Abraham I20431db2015-03-17 16:54:50 +0530971 compatible = "ti,am437x-ocp2scp", "ti,omap-ocp2scp";
George Cheriana0ae47e2014-03-19 15:40:01 +0530972 #address-cells = <1>;
973 #size-cells = <1>;
974 ranges;
975 ti,hwmods = "ocp2scp0";
976
977 usb2_phy1: phy@483a8000 {
978 compatible = "ti,am437x-usb2";
979 reg = <0x483a8000 0x8000>;
Kishon Vijay Abraham I2338c762015-12-21 14:43:21 +0530980 syscon-phy-power = <&scm_conf 0x620>;
George Cheriana0ae47e2014-03-19 15:40:01 +0530981 clocks = <&usb_phy0_always_on_clk32k>,
982 <&usb_otg_ss0_refclk960m>;
983 clock-names = "wkupclk", "refclk";
984 #phy-cells = <0>;
985 status = "disabled";
986 };
987 };
988
989 ocp2scp1: ocp2scp@483e8000 {
Kishon Vijay Abraham I20431db2015-03-17 16:54:50 +0530990 compatible = "ti,am437x-ocp2scp", "ti,omap-ocp2scp";
George Cheriana0ae47e2014-03-19 15:40:01 +0530991 #address-cells = <1>;
992 #size-cells = <1>;
993 ranges;
994 ti,hwmods = "ocp2scp1";
995
996 usb2_phy2: phy@483e8000 {
997 compatible = "ti,am437x-usb2";
998 reg = <0x483e8000 0x8000>;
Kishon Vijay Abraham I2338c762015-12-21 14:43:21 +0530999 syscon-phy-power = <&scm_conf 0x628>;
George Cheriana0ae47e2014-03-19 15:40:01 +05301000 clocks = <&usb_phy1_always_on_clk32k>,
1001 <&usb_otg_ss1_refclk960m>;
1002 clock-names = "wkupclk", "refclk";
1003 #phy-cells = <0>;
1004 status = "disabled";
1005 };
1006 };
1007
1008 dwc3_1: omap_dwc3@48380000 {
1009 compatible = "ti,am437x-dwc3";
1010 ti,hwmods = "usb_otg_ss0";
1011 reg = <0x48380000 0x10000>;
1012 interrupts = <GIC_SPI 172 IRQ_TYPE_LEVEL_HIGH>;
1013 #address-cells = <1>;
1014 #size-cells = <1>;
1015 utmi-mode = <1>;
1016 ranges;
1017
1018 usb1: usb@48390000 {
1019 compatible = "synopsys,dwc3";
Felipe Balbi4b143f02014-09-03 16:22:24 -05001020 reg = <0x48390000 0x10000>;
Felipe Balbi1d20e4b2015-07-08 13:42:30 +03001021 interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>,
1022 <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>,
1023 <GIC_SPI 172 IRQ_TYPE_LEVEL_HIGH>;
1024 interrupt-names = "peripheral",
1025 "host",
1026 "otg";
George Cheriana0ae47e2014-03-19 15:40:01 +05301027 phys = <&usb2_phy1>;
1028 phy-names = "usb2-phy";
1029 maximum-speed = "high-speed";
1030 dr_mode = "otg";
1031 status = "disabled";
Felipe Balbi60f0e622014-11-06 11:32:35 -06001032 snps,dis_u3_susphy_quirk;
1033 snps,dis_u2_susphy_quirk;
George Cheriana0ae47e2014-03-19 15:40:01 +05301034 };
1035 };
1036
1037 dwc3_2: omap_dwc3@483c0000 {
1038 compatible = "ti,am437x-dwc3";
1039 ti,hwmods = "usb_otg_ss1";
1040 reg = <0x483c0000 0x10000>;
1041 interrupts = <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>;
1042 #address-cells = <1>;
1043 #size-cells = <1>;
1044 utmi-mode = <1>;
1045 ranges;
1046
1047 usb2: usb@483d0000 {
1048 compatible = "synopsys,dwc3";
Felipe Balbi4b143f02014-09-03 16:22:24 -05001049 reg = <0x483d0000 0x10000>;
Felipe Balbi1d20e4b2015-07-08 13:42:30 +03001050 interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>,
1051 <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>,
1052 <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>;
1053 interrupt-names = "peripheral",
1054 "host",
1055 "otg";
George Cheriana0ae47e2014-03-19 15:40:01 +05301056 phys = <&usb2_phy2>;
1057 phy-names = "usb2-phy";
1058 maximum-speed = "high-speed";
1059 dr_mode = "otg";
1060 status = "disabled";
Felipe Balbi60f0e622014-11-06 11:32:35 -06001061 snps,dis_u3_susphy_quirk;
1062 snps,dis_u2_susphy_quirk;
George Cheriana0ae47e2014-03-19 15:40:01 +05301063 };
1064 };
Sourav Poddar2a1a5042014-04-28 19:12:30 +05301065
1066 qspi: qspi@47900000 {
1067 compatible = "ti,am4372-qspi";
Vignesh R2acb6c32015-12-11 09:40:00 +05301068 reg = <0x47900000 0x100>,
1069 <0x30000000 0x4000000>;
1070 reg-names = "qspi_base", "qspi_mmap";
Sourav Poddar2a1a5042014-04-28 19:12:30 +05301071 #address-cells = <1>;
1072 #size-cells = <0>;
1073 ti,hwmods = "qspi";
1074 interrupts = <0 138 0x4>;
1075 num-cs = <4>;
1076 status = "disabled";
1077 };
Sourav Poddar741cac52014-05-08 11:30:07 +05301078
1079 hdq: hdq@48347000 {
Vignesh Ra895b8a2015-03-02 16:19:34 +05301080 compatible = "ti,am4372-hdq";
Sourav Poddar741cac52014-05-08 11:30:07 +05301081 reg = <0x48347000 0x1000>;
1082 interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>;
1083 clocks = <&func_12m_clk>;
1084 clock-names = "fck";
1085 ti,hwmods = "hdq1w";
1086 status = "disabled";
1087 };
Sathya Prakash M R8c793362014-03-24 16:31:55 +05301088
1089 dss: dss@4832a000 {
1090 compatible = "ti,omap3-dss";
1091 reg = <0x4832a000 0x200>;
1092 status = "disabled";
1093 ti,hwmods = "dss_core";
1094 clocks = <&disp_clk>;
1095 clock-names = "fck";
1096 #address-cells = <1>;
1097 #size-cells = <1>;
1098 ranges;
1099
Felipe Balbi08ecb282014-06-23 13:20:58 -05001100 dispc: dispc@4832a400 {
Sathya Prakash M R8c793362014-03-24 16:31:55 +05301101 compatible = "ti,omap3-dispc";
1102 reg = <0x4832a400 0x400>;
1103 interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
1104 ti,hwmods = "dss_dispc";
1105 clocks = <&disp_clk>;
1106 clock-names = "fck";
1107 };
1108
1109 rfbi: rfbi@4832a800 {
1110 compatible = "ti,omap3-rfbi";
1111 reg = <0x4832a800 0x100>;
1112 ti,hwmods = "dss_rfbi";
1113 clocks = <&disp_clk>;
1114 clock-names = "fck";
Tomi Valkeinen22a5dc12015-06-30 15:04:54 +03001115 status = "disabled";
Sathya Prakash M R8c793362014-03-24 16:31:55 +05301116 };
1117 };
Rajendra Nayak8b9a2812014-09-10 11:04:03 -05001118
1119 ocmcram: ocmcram@40300000 {
1120 compatible = "mmio-sram";
1121 reg = <0x40300000 0x40000>; /* 256k */
1122 };
Roger Quadros9e63b0d2014-09-04 15:36:03 +03001123
1124 dcan0: can@481cc000 {
1125 compatible = "ti,am4372-d_can", "ti,am3352-d_can";
1126 ti,hwmods = "d_can0";
1127 clocks = <&dcan0_fck>;
1128 clock-names = "fck";
1129 reg = <0x481cc000 0x2000>;
Tero Kristo83a5d6c2015-02-12 10:25:40 +02001130 syscon-raminit = <&scm_conf 0x644 0>;
Roger Quadros9e63b0d2014-09-04 15:36:03 +03001131 interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
1132 status = "disabled";
1133 };
1134
1135 dcan1: can@481d0000 {
1136 compatible = "ti,am4372-d_can", "ti,am3352-d_can";
1137 ti,hwmods = "d_can1";
1138 clocks = <&dcan1_fck>;
1139 clock-names = "fck";
1140 reg = <0x481d0000 0x2000>;
Tero Kristo83a5d6c2015-02-12 10:25:40 +02001141 syscon-raminit = <&scm_conf 0x644 1>;
Roger Quadros9e63b0d2014-09-04 15:36:03 +03001142 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
1143 status = "disabled";
1144 };
Benoit Parrot9d0df0a2014-12-18 21:54:11 +05301145
1146 vpfe0: vpfe@48326000 {
1147 compatible = "ti,am437x-vpfe";
1148 reg = <0x48326000 0x2000>;
1149 interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
1150 ti,hwmods = "vpfe0";
1151 status = "disabled";
1152 };
1153
1154 vpfe1: vpfe@48328000 {
1155 compatible = "ti,am437x-vpfe";
1156 reg = <0x48328000 0x2000>;
1157 interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
1158 ti,hwmods = "vpfe1";
1159 status = "disabled";
1160 };
Afzal Mohammed6cfd8112013-06-03 18:49:54 +05301161 };
1162};
Tero Kristo6a679202013-08-02 19:12:04 +03001163
1164/include/ "am43xx-clocks.dtsi"