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