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