Merge tag 'v3.18-rc4' into next/dt2
[cascardo/linux.git] / arch / arm / boot / dts / am4372.dtsi
1 /*
2  * Device Tree Source for AM4372 SoC
3  *
4  * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
5  *
6  * This file is licensed under the terms of the GNU General Public License
7  * version 2.  This program is licensed "as is" without any warranty of any
8  * kind, whether express or implied.
9  */
10
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/interrupt-controller/arm-gic.h>
13
14 #include "skeleton.dtsi"
15
16 / {
17         compatible = "ti,am4372", "ti,am43";
18         interrupt-parent = <&gic>;
19
20
21         aliases {
22                 i2c0 = &i2c0;
23                 i2c1 = &i2c1;
24                 i2c2 = &i2c2;
25                 serial0 = &uart0;
26                 ethernet0 = &cpsw_emac0;
27                 ethernet1 = &cpsw_emac1;
28         };
29
30         cpus {
31                 #address-cells = <1>;
32                 #size-cells = <0>;
33                 cpu: cpu@0 {
34                         compatible = "arm,cortex-a9";
35                         device_type = "cpu";
36                         reg = <0>;
37
38                         clocks = <&dpll_mpu_ck>;
39                         clock-names = "cpu";
40
41                         clock-latency = <300000>; /* From omap-cpufreq driver */
42                 };
43         };
44
45         gic: interrupt-controller@48241000 {
46                 compatible = "arm,cortex-a9-gic";
47                 interrupt-controller;
48                 #interrupt-cells = <3>;
49                 reg = <0x48241000 0x1000>,
50                       <0x48240100 0x0100>;
51         };
52
53         l2-cache-controller@48242000 {
54                 compatible = "arm,pl310-cache";
55                 reg = <0x48242000 0x1000>;
56                 cache-unified;
57                 cache-level = <2>;
58         };
59
60         am43xx_pinmux: pinmux@44e10800 {
61                 compatible = "ti,am437-padconf", "pinctrl-single";
62                 reg = <0x44e10800 0x31c>;
63                 #address-cells = <1>;
64                 #size-cells = <0>;
65                 #interrupt-cells = <1>;
66                 interrupt-controller;
67                 pinctrl-single,register-width = <32>;
68                 pinctrl-single,function-mask = <0xffffffff>;
69         };
70
71         ocp {
72                 compatible = "ti,am4372-l3-noc", "simple-bus";
73                 #address-cells = <1>;
74                 #size-cells = <1>;
75                 ranges;
76                 ti,hwmods = "l3_main";
77                 reg = <0x44000000 0x400000
78                        0x44800000 0x400000>;
79                 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
80                              <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
81
82                 prcm: prcm@44df0000 {
83                         compatible = "ti,am4-prcm";
84                         reg = <0x44df0000 0x11000>;
85
86                         prcm_clocks: clocks {
87                                 #address-cells = <1>;
88                                 #size-cells = <0>;
89                         };
90
91                         prcm_clockdomains: clockdomains {
92                         };
93                 };
94
95                 scrm: scrm@44e10000 {
96                         compatible = "ti,am4-scrm";
97                         reg = <0x44e10000 0x2000>;
98
99                         scrm_clocks: clocks {
100                                 #address-cells = <1>;
101                                 #size-cells = <0>;
102                         };
103
104                         scrm_clockdomains: clockdomains {
105                         };
106                 };
107
108                 edma: edma@49000000 {
109                         compatible = "ti,edma3";
110                         ti,hwmods = "tpcc", "tptc0", "tptc1", "tptc2";
111                         reg =   <0x49000000 0x10000>,
112                                 <0x44e10f90 0x10>;
113                         interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
114                                         <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
115                                         <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
116                         #dma-cells = <1>;
117                 };
118
119                 uart0: serial@44e09000 {
120                         compatible = "ti,am4372-uart","ti,omap2-uart";
121                         reg = <0x44e09000 0x2000>;
122                         interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
123                         ti,hwmods = "uart1";
124                 };
125
126                 uart1: serial@48022000 {
127                         compatible = "ti,am4372-uart","ti,omap2-uart";
128                         reg = <0x48022000 0x2000>;
129                         interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
130                         ti,hwmods = "uart2";
131                         status = "disabled";
132                 };
133
134                 uart2: serial@48024000 {
135                         compatible = "ti,am4372-uart","ti,omap2-uart";
136                         reg = <0x48024000 0x2000>;
137                         interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
138                         ti,hwmods = "uart3";
139                         status = "disabled";
140                 };
141
142                 uart3: serial@481a6000 {
143                         compatible = "ti,am4372-uart","ti,omap2-uart";
144                         reg = <0x481a6000 0x2000>;
145                         interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
146                         ti,hwmods = "uart4";
147                         status = "disabled";
148                 };
149
150                 uart4: serial@481a8000 {
151                         compatible = "ti,am4372-uart","ti,omap2-uart";
152                         reg = <0x481a8000 0x2000>;
153                         interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
154                         ti,hwmods = "uart5";
155                         status = "disabled";
156                 };
157
158                 uart5: serial@481aa000 {
159                         compatible = "ti,am4372-uart","ti,omap2-uart";
160                         reg = <0x481aa000 0x2000>;
161                         interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
162                         ti,hwmods = "uart6";
163                         status = "disabled";
164                 };
165
166                 mailbox: mailbox@480C8000 {
167                         compatible = "ti,omap4-mailbox";
168                         reg = <0x480C8000 0x200>;
169                         interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
170                         ti,hwmods = "mailbox";
171                         #mbox-cells = <1>;
172                         ti,mbox-num-users = <4>;
173                         ti,mbox-num-fifos = <8>;
174                         mbox_wkupm3: wkup_m3 {
175                                 ti,mbox-tx = <0 0 0>;
176                                 ti,mbox-rx = <0 0 3>;
177                         };
178                 };
179
180                 timer1: timer@44e31000 {
181                         compatible = "ti,am4372-timer-1ms","ti,am335x-timer-1ms";
182                         reg = <0x44e31000 0x400>;
183                         interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
184                         ti,timer-alwon;
185                         ti,hwmods = "timer1";
186                 };
187
188                 timer2: timer@48040000  {
189                         compatible = "ti,am4372-timer","ti,am335x-timer";
190                         reg = <0x48040000  0x400>;
191                         interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
192                         ti,hwmods = "timer2";
193                 };
194
195                 timer3: timer@48042000 {
196                         compatible = "ti,am4372-timer","ti,am335x-timer";
197                         reg = <0x48042000 0x400>;
198                         interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
199                         ti,hwmods = "timer3";
200                         status = "disabled";
201                 };
202
203                 timer4: timer@48044000 {
204                         compatible = "ti,am4372-timer","ti,am335x-timer";
205                         reg = <0x48044000 0x400>;
206                         interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
207                         ti,timer-pwm;
208                         ti,hwmods = "timer4";
209                         status = "disabled";
210                 };
211
212                 timer5: timer@48046000 {
213                         compatible = "ti,am4372-timer","ti,am335x-timer";
214                         reg = <0x48046000 0x400>;
215                         interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
216                         ti,timer-pwm;
217                         ti,hwmods = "timer5";
218                         status = "disabled";
219                 };
220
221                 timer6: timer@48048000 {
222                         compatible = "ti,am4372-timer","ti,am335x-timer";
223                         reg = <0x48048000 0x400>;
224                         interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
225                         ti,timer-pwm;
226                         ti,hwmods = "timer6";
227                         status = "disabled";
228                 };
229
230                 timer7: timer@4804a000 {
231                         compatible = "ti,am4372-timer","ti,am335x-timer";
232                         reg = <0x4804a000 0x400>;
233                         interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
234                         ti,timer-pwm;
235                         ti,hwmods = "timer7";
236                         status = "disabled";
237                 };
238
239                 timer8: timer@481c1000 {
240                         compatible = "ti,am4372-timer","ti,am335x-timer";
241                         reg = <0x481c1000 0x400>;
242                         interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>;
243                         ti,hwmods = "timer8";
244                         status = "disabled";
245                 };
246
247                 timer9: timer@4833d000 {
248                         compatible = "ti,am4372-timer","ti,am335x-timer";
249                         reg = <0x4833d000 0x400>;
250                         interrupts = <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>;
251                         ti,hwmods = "timer9";
252                         status = "disabled";
253                 };
254
255                 timer10: timer@4833f000 {
256                         compatible = "ti,am4372-timer","ti,am335x-timer";
257                         reg = <0x4833f000 0x400>;
258                         interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
259                         ti,hwmods = "timer10";
260                         status = "disabled";
261                 };
262
263                 timer11: timer@48341000 {
264                         compatible = "ti,am4372-timer","ti,am335x-timer";
265                         reg = <0x48341000 0x400>;
266                         interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>;
267                         ti,hwmods = "timer11";
268                         status = "disabled";
269                 };
270
271                 counter32k: counter@44e86000 {
272                         compatible = "ti,am4372-counter32k","ti,omap-counter32k";
273                         reg = <0x44e86000 0x40>;
274                         ti,hwmods = "counter_32k";
275                 };
276
277                 rtc: rtc@44e3e000 {
278                         compatible = "ti,am4372-rtc","ti,da830-rtc";
279                         reg = <0x44e3e000 0x1000>;
280                         interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH
281                                       GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
282                         ti,hwmods = "rtc";
283                         status = "disabled";
284                 };
285
286                 wdt: wdt@44e35000 {
287                         compatible = "ti,am4372-wdt","ti,omap3-wdt";
288                         reg = <0x44e35000 0x1000>;
289                         interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
290                         ti,hwmods = "wd_timer2";
291                 };
292
293                 gpio0: gpio@44e07000 {
294                         compatible = "ti,am4372-gpio","ti,omap4-gpio";
295                         reg = <0x44e07000 0x1000>;
296                         interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
297                         gpio-controller;
298                         #gpio-cells = <2>;
299                         interrupt-controller;
300                         #interrupt-cells = <2>;
301                         ti,hwmods = "gpio1";
302                         status = "disabled";
303                 };
304
305                 gpio1: gpio@4804c000 {
306                         compatible = "ti,am4372-gpio","ti,omap4-gpio";
307                         reg = <0x4804c000 0x1000>;
308                         interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
309                         gpio-controller;
310                         #gpio-cells = <2>;
311                         interrupt-controller;
312                         #interrupt-cells = <2>;
313                         ti,hwmods = "gpio2";
314                         status = "disabled";
315                 };
316
317                 gpio2: gpio@481ac000 {
318                         compatible = "ti,am4372-gpio","ti,omap4-gpio";
319                         reg = <0x481ac000 0x1000>;
320                         interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
321                         gpio-controller;
322                         #gpio-cells = <2>;
323                         interrupt-controller;
324                         #interrupt-cells = <2>;
325                         ti,hwmods = "gpio3";
326                         status = "disabled";
327                 };
328
329                 gpio3: gpio@481ae000 {
330                         compatible = "ti,am4372-gpio","ti,omap4-gpio";
331                         reg = <0x481ae000 0x1000>;
332                         interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
333                         gpio-controller;
334                         #gpio-cells = <2>;
335                         interrupt-controller;
336                         #interrupt-cells = <2>;
337                         ti,hwmods = "gpio4";
338                         status = "disabled";
339                 };
340
341                 gpio4: gpio@48320000 {
342                         compatible = "ti,am4372-gpio","ti,omap4-gpio";
343                         reg = <0x48320000 0x1000>;
344                         interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
345                         gpio-controller;
346                         #gpio-cells = <2>;
347                         interrupt-controller;
348                         #interrupt-cells = <2>;
349                         ti,hwmods = "gpio5";
350                         status = "disabled";
351                 };
352
353                 gpio5: gpio@48322000 {
354                         compatible = "ti,am4372-gpio","ti,omap4-gpio";
355                         reg = <0x48322000 0x1000>;
356                         interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
357                         gpio-controller;
358                         #gpio-cells = <2>;
359                         interrupt-controller;
360                         #interrupt-cells = <2>;
361                         ti,hwmods = "gpio6";
362                         status = "disabled";
363                 };
364
365                 hwspinlock: spinlock@480ca000 {
366                         compatible = "ti,omap4-hwspinlock";
367                         reg = <0x480ca000 0x1000>;
368                         ti,hwmods = "spinlock";
369                         #hwlock-cells = <1>;
370                 };
371
372                 i2c0: i2c@44e0b000 {
373                         compatible = "ti,am4372-i2c","ti,omap4-i2c";
374                         reg = <0x44e0b000 0x1000>;
375                         interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
376                         ti,hwmods = "i2c1";
377                         #address-cells = <1>;
378                         #size-cells = <0>;
379                         status = "disabled";
380                 };
381
382                 i2c1: i2c@4802a000 {
383                         compatible = "ti,am4372-i2c","ti,omap4-i2c";
384                         reg = <0x4802a000 0x1000>;
385                         interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
386                         ti,hwmods = "i2c2";
387                         #address-cells = <1>;
388                         #size-cells = <0>;
389                         status = "disabled";
390                 };
391
392                 i2c2: i2c@4819c000 {
393                         compatible = "ti,am4372-i2c","ti,omap4-i2c";
394                         reg = <0x4819c000 0x1000>;
395                         interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
396                         ti,hwmods = "i2c3";
397                         #address-cells = <1>;
398                         #size-cells = <0>;
399                         status = "disabled";
400                 };
401
402                 spi0: spi@48030000 {
403                         compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
404                         reg = <0x48030000 0x400>;
405                         interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
406                         ti,hwmods = "spi0";
407                         #address-cells = <1>;
408                         #size-cells = <0>;
409                         status = "disabled";
410                 };
411
412                 mmc1: mmc@48060000 {
413                         compatible = "ti,omap4-hsmmc";
414                         reg = <0x48060000 0x1000>;
415                         ti,hwmods = "mmc1";
416                         ti,dual-volt;
417                         ti,needs-special-reset;
418                         dmas = <&edma 24
419                                 &edma 25>;
420                         dma-names = "tx", "rx";
421                         interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
422                         status = "disabled";
423                 };
424
425                 mmc2: mmc@481d8000 {
426                         compatible = "ti,omap4-hsmmc";
427                         reg = <0x481d8000 0x1000>;
428                         ti,hwmods = "mmc2";
429                         ti,needs-special-reset;
430                         dmas = <&edma 2
431                                 &edma 3>;
432                         dma-names = "tx", "rx";
433                         interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
434                         status = "disabled";
435                 };
436
437                 mmc3: mmc@47810000 {
438                         compatible = "ti,omap4-hsmmc";
439                         reg = <0x47810000 0x1000>;
440                         ti,hwmods = "mmc3";
441                         ti,needs-special-reset;
442                         interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
443                         status = "disabled";
444                 };
445
446                 spi1: spi@481a0000 {
447                         compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
448                         reg = <0x481a0000 0x400>;
449                         interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>;
450                         ti,hwmods = "spi1";
451                         #address-cells = <1>;
452                         #size-cells = <0>;
453                         status = "disabled";
454                 };
455
456                 spi2: spi@481a2000 {
457                         compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
458                         reg = <0x481a2000 0x400>;
459                         interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>;
460                         ti,hwmods = "spi2";
461                         #address-cells = <1>;
462                         #size-cells = <0>;
463                         status = "disabled";
464                 };
465
466                 spi3: spi@481a4000 {
467                         compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
468                         reg = <0x481a4000 0x400>;
469                         interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>;
470                         ti,hwmods = "spi3";
471                         #address-cells = <1>;
472                         #size-cells = <0>;
473                         status = "disabled";
474                 };
475
476                 spi4: spi@48345000 {
477                         compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
478                         reg = <0x48345000 0x400>;
479                         interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>;
480                         ti,hwmods = "spi4";
481                         #address-cells = <1>;
482                         #size-cells = <0>;
483                         status = "disabled";
484                 };
485
486                 mac: ethernet@4a100000 {
487                         compatible = "ti,am4372-cpsw","ti,cpsw";
488                         reg = <0x4a100000 0x800
489                                0x4a101200 0x100>;
490                         interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH
491                                       GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH
492                                       GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH
493                                       GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
494                         #address-cells = <1>;
495                         #size-cells = <1>;
496                         ti,hwmods = "cpgmac0";
497                         clocks = <&cpsw_125mhz_gclk>, <&cpsw_cpts_rft_clk>;
498                         clock-names = "fck", "cpts";
499                         status = "disabled";
500                         cpdma_channels = <8>;
501                         ale_entries = <1024>;
502                         bd_ram_size = <0x2000>;
503                         no_bd_ram = <0>;
504                         rx_descs = <64>;
505                         mac_control = <0x20>;
506                         slaves = <2>;
507                         active_slave = <0>;
508                         cpts_clock_mult = <0x80000000>;
509                         cpts_clock_shift = <29>;
510                         ranges;
511
512                         davinci_mdio: mdio@4a101000 {
513                                 compatible = "ti,am4372-mdio","ti,davinci_mdio";
514                                 reg = <0x4a101000 0x100>;
515                                 #address-cells = <1>;
516                                 #size-cells = <0>;
517                                 ti,hwmods = "davinci_mdio";
518                                 bus_freq = <1000000>;
519                                 status = "disabled";
520                         };
521
522                         cpsw_emac0: slave@4a100200 {
523                                 /* Filled in by U-Boot */
524                                 mac-address = [ 00 00 00 00 00 00 ];
525                         };
526
527                         cpsw_emac1: slave@4a100300 {
528                                 /* Filled in by U-Boot */
529                                 mac-address = [ 00 00 00 00 00 00 ];
530                         };
531
532                         phy_sel: cpsw-phy-sel@44e10650 {
533                                 compatible = "ti,am43xx-cpsw-phy-sel";
534                                 reg= <0x44e10650 0x4>;
535                                 reg-names = "gmii-sel";
536                         };
537                 };
538
539                 epwmss0: epwmss@48300000 {
540                         compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
541                         reg = <0x48300000 0x10>;
542                         #address-cells = <1>;
543                         #size-cells = <1>;
544                         ranges;
545                         ti,hwmods = "epwmss0";
546                         status = "disabled";
547
548                         ecap0: ecap@48300100 {
549                                 compatible = "ti,am4372-ecap","ti,am33xx-ecap";
550                                 #pwm-cells = <3>;
551                                 reg = <0x48300100 0x80>;
552                                 ti,hwmods = "ecap0";
553                                 status = "disabled";
554                         };
555
556                         ehrpwm0: ehrpwm@48300200 {
557                                 compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
558                                 #pwm-cells = <3>;
559                                 reg = <0x48300200 0x80>;
560                                 ti,hwmods = "ehrpwm0";
561                                 status = "disabled";
562                         };
563                 };
564
565                 epwmss1: epwmss@48302000 {
566                         compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
567                         reg = <0x48302000 0x10>;
568                         #address-cells = <1>;
569                         #size-cells = <1>;
570                         ranges;
571                         ti,hwmods = "epwmss1";
572                         status = "disabled";
573
574                         ecap1: ecap@48302100 {
575                                 compatible = "ti,am4372-ecap","ti,am33xx-ecap";
576                                 #pwm-cells = <3>;
577                                 reg = <0x48302100 0x80>;
578                                 ti,hwmods = "ecap1";
579                                 status = "disabled";
580                         };
581
582                         ehrpwm1: ehrpwm@48302200 {
583                                 compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
584                                 #pwm-cells = <3>;
585                                 reg = <0x48302200 0x80>;
586                                 ti,hwmods = "ehrpwm1";
587                                 status = "disabled";
588                         };
589                 };
590
591                 epwmss2: epwmss@48304000 {
592                         compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
593                         reg = <0x48304000 0x10>;
594                         #address-cells = <1>;
595                         #size-cells = <1>;
596                         ranges;
597                         ti,hwmods = "epwmss2";
598                         status = "disabled";
599
600                         ecap2: ecap@48304100 {
601                                 compatible = "ti,am4372-ecap","ti,am33xx-ecap";
602                                 #pwm-cells = <3>;
603                                 reg = <0x48304100 0x80>;
604                                 ti,hwmods = "ecap2";
605                                 status = "disabled";
606                         };
607
608                         ehrpwm2: ehrpwm@48304200 {
609                                 compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
610                                 #pwm-cells = <3>;
611                                 reg = <0x48304200 0x80>;
612                                 ti,hwmods = "ehrpwm2";
613                                 status = "disabled";
614                         };
615                 };
616
617                 epwmss3: epwmss@48306000 {
618                         compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
619                         reg = <0x48306000 0x10>;
620                         #address-cells = <1>;
621                         #size-cells = <1>;
622                         ranges;
623                         ti,hwmods = "epwmss3";
624                         status = "disabled";
625
626                         ehrpwm3: ehrpwm@48306200 {
627                                 compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
628                                 #pwm-cells = <3>;
629                                 reg = <0x48306200 0x80>;
630                                 ti,hwmods = "ehrpwm3";
631                                 status = "disabled";
632                         };
633                 };
634
635                 epwmss4: epwmss@48308000 {
636                         compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
637                         reg = <0x48308000 0x10>;
638                         #address-cells = <1>;
639                         #size-cells = <1>;
640                         ranges;
641                         ti,hwmods = "epwmss4";
642                         status = "disabled";
643
644                         ehrpwm4: ehrpwm@48308200 {
645                                 compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
646                                 #pwm-cells = <3>;
647                                 reg = <0x48308200 0x80>;
648                                 ti,hwmods = "ehrpwm4";
649                                 status = "disabled";
650                         };
651                 };
652
653                 epwmss5: epwmss@4830a000 {
654                         compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
655                         reg = <0x4830a000 0x10>;
656                         #address-cells = <1>;
657                         #size-cells = <1>;
658                         ranges;
659                         ti,hwmods = "epwmss5";
660                         status = "disabled";
661
662                         ehrpwm5: ehrpwm@4830a200 {
663                                 compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
664                                 #pwm-cells = <3>;
665                                 reg = <0x4830a200 0x80>;
666                                 ti,hwmods = "ehrpwm5";
667                                 status = "disabled";
668                         };
669                 };
670
671                 sham: sham@53100000 {
672                         compatible = "ti,omap5-sham";
673                         ti,hwmods = "sham";
674                         reg = <0x53100000 0x300>;
675                         dmas = <&edma 36>;
676                         dma-names = "rx";
677                         interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
678                 };
679
680                 aes: aes@53501000 {
681                         compatible = "ti,omap4-aes";
682                         ti,hwmods = "aes";
683                         reg = <0x53501000 0xa0>;
684                         interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
685                         dmas = <&edma 6
686                                 &edma 5>;
687                         dma-names = "tx", "rx";
688                 };
689
690                 des: des@53701000 {
691                         compatible = "ti,omap4-des";
692                         ti,hwmods = "des";
693                         reg = <0x53701000 0xa0>;
694                         interrupts = <GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>;
695                         dmas = <&edma 34
696                                 &edma 33>;
697                         dma-names = "tx", "rx";
698                 };
699
700                 mcasp0: mcasp@48038000 {
701                         compatible = "ti,am33xx-mcasp-audio";
702                         ti,hwmods = "mcasp0";
703                         reg = <0x48038000 0x2000>,
704                               <0x46000000 0x400000>;
705                         reg-names = "mpu", "dat";
706                         interrupts = <80>, <81>;
707                         interrupt-names = "tx", "rx";
708                         status = "disabled";
709                         dmas = <&edma 8>,
710                                <&edma 9>;
711                         dma-names = "tx", "rx";
712                 };
713
714                 mcasp1: mcasp@4803C000 {
715                         compatible = "ti,am33xx-mcasp-audio";
716                         ti,hwmods = "mcasp1";
717                         reg = <0x4803C000 0x2000>,
718                               <0x46400000 0x400000>;
719                         reg-names = "mpu", "dat";
720                         interrupts = <82>, <83>;
721                         interrupt-names = "tx", "rx";
722                         status = "disabled";
723                         dmas = <&edma 10>,
724                                <&edma 11>;
725                         dma-names = "tx", "rx";
726                 };
727
728                 elm: elm@48080000 {
729                         compatible = "ti,am3352-elm";
730                         reg = <0x48080000 0x2000>;
731                         interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
732                         ti,hwmods = "elm";
733                         clocks = <&l4ls_gclk>;
734                         clock-names = "fck";
735                         status = "disabled";
736                 };
737
738                 gpmc: gpmc@50000000 {
739                         compatible = "ti,am3352-gpmc";
740                         ti,hwmods = "gpmc";
741                         clocks = <&l3s_gclk>;
742                         clock-names = "fck";
743                         reg = <0x50000000 0x2000>;
744                         interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
745                         gpmc,num-cs = <7>;
746                         gpmc,num-waitpins = <2>;
747                         #address-cells = <2>;
748                         #size-cells = <1>;
749                         status = "disabled";
750                 };
751
752                 am43xx_control_usb2phy1: control-phy@44e10620 {
753                         compatible = "ti,control-phy-usb2-am437";
754                         reg = <0x44e10620 0x4>;
755                         reg-names = "power";
756                 };
757
758                 am43xx_control_usb2phy2: control-phy@0x44e10628 {
759                         compatible = "ti,control-phy-usb2-am437";
760                         reg = <0x44e10628 0x4>;
761                         reg-names = "power";
762                 };
763
764                 ocp2scp0: ocp2scp@483a8000 {
765                         compatible = "ti,omap-ocp2scp";
766                         #address-cells = <1>;
767                         #size-cells = <1>;
768                         ranges;
769                         ti,hwmods = "ocp2scp0";
770
771                         usb2_phy1: phy@483a8000 {
772                                 compatible = "ti,am437x-usb2";
773                                 reg = <0x483a8000 0x8000>;
774                                 ctrl-module = <&am43xx_control_usb2phy1>;
775                                 clocks = <&usb_phy0_always_on_clk32k>,
776                                          <&usb_otg_ss0_refclk960m>;
777                                 clock-names = "wkupclk", "refclk";
778                                 #phy-cells = <0>;
779                                 status = "disabled";
780                         };
781                 };
782
783                 ocp2scp1: ocp2scp@483e8000 {
784                         compatible = "ti,omap-ocp2scp";
785                         #address-cells = <1>;
786                         #size-cells = <1>;
787                         ranges;
788                         ti,hwmods = "ocp2scp1";
789
790                         usb2_phy2: phy@483e8000 {
791                                 compatible = "ti,am437x-usb2";
792                                 reg = <0x483e8000 0x8000>;
793                                 ctrl-module = <&am43xx_control_usb2phy2>;
794                                 clocks = <&usb_phy1_always_on_clk32k>,
795                                          <&usb_otg_ss1_refclk960m>;
796                                 clock-names = "wkupclk", "refclk";
797                                 #phy-cells = <0>;
798                                 status = "disabled";
799                         };
800                 };
801
802                 dwc3_1: omap_dwc3@48380000 {
803                         compatible = "ti,am437x-dwc3";
804                         ti,hwmods = "usb_otg_ss0";
805                         reg = <0x48380000 0x10000>;
806                         interrupts = <GIC_SPI 172 IRQ_TYPE_LEVEL_HIGH>;
807                         #address-cells = <1>;
808                         #size-cells = <1>;
809                         utmi-mode = <1>;
810                         ranges;
811
812                         usb1: usb@48390000 {
813                                 compatible = "synopsys,dwc3";
814                                 reg = <0x48390000 0x10000>;
815                                 interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
816                                 phys = <&usb2_phy1>;
817                                 phy-names = "usb2-phy";
818                                 maximum-speed = "high-speed";
819                                 dr_mode = "otg";
820                                 status = "disabled";
821                         };
822                 };
823
824                 dwc3_2: omap_dwc3@483c0000 {
825                         compatible = "ti,am437x-dwc3";
826                         ti,hwmods = "usb_otg_ss1";
827                         reg = <0x483c0000 0x10000>;
828                         interrupts = <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>;
829                         #address-cells = <1>;
830                         #size-cells = <1>;
831                         utmi-mode = <1>;
832                         ranges;
833
834                         usb2: usb@483d0000 {
835                                 compatible = "synopsys,dwc3";
836                                 reg = <0x483d0000 0x10000>;
837                                 interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
838                                 phys = <&usb2_phy2>;
839                                 phy-names = "usb2-phy";
840                                 maximum-speed = "high-speed";
841                                 dr_mode = "otg";
842                                 status = "disabled";
843                         };
844                 };
845
846                 qspi: qspi@47900000 {
847                         compatible = "ti,am4372-qspi";
848                         reg = <0x47900000 0x100>;
849                         #address-cells = <1>;
850                         #size-cells = <0>;
851                         ti,hwmods = "qspi";
852                         interrupts = <0 138 0x4>;
853                         num-cs = <4>;
854                         status = "disabled";
855                 };
856
857                 hdq: hdq@48347000 {
858                         compatible = "ti,am43xx-hdq";
859                         reg = <0x48347000 0x1000>;
860                         interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>;
861                         clocks = <&func_12m_clk>;
862                         clock-names = "fck";
863                         ti,hwmods = "hdq1w";
864                         status = "disabled";
865                 };
866
867                 dss: dss@4832a000 {
868                         compatible = "ti,omap3-dss";
869                         reg = <0x4832a000 0x200>;
870                         status = "disabled";
871                         ti,hwmods = "dss_core";
872                         clocks = <&disp_clk>;
873                         clock-names = "fck";
874                         #address-cells = <1>;
875                         #size-cells = <1>;
876                         ranges;
877
878                         dispc: dispc@4832a400 {
879                                 compatible = "ti,omap3-dispc";
880                                 reg = <0x4832a400 0x400>;
881                                 interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
882                                 ti,hwmods = "dss_dispc";
883                                 clocks = <&disp_clk>;
884                                 clock-names = "fck";
885                         };
886
887                         rfbi: rfbi@4832a800 {
888                                 compatible = "ti,omap3-rfbi";
889                                 reg = <0x4832a800 0x100>;
890                                 ti,hwmods = "dss_rfbi";
891                                 clocks = <&disp_clk>;
892                                 clock-names = "fck";
893                         };
894                 };
895
896                 ocmcram: ocmcram@40300000 {
897                         compatible = "mmio-sram";
898                         reg = <0x40300000 0x40000>; /* 256k */
899                 };
900         };
901 };
902
903 /include/ "am43xx-clocks.dtsi"