Merge tag 'x86_microcode_for_5.8' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-microblaze.git] / arch / arm / boot / dts / dm814x.dtsi
1 /*
2  * This file is licensed under the terms of the GNU General Public License
3  * version 2.  This program is licensed "as is" without any warranty of any
4  * kind, whether express or implied.
5  */
6
7 #include <dt-bindings/bus/ti-sysc.h>
8 #include <dt-bindings/clock/dm814.h>
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/pinctrl/dm814x.h>
11
12 / {
13         compatible = "ti,dm814";
14         interrupt-parent = <&intc>;
15         #address-cells = <1>;
16         #size-cells = <1>;
17         chosen { };
18
19         aliases {
20                 i2c0 = &i2c1;
21                 i2c1 = &i2c2;
22                 serial0 = &uart1;
23                 serial1 = &uart2;
24                 serial2 = &uart3;
25                 ethernet0 = &cpsw_emac0;
26                 ethernet1 = &cpsw_emac1;
27                 usb0 = &usb0;
28                 usb1 = &usb1;
29                 phy0 = &usb0_phy;
30                 phy1 = &usb1_phy;
31         };
32
33         cpus {
34                 #address-cells = <1>;
35                 #size-cells = <0>;
36                 cpu@0 {
37                         compatible = "arm,cortex-a8";
38                         device_type = "cpu";
39                         reg = <0>;
40                 };
41         };
42
43         pmu {
44                 compatible = "arm,cortex-a8-pmu";
45                 interrupts = <3>;
46         };
47
48         /*
49          * The soc node represents the soc top level view. It is used for IPs
50          * that are not memory mapped in the MPU view or for the MPU itself.
51          */
52         soc {
53                 compatible = "ti,omap-infra";
54                 mpu {
55                         compatible = "ti,omap3-mpu";
56                         ti,hwmods = "mpu";
57                 };
58         };
59
60         ocp {
61                 compatible = "simple-bus";
62                 #address-cells = <1>;
63                 #size-cells = <1>;
64                 ranges;
65                 ti,hwmods = "l3_main";
66
67                 usb: usb@47400000 {
68                         compatible = "ti,am33xx-usb";
69                         reg = <0x47400000 0x1000>;
70                         ranges;
71                         #address-cells = <1>;
72                         #size-cells = <1>;
73                         ti,hwmods = "usb_otg_hs";
74
75                         usb0_phy: usb-phy@47401300 {
76                                 compatible = "ti,am335x-usb-phy";
77                                 reg = <0x47401300 0x100>;
78                                 reg-names = "phy";
79                                 ti,ctrl_mod = <&usb_ctrl_mod>;
80                                 #phy-cells = <0>;
81                         };
82
83                         usb0: usb@47401000 {
84                                 compatible = "ti,musb-am33xx";
85                                 reg = <0x47401400 0x400
86                                        0x47401000 0x200>;
87                                 reg-names = "mc", "control";
88
89                                 interrupts = <18>;
90                                 interrupt-names = "mc";
91                                 dr_mode = "otg";
92                                 mentor,multipoint = <1>;
93                                 mentor,num-eps = <16>;
94                                 mentor,ram-bits = <12>;
95                                 mentor,power = <500>;
96                                 phys = <&usb0_phy>;
97
98                                 dmas = <&cppi41dma  0 0 &cppi41dma  1 0
99                                         &cppi41dma  2 0 &cppi41dma  3 0
100                                         &cppi41dma  4 0 &cppi41dma  5 0
101                                         &cppi41dma  6 0 &cppi41dma  7 0
102                                         &cppi41dma  8 0 &cppi41dma  9 0
103                                         &cppi41dma 10 0 &cppi41dma 11 0
104                                         &cppi41dma 12 0 &cppi41dma 13 0
105                                         &cppi41dma 14 0 &cppi41dma  0 1
106                                         &cppi41dma  1 1 &cppi41dma  2 1
107                                         &cppi41dma  3 1 &cppi41dma  4 1
108                                         &cppi41dma  5 1 &cppi41dma  6 1
109                                         &cppi41dma  7 1 &cppi41dma  8 1
110                                         &cppi41dma  9 1 &cppi41dma 10 1
111                                         &cppi41dma 11 1 &cppi41dma 12 1
112                                         &cppi41dma 13 1 &cppi41dma 14 1>;
113                                 dma-names =
114                                         "rx1", "rx2", "rx3", "rx4", "rx5", "rx6", "rx7",
115                                         "rx8", "rx9", "rx10", "rx11", "rx12", "rx13",
116                                         "rx14", "rx15",
117                                         "tx1", "tx2", "tx3", "tx4", "tx5", "tx6", "tx7",
118                                         "tx8", "tx9", "tx10", "tx11", "tx12", "tx13",
119                                         "tx14", "tx15";
120                         };
121
122                         usb1: usb@47401800 {
123                                 compatible = "ti,musb-am33xx";
124                                 reg = <0x47401c00 0x400
125                                         0x47401800 0x200>;
126                                 reg-names = "mc", "control";
127                                 interrupts = <19>;
128                                 interrupt-names = "mc";
129                                 dr_mode = "otg";
130                                 mentor,multipoint = <1>;
131                                 mentor,num-eps = <16>;
132                                 mentor,ram-bits = <12>;
133                                 mentor,power = <500>;
134                                 phys = <&usb1_phy>;
135
136                                 dmas = <&cppi41dma 15 0 &cppi41dma 16 0
137                                         &cppi41dma 17 0 &cppi41dma 18 0
138                                         &cppi41dma 19 0 &cppi41dma 20 0
139                                         &cppi41dma 21 0 &cppi41dma 22 0
140                                         &cppi41dma 23 0 &cppi41dma 24 0
141                                         &cppi41dma 25 0 &cppi41dma 26 0
142                                         &cppi41dma 27 0 &cppi41dma 28 0
143                                         &cppi41dma 29 0 &cppi41dma 15 1
144                                         &cppi41dma 16 1 &cppi41dma 17 1
145                                         &cppi41dma 18 1 &cppi41dma 19 1
146                                         &cppi41dma 20 1 &cppi41dma 21 1
147                                         &cppi41dma 22 1 &cppi41dma 23 1
148                                         &cppi41dma 24 1 &cppi41dma 25 1
149                                         &cppi41dma 26 1 &cppi41dma 27 1
150                                         &cppi41dma 28 1 &cppi41dma 29 1>;
151                                 dma-names =
152                                         "rx1", "rx2", "rx3", "rx4", "rx5", "rx6", "rx7",
153                                         "rx8", "rx9", "rx10", "rx11", "rx12", "rx13",
154                                         "rx14", "rx15",
155                                         "tx1", "tx2", "tx3", "tx4", "tx5", "tx6", "tx7",
156                                         "tx8", "tx9", "tx10", "tx11", "tx12", "tx13",
157                                         "tx14", "tx15";
158                         };
159
160                         cppi41dma: dma-controller@47402000 {
161                                 compatible = "ti,am3359-cppi41";
162                                 reg =  <0x47400000 0x1000
163                                         0x47402000 0x1000
164                                         0x47403000 0x1000
165                                         0x47404000 0x4000>;
166                                 reg-names = "glue", "controller", "scheduler", "queuemgr";
167                                 interrupts = <17>;
168                                 interrupt-names = "glue";
169                                 #dma-cells = <2>;
170                                 #dma-channels = <30>;
171                                 #dma-requests = <256>;
172                         };
173                 };
174
175                 /*
176                  * See TRM "Table 1-317. L4LS Instance Summary" for hints.
177                  * It shows the module target agent registers though, so the
178                  * actual device is typically 0x1000 before the target agent
179                  * except in cases where the module is larger than 0x1000.
180                  */
181                 l4ls: l4ls@48000000 {
182                         compatible = "ti,dm814-l4ls", "simple-bus";
183                         #address-cells = <1>;
184                         #size-cells = <1>;
185                         ranges = <0 0x48000000 0x2000000>;
186
187                         i2c1: i2c@28000 {
188                                 compatible = "ti,omap4-i2c";
189                                 #address-cells = <1>;
190                                 #size-cells = <0>;
191                                 ti,hwmods = "i2c1";
192                                 reg = <0x28000 0x1000>;
193                                 interrupts = <70>;
194                         };
195
196                         elm: elm@80000 {
197                                 compatible = "ti,814-elm";
198                                 ti,hwmods = "elm";
199                                 reg = <0x80000 0x2000>;
200                                 interrupts = <4>;
201                         };
202
203                         gpio1: gpio@32000 {
204                                 compatible = "ti,omap4-gpio";
205                                 ti,hwmods = "gpio1";
206                                 ti,gpio-always-on;
207                                 reg = <0x32000 0x2000>;
208                                 interrupts = <96>;
209                                 gpio-controller;
210                                 #gpio-cells = <2>;
211                                 interrupt-controller;
212                                 #interrupt-cells = <2>;
213                         };
214
215                         gpio2: gpio@4c000 {
216                                 compatible = "ti,omap4-gpio";
217                                 ti,hwmods = "gpio2";
218                                 ti,gpio-always-on;
219                                 reg = <0x4c000 0x2000>;
220                                 interrupts = <98>;
221                                 gpio-controller;
222                                 #gpio-cells = <2>;
223                                 interrupt-controller;
224                                 #interrupt-cells = <2>;
225                         };
226
227                         gpio3: gpio@1ac000 {
228                                 compatible = "ti,omap4-gpio";
229                                 ti,hwmods = "gpio3";
230                                 ti,gpio-always-on;
231                                 reg = <0x1ac000 0x2000>;
232                                 interrupts = <32>;
233                                 gpio-controller;
234                                 #gpio-cells = <2>;
235                                 interrupt-controller;
236                                 #interrupt-cells = <2>;
237                         };
238
239                         gpio4: gpio@1ae000 {
240                                 compatible = "ti,omap4-gpio";
241                                 ti,hwmods = "gpio4";
242                                 ti,gpio-always-on;
243                                 reg = <0x1ae000 0x2000>;
244                                 interrupts = <62>;
245                                 gpio-controller;
246                                 #gpio-cells = <2>;
247                                 interrupt-controller;
248                                 #interrupt-cells = <2>;
249                         };
250
251                         i2c2: i2c@2a000 {
252                                 compatible = "ti,omap4-i2c";
253                                 #address-cells = <1>;
254                                 #size-cells = <0>;
255                                 ti,hwmods = "i2c2";
256                                 reg = <0x2a000 0x1000>;
257                                 interrupts = <71>;
258                         };
259
260                         mcspi1: spi@30000 {
261                                 compatible = "ti,omap4-mcspi";
262                                 reg = <0x30000 0x1000>;
263                                 #address-cells = <1>;
264                                 #size-cells = <0>;
265                                 interrupts = <65>;
266                                 ti,spi-num-cs = <4>;
267                                 ti,hwmods = "mcspi1";
268                                 dmas = <&edma 16 0 &edma 17 0
269                                         &edma 18 0 &edma 19 0
270                                         &edma 20 0 &edma 21 0
271                                         &edma 22 0 &edma 23 0>;
272
273                                 dma-names = "tx0", "rx0", "tx1", "rx1",
274                                         "tx2", "rx2", "tx3", "rx3";
275                         };
276
277                         mcspi2: spi@1a0000 {
278                                 compatible = "ti,omap4-mcspi";
279                                 reg = <0x1a0000 0x1000>;
280                                 #address-cells = <1>;
281                                 #size-cells = <0>;
282                                 interrupts = <125>;
283                                 ti,spi-num-cs = <4>;
284                                 ti,hwmods = "mcspi2";
285                                 dmas = <&edma 42 0 &edma 43 0
286                                         &edma 44 0 &edma 45 0>;
287                                 dma-names = "tx0", "rx0", "tx1", "rx1";
288                         };
289
290                         /* Board must configure dmas with edma_xbar for EDMA */
291                         mcspi3: spi@1a2000 {
292                                 compatible = "ti,omap4-mcspi";
293                                 reg = <0x1a2000 0x1000>;
294                                 #address-cells = <1>;
295                                 #size-cells = <0>;
296                                 interrupts = <126>;
297                                 ti,spi-num-cs = <4>;
298                                 ti,hwmods = "mcspi3";
299                         };
300
301                         mcspi4: spi@1a4000 {
302                                 compatible = "ti,omap4-mcspi";
303                                 reg = <0x1a4000 0x1000>;
304                                 #address-cells = <1>;
305                                 #size-cells = <0>;
306                                 interrupts = <127>;
307                                 ti,spi-num-cs = <4>;
308                                 ti,hwmods = "mcspi4";
309                         };
310
311                         timer1: timer@2e000 {
312                                 compatible = "ti,dm814-timer";
313                                 reg = <0x2e000 0x2000>;
314                                 interrupts = <67>;
315                                 ti,hwmods = "timer1";
316                                 ti,timer-alwon;
317                                 clocks = <&timer1_fck>;
318                                 clock-names = "fck";
319                         };
320
321                         uart1: uart@20000 {
322                                 compatible = "ti,am3352-uart", "ti,omap3-uart";
323                                 ti,hwmods = "uart1";
324                                 reg = <0x20000 0x2000>;
325                                 clock-frequency = <48000000>;
326                                 interrupts = <72>;
327                                 dmas = <&edma 26 0 &edma 27 0>;
328                                 dma-names = "tx", "rx";
329                         };
330
331                         uart2: uart@22000 {
332                                 compatible = "ti,am3352-uart", "ti,omap3-uart";
333                                 ti,hwmods = "uart2";
334                                 reg = <0x22000 0x2000>;
335                                 clock-frequency = <48000000>;
336                                 interrupts = <73>;
337                                 dmas = <&edma 28 0 &edma 29 0>;
338                                 dma-names = "tx", "rx";
339                         };
340
341                         uart3: uart@24000 {
342                                 compatible = "ti,am3352-uart", "ti,omap3-uart";
343                                 ti,hwmods = "uart3";
344                                 reg = <0x24000 0x2000>;
345                                 clock-frequency = <48000000>;
346                                 interrupts = <74>;
347                                 dmas = <&edma 30 0 &edma 31 0>;
348                                 dma-names = "tx", "rx";
349                         };
350
351                         timer2: timer@40000 {
352                                 compatible = "ti,dm814-timer";
353                                 reg = <0x40000 0x2000>;
354                                 interrupts = <68>;
355                                 ti,hwmods = "timer2";
356                                 clocks = <&timer2_fck>;
357                                 clock-names = "fck";
358                         };
359
360                         timer3: timer@42000 {
361                                 compatible = "ti,dm814-timer";
362                                 reg = <0x42000 0x2000>;
363                                 interrupts = <69>;
364                                 ti,hwmods = "timer3";
365                         };
366
367                         mmc1: mmc@60000 {
368                                 compatible = "ti,omap4-hsmmc";
369                                 ti,hwmods = "mmc1";
370                                 dmas = <&edma 24 0
371                                         &edma 25 0>;
372                                 dma-names = "tx", "rx";
373                                 interrupts = <64>;
374                                 interrupt-parent = <&intc>;
375                                 reg = <0x60000 0x1000>;
376                         };
377
378                         rtc: rtc@c0000 {
379                                 compatible = "ti,am3352-rtc", "ti,da830-rtc";
380                                 reg = <0xc0000 0x1000>;
381                                 interrupts = <75 76>;
382                                 ti,hwmods = "rtc";
383                         };
384
385                         mmc2: mmc@1d8000 {
386                                 compatible = "ti,omap4-hsmmc";
387                                 ti,hwmods = "mmc2";
388                                 dmas = <&edma 2 0
389                                         &edma 3 0>;
390                                 dma-names = "tx", "rx";
391                                 interrupts = <28>;
392                                 interrupt-parent = <&intc>;
393                                 reg = <0x1d8000 0x1000>;
394                         };
395
396                         control: control@140000 {
397                                 compatible = "ti,dm814-scm", "simple-bus";
398                                 reg = <0x140000 0x20000>;
399                                 #address-cells = <1>;
400                                 #size-cells = <1>;
401                                 ranges = <0 0x140000 0x20000>;
402
403                                 scm_conf: scm_conf@0 {
404                                         compatible = "syscon", "simple-bus";
405                                         reg = <0x0 0x800>;
406                                         #address-cells = <1>;
407                                         #size-cells = <1>;
408                                         ranges = <0 0 0x800>;
409
410                                         phy_gmii_sel: phy-gmii-sel {
411                                                 compatible = "ti,dm814-phy-gmii-sel";
412                                                 reg = <0x650 0x4>;
413                                                 #phy-cells = <1>;
414                                         };
415
416                                         scm_clocks: clocks {
417                                                 #address-cells = <1>;
418                                                 #size-cells = <0>;
419                                         };
420
421                                         scm_clockdomains: clockdomains {
422                                         };
423                                 };
424
425                                 usb_ctrl_mod: control@620 {
426                                         compatible = "ti,am335x-usb-ctrl-module";
427                                         reg = <0x620 0x10
428                                                 0x648 0x4>;
429                                         reg-names = "phy_ctrl", "wakeup";
430                                 };
431
432                                 edma_xbar: dma-router@f90 {
433                                         compatible = "ti,am335x-edma-crossbar";
434                                         reg = <0xf90 0x40>;
435                                         #dma-cells = <3>;
436                                         dma-requests = <32>;
437                                         dma-masters = <&edma>;
438                                 };
439
440                                 /*
441                                  * Note that silicon revision 2.1 and older
442                                  * require input enabled (bit 18 set) for all
443                                  * 3.3V I/Os to avoid cumulative hardware damage.
444                                  * For more info, see errata advisory 2.1.87.
445                                  * We leave bit 18 out of function-mask and rely
446                                  * on the bootloader for it.
447                                  */
448                                 pincntl: pinmux@800 {
449                                         compatible = "pinctrl-single";
450                                         reg = <0x800 0x438>;
451                                         #address-cells = <1>;
452                                         #size-cells = <0>;
453                                         #pinctrl-cells = <1>;
454                                         pinctrl-single,register-width = <32>;
455                                         pinctrl-single,function-mask = <0x307ff>;
456                                 };
457
458                                 usb1_phy: usb-phy@1b00 {
459                                         compatible = "ti,am335x-usb-phy";
460                                         reg = <0x1b00 0x100>;
461                                         reg-names = "phy";
462                                         ti,ctrl_mod = <&usb_ctrl_mod>;
463                                         #phy-cells = <0>;
464                                 };
465                         };
466
467                         prcm: prcm@180000 {
468                                 compatible = "ti,dm814-prcm", "simple-bus";
469                                 reg = <0x180000 0x2000>;
470                                 #address-cells = <1>;
471                                 #size-cells = <1>;
472                                 ranges = <0 0x180000 0x2000>;
473
474                                 prcm_clocks: clocks {
475                                         #address-cells = <1>;
476                                         #size-cells = <0>;
477                                 };
478
479                                 prcm_clockdomains: clockdomains {
480                                 };
481                         };
482
483                         /* See TRM PLL_SUBSYS_BASE and "PLLSS Registers" */
484                         pllss: pllss@1c5000 {
485                                 compatible = "ti,dm814-pllss", "simple-bus";
486                                 reg = <0x1c5000 0x1000>;
487                                 #address-cells = <1>;
488                                 #size-cells = <1>;
489                                 ranges = <0 0x1c5000 0x1000>;
490
491                                 pllss_clocks: clocks {
492                                         #address-cells = <1>;
493                                         #size-cells = <0>;
494                                 };
495
496                                 pllss_clockdomains: clockdomains {
497                                 };
498                         };
499
500                         wdt1: wdt@1c7000 {
501                                 compatible = "ti,omap3-wdt";
502                                 ti,hwmods = "wd_timer";
503                                 reg = <0x1c7000 0x1000>;
504                                 interrupts = <91>;
505                         };
506                 };
507
508                 intc: interrupt-controller@48200000 {
509                         compatible = "ti,dm814-intc";
510                         interrupt-controller;
511                         #interrupt-cells = <1>;
512                         reg = <0x48200000 0x1000>;
513                 };
514
515                 /* Board must configure evtmux with edma_xbar for EDMA */
516                 mmc3: mmc@47810000 {
517                         compatible = "ti,omap4-hsmmc";
518                         ti,hwmods = "mmc3";
519                         interrupts = <29>;
520                         interrupt-parent = <&intc>;
521                         reg = <0x47810000 0x1000>;
522                 };
523
524                 target-module@49000000 {
525                         compatible = "ti,sysc-omap4", "ti,sysc";
526                         reg = <0x49000000 0x4>;
527                         reg-names = "rev";
528                         clocks = <&alwon_clkctrl DM814_TPCC_CLKCTRL 0>;
529                         clock-names = "fck";
530                         #address-cells = <1>;
531                         #size-cells = <1>;
532                         ranges = <0x0 0x49000000 0x10000>;
533
534                         edma: dma@0 {
535                                 compatible = "ti,edma3-tpcc";
536                                 reg = <0 0x10000>;
537                                 reg-names = "edma3_cc";
538                                 interrupts = <12 13 14>;
539                                 interrupt-names = "edma3_ccint", "edma3_mperr",
540                                                   "edma3_ccerrint";
541                                 dma-requests = <64>;
542                                 #dma-cells = <2>;
543
544                                 ti,tptcs = <&edma_tptc0 7>, <&edma_tptc1 5>,
545                                            <&edma_tptc2 3>, <&edma_tptc3 0>;
546
547                                 ti,edma-memcpy-channels = <20 21>;
548                         };
549                 };
550
551                 target-module@49800000 {
552                         compatible = "ti,sysc-omap4", "ti,sysc";
553                         reg = <0x49800000 0x4>,
554                               <0x49800010 0x4>;
555                         reg-names = "rev", "sysc";
556                         ti,sysc-mask = <SYSC_OMAP4_SOFTRESET>;
557                         ti,sysc-midle = <SYSC_IDLE_FORCE>;
558                         ti,sysc-sidle = <SYSC_IDLE_FORCE>,
559                                         <SYSC_IDLE_SMART>;
560                         clocks = <&alwon_clkctrl DM814_TPTC0_CLKCTRL 0>;
561                         clock-names = "fck";
562                         #address-cells = <1>;
563                         #size-cells = <1>;
564                         ranges = <0x0 0x49800000 0x100000>;
565
566                         edma_tptc0: dma@0 {
567                                 compatible = "ti,edma3-tptc";
568                                 reg = <0 0x100000>;
569                                 interrupts = <112>;
570                                 interrupt-names = "edma3_tcerrint";
571                         };
572                 };
573
574                 target-module@49900000 {
575                         compatible = "ti,sysc-omap4", "ti,sysc";
576                         reg = <0x49900000 0x4>,
577                               <0x49900010 0x4>;
578                         reg-names = "rev", "sysc";
579                         ti,sysc-mask = <SYSC_OMAP4_SOFTRESET>;
580                         ti,sysc-midle = <SYSC_IDLE_FORCE>;
581                         ti,sysc-sidle = <SYSC_IDLE_FORCE>,
582                                         <SYSC_IDLE_SMART>;
583                         clocks = <&alwon_clkctrl DM814_TPTC1_CLKCTRL 0>;
584                         clock-names = "fck";
585                         #address-cells = <1>;
586                         #size-cells = <1>;
587                         ranges = <0x0 0x49900000 0x100000>;
588
589                         edma_tptc1: dma@0 {
590                                 compatible = "ti,edma3-tptc";
591                                 reg = <0 0x100000>;
592                                 interrupts = <113>;
593                                 interrupt-names = "edma3_tcerrint";
594                         };
595                 };
596
597                 target-module@49a00000 {
598                         compatible = "ti,sysc-omap4", "ti,sysc";
599                         reg = <0x49a00000 0x4>,
600                               <0x49a00010 0x4>;
601                         reg-names = "rev", "sysc";
602                         ti,sysc-mask = <SYSC_OMAP4_SOFTRESET>;
603                         ti,sysc-midle = <SYSC_IDLE_FORCE>;
604                         ti,sysc-sidle = <SYSC_IDLE_FORCE>,
605                                         <SYSC_IDLE_SMART>;
606                         clocks = <&alwon_clkctrl DM814_TPTC2_CLKCTRL 0>;
607                         clock-names = "fck";
608                         #address-cells = <1>;
609                         #size-cells = <1>;
610                         ranges = <0x0 0x49a00000 0x100000>;
611
612                         edma_tptc2: dma@0 {
613                                 compatible = "ti,edma3-tptc";
614                                 reg = <0 0x100000>;
615                                 interrupts = <114>;
616                                 interrupt-names = "edma3_tcerrint";
617                         };
618                 };
619
620                 target-module@49b00000 {
621                         compatible = "ti,sysc-omap4", "ti,sysc";
622                         reg = <0x49b00000 0x4>,
623                               <0x49b00010 0x4>;
624                         reg-names = "rev", "sysc";
625                         ti,sysc-mask = <SYSC_OMAP4_SOFTRESET>;
626                         ti,sysc-midle = <SYSC_IDLE_FORCE>;
627                         ti,sysc-sidle = <SYSC_IDLE_FORCE>,
628                                         <SYSC_IDLE_SMART>;
629                         clocks = <&alwon_clkctrl DM814_TPTC3_CLKCTRL 0>;
630                         clock-names = "fck";
631                         #address-cells = <1>;
632                         #size-cells = <1>;
633                         ranges = <0x0 0x49b00000 0x100000>;
634
635                         edma_tptc3: dma@0 {
636                                 compatible = "ti,edma3-tptc";
637                                 reg = <0 0x100000>;
638                                 interrupts = <115>;
639                                 interrupt-names = "edma3_tcerrint";
640                         };
641                 };
642
643                 /* See TRM "Table 1-318. L4HS Instance Summary" */
644                 l4hs: l4hs@4a000000 {
645                         compatible = "ti,dm814-l4hs", "simple-bus";
646                         #address-cells = <1>;
647                         #size-cells = <1>;
648                         ranges = <0 0x4a000000 0x1b4040>;
649
650                         target-module@100000 {
651                                 compatible = "ti,sysc-omap4-simple", "ti,sysc";
652                                 reg = <0x100900 0x4>,
653                                       <0x100908 0x4>,
654                                       <0x100904 0x4>;
655                                 reg-names = "rev", "sysc", "syss";
656                                 ti,sysc-mask = <0>;
657                                 ti,sysc-midle = <SYSC_IDLE_FORCE>,
658                                                 <SYSC_IDLE_NO>;
659                                 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
660                                                 <SYSC_IDLE_NO>;
661                                 ti,syss-mask = <1>;
662                                 clocks = <&alwon_ethernet_clkctrl DM814_ETHERNET_CPGMAC0_CLKCTRL 0>;
663                                 clock-names = "fck";
664                                 #address-cells = <1>;
665                                 #size-cells = <1>;
666                                 ranges = <0 0x100000 0x8000>;
667
668                                 mac: ethernet@0 {
669                                         compatible = "ti,cpsw";
670                                         clocks = <&cpsw_125mhz_gclk>, <&cpsw_cpts_rft_clk>;
671                                         clock-names = "fck", "cpts";
672                                         cpdma_channels = <8>;
673                                         ale_entries = <1024>;
674                                         bd_ram_size = <0x2000>;
675                                         mac_control = <0x20>;
676                                         slaves = <2>;
677                                         active_slave = <0>;
678                                         cpts_clock_mult = <0x80000000>;
679                                         cpts_clock_shift = <29>;
680                                         reg = <0 0x800>,
681                                               <0x900 0x100>;
682                                         #address-cells = <1>;
683                                         #size-cells = <1>;
684                                         /*
685                                         * c0_rx_thresh_pend
686                                         * c0_rx_pend
687                                         * c0_tx_pend
688                                         * c0_misc_pend
689                                         */
690                                         interrupts = <40 41 42 43>;
691                                         ranges = <0 0 0x8000>;
692                                         syscon = <&scm_conf>;
693
694                                         davinci_mdio: mdio@800 {
695                                                 compatible = "ti,cpsw-mdio", "ti,davinci_mdio";
696                                                 clocks = <&cpsw_125mhz_gclk>;
697                                                 clock-names = "fck";
698                                                 #address-cells = <1>;
699                                                 #size-cells = <0>;
700                                                 bus_freq = <1000000>;
701                                                 reg = <0x800 0x100>;
702                                         };
703
704                                         cpsw_emac0: slave@200 {
705                                                 /* Filled in by U-Boot */
706                                                 mac-address = [ 00 00 00 00 00 00 ];
707                                                 phys = <&phy_gmii_sel 1>;
708                                         };
709
710                                         cpsw_emac1: slave@300 {
711                                                 /* Filled in by U-Boot */
712                                                 mac-address = [ 00 00 00 00 00 00 ];
713                                                 phys = <&phy_gmii_sel 2>;
714                                         };
715                                 };
716                         };
717                 };
718
719                 gpmc: gpmc@50000000 {
720                         compatible = "ti,am3352-gpmc";
721                         ti,hwmods = "gpmc";
722                         ti,no-idle-on-init;
723                         reg = <0x50000000 0x2000>;
724                         interrupts = <100>;
725                         gpmc,num-cs = <7>;
726                         gpmc,num-waitpins = <2>;
727                         #address-cells = <2>;
728                         #size-cells = <1>;
729                         interrupt-controller;
730                         #interrupt-cells = <2>;
731                         gpio-controller;
732                         #gpio-cells = <2>;
733                 };
734         };
735 };
736
737 #include "dm814x-clocks.dtsi"