GNU Linux-libre 4.14.303-gnu1
[releases.git] / arch / arm / boot / dts / am33xx.dtsi
1 /*
2  * Device Tree Source for AM33XX SoC
3  *
4  * Copyright (C) 2012 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
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/pinctrl/am33xx.h>
13
14 / {
15         compatible = "ti,am33xx";
16         interrupt-parent = <&intc>;
17         #address-cells = <1>;
18         #size-cells = <1>;
19         chosen { };
20
21         aliases {
22                 i2c0 = &i2c0;
23                 i2c1 = &i2c1;
24                 i2c2 = &i2c2;
25                 serial0 = &uart0;
26                 serial1 = &uart1;
27                 serial2 = &uart2;
28                 serial3 = &uart3;
29                 serial4 = &uart4;
30                 serial5 = &uart5;
31                 d_can0 = &dcan0;
32                 d_can1 = &dcan1;
33                 usb0 = &usb0;
34                 usb1 = &usb1;
35                 phy0 = &usb0_phy;
36                 phy1 = &usb1_phy;
37                 ethernet0 = &cpsw_emac0;
38                 ethernet1 = &cpsw_emac1;
39                 spi0 = &spi0;
40                 spi1 = &spi1;
41                 mmc0 = &mmc1;
42                 mmc1 = &mmc2;
43                 mmc2 = &mmc3;
44         };
45
46         cpus {
47                 #address-cells = <1>;
48                 #size-cells = <0>;
49                 cpu@0 {
50                         compatible = "arm,cortex-a8";
51                         device_type = "cpu";
52                         reg = <0>;
53
54                         operating-points-v2 = <&cpu0_opp_table>;
55
56                         clocks = <&dpll_mpu_ck>;
57                         clock-names = "cpu";
58
59                         clock-latency = <300000>; /* From omap-cpufreq driver */
60                 };
61         };
62
63         cpu0_opp_table: opp-table {
64                 compatible = "operating-points-v2-ti-cpu";
65                 syscon = <&scm_conf>;
66
67                 /*
68                  * The three following nodes are marked with opp-suspend
69                  * because the can not be enabled simultaneously on a
70                  * single SoC.
71                  */
72                 opp50-300000000 {
73                         opp-hz = /bits/ 64 <300000000>;
74                         opp-microvolt = <950000 931000 969000>;
75                         opp-supported-hw = <0x06 0x0010>;
76                         opp-suspend;
77                 };
78
79                 opp100-275000000 {
80                         opp-hz = /bits/ 64 <275000000>;
81                         opp-microvolt = <1100000 1078000 1122000>;
82                         opp-supported-hw = <0x01 0x00FF>;
83                         opp-suspend;
84                 };
85
86                 opp100-300000000 {
87                         opp-hz = /bits/ 64 <300000000>;
88                         opp-microvolt = <1100000 1078000 1122000>;
89                         opp-supported-hw = <0x06 0x0020>;
90                         opp-suspend;
91                 };
92
93                 opp100-500000000 {
94                         opp-hz = /bits/ 64 <500000000>;
95                         opp-microvolt = <1100000 1078000 1122000>;
96                         opp-supported-hw = <0x01 0xFFFF>;
97                 };
98
99                 opp100-600000000 {
100                         opp-hz = /bits/ 64 <600000000>;
101                         opp-microvolt = <1100000 1078000 1122000>;
102                         opp-supported-hw = <0x06 0x0040>;
103                 };
104
105                 opp120-600000000 {
106                         opp-hz = /bits/ 64 <600000000>;
107                         opp-microvolt = <1200000 1176000 1224000>;
108                         opp-supported-hw = <0x01 0xFFFF>;
109                 };
110
111                 opp120-720000000 {
112                         opp-hz = /bits/ 64 <720000000>;
113                         opp-microvolt = <1200000 1176000 1224000>;
114                         opp-supported-hw = <0x06 0x0080>;
115                 };
116
117                 oppturbo-720000000 {
118                         opp-hz = /bits/ 64 <720000000>;
119                         opp-microvolt = <1260000 1234800 1285200>;
120                         opp-supported-hw = <0x01 0xFFFF>;
121                 };
122
123                 oppturbo-800000000 {
124                         opp-hz = /bits/ 64 <800000000>;
125                         opp-microvolt = <1260000 1234800 1285200>;
126                         opp-supported-hw = <0x06 0x0100>;
127                 };
128
129                 oppnitro-1000000000 {
130                         opp-hz = /bits/ 64 <1000000000>;
131                         opp-microvolt = <1325000 1298500 1351500>;
132                         opp-supported-hw = <0x04 0x0200>;
133                 };
134         };
135
136         pmu {
137                 compatible = "arm,cortex-a8-pmu";
138                 interrupts = <3>;
139         };
140
141         /*
142          * The soc node represents the soc top level view. It is used for IPs
143          * that are not memory mapped in the MPU view or for the MPU itself.
144          */
145         soc {
146                 compatible = "ti,omap-infra";
147                 mpu {
148                         compatible = "ti,omap3-mpu";
149                         ti,hwmods = "mpu";
150                 };
151         };
152
153         /*
154          * XXX: Use a flat representation of the AM33XX interconnect.
155          * The real AM33XX interconnect network is quite complex. Since
156          * it will not bring real advantage to represent that in DT
157          * for the moment, just use a fake OCP bus entry to represent
158          * the whole bus hierarchy.
159          */
160         ocp {
161                 compatible = "simple-bus";
162                 #address-cells = <1>;
163                 #size-cells = <1>;
164                 ranges;
165                 ti,hwmods = "l3_main";
166
167                 l4_wkup: l4_wkup@44c00000 {
168                         compatible = "ti,am3-l4-wkup", "simple-bus";
169                         #address-cells = <1>;
170                         #size-cells = <1>;
171                         ranges = <0 0x44c00000 0x280000>;
172
173                         wkup_m3: wkup_m3@100000 {
174                                 compatible = "ti,am3352-wkup-m3";
175                                 reg = <0x100000 0x4000>,
176                                       <0x180000 0x2000>;
177                                 reg-names = "umem", "dmem";
178                                 ti,hwmods = "wkup_m3";
179                                 ti,pm-firmware = "/*(DEBLOBBED)*/";
180                         };
181
182                         prcm: prcm@200000 {
183                                 compatible = "ti,am3-prcm";
184                                 reg = <0x200000 0x4000>;
185
186                                 prcm_clocks: clocks {
187                                         #address-cells = <1>;
188                                         #size-cells = <0>;
189                                 };
190
191                                 prcm_clockdomains: clockdomains {
192                                 };
193                         };
194
195                         scm: scm@210000 {
196                                 compatible = "ti,am3-scm", "simple-bus";
197                                 reg = <0x210000 0x2000>;
198                                 #address-cells = <1>;
199                                 #size-cells = <1>;
200                                 #pinctrl-cells = <1>;
201                                 ranges = <0 0x210000 0x2000>;
202
203                                 am33xx_pinmux: pinmux@800 {
204                                         compatible = "pinctrl-single";
205                                         reg = <0x800 0x238>;
206                                         #address-cells = <1>;
207                                         #size-cells = <0>;
208                                         #pinctrl-cells = <1>;
209                                         pinctrl-single,register-width = <32>;
210                                         pinctrl-single,function-mask = <0x7f>;
211                                 };
212
213                                 scm_conf: scm_conf@0 {
214                                         compatible = "syscon", "simple-bus";
215                                         reg = <0x0 0x800>;
216                                         #address-cells = <1>;
217                                         #size-cells = <1>;
218                                         ranges = <0 0 0x800>;
219
220                                         scm_clocks: clocks {
221                                                 #address-cells = <1>;
222                                                 #size-cells = <0>;
223                                         };
224                                 };
225
226                                 wkup_m3_ipc: wkup_m3_ipc@1324 {
227                                         compatible = "ti,am3352-wkup-m3-ipc";
228                                         reg = <0x1324 0x24>;
229                                         interrupts = <78>;
230                                         ti,rproc = <&wkup_m3>;
231                                         mboxes = <&mailbox &mbox_wkupm3>;
232                                 };
233
234                                 edma_xbar: dma-router@f90 {
235                                         compatible = "ti,am335x-edma-crossbar";
236                                         reg = <0xf90 0x40>;
237                                         #dma-cells = <3>;
238                                         dma-requests = <32>;
239                                         dma-masters = <&edma>;
240                                 };
241
242                                 scm_clockdomains: clockdomains {
243                                 };
244                         };
245                 };
246
247                 intc: interrupt-controller@48200000 {
248                         compatible = "ti,am33xx-intc";
249                         interrupt-controller;
250                         #interrupt-cells = <1>;
251                         reg = <0x48200000 0x1000>;
252                 };
253
254                 edma: edma@49000000 {
255                         compatible = "ti,edma3-tpcc";
256                         ti,hwmods = "tpcc";
257                         reg =   <0x49000000 0x10000>;
258                         reg-names = "edma3_cc";
259                         interrupts = <12 13 14>;
260                         interrupt-names = "edma3_ccint", "edma3_mperr",
261                                           "edma3_ccerrint";
262                         dma-requests = <64>;
263                         #dma-cells = <2>;
264
265                         ti,tptcs = <&edma_tptc0 7>, <&edma_tptc1 5>,
266                                    <&edma_tptc2 0>;
267
268                         ti,edma-memcpy-channels = <20 21>;
269                 };
270
271                 edma_tptc0: tptc@49800000 {
272                         compatible = "ti,edma3-tptc";
273                         ti,hwmods = "tptc0";
274                         reg =   <0x49800000 0x100000>;
275                         interrupts = <112>;
276                         interrupt-names = "edma3_tcerrint";
277                 };
278
279                 edma_tptc1: tptc@49900000 {
280                         compatible = "ti,edma3-tptc";
281                         ti,hwmods = "tptc1";
282                         reg =   <0x49900000 0x100000>;
283                         interrupts = <113>;
284                         interrupt-names = "edma3_tcerrint";
285                 };
286
287                 edma_tptc2: tptc@49a00000 {
288                         compatible = "ti,edma3-tptc";
289                         ti,hwmods = "tptc2";
290                         reg =   <0x49a00000 0x100000>;
291                         interrupts = <114>;
292                         interrupt-names = "edma3_tcerrint";
293                 };
294
295                 gpio0: gpio@44e07000 {
296                         compatible = "ti,omap4-gpio";
297                         ti,hwmods = "gpio1";
298                         gpio-controller;
299                         #gpio-cells = <2>;
300                         interrupt-controller;
301                         #interrupt-cells = <2>;
302                         reg = <0x44e07000 0x1000>;
303                         interrupts = <96>;
304                 };
305
306                 gpio1: gpio@4804c000 {
307                         compatible = "ti,omap4-gpio";
308                         ti,hwmods = "gpio2";
309                         gpio-controller;
310                         #gpio-cells = <2>;
311                         interrupt-controller;
312                         #interrupt-cells = <2>;
313                         reg = <0x4804c000 0x1000>;
314                         interrupts = <98>;
315                 };
316
317                 gpio2: gpio@481ac000 {
318                         compatible = "ti,omap4-gpio";
319                         ti,hwmods = "gpio3";
320                         gpio-controller;
321                         #gpio-cells = <2>;
322                         interrupt-controller;
323                         #interrupt-cells = <2>;
324                         reg = <0x481ac000 0x1000>;
325                         interrupts = <32>;
326                 };
327
328                 gpio3: gpio@481ae000 {
329                         compatible = "ti,omap4-gpio";
330                         ti,hwmods = "gpio4";
331                         gpio-controller;
332                         #gpio-cells = <2>;
333                         interrupt-controller;
334                         #interrupt-cells = <2>;
335                         reg = <0x481ae000 0x1000>;
336                         interrupts = <62>;
337                 };
338
339                 uart0: serial@44e09000 {
340                         compatible = "ti,am3352-uart", "ti,omap3-uart";
341                         ti,hwmods = "uart1";
342                         clock-frequency = <48000000>;
343                         reg = <0x44e09000 0x2000>;
344                         interrupts = <72>;
345                         status = "disabled";
346                         dmas = <&edma 26 0>, <&edma 27 0>;
347                         dma-names = "tx", "rx";
348                 };
349
350                 uart1: serial@48022000 {
351                         compatible = "ti,am3352-uart", "ti,omap3-uart";
352                         ti,hwmods = "uart2";
353                         clock-frequency = <48000000>;
354                         reg = <0x48022000 0x2000>;
355                         interrupts = <73>;
356                         status = "disabled";
357                         dmas = <&edma 28 0>, <&edma 29 0>;
358                         dma-names = "tx", "rx";
359                 };
360
361                 uart2: serial@48024000 {
362                         compatible = "ti,am3352-uart", "ti,omap3-uart";
363                         ti,hwmods = "uart3";
364                         clock-frequency = <48000000>;
365                         reg = <0x48024000 0x2000>;
366                         interrupts = <74>;
367                         status = "disabled";
368                         dmas = <&edma 30 0>, <&edma 31 0>;
369                         dma-names = "tx", "rx";
370                 };
371
372                 uart3: serial@481a6000 {
373                         compatible = "ti,am3352-uart", "ti,omap3-uart";
374                         ti,hwmods = "uart4";
375                         clock-frequency = <48000000>;
376                         reg = <0x481a6000 0x2000>;
377                         interrupts = <44>;
378                         status = "disabled";
379                 };
380
381                 uart4: serial@481a8000 {
382                         compatible = "ti,am3352-uart", "ti,omap3-uart";
383                         ti,hwmods = "uart5";
384                         clock-frequency = <48000000>;
385                         reg = <0x481a8000 0x2000>;
386                         interrupts = <45>;
387                         status = "disabled";
388                 };
389
390                 uart5: serial@481aa000 {
391                         compatible = "ti,am3352-uart", "ti,omap3-uart";
392                         ti,hwmods = "uart6";
393                         clock-frequency = <48000000>;
394                         reg = <0x481aa000 0x2000>;
395                         interrupts = <46>;
396                         status = "disabled";
397                 };
398
399                 i2c0: i2c@44e0b000 {
400                         compatible = "ti,omap4-i2c";
401                         #address-cells = <1>;
402                         #size-cells = <0>;
403                         ti,hwmods = "i2c1";
404                         reg = <0x44e0b000 0x1000>;
405                         interrupts = <70>;
406                         status = "disabled";
407                 };
408
409                 i2c1: i2c@4802a000 {
410                         compatible = "ti,omap4-i2c";
411                         #address-cells = <1>;
412                         #size-cells = <0>;
413                         ti,hwmods = "i2c2";
414                         reg = <0x4802a000 0x1000>;
415                         interrupts = <71>;
416                         status = "disabled";
417                 };
418
419                 i2c2: i2c@4819c000 {
420                         compatible = "ti,omap4-i2c";
421                         #address-cells = <1>;
422                         #size-cells = <0>;
423                         ti,hwmods = "i2c3";
424                         reg = <0x4819c000 0x1000>;
425                         interrupts = <30>;
426                         status = "disabled";
427                 };
428
429                 mmc1: mmc@48060000 {
430                         compatible = "ti,omap4-hsmmc";
431                         ti,hwmods = "mmc1";
432                         ti,dual-volt;
433                         ti,needs-special-reset;
434                         ti,needs-special-hs-handling;
435                         dmas = <&edma_xbar 24 0 0
436                                 &edma_xbar 25 0 0>;
437                         dma-names = "tx", "rx";
438                         interrupts = <64>;
439                         reg = <0x48060000 0x1000>;
440                         status = "disabled";
441                 };
442
443                 mmc2: mmc@481d8000 {
444                         compatible = "ti,omap4-hsmmc";
445                         ti,hwmods = "mmc2";
446                         ti,needs-special-reset;
447                         dmas = <&edma 2 0
448                                 &edma 3 0>;
449                         dma-names = "tx", "rx";
450                         interrupts = <28>;
451                         reg = <0x481d8000 0x1000>;
452                         status = "disabled";
453                 };
454
455                 mmc3: mmc@47810000 {
456                         compatible = "ti,omap4-hsmmc";
457                         ti,hwmods = "mmc3";
458                         ti,needs-special-reset;
459                         interrupts = <29>;
460                         reg = <0x47810000 0x1000>;
461                         status = "disabled";
462                 };
463
464                 hwspinlock: spinlock@480ca000 {
465                         compatible = "ti,omap4-hwspinlock";
466                         reg = <0x480ca000 0x1000>;
467                         ti,hwmods = "spinlock";
468                         #hwlock-cells = <1>;
469                 };
470
471                 wdt2: wdt@44e35000 {
472                         compatible = "ti,omap3-wdt";
473                         ti,hwmods = "wd_timer2";
474                         reg = <0x44e35000 0x1000>;
475                         interrupts = <91>;
476                 };
477
478                 dcan0: can@481cc000 {
479                         compatible = "ti,am3352-d_can";
480                         ti,hwmods = "d_can0";
481                         reg = <0x481cc000 0x2000>;
482                         clocks = <&dcan0_fck>;
483                         clock-names = "fck";
484                         syscon-raminit = <&scm_conf 0x644 0>;
485                         interrupts = <52>;
486                         status = "disabled";
487                 };
488
489                 dcan1: can@481d0000 {
490                         compatible = "ti,am3352-d_can";
491                         ti,hwmods = "d_can1";
492                         reg = <0x481d0000 0x2000>;
493                         clocks = <&dcan1_fck>;
494                         clock-names = "fck";
495                         syscon-raminit = <&scm_conf 0x644 1>;
496                         interrupts = <55>;
497                         status = "disabled";
498                 };
499
500                 mailbox: mailbox@480C8000 {
501                         compatible = "ti,omap4-mailbox";
502                         reg = <0x480C8000 0x200>;
503                         interrupts = <77>;
504                         ti,hwmods = "mailbox";
505                         #mbox-cells = <1>;
506                         ti,mbox-num-users = <4>;
507                         ti,mbox-num-fifos = <8>;
508                         mbox_wkupm3: wkup_m3 {
509                                 ti,mbox-send-noirq;
510                                 ti,mbox-tx = <0 0 0>;
511                                 ti,mbox-rx = <0 0 3>;
512                         };
513                 };
514
515                 timer1: timer@44e31000 {
516                         compatible = "ti,am335x-timer-1ms";
517                         reg = <0x44e31000 0x400>;
518                         interrupts = <67>;
519                         ti,hwmods = "timer1";
520                         ti,timer-alwon;
521                 };
522
523                 timer2: timer@48040000 {
524                         compatible = "ti,am335x-timer";
525                         reg = <0x48040000 0x400>;
526                         interrupts = <68>;
527                         ti,hwmods = "timer2";
528                 };
529
530                 timer3: timer@48042000 {
531                         compatible = "ti,am335x-timer";
532                         reg = <0x48042000 0x400>;
533                         interrupts = <69>;
534                         ti,hwmods = "timer3";
535                 };
536
537                 timer4: timer@48044000 {
538                         compatible = "ti,am335x-timer";
539                         reg = <0x48044000 0x400>;
540                         interrupts = <92>;
541                         ti,hwmods = "timer4";
542                         ti,timer-pwm;
543                 };
544
545                 timer5: timer@48046000 {
546                         compatible = "ti,am335x-timer";
547                         reg = <0x48046000 0x400>;
548                         interrupts = <93>;
549                         ti,hwmods = "timer5";
550                         ti,timer-pwm;
551                 };
552
553                 timer6: timer@48048000 {
554                         compatible = "ti,am335x-timer";
555                         reg = <0x48048000 0x400>;
556                         interrupts = <94>;
557                         ti,hwmods = "timer6";
558                         ti,timer-pwm;
559                 };
560
561                 timer7: timer@4804a000 {
562                         compatible = "ti,am335x-timer";
563                         reg = <0x4804a000 0x400>;
564                         interrupts = <95>;
565                         ti,hwmods = "timer7";
566                         ti,timer-pwm;
567                 };
568
569                 rtc: rtc@44e3e000 {
570                         compatible = "ti,am3352-rtc", "ti,da830-rtc";
571                         reg = <0x44e3e000 0x1000>;
572                         interrupts = <75
573                                       76>;
574                         ti,hwmods = "rtc";
575                         clocks = <&clkdiv32k_ick>;
576                         clock-names = "int-clk";
577                 };
578
579                 spi0: spi@48030000 {
580                         compatible = "ti,omap4-mcspi";
581                         #address-cells = <1>;
582                         #size-cells = <0>;
583                         reg = <0x48030000 0x400>;
584                         interrupts = <65>;
585                         ti,spi-num-cs = <2>;
586                         ti,hwmods = "spi0";
587                         dmas = <&edma 16 0
588                                 &edma 17 0
589                                 &edma 18 0
590                                 &edma 19 0>;
591                         dma-names = "tx0", "rx0", "tx1", "rx1";
592                         status = "disabled";
593                 };
594
595                 spi1: spi@481a0000 {
596                         compatible = "ti,omap4-mcspi";
597                         #address-cells = <1>;
598                         #size-cells = <0>;
599                         reg = <0x481a0000 0x400>;
600                         interrupts = <125>;
601                         ti,spi-num-cs = <2>;
602                         ti,hwmods = "spi1";
603                         dmas = <&edma 42 0
604                                 &edma 43 0
605                                 &edma 44 0
606                                 &edma 45 0>;
607                         dma-names = "tx0", "rx0", "tx1", "rx1";
608                         status = "disabled";
609                 };
610
611                 usb: usb@47400000 {
612                         compatible = "ti,am33xx-usb";
613                         reg = <0x47400000 0x1000>;
614                         ranges;
615                         #address-cells = <1>;
616                         #size-cells = <1>;
617                         ti,hwmods = "usb_otg_hs";
618                         status = "disabled";
619
620                         usb_ctrl_mod: control@44e10620 {
621                                 compatible = "ti,am335x-usb-ctrl-module";
622                                 reg = <0x44e10620 0x10
623                                         0x44e10648 0x4>;
624                                 reg-names = "phy_ctrl", "wakeup";
625                                 status = "disabled";
626                         };
627
628                         usb0_phy: usb-phy@47401300 {
629                                 compatible = "ti,am335x-usb-phy";
630                                 reg = <0x47401300 0x100>;
631                                 reg-names = "phy";
632                                 status = "disabled";
633                                 ti,ctrl_mod = <&usb_ctrl_mod>;
634                         };
635
636                         usb0: usb@47401000 {
637                                 compatible = "ti,musb-am33xx";
638                                 status = "disabled";
639                                 reg = <0x47401400 0x400
640                                         0x47401000 0x200>;
641                                 reg-names = "mc", "control";
642
643                                 interrupts = <18>;
644                                 interrupt-names = "mc";
645                                 dr_mode = "otg";
646                                 mentor,multipoint = <1>;
647                                 mentor,num-eps = <16>;
648                                 mentor,ram-bits = <12>;
649                                 mentor,power = <500>;
650                                 phys = <&usb0_phy>;
651
652                                 dmas = <&cppi41dma  0 0 &cppi41dma  1 0
653                                         &cppi41dma  2 0 &cppi41dma  3 0
654                                         &cppi41dma  4 0 &cppi41dma  5 0
655                                         &cppi41dma  6 0 &cppi41dma  7 0
656                                         &cppi41dma  8 0 &cppi41dma  9 0
657                                         &cppi41dma 10 0 &cppi41dma 11 0
658                                         &cppi41dma 12 0 &cppi41dma 13 0
659                                         &cppi41dma 14 0 &cppi41dma  0 1
660                                         &cppi41dma  1 1 &cppi41dma  2 1
661                                         &cppi41dma  3 1 &cppi41dma  4 1
662                                         &cppi41dma  5 1 &cppi41dma  6 1
663                                         &cppi41dma  7 1 &cppi41dma  8 1
664                                         &cppi41dma  9 1 &cppi41dma 10 1
665                                         &cppi41dma 11 1 &cppi41dma 12 1
666                                         &cppi41dma 13 1 &cppi41dma 14 1>;
667                                 dma-names =
668                                         "rx1", "rx2", "rx3", "rx4", "rx5", "rx6", "rx7",
669                                         "rx8", "rx9", "rx10", "rx11", "rx12", "rx13",
670                                         "rx14", "rx15",
671                                         "tx1", "tx2", "tx3", "tx4", "tx5", "tx6", "tx7",
672                                         "tx8", "tx9", "tx10", "tx11", "tx12", "tx13",
673                                         "tx14", "tx15";
674                         };
675
676                         usb1_phy: usb-phy@47401b00 {
677                                 compatible = "ti,am335x-usb-phy";
678                                 reg = <0x47401b00 0x100>;
679                                 reg-names = "phy";
680                                 status = "disabled";
681                                 ti,ctrl_mod = <&usb_ctrl_mod>;
682                         };
683
684                         usb1: usb@47401800 {
685                                 compatible = "ti,musb-am33xx";
686                                 status = "disabled";
687                                 reg = <0x47401c00 0x400
688                                         0x47401800 0x200>;
689                                 reg-names = "mc", "control";
690                                 interrupts = <19>;
691                                 interrupt-names = "mc";
692                                 dr_mode = "otg";
693                                 mentor,multipoint = <1>;
694                                 mentor,num-eps = <16>;
695                                 mentor,ram-bits = <12>;
696                                 mentor,power = <500>;
697                                 phys = <&usb1_phy>;
698
699                                 dmas = <&cppi41dma 15 0 &cppi41dma 16 0
700                                         &cppi41dma 17 0 &cppi41dma 18 0
701                                         &cppi41dma 19 0 &cppi41dma 20 0
702                                         &cppi41dma 21 0 &cppi41dma 22 0
703                                         &cppi41dma 23 0 &cppi41dma 24 0
704                                         &cppi41dma 25 0 &cppi41dma 26 0
705                                         &cppi41dma 27 0 &cppi41dma 28 0
706                                         &cppi41dma 29 0 &cppi41dma 15 1
707                                         &cppi41dma 16 1 &cppi41dma 17 1
708                                         &cppi41dma 18 1 &cppi41dma 19 1
709                                         &cppi41dma 20 1 &cppi41dma 21 1
710                                         &cppi41dma 22 1 &cppi41dma 23 1
711                                         &cppi41dma 24 1 &cppi41dma 25 1
712                                         &cppi41dma 26 1 &cppi41dma 27 1
713                                         &cppi41dma 28 1 &cppi41dma 29 1>;
714                                 dma-names =
715                                         "rx1", "rx2", "rx3", "rx4", "rx5", "rx6", "rx7",
716                                         "rx8", "rx9", "rx10", "rx11", "rx12", "rx13",
717                                         "rx14", "rx15",
718                                         "tx1", "tx2", "tx3", "tx4", "tx5", "tx6", "tx7",
719                                         "tx8", "tx9", "tx10", "tx11", "tx12", "tx13",
720                                         "tx14", "tx15";
721                         };
722
723                         cppi41dma: dma-controller@47402000 {
724                                 compatible = "ti,am3359-cppi41";
725                                 reg =  <0x47400000 0x1000
726                                         0x47402000 0x1000
727                                         0x47403000 0x1000
728                                         0x47404000 0x4000>;
729                                 reg-names = "glue", "controller", "scheduler", "queuemgr";
730                                 interrupts = <17>;
731                                 interrupt-names = "glue";
732                                 #dma-cells = <2>;
733                                 #dma-channels = <30>;
734                                 #dma-requests = <256>;
735                                 status = "disabled";
736                         };
737                 };
738
739                 epwmss0: epwmss@48300000 {
740                         compatible = "ti,am33xx-pwmss";
741                         reg = <0x48300000 0x10>;
742                         ti,hwmods = "epwmss0";
743                         #address-cells = <1>;
744                         #size-cells = <1>;
745                         status = "disabled";
746                         ranges = <0x48300100 0x48300100 0x80   /* ECAP */
747                                   0x48300180 0x48300180 0x80   /* EQEP */
748                                   0x48300200 0x48300200 0x80>; /* EHRPWM */
749
750                         ecap0: ecap@48300100 {
751                                 compatible = "ti,am3352-ecap",
752                                              "ti,am33xx-ecap";
753                                 #pwm-cells = <3>;
754                                 reg = <0x48300100 0x80>;
755                                 clocks = <&l4ls_gclk>;
756                                 clock-names = "fck";
757                                 interrupts = <31>;
758                                 interrupt-names = "ecap0";
759                                 status = "disabled";
760                         };
761
762                         ehrpwm0: pwm@48300200 {
763                                 compatible = "ti,am3352-ehrpwm",
764                                              "ti,am33xx-ehrpwm";
765                                 #pwm-cells = <3>;
766                                 reg = <0x48300200 0x80>;
767                                 clocks = <&ehrpwm0_tbclk>, <&l4ls_gclk>;
768                                 clock-names = "tbclk", "fck";
769                                 status = "disabled";
770                         };
771                 };
772
773                 epwmss1: epwmss@48302000 {
774                         compatible = "ti,am33xx-pwmss";
775                         reg = <0x48302000 0x10>;
776                         ti,hwmods = "epwmss1";
777                         #address-cells = <1>;
778                         #size-cells = <1>;
779                         status = "disabled";
780                         ranges = <0x48302100 0x48302100 0x80   /* ECAP */
781                                   0x48302180 0x48302180 0x80   /* EQEP */
782                                   0x48302200 0x48302200 0x80>; /* EHRPWM */
783
784                         ecap1: ecap@48302100 {
785                                 compatible = "ti,am3352-ecap",
786                                              "ti,am33xx-ecap";
787                                 #pwm-cells = <3>;
788                                 reg = <0x48302100 0x80>;
789                                 clocks = <&l4ls_gclk>;
790                                 clock-names = "fck";
791                                 interrupts = <47>;
792                                 interrupt-names = "ecap1";
793                                 status = "disabled";
794                         };
795
796                         ehrpwm1: pwm@48302200 {
797                                 compatible = "ti,am3352-ehrpwm",
798                                              "ti,am33xx-ehrpwm";
799                                 #pwm-cells = <3>;
800                                 reg = <0x48302200 0x80>;
801                                 clocks = <&ehrpwm1_tbclk>, <&l4ls_gclk>;
802                                 clock-names = "tbclk", "fck";
803                                 status = "disabled";
804                         };
805                 };
806
807                 epwmss2: epwmss@48304000 {
808                         compatible = "ti,am33xx-pwmss";
809                         reg = <0x48304000 0x10>;
810                         ti,hwmods = "epwmss2";
811                         #address-cells = <1>;
812                         #size-cells = <1>;
813                         status = "disabled";
814                         ranges = <0x48304100 0x48304100 0x80   /* ECAP */
815                                   0x48304180 0x48304180 0x80   /* EQEP */
816                                   0x48304200 0x48304200 0x80>; /* EHRPWM */
817
818                         ecap2: ecap@48304100 {
819                                 compatible = "ti,am3352-ecap",
820                                              "ti,am33xx-ecap";
821                                 #pwm-cells = <3>;
822                                 reg = <0x48304100 0x80>;
823                                 clocks = <&l4ls_gclk>;
824                                 clock-names = "fck";
825                                 interrupts = <61>;
826                                 interrupt-names = "ecap2";
827                                 status = "disabled";
828                         };
829
830                         ehrpwm2: pwm@48304200 {
831                                 compatible = "ti,am3352-ehrpwm",
832                                              "ti,am33xx-ehrpwm";
833                                 #pwm-cells = <3>;
834                                 reg = <0x48304200 0x80>;
835                                 clocks = <&ehrpwm2_tbclk>, <&l4ls_gclk>;
836                                 clock-names = "tbclk", "fck";
837                                 status = "disabled";
838                         };
839                 };
840
841                 mac: ethernet@4a100000 {
842                         compatible = "ti,am335x-cpsw","ti,cpsw";
843                         ti,hwmods = "cpgmac0";
844                         clocks = <&cpsw_125mhz_gclk>, <&cpsw_cpts_rft_clk>;
845                         clock-names = "fck", "cpts";
846                         cpdma_channels = <8>;
847                         ale_entries = <1024>;
848                         bd_ram_size = <0x2000>;
849                         mac_control = <0x20>;
850                         slaves = <2>;
851                         active_slave = <0>;
852                         cpts_clock_mult = <0x80000000>;
853                         cpts_clock_shift = <29>;
854                         reg = <0x4a100000 0x800
855                                0x4a101200 0x100>;
856                         #address-cells = <1>;
857                         #size-cells = <1>;
858                         /*
859                          * c0_rx_thresh_pend
860                          * c0_rx_pend
861                          * c0_tx_pend
862                          * c0_misc_pend
863                          */
864                         interrupts = <40 41 42 43>;
865                         ranges;
866                         syscon = <&scm_conf>;
867                         status = "disabled";
868
869                         davinci_mdio: mdio@4a101000 {
870                                 compatible = "ti,cpsw-mdio","ti,davinci_mdio";
871                                 #address-cells = <1>;
872                                 #size-cells = <0>;
873                                 ti,hwmods = "davinci_mdio";
874                                 bus_freq = <1000000>;
875                                 reg = <0x4a101000 0x100>;
876                                 status = "disabled";
877                         };
878
879                         cpsw_emac0: slave@4a100200 {
880                                 /* Filled in by U-Boot */
881                                 mac-address = [ 00 00 00 00 00 00 ];
882                         };
883
884                         cpsw_emac1: slave@4a100300 {
885                                 /* Filled in by U-Boot */
886                                 mac-address = [ 00 00 00 00 00 00 ];
887                         };
888
889                         phy_sel: cpsw-phy-sel@44e10650 {
890                                 compatible = "ti,am3352-cpsw-phy-sel";
891                                 reg= <0x44e10650 0x4>;
892                                 reg-names = "gmii-sel";
893                         };
894                 };
895
896                 ocmcram: ocmcram@40300000 {
897                         compatible = "mmio-sram";
898                         reg = <0x40300000 0x10000>; /* 64k */
899                 };
900
901                 elm: elm@48080000 {
902                         compatible = "ti,am3352-elm";
903                         reg = <0x48080000 0x2000>;
904                         interrupts = <4>;
905                         ti,hwmods = "elm";
906                         status = "disabled";
907                 };
908
909                 lcdc: lcdc@4830e000 {
910                         compatible = "ti,am33xx-tilcdc";
911                         reg = <0x4830e000 0x1000>;
912                         interrupts = <36>;
913                         ti,hwmods = "lcdc";
914                         status = "disabled";
915                 };
916
917                 tscadc: tscadc@44e0d000 {
918                         compatible = "ti,am3359-tscadc";
919                         reg = <0x44e0d000 0x1000>;
920                         interrupts = <16>;
921                         ti,hwmods = "adc_tsc";
922                         status = "disabled";
923                         dmas = <&edma 53 0>, <&edma 57 0>;
924                         dma-names = "fifo0", "fifo1";
925
926                         tsc {
927                                 compatible = "ti,am3359-tsc";
928                         };
929                         am335x_adc: adc {
930                                 #io-channel-cells = <1>;
931                                 compatible = "ti,am3359-adc";
932                         };
933                 };
934
935                 gpmc: gpmc@50000000 {
936                         compatible = "ti,am3352-gpmc";
937                         ti,hwmods = "gpmc";
938                         ti,no-idle-on-init;
939                         reg = <0x50000000 0x2000>;
940                         interrupts = <100>;
941                         dmas = <&edma 52 0>;
942                         dma-names = "rxtx";
943                         gpmc,num-cs = <7>;
944                         gpmc,num-waitpins = <2>;
945                         #address-cells = <2>;
946                         #size-cells = <1>;
947                         interrupt-controller;
948                         #interrupt-cells = <2>;
949                         gpio-controller;
950                         #gpio-cells = <2>;
951                         status = "disabled";
952                 };
953
954                 sham: sham@53100000 {
955                         compatible = "ti,omap4-sham";
956                         ti,hwmods = "sham";
957                         reg = <0x53100000 0x200>;
958                         interrupts = <109>;
959                         dmas = <&edma 36 0>;
960                         dma-names = "rx";
961                 };
962
963                 aes: aes@53500000 {
964                         compatible = "ti,omap4-aes";
965                         ti,hwmods = "aes";
966                         reg = <0x53500000 0xa0>;
967                         interrupts = <103>;
968                         dmas = <&edma 6 0>,
969                                <&edma 5 0>;
970                         dma-names = "tx", "rx";
971                 };
972
973                 mcasp0: mcasp@48038000 {
974                         compatible = "ti,am33xx-mcasp-audio";
975                         ti,hwmods = "mcasp0";
976                         reg = <0x48038000 0x2000>,
977                               <0x46000000 0x400000>;
978                         reg-names = "mpu", "dat";
979                         interrupts = <80>, <81>;
980                         interrupt-names = "tx", "rx";
981                         status = "disabled";
982                         dmas = <&edma 8 2>,
983                                 <&edma 9 2>;
984                         dma-names = "tx", "rx";
985                 };
986
987                 mcasp1: mcasp@4803C000 {
988                         compatible = "ti,am33xx-mcasp-audio";
989                         ti,hwmods = "mcasp1";
990                         reg = <0x4803C000 0x2000>,
991                               <0x46400000 0x400000>;
992                         reg-names = "mpu", "dat";
993                         interrupts = <82>, <83>;
994                         interrupt-names = "tx", "rx";
995                         status = "disabled";
996                         dmas = <&edma 10 2>,
997                                 <&edma 11 2>;
998                         dma-names = "tx", "rx";
999                 };
1000
1001                 rng: rng@48310000 {
1002                         compatible = "ti,omap4-rng";
1003                         ti,hwmods = "rng";
1004                         reg = <0x48310000 0x2000>;
1005                         interrupts = <111>;
1006                 };
1007         };
1008 };
1009
1010 /include/ "am33xx-clocks.dtsi"