blob: a20a71d9d22ef2733fcde817f480ff36418d9a9f [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
Afzal Mohammed6cfd8112013-06-03 18:49:54 +053014/ {
15 compatible = "ti,am4372", "ti,am43";
Marc Zyngier7136d452015-03-11 15:43:49 +000016 interrupt-parent = <&wakeupgen>;
Javier Martinez Canillas75813022016-08-31 12:35:25 +020017 #address-cells = <1>;
18 #size-cells = <1>;
Javier Martinez Canillasbec062c2016-12-19 11:44:38 -030019 chosen { };
Afzal Mohammed6cfd8112013-06-03 18:49:54 +053020
Javier Martinez Canillas9194cf42016-08-31 12:35:32 +020021 memory@0 {
Javier Martinez Canillas75813022016-08-31 12:35:25 +020022 device_type = "memory";
23 reg = <0 0>;
24 };
Afzal Mohammed6cfd8112013-06-03 18:49:54 +053025
26 aliases {
Nishanth Menon6a968672013-10-16 15:21:04 -050027 i2c0 = &i2c0;
28 i2c1 = &i2c1;
29 i2c2 = &i2c2;
Afzal Mohammed6cfd8112013-06-03 18:49:54 +053030 serial0 = &uart0;
Sekhar Nori71256d92015-07-20 16:42:20 +053031 serial1 = &uart1;
32 serial2 = &uart2;
33 serial3 = &uart3;
34 serial4 = &uart4;
35 serial5 = &uart5;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +053036 ethernet0 = &cpsw_emac0;
37 ethernet1 = &cpsw_emac1;
Mugunthan V Ne05edea2015-11-19 12:31:02 +053038 spi0 = &qspi;
Afzal Mohammed6cfd8112013-06-03 18:49:54 +053039 };
40
41 cpus {
Afzal Mohammed738c7402013-08-02 19:16:13 +053042 #address-cells = <1>;
43 #size-cells = <0>;
Felipe Balbi08ecb282014-06-23 13:20:58 -050044 cpu: cpu@0 {
Afzal Mohammed6cfd8112013-06-03 18:49:54 +053045 compatible = "arm,cortex-a9";
Afzal Mohammed738c7402013-08-02 19:16:13 +053046 device_type = "cpu";
47 reg = <0>;
Nishanth Menon8d766fa2014-01-29 12:19:17 -060048
49 clocks = <&dpll_mpu_ck>;
50 clock-names = "cpu";
51
Dave Gerlach6da9c792016-05-18 18:36:29 -050052 operating-points-v2 = <&cpu0_opp_table>;
53 ti,syscon-efuse = <&scm_conf 0x610 0x3f 0>;
54 ti,syscon-rev = <&scm_conf 0x600>;
55
Nishanth Menon8d766fa2014-01-29 12:19:17 -060056 clock-latency = <300000>; /* From omap-cpufreq driver */
Afzal Mohammed6cfd8112013-06-03 18:49:54 +053057 };
58 };
59
Dave Gerlach6da9c792016-05-18 18:36:29 -050060 cpu0_opp_table: opp_table0 {
61 compatible = "operating-points-v2";
62
63 opp50@300000000 {
64 opp-hz = /bits/ 64 <300000000>;
65 opp-microvolt = <950000 931000 969000>;
66 opp-supported-hw = <0xFF 0x01>;
67 opp-suspend;
68 };
69
70 opp100@600000000 {
71 opp-hz = /bits/ 64 <600000000>;
72 opp-microvolt = <1100000 1078000 1122000>;
73 opp-supported-hw = <0xFF 0x04>;
74 };
75
76 opp120@720000000 {
77 opp-hz = /bits/ 64 <720000000>;
78 opp-microvolt = <1200000 1176000 1224000>;
79 opp-supported-hw = <0xFF 0x08>;
80 };
81
82 oppturbo@800000000 {
83 opp-hz = /bits/ 64 <800000000>;
84 opp-microvolt = <1260000 1234800 1285200>;
85 opp-supported-hw = <0xFF 0x10>;
86 };
87
88 oppnitro@1000000000 {
89 opp-hz = /bits/ 64 <1000000000>;
90 opp-microvolt = <1325000 1298500 1351500>;
91 opp-supported-hw = <0xFF 0x20>;
92 };
93 };
94
Afzal Mohammed6cfd8112013-06-03 18:49:54 +053095 gic: interrupt-controller@48241000 {
96 compatible = "arm,cortex-a9-gic";
97 interrupt-controller;
98 #interrupt-cells = <3>;
99 reg = <0x48241000 0x1000>,
100 <0x48240100 0x0100>;
Marc Zyngier7136d452015-03-11 15:43:49 +0000101 interrupt-parent = <&gic>;
102 };
103
104 wakeupgen: interrupt-controller@48281000 {
105 compatible = "ti,omap4-wugen-mpu";
106 interrupt-controller;
107 #interrupt-cells = <3>;
108 reg = <0x48281000 0x1000>;
109 interrupt-parent = <&gic>;
Afzal Mohammed6cfd8112013-06-03 18:49:54 +0530110 };
111
Felipe Balbi8cbd4c2f2015-08-12 14:56:54 -0500112 scu: scu@48240000 {
113 compatible = "arm,cortex-a9-scu";
114 reg = <0x48240000 0x100>;
115 };
116
117 global_timer: timer@48240200 {
118 compatible = "arm,cortex-a9-global-timer";
119 reg = <0x48240200 0x100>;
Grygorii Strashko84fb2252015-12-28 15:52:04 +0200120 interrupts = <GIC_PPI 11 IRQ_TYPE_EDGE_RISING>;
Felipe Balbi8cbd4c2f2015-08-12 14:56:54 -0500121 interrupt-parent = <&gic>;
Grygorii Strashko14054fb2015-11-30 17:56:38 +0200122 clocks = <&mpu_periphclk>;
Felipe Balbi8cbd4c2f2015-08-12 14:56:54 -0500123 };
124
125 local_timer: timer@48240600 {
126 compatible = "arm,cortex-a9-twd-timer";
127 reg = <0x48240600 0x100>;
Grygorii Strashko84fb2252015-12-28 15:52:04 +0200128 interrupts = <GIC_PPI 13 IRQ_TYPE_EDGE_RISING>;
Felipe Balbi8cbd4c2f2015-08-12 14:56:54 -0500129 interrupt-parent = <&gic>;
Grygorii Strashko14054fb2015-11-30 17:56:38 +0200130 clocks = <&mpu_periphclk>;
Felipe Balbi8cbd4c2f2015-08-12 14:56:54 -0500131 };
132
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530133 l2-cache-controller@48242000 {
134 compatible = "arm,pl310-cache";
135 reg = <0x48242000 0x1000>;
136 cache-unified;
137 cache-level = <2>;
138 };
139
Javier Martinez Canillasf515f812016-08-01 12:46:55 -0400140 ocp@44000000 {
Afzal Mohammed2eeddb82013-12-02 17:48:57 +0530141 compatible = "ti,am4372-l3-noc", "simple-bus";
Afzal Mohammed6cfd8112013-06-03 18:49:54 +0530142 #address-cells = <1>;
143 #size-cells = <1>;
144 ranges;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530145 ti,hwmods = "l3_main";
Afzal Mohammed2eeddb82013-12-02 17:48:57 +0530146 reg = <0x44000000 0x400000
147 0x44800000 0x400000>;
148 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
149 <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530150
Tero Kristo83a5d6c2015-02-12 10:25:40 +0200151 l4_wkup: l4_wkup@44c00000 {
152 compatible = "ti,am4-l4-wkup", "simple-bus";
153 #address-cells = <1>;
154 #size-cells = <1>;
155 ranges = <0 0x44c00000 0x287000>;
Tero Kristo6a679202013-08-02 19:12:04 +0300156
Suman Anna340204222015-07-13 12:34:55 -0500157 wkup_m3: wkup_m3@100000 {
158 compatible = "ti,am4372-wkup-m3";
159 reg = <0x100000 0x4000>,
160 <0x180000 0x2000>;
161 reg-names = "umem", "dmem";
162 ti,hwmods = "wkup_m3";
163 ti,pm-firmware = "am335x-pm-firmware.elf";
164 };
165
Tero Kristo83a5d6c2015-02-12 10:25:40 +0200166 prcm: prcm@1f0000 {
167 compatible = "ti,am4-prcm";
168 reg = <0x1f0000 0x11000>;
Keerthy6e487002015-06-22 11:52:53 +0530169 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
Tero Kristo83a5d6c2015-02-12 10:25:40 +0200170
171 prcm_clocks: clocks {
172 #address-cells = <1>;
173 #size-cells = <0>;
174 };
175
176 prcm_clockdomains: clockdomains {
177 };
178 };
179
180 scm: scm@210000 {
181 compatible = "ti,am4-scm", "simple-bus";
182 reg = <0x210000 0x4000>;
Tero Kristo6a679202013-08-02 19:12:04 +0300183 #address-cells = <1>;
Tero Kristo83a5d6c2015-02-12 10:25:40 +0200184 #size-cells = <1>;
185 ranges = <0 0x210000 0x4000>;
Tero Kristo6a679202013-08-02 19:12:04 +0300186
Tero Kristo83a5d6c2015-02-12 10:25:40 +0200187 am43xx_pinmux: pinmux@800 {
188 compatible = "ti,am437-padconf",
189 "pinctrl-single";
190 reg = <0x800 0x31c>;
191 #address-cells = <1>;
192 #size-cells = <0>;
193 #interrupt-cells = <1>;
194 interrupt-controller;
195 pinctrl-single,register-width = <32>;
196 pinctrl-single,function-mask = <0xffffffff>;
197 };
Tero Kristo6a679202013-08-02 19:12:04 +0300198
Tero Kristo83a5d6c2015-02-12 10:25:40 +0200199 scm_conf: scm_conf@0 {
200 compatible = "syscon";
201 reg = <0x0 0x800>;
202 #address-cells = <1>;
203 #size-cells = <1>;
Tero Kristo6a679202013-08-02 19:12:04 +0300204
Tero Kristo83a5d6c2015-02-12 10:25:40 +0200205 scm_clocks: clocks {
206 #address-cells = <1>;
207 #size-cells = <0>;
208 };
209 };
Tero Kristo6a679202013-08-02 19:12:04 +0300210
Suman Annac9ab94d2015-07-17 16:08:04 -0500211 wkup_m3_ipc: wkup_m3_ipc@1324 {
212 compatible = "ti,am4372-wkup-m3-ipc";
213 reg = <0x1324 0x44>;
214 interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
215 ti,rproc = <&wkup_m3>;
216 mboxes = <&mailbox &mbox_wkupm3>;
217 };
218
Peter Ujfalusicce1ee02015-12-17 15:33:37 +0200219 edma_xbar: dma-router@f90 {
220 compatible = "ti,am335x-edma-crossbar";
221 reg = <0xf90 0x40>;
222 #dma-cells = <3>;
223 dma-requests = <64>;
224 dma-masters = <&edma>;
225 };
226
Tero Kristo83a5d6c2015-02-12 10:25:40 +0200227 scm_clockdomains: clockdomains {
228 };
Tero Kristo6a679202013-08-02 19:12:04 +0300229 };
230 };
231
Dave Gerlachfff75ee2015-05-06 12:25:33 -0500232 emif: emif@4c000000 {
233 compatible = "ti,emif-am4372";
234 reg = <0x4c000000 0x1000000>;
235 ti,hwmods = "emif";
236 };
237
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530238 edma: edma@49000000 {
Peter Ujfalusicce1ee02015-12-17 15:33:37 +0200239 compatible = "ti,edma3-tpcc";
240 ti,hwmods = "tpcc";
241 reg = <0x49000000 0x10000>;
242 reg-names = "edma3_cc";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530243 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
Peter Ujfalusicce1ee02015-12-17 15:33:37 +0200244 <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
245 <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
Robert P. J. Daya5206552016-05-24 17:20:28 -0400246 interrupt-names = "edma3_ccint", "edma3_mperr",
Peter Ujfalusicce1ee02015-12-17 15:33:37 +0200247 "edma3_ccerrint";
248 dma-requests = <64>;
249 #dma-cells = <2>;
250
251 ti,tptcs = <&edma_tptc0 7>, <&edma_tptc1 5>,
252 <&edma_tptc2 0>;
253
Tero Kristod41676d2016-03-14 11:01:50 +0200254 ti,edma-memcpy-channels = <58 59>;
Peter Ujfalusicce1ee02015-12-17 15:33:37 +0200255 };
256
257 edma_tptc0: tptc@49800000 {
258 compatible = "ti,edma3-tptc";
259 ti,hwmods = "tptc0";
260 reg = <0x49800000 0x100000>;
261 interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
262 interrupt-names = "edma3_tcerrint";
263 };
264
265 edma_tptc1: tptc@49900000 {
266 compatible = "ti,edma3-tptc";
267 ti,hwmods = "tptc1";
268 reg = <0x49900000 0x100000>;
269 interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
270 interrupt-names = "edma3_tcerrint";
271 };
272
273 edma_tptc2: tptc@49a00000 {
274 compatible = "ti,edma3-tptc";
275 ti,hwmods = "tptc2";
276 reg = <0x49a00000 0x100000>;
277 interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
278 interrupt-names = "edma3_tcerrint";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530279 };
Afzal Mohammed6cfd8112013-06-03 18:49:54 +0530280
281 uart0: serial@44e09000 {
282 compatible = "ti,am4372-uart","ti,omap2-uart";
283 reg = <0x44e09000 0x2000>;
284 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
Afzal Mohammed73456012013-08-02 19:16:35 +0530285 ti,hwmods = "uart1";
286 };
287
288 uart1: serial@48022000 {
289 compatible = "ti,am4372-uart","ti,omap2-uart";
290 reg = <0x48022000 0x2000>;
291 interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
292 ti,hwmods = "uart2";
293 status = "disabled";
294 };
295
296 uart2: serial@48024000 {
297 compatible = "ti,am4372-uart","ti,omap2-uart";
298 reg = <0x48024000 0x2000>;
299 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
300 ti,hwmods = "uart3";
301 status = "disabled";
302 };
303
304 uart3: serial@481a6000 {
305 compatible = "ti,am4372-uart","ti,omap2-uart";
306 reg = <0x481a6000 0x2000>;
307 interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
308 ti,hwmods = "uart4";
309 status = "disabled";
310 };
311
312 uart4: serial@481a8000 {
313 compatible = "ti,am4372-uart","ti,omap2-uart";
314 reg = <0x481a8000 0x2000>;
315 interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
316 ti,hwmods = "uart5";
317 status = "disabled";
318 };
319
320 uart5: serial@481aa000 {
321 compatible = "ti,am4372-uart","ti,omap2-uart";
322 reg = <0x481aa000 0x2000>;
323 interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
324 ti,hwmods = "uart6";
325 status = "disabled";
Afzal Mohammed6cfd8112013-06-03 18:49:54 +0530326 };
327
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530328 mailbox: mailbox@480C8000 {
329 compatible = "ti,omap4-mailbox";
330 reg = <0x480C8000 0x200>;
331 interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
332 ti,hwmods = "mailbox";
Suman Anna24df0452014-11-03 17:07:35 -0600333 #mbox-cells = <1>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530334 ti,mbox-num-users = <4>;
335 ti,mbox-num-fifos = <8>;
Suman Annad27704d2014-09-10 14:27:23 -0500336 mbox_wkupm3: wkup_m3 {
Keerthycf19f3ab2015-07-17 16:08:02 -0500337 ti,mbox-send-noirq;
Suman Annad27704d2014-09-10 14:27:23 -0500338 ti,mbox-tx = <0 0 0>;
339 ti,mbox-rx = <0 0 3>;
340 };
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530341 };
342
Afzal Mohammed6cfd8112013-06-03 18:49:54 +0530343 timer1: timer@44e31000 {
344 compatible = "ti,am4372-timer-1ms","ti,am335x-timer-1ms";
345 reg = <0x44e31000 0x400>;
346 interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
347 ti,timer-alwon;
Afzal Mohammed73456012013-08-02 19:16:35 +0530348 ti,hwmods = "timer1";
Afzal Mohammed6cfd8112013-06-03 18:49:54 +0530349 };
350
351 timer2: timer@48040000 {
352 compatible = "ti,am4372-timer","ti,am335x-timer";
353 reg = <0x48040000 0x400>;
354 interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
Afzal Mohammed73456012013-08-02 19:16:35 +0530355 ti,hwmods = "timer2";
356 };
357
358 timer3: timer@48042000 {
359 compatible = "ti,am4372-timer","ti,am335x-timer";
360 reg = <0x48042000 0x400>;
361 interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
362 ti,hwmods = "timer3";
363 status = "disabled";
364 };
365
366 timer4: timer@48044000 {
367 compatible = "ti,am4372-timer","ti,am335x-timer";
368 reg = <0x48044000 0x400>;
369 interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
370 ti,timer-pwm;
371 ti,hwmods = "timer4";
372 status = "disabled";
373 };
374
375 timer5: timer@48046000 {
376 compatible = "ti,am4372-timer","ti,am335x-timer";
377 reg = <0x48046000 0x400>;
378 interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
379 ti,timer-pwm;
380 ti,hwmods = "timer5";
381 status = "disabled";
382 };
383
384 timer6: timer@48048000 {
385 compatible = "ti,am4372-timer","ti,am335x-timer";
386 reg = <0x48048000 0x400>;
387 interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
388 ti,timer-pwm;
389 ti,hwmods = "timer6";
390 status = "disabled";
391 };
392
393 timer7: timer@4804a000 {
394 compatible = "ti,am4372-timer","ti,am335x-timer";
395 reg = <0x4804a000 0x400>;
396 interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
397 ti,timer-pwm;
398 ti,hwmods = "timer7";
399 status = "disabled";
400 };
401
402 timer8: timer@481c1000 {
403 compatible = "ti,am4372-timer","ti,am335x-timer";
404 reg = <0x481c1000 0x400>;
405 interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>;
406 ti,hwmods = "timer8";
407 status = "disabled";
408 };
409
410 timer9: timer@4833d000 {
411 compatible = "ti,am4372-timer","ti,am335x-timer";
412 reg = <0x4833d000 0x400>;
413 interrupts = <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>;
414 ti,hwmods = "timer9";
415 status = "disabled";
416 };
417
418 timer10: timer@4833f000 {
419 compatible = "ti,am4372-timer","ti,am335x-timer";
420 reg = <0x4833f000 0x400>;
421 interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
422 ti,hwmods = "timer10";
423 status = "disabled";
424 };
425
426 timer11: timer@48341000 {
427 compatible = "ti,am4372-timer","ti,am335x-timer";
428 reg = <0x48341000 0x400>;
429 interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>;
430 ti,hwmods = "timer11";
431 status = "disabled";
Afzal Mohammed6cfd8112013-06-03 18:49:54 +0530432 };
433
434 counter32k: counter@44e86000 {
435 compatible = "ti,am4372-counter32k","ti,omap-counter32k";
436 reg = <0x44e86000 0x40>;
Afzal Mohammed73456012013-08-02 19:16:35 +0530437 ti,hwmods = "counter_32k";
438 };
439
Felipe Balbi08ecb282014-06-23 13:20:58 -0500440 rtc: rtc@44e3e000 {
Keerthy05743b32015-08-07 10:37:19 +0530441 compatible = "ti,am4372-rtc", "ti,am3352-rtc",
442 "ti,da830-rtc";
Afzal Mohammed73456012013-08-02 19:16:35 +0530443 reg = <0x44e3e000 0x1000>;
444 interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH
445 GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
446 ti,hwmods = "rtc";
Keerthyfff51e72015-08-18 15:11:14 +0530447 clocks = <&clk_32768_ck>;
448 clock-names = "int-clk";
Afzal Mohammed73456012013-08-02 19:16:35 +0530449 status = "disabled";
450 };
451
Felipe Balbi08ecb282014-06-23 13:20:58 -0500452 wdt: wdt@44e35000 {
Afzal Mohammed73456012013-08-02 19:16:35 +0530453 compatible = "ti,am4372-wdt","ti,omap3-wdt";
454 reg = <0x44e35000 0x1000>;
455 interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
456 ti,hwmods = "wd_timer2";
Afzal Mohammed73456012013-08-02 19:16:35 +0530457 };
458
459 gpio0: gpio@44e07000 {
460 compatible = "ti,am4372-gpio","ti,omap4-gpio";
461 reg = <0x44e07000 0x1000>;
462 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
463 gpio-controller;
464 #gpio-cells = <2>;
465 interrupt-controller;
466 #interrupt-cells = <2>;
467 ti,hwmods = "gpio1";
468 status = "disabled";
469 };
470
471 gpio1: gpio@4804c000 {
472 compatible = "ti,am4372-gpio","ti,omap4-gpio";
473 reg = <0x4804c000 0x1000>;
474 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
475 gpio-controller;
476 #gpio-cells = <2>;
477 interrupt-controller;
478 #interrupt-cells = <2>;
479 ti,hwmods = "gpio2";
480 status = "disabled";
481 };
482
483 gpio2: gpio@481ac000 {
484 compatible = "ti,am4372-gpio","ti,omap4-gpio";
485 reg = <0x481ac000 0x1000>;
486 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
487 gpio-controller;
488 #gpio-cells = <2>;
489 interrupt-controller;
490 #interrupt-cells = <2>;
491 ti,hwmods = "gpio3";
492 status = "disabled";
493 };
494
495 gpio3: gpio@481ae000 {
496 compatible = "ti,am4372-gpio","ti,omap4-gpio";
497 reg = <0x481ae000 0x1000>;
498 interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
499 gpio-controller;
500 #gpio-cells = <2>;
501 interrupt-controller;
502 #interrupt-cells = <2>;
503 ti,hwmods = "gpio4";
504 status = "disabled";
505 };
506
507 gpio4: gpio@48320000 {
508 compatible = "ti,am4372-gpio","ti,omap4-gpio";
509 reg = <0x48320000 0x1000>;
510 interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
511 gpio-controller;
512 #gpio-cells = <2>;
513 interrupt-controller;
514 #interrupt-cells = <2>;
515 ti,hwmods = "gpio5";
516 status = "disabled";
517 };
518
519 gpio5: gpio@48322000 {
520 compatible = "ti,am4372-gpio","ti,omap4-gpio";
521 reg = <0x48322000 0x1000>;
522 interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
523 gpio-controller;
524 #gpio-cells = <2>;
525 interrupt-controller;
526 #interrupt-cells = <2>;
527 ti,hwmods = "gpio6";
528 status = "disabled";
529 };
530
Suman Annafd4a8a62014-01-13 18:26:47 -0600531 hwspinlock: spinlock@480ca000 {
532 compatible = "ti,omap4-hwspinlock";
533 reg = <0x480ca000 0x1000>;
534 ti,hwmods = "spinlock";
535 #hwlock-cells = <1>;
536 };
537
Afzal Mohammed73456012013-08-02 19:16:35 +0530538 i2c0: i2c@44e0b000 {
539 compatible = "ti,am4372-i2c","ti,omap4-i2c";
540 reg = <0x44e0b000 0x1000>;
541 interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
542 ti,hwmods = "i2c1";
543 #address-cells = <1>;
544 #size-cells = <0>;
545 status = "disabled";
546 };
547
548 i2c1: i2c@4802a000 {
549 compatible = "ti,am4372-i2c","ti,omap4-i2c";
550 reg = <0x4802a000 0x1000>;
551 interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
552 ti,hwmods = "i2c2";
553 #address-cells = <1>;
554 #size-cells = <0>;
555 status = "disabled";
556 };
557
558 i2c2: i2c@4819c000 {
559 compatible = "ti,am4372-i2c","ti,omap4-i2c";
560 reg = <0x4819c000 0x1000>;
561 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
562 ti,hwmods = "i2c3";
563 #address-cells = <1>;
564 #size-cells = <0>;
565 status = "disabled";
566 };
567
568 spi0: spi@48030000 {
569 compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
570 reg = <0x48030000 0x400>;
571 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
572 ti,hwmods = "spi0";
573 #address-cells = <1>;
574 #size-cells = <0>;
575 status = "disabled";
576 };
577
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530578 mmc1: mmc@48060000 {
579 compatible = "ti,omap4-hsmmc";
580 reg = <0x48060000 0x1000>;
581 ti,hwmods = "mmc1";
582 ti,dual-volt;
583 ti,needs-special-reset;
Peter Ujfalusicce1ee02015-12-17 15:33:37 +0200584 dmas = <&edma 24 0>,
585 <&edma 25 0>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530586 dma-names = "tx", "rx";
587 interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
588 status = "disabled";
589 };
590
591 mmc2: mmc@481d8000 {
592 compatible = "ti,omap4-hsmmc";
593 reg = <0x481d8000 0x1000>;
594 ti,hwmods = "mmc2";
595 ti,needs-special-reset;
Peter Ujfalusicce1ee02015-12-17 15:33:37 +0200596 dmas = <&edma 2 0>,
597 <&edma 3 0>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530598 dma-names = "tx", "rx";
599 interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
600 status = "disabled";
601 };
602
603 mmc3: mmc@47810000 {
604 compatible = "ti,omap4-hsmmc";
605 reg = <0x47810000 0x1000>;
606 ti,hwmods = "mmc3";
607 ti,needs-special-reset;
608 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
609 status = "disabled";
610 };
611
Afzal Mohammed73456012013-08-02 19:16:35 +0530612 spi1: spi@481a0000 {
613 compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
614 reg = <0x481a0000 0x400>;
615 interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>;
616 ti,hwmods = "spi1";
617 #address-cells = <1>;
618 #size-cells = <0>;
619 status = "disabled";
620 };
621
622 spi2: spi@481a2000 {
623 compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
624 reg = <0x481a2000 0x400>;
625 interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>;
626 ti,hwmods = "spi2";
627 #address-cells = <1>;
628 #size-cells = <0>;
629 status = "disabled";
630 };
631
632 spi3: spi@481a4000 {
633 compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
634 reg = <0x481a4000 0x400>;
635 interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>;
636 ti,hwmods = "spi3";
637 #address-cells = <1>;
638 #size-cells = <0>;
639 status = "disabled";
640 };
641
642 spi4: spi@48345000 {
643 compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
644 reg = <0x48345000 0x400>;
645 interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>;
646 ti,hwmods = "spi4";
647 #address-cells = <1>;
648 #size-cells = <0>;
649 status = "disabled";
650 };
651
652 mac: ethernet@4a100000 {
653 compatible = "ti,am4372-cpsw","ti,cpsw";
654 reg = <0x4a100000 0x800
655 0x4a101200 0x100>;
656 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH
657 GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH
658 GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH
659 GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530660 #address-cells = <1>;
661 #size-cells = <1>;
Afzal Mohammed73456012013-08-02 19:16:35 +0530662 ti,hwmods = "cpgmac0";
Keerthydff8a202015-06-18 13:31:13 +0530663 clocks = <&cpsw_125mhz_gclk>, <&cpsw_cpts_rft_clk>,
664 <&dpll_clksel_mac_clk>;
665 clock-names = "fck", "cpts", "50mclk";
666 assigned-clocks = <&dpll_clksel_mac_clk>;
667 assigned-clock-rates = <50000000>;
Afzal Mohammed73456012013-08-02 19:16:35 +0530668 status = "disabled";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530669 cpdma_channels = <8>;
670 ale_entries = <1024>;
671 bd_ram_size = <0x2000>;
672 no_bd_ram = <0>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530673 mac_control = <0x20>;
674 slaves = <2>;
675 active_slave = <0>;
676 cpts_clock_mult = <0x80000000>;
677 cpts_clock_shift = <29>;
678 ranges;
Mugunthan V Ncec42842015-09-21 15:56:53 +0530679 syscon = <&scm_conf>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530680
681 davinci_mdio: mdio@4a101000 {
Grygorii Strashko9efd1a62016-06-24 21:23:55 +0300682 compatible = "ti,am4372-mdio","ti,cpsw-mdio","ti,davinci_mdio";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530683 reg = <0x4a101000 0x100>;
684 #address-cells = <1>;
685 #size-cells = <0>;
686 ti,hwmods = "davinci_mdio";
687 bus_freq = <1000000>;
688 status = "disabled";
689 };
690
691 cpsw_emac0: slave@4a100200 {
692 /* Filled in by U-Boot */
693 mac-address = [ 00 00 00 00 00 00 ];
694 };
695
696 cpsw_emac1: slave@4a100300 {
697 /* Filled in by U-Boot */
698 mac-address = [ 00 00 00 00 00 00 ];
699 };
Mugunthan V Na9682cf2014-05-13 14:14:30 +0530700
701 phy_sel: cpsw-phy-sel@44e10650 {
702 compatible = "ti,am43xx-cpsw-phy-sel";
703 reg= <0x44e10650 0x4>;
704 reg-names = "gmii-sel";
705 };
Afzal Mohammed73456012013-08-02 19:16:35 +0530706 };
707
708 epwmss0: epwmss@48300000 {
709 compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
710 reg = <0x48300000 0x10>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530711 #address-cells = <1>;
712 #size-cells = <1>;
713 ranges;
Afzal Mohammed73456012013-08-02 19:16:35 +0530714 ti,hwmods = "epwmss0";
715 status = "disabled";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530716
717 ecap0: ecap@48300100 {
Franklin S Cooper Jr229110c2016-05-03 10:56:51 -0500718 compatible = "ti,am4372-ecap",
719 "ti,am3352-ecap",
720 "ti,am33xx-ecap";
Sourav Poddaraa842302013-12-19 18:03:33 +0530721 #pwm-cells = <3>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530722 reg = <0x48300100 0x80>;
Franklin S Cooper Jr229110c2016-05-03 10:56:51 -0500723 clocks = <&l4ls_gclk>;
724 clock-names = "fck";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530725 status = "disabled";
726 };
727
Franklin S Cooper Jrdce2a652016-03-17 20:15:22 -0500728 ehrpwm0: pwm@48300200 {
Franklin S Cooper Jr229110c2016-05-03 10:56:51 -0500729 compatible = "ti,am4372-ehrpwm",
730 "ti,am3352-ehrpwm",
731 "ti,am33xx-ehrpwm";
Sourav Poddaraa842302013-12-19 18:03:33 +0530732 #pwm-cells = <3>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530733 reg = <0x48300200 0x80>;
Franklin S Cooper Jr229110c2016-05-03 10:56:51 -0500734 clocks = <&ehrpwm0_tbclk>, <&l4ls_gclk>;
735 clock-names = "tbclk", "fck";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530736 status = "disabled";
737 };
Afzal Mohammed73456012013-08-02 19:16:35 +0530738 };
739
740 epwmss1: epwmss@48302000 {
741 compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
742 reg = <0x48302000 0x10>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530743 #address-cells = <1>;
744 #size-cells = <1>;
745 ranges;
Afzal Mohammed73456012013-08-02 19:16:35 +0530746 ti,hwmods = "epwmss1";
747 status = "disabled";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530748
749 ecap1: ecap@48302100 {
Franklin S Cooper Jr229110c2016-05-03 10:56:51 -0500750 compatible = "ti,am4372-ecap",
751 "ti,am3352-ecap",
752 "ti,am33xx-ecap";
Sourav Poddaraa842302013-12-19 18:03:33 +0530753 #pwm-cells = <3>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530754 reg = <0x48302100 0x80>;
Franklin S Cooper Jr229110c2016-05-03 10:56:51 -0500755 clocks = <&l4ls_gclk>;
756 clock-names = "fck";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530757 status = "disabled";
758 };
759
Franklin S Cooper Jrdce2a652016-03-17 20:15:22 -0500760 ehrpwm1: pwm@48302200 {
Franklin S Cooper Jr229110c2016-05-03 10:56:51 -0500761 compatible = "ti,am4372-ehrpwm",
762 "ti,am3352-ehrpwm",
763 "ti,am33xx-ehrpwm";
Sourav Poddaraa842302013-12-19 18:03:33 +0530764 #pwm-cells = <3>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530765 reg = <0x48302200 0x80>;
Franklin S Cooper Jr229110c2016-05-03 10:56:51 -0500766 clocks = <&ehrpwm1_tbclk>, <&l4ls_gclk>;
767 clock-names = "tbclk", "fck";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530768 status = "disabled";
769 };
Afzal Mohammed73456012013-08-02 19:16:35 +0530770 };
771
772 epwmss2: epwmss@48304000 {
773 compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
774 reg = <0x48304000 0x10>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530775 #address-cells = <1>;
776 #size-cells = <1>;
777 ranges;
Afzal Mohammed73456012013-08-02 19:16:35 +0530778 ti,hwmods = "epwmss2";
779 status = "disabled";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530780
781 ecap2: ecap@48304100 {
Franklin S Cooper Jr229110c2016-05-03 10:56:51 -0500782 compatible = "ti,am4372-ecap",
783 "ti,am3352-ecap",
784 "ti,am33xx-ecap";
Sourav Poddaraa842302013-12-19 18:03:33 +0530785 #pwm-cells = <3>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530786 reg = <0x48304100 0x80>;
Franklin S Cooper Jr229110c2016-05-03 10:56:51 -0500787 clocks = <&l4ls_gclk>;
788 clock-names = "fck";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530789 status = "disabled";
790 };
791
Franklin S Cooper Jrdce2a652016-03-17 20:15:22 -0500792 ehrpwm2: pwm@48304200 {
Franklin S Cooper Jr229110c2016-05-03 10:56:51 -0500793 compatible = "ti,am4372-ehrpwm",
794 "ti,am3352-ehrpwm",
795 "ti,am33xx-ehrpwm";
Sourav Poddaraa842302013-12-19 18:03:33 +0530796 #pwm-cells = <3>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530797 reg = <0x48304200 0x80>;
Franklin S Cooper Jr229110c2016-05-03 10:56:51 -0500798 clocks = <&ehrpwm2_tbclk>, <&l4ls_gclk>;
799 clock-names = "tbclk", "fck";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530800 status = "disabled";
801 };
Afzal Mohammed73456012013-08-02 19:16:35 +0530802 };
803
804 epwmss3: epwmss@48306000 {
805 compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
806 reg = <0x48306000 0x10>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530807 #address-cells = <1>;
808 #size-cells = <1>;
809 ranges;
Afzal Mohammed73456012013-08-02 19:16:35 +0530810 ti,hwmods = "epwmss3";
811 status = "disabled";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530812
Franklin S Cooper Jrdce2a652016-03-17 20:15:22 -0500813 ehrpwm3: pwm@48306200 {
Franklin S Cooper Jr229110c2016-05-03 10:56:51 -0500814 compatible = "ti,am4372-ehrpwm",
815 "ti,am3352-ehrpwm",
816 "ti,am33xx-ehrpwm";
Sourav Poddaraa842302013-12-19 18:03:33 +0530817 #pwm-cells = <3>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530818 reg = <0x48306200 0x80>;
Franklin S Cooper Jr229110c2016-05-03 10:56:51 -0500819 clocks = <&ehrpwm3_tbclk>, <&l4ls_gclk>;
820 clock-names = "tbclk", "fck";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530821 status = "disabled";
822 };
Afzal Mohammed73456012013-08-02 19:16:35 +0530823 };
824
825 epwmss4: epwmss@48308000 {
826 compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
827 reg = <0x48308000 0x10>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530828 #address-cells = <1>;
829 #size-cells = <1>;
830 ranges;
Afzal Mohammed73456012013-08-02 19:16:35 +0530831 ti,hwmods = "epwmss4";
832 status = "disabled";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530833
Franklin S Cooper Jrdce2a652016-03-17 20:15:22 -0500834 ehrpwm4: pwm@48308200 {
Franklin S Cooper Jr229110c2016-05-03 10:56:51 -0500835 compatible = "ti,am4372-ehrpwm",
836 "ti,am3352-ehrpwm",
837 "ti,am33xx-ehrpwm";
Sourav Poddaraa842302013-12-19 18:03:33 +0530838 #pwm-cells = <3>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530839 reg = <0x48308200 0x80>;
Franklin S Cooper Jr229110c2016-05-03 10:56:51 -0500840 clocks = <&ehrpwm4_tbclk>, <&l4ls_gclk>;
841 clock-names = "tbclk", "fck";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530842 status = "disabled";
843 };
Afzal Mohammed73456012013-08-02 19:16:35 +0530844 };
845
846 epwmss5: epwmss@4830a000 {
847 compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
848 reg = <0x4830a000 0x10>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530849 #address-cells = <1>;
850 #size-cells = <1>;
851 ranges;
Afzal Mohammed73456012013-08-02 19:16:35 +0530852 ti,hwmods = "epwmss5";
853 status = "disabled";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530854
Franklin S Cooper Jrdce2a652016-03-17 20:15:22 -0500855 ehrpwm5: pwm@4830a200 {
Franklin S Cooper Jr229110c2016-05-03 10:56:51 -0500856 compatible = "ti,am4372-ehrpwm",
857 "ti,am3352-ehrpwm",
858 "ti,am33xx-ehrpwm";
Sourav Poddaraa842302013-12-19 18:03:33 +0530859 #pwm-cells = <3>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530860 reg = <0x4830a200 0x80>;
Franklin S Cooper Jr229110c2016-05-03 10:56:51 -0500861 clocks = <&ehrpwm5_tbclk>, <&l4ls_gclk>;
862 clock-names = "tbclk", "fck";
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530863 status = "disabled";
864 };
865 };
866
Vignesh R0f39f7b2014-11-21 15:44:22 +0530867 tscadc: tscadc@44e0d000 {
868 compatible = "ti,am3359-tscadc";
869 reg = <0x44e0d000 0x1000>;
870 ti,hwmods = "adc_tsc";
871 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
872 clocks = <&adc_tsc_fck>;
873 clock-names = "fck";
874 status = "disabled";
875
876 tsc {
877 compatible = "ti,am3359-tsc";
878 };
879
880 adc {
881 #io-channel-cells = <1>;
882 compatible = "ti,am3359-adc";
883 };
884
885 };
886
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530887 sham: sham@53100000 {
888 compatible = "ti,omap5-sham";
889 ti,hwmods = "sham";
890 reg = <0x53100000 0x300>;
Peter Ujfalusicce1ee02015-12-17 15:33:37 +0200891 dmas = <&edma 36 0>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530892 dma-names = "rx";
893 interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
Afzal Mohammed6cfd8112013-06-03 18:49:54 +0530894 };
Joel Fernandes6e70a512013-09-24 14:35:09 -0500895
896 aes: aes@53501000 {
897 compatible = "ti,omap4-aes";
898 ti,hwmods = "aes";
899 reg = <0x53501000 0xa0>;
900 interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
Peter Ujfalusicce1ee02015-12-17 15:33:37 +0200901 dmas = <&edma 6 0>,
902 <&edma 5 0>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530903 dma-names = "tx", "rx";
Joel Fernandes6e70a512013-09-24 14:35:09 -0500904 };
Joel Fernandes099f3a82013-09-24 14:37:33 -0500905
906 des: des@53701000 {
907 compatible = "ti,omap4-des";
908 ti,hwmods = "des";
909 reg = <0x53701000 0xa0>;
910 interrupts = <GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>;
Peter Ujfalusicce1ee02015-12-17 15:33:37 +0200911 dmas = <&edma 34 0>,
912 <&edma 33 0>;
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530913 dma-names = "tx", "rx";
Joel Fernandes099f3a82013-09-24 14:37:33 -0500914 };
Lokesh Vutla9e3269b2013-10-11 00:44:53 +0530915
Lokesh Vutla52c7c912016-06-01 12:06:46 +0300916 rng: rng@48310000 {
917 compatible = "ti,omap4-rng";
918 ti,hwmods = "rng";
919 reg = <0x48310000 0x2000>;
920 interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
921 };
922
Peter Ujfalusib9c95bf2013-10-21 12:45:58 +0300923 mcasp0: mcasp@48038000 {
924 compatible = "ti,am33xx-mcasp-audio";
925 ti,hwmods = "mcasp0";
926 reg = <0x48038000 0x2000>,
927 <0x46000000 0x400000>;
928 reg-names = "mpu", "dat";
929 interrupts = <80>, <81>;
Geert Uytterhoevenae107d02014-04-22 20:40:25 +0200930 interrupt-names = "tx", "rx";
Peter Ujfalusib9c95bf2013-10-21 12:45:58 +0300931 status = "disabled";
Peter Ujfalusicce1ee02015-12-17 15:33:37 +0200932 dmas = <&edma 8 2>,
933 <&edma 9 2>;
Peter Ujfalusib9c95bf2013-10-21 12:45:58 +0300934 dma-names = "tx", "rx";
935 };
936
937 mcasp1: mcasp@4803C000 {
938 compatible = "ti,am33xx-mcasp-audio";
939 ti,hwmods = "mcasp1";
940 reg = <0x4803C000 0x2000>,
941 <0x46400000 0x400000>;
942 reg-names = "mpu", "dat";
943 interrupts = <82>, <83>;
Geert Uytterhoevenae107d02014-04-22 20:40:25 +0200944 interrupt-names = "tx", "rx";
Peter Ujfalusib9c95bf2013-10-21 12:45:58 +0300945 status = "disabled";
Peter Ujfalusicce1ee02015-12-17 15:33:37 +0200946 dmas = <&edma 10 2>,
947 <&edma 11 2>;
Peter Ujfalusib9c95bf2013-10-21 12:45:58 +0300948 dma-names = "tx", "rx";
949 };
Pekon Guptaf68e3552014-02-05 18:58:34 +0530950
951 elm: elm@48080000 {
952 compatible = "ti,am3352-elm";
953 reg = <0x48080000 0x2000>;
954 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
955 ti,hwmods = "elm";
956 clocks = <&l4ls_gclk>;
957 clock-names = "fck";
958 status = "disabled";
959 };
960
961 gpmc: gpmc@50000000 {
962 compatible = "ti,am3352-gpmc";
963 ti,hwmods = "gpmc";
Franklin S Cooper Jr883cbc92016-03-10 17:56:39 -0600964 dmas = <&edma 52 0>;
Franklin S Cooper Jr201c7e32015-10-15 12:37:27 -0500965 dma-names = "rxtx";
Pekon Guptaf68e3552014-02-05 18:58:34 +0530966 clocks = <&l3s_gclk>;
967 clock-names = "fck";
968 reg = <0x50000000 0x2000>;
969 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
970 gpmc,num-cs = <7>;
971 gpmc,num-waitpins = <2>;
972 #address-cells = <2>;
973 #size-cells = <1>;
Roger Quadrosbe3f39c2016-02-23 18:37:19 +0200974 interrupt-controller;
975 #interrupt-cells = <2>;
Roger Quadros9e08c2d2016-04-07 13:25:33 +0300976 gpio-controller;
977 #gpio-cells = <2>;
Pekon Guptaf68e3552014-02-05 18:58:34 +0530978 status = "disabled";
979 };
George Cheriana0ae47e2014-03-19 15:40:01 +0530980
George Cheriana0ae47e2014-03-19 15:40:01 +0530981 ocp2scp0: ocp2scp@483a8000 {
Kishon Vijay Abraham I20431db2015-03-17 16:54:50 +0530982 compatible = "ti,am437x-ocp2scp", "ti,omap-ocp2scp";
George Cheriana0ae47e2014-03-19 15:40:01 +0530983 #address-cells = <1>;
984 #size-cells = <1>;
985 ranges;
986 ti,hwmods = "ocp2scp0";
987
988 usb2_phy1: phy@483a8000 {
989 compatible = "ti,am437x-usb2";
990 reg = <0x483a8000 0x8000>;
Kishon Vijay Abraham I2338c762015-12-21 14:43:21 +0530991 syscon-phy-power = <&scm_conf 0x620>;
George Cheriana0ae47e2014-03-19 15:40:01 +0530992 clocks = <&usb_phy0_always_on_clk32k>,
993 <&usb_otg_ss0_refclk960m>;
994 clock-names = "wkupclk", "refclk";
995 #phy-cells = <0>;
996 status = "disabled";
997 };
998 };
999
1000 ocp2scp1: ocp2scp@483e8000 {
Kishon Vijay Abraham I20431db2015-03-17 16:54:50 +05301001 compatible = "ti,am437x-ocp2scp", "ti,omap-ocp2scp";
George Cheriana0ae47e2014-03-19 15:40:01 +05301002 #address-cells = <1>;
1003 #size-cells = <1>;
1004 ranges;
1005 ti,hwmods = "ocp2scp1";
1006
1007 usb2_phy2: phy@483e8000 {
1008 compatible = "ti,am437x-usb2";
1009 reg = <0x483e8000 0x8000>;
Kishon Vijay Abraham I2338c762015-12-21 14:43:21 +05301010 syscon-phy-power = <&scm_conf 0x628>;
George Cheriana0ae47e2014-03-19 15:40:01 +05301011 clocks = <&usb_phy1_always_on_clk32k>,
1012 <&usb_otg_ss1_refclk960m>;
1013 clock-names = "wkupclk", "refclk";
1014 #phy-cells = <0>;
1015 status = "disabled";
1016 };
1017 };
1018
1019 dwc3_1: omap_dwc3@48380000 {
1020 compatible = "ti,am437x-dwc3";
1021 ti,hwmods = "usb_otg_ss0";
1022 reg = <0x48380000 0x10000>;
1023 interrupts = <GIC_SPI 172 IRQ_TYPE_LEVEL_HIGH>;
1024 #address-cells = <1>;
1025 #size-cells = <1>;
1026 utmi-mode = <1>;
1027 ranges;
1028
1029 usb1: usb@48390000 {
1030 compatible = "synopsys,dwc3";
Felipe Balbi4b143f02014-09-03 16:22:24 -05001031 reg = <0x48390000 0x10000>;
Felipe Balbi1d20e4b2015-07-08 13:42:30 +03001032 interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>,
1033 <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>,
1034 <GIC_SPI 172 IRQ_TYPE_LEVEL_HIGH>;
1035 interrupt-names = "peripheral",
1036 "host",
1037 "otg";
George Cheriana0ae47e2014-03-19 15:40:01 +05301038 phys = <&usb2_phy1>;
1039 phy-names = "usb2-phy";
1040 maximum-speed = "high-speed";
1041 dr_mode = "otg";
1042 status = "disabled";
Felipe Balbi60f0e622014-11-06 11:32:35 -06001043 snps,dis_u3_susphy_quirk;
1044 snps,dis_u2_susphy_quirk;
George Cheriana0ae47e2014-03-19 15:40:01 +05301045 };
1046 };
1047
1048 dwc3_2: omap_dwc3@483c0000 {
1049 compatible = "ti,am437x-dwc3";
1050 ti,hwmods = "usb_otg_ss1";
1051 reg = <0x483c0000 0x10000>;
1052 interrupts = <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>;
1053 #address-cells = <1>;
1054 #size-cells = <1>;
1055 utmi-mode = <1>;
1056 ranges;
1057
1058 usb2: usb@483d0000 {
1059 compatible = "synopsys,dwc3";
Felipe Balbi4b143f02014-09-03 16:22:24 -05001060 reg = <0x483d0000 0x10000>;
Felipe Balbi1d20e4b2015-07-08 13:42:30 +03001061 interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>,
1062 <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>,
1063 <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>;
1064 interrupt-names = "peripheral",
1065 "host",
1066 "otg";
George Cheriana0ae47e2014-03-19 15:40:01 +05301067 phys = <&usb2_phy2>;
1068 phy-names = "usb2-phy";
1069 maximum-speed = "high-speed";
1070 dr_mode = "otg";
1071 status = "disabled";
Felipe Balbi60f0e622014-11-06 11:32:35 -06001072 snps,dis_u3_susphy_quirk;
1073 snps,dis_u2_susphy_quirk;
George Cheriana0ae47e2014-03-19 15:40:01 +05301074 };
1075 };
Sourav Poddar2a1a5042014-04-28 19:12:30 +05301076
1077 qspi: qspi@47900000 {
1078 compatible = "ti,am4372-qspi";
Vignesh R2acb6c32015-12-11 09:40:00 +05301079 reg = <0x47900000 0x100>,
1080 <0x30000000 0x4000000>;
1081 reg-names = "qspi_base", "qspi_mmap";
Sourav Poddar2a1a5042014-04-28 19:12:30 +05301082 #address-cells = <1>;
1083 #size-cells = <0>;
1084 ti,hwmods = "qspi";
1085 interrupts = <0 138 0x4>;
1086 num-cs = <4>;
1087 status = "disabled";
1088 };
Sourav Poddar741cac52014-05-08 11:30:07 +05301089
1090 hdq: hdq@48347000 {
Vignesh Ra895b8a2015-03-02 16:19:34 +05301091 compatible = "ti,am4372-hdq";
Sourav Poddar741cac52014-05-08 11:30:07 +05301092 reg = <0x48347000 0x1000>;
1093 interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>;
1094 clocks = <&func_12m_clk>;
1095 clock-names = "fck";
1096 ti,hwmods = "hdq1w";
1097 status = "disabled";
1098 };
Sathya Prakash M R8c793362014-03-24 16:31:55 +05301099
1100 dss: dss@4832a000 {
1101 compatible = "ti,omap3-dss";
1102 reg = <0x4832a000 0x200>;
1103 status = "disabled";
1104 ti,hwmods = "dss_core";
1105 clocks = <&disp_clk>;
1106 clock-names = "fck";
1107 #address-cells = <1>;
1108 #size-cells = <1>;
1109 ranges;
1110
Felipe Balbi08ecb282014-06-23 13:20:58 -05001111 dispc: dispc@4832a400 {
Sathya Prakash M R8c793362014-03-24 16:31:55 +05301112 compatible = "ti,omap3-dispc";
1113 reg = <0x4832a400 0x400>;
1114 interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
1115 ti,hwmods = "dss_dispc";
1116 clocks = <&disp_clk>;
1117 clock-names = "fck";
1118 };
1119
1120 rfbi: rfbi@4832a800 {
1121 compatible = "ti,omap3-rfbi";
1122 reg = <0x4832a800 0x100>;
1123 ti,hwmods = "dss_rfbi";
1124 clocks = <&disp_clk>;
1125 clock-names = "fck";
Tomi Valkeinen22a5dc12015-06-30 15:04:54 +03001126 status = "disabled";
Sathya Prakash M R8c793362014-03-24 16:31:55 +05301127 };
1128 };
Rajendra Nayak8b9a2812014-09-10 11:04:03 -05001129
1130 ocmcram: ocmcram@40300000 {
1131 compatible = "mmio-sram";
1132 reg = <0x40300000 0x40000>; /* 256k */
1133 };
Roger Quadros9e63b0d2014-09-04 15:36:03 +03001134
1135 dcan0: can@481cc000 {
1136 compatible = "ti,am4372-d_can", "ti,am3352-d_can";
1137 ti,hwmods = "d_can0";
1138 clocks = <&dcan0_fck>;
1139 clock-names = "fck";
1140 reg = <0x481cc000 0x2000>;
Tero Kristo83a5d6c2015-02-12 10:25:40 +02001141 syscon-raminit = <&scm_conf 0x644 0>;
Roger Quadros9e63b0d2014-09-04 15:36:03 +03001142 interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
1143 status = "disabled";
1144 };
1145
1146 dcan1: can@481d0000 {
1147 compatible = "ti,am4372-d_can", "ti,am3352-d_can";
1148 ti,hwmods = "d_can1";
1149 clocks = <&dcan1_fck>;
1150 clock-names = "fck";
1151 reg = <0x481d0000 0x2000>;
Tero Kristo83a5d6c2015-02-12 10:25:40 +02001152 syscon-raminit = <&scm_conf 0x644 1>;
Roger Quadros9e63b0d2014-09-04 15:36:03 +03001153 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
1154 status = "disabled";
1155 };
Benoit Parrot9d0df0a2014-12-18 21:54:11 +05301156
1157 vpfe0: vpfe@48326000 {
1158 compatible = "ti,am437x-vpfe";
1159 reg = <0x48326000 0x2000>;
1160 interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
1161 ti,hwmods = "vpfe0";
1162 status = "disabled";
1163 };
1164
1165 vpfe1: vpfe@48328000 {
1166 compatible = "ti,am437x-vpfe";
1167 reg = <0x48328000 0x2000>;
1168 interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
1169 ti,hwmods = "vpfe1";
1170 status = "disabled";
1171 };
Afzal Mohammed6cfd8112013-06-03 18:49:54 +05301172 };
1173};
Tero Kristo6a679202013-08-02 19:12:04 +03001174
1175/include/ "am43xx-clocks.dtsi"