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