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