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