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