]> rtime.felk.cvut.cz Git - linux-imx.git/blob - arch/arm/boot/dts/omap5.dtsi
b760c116e7f7b453bdec6618266b9420f1113eb5
[linux-imx.git] / arch / arm / boot / dts / omap5.dtsi
1 /*
2  * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License version 2 as
6  * published by the Free Software Foundation.
7  * Based on "omap4.dtsi"
8  */
9
10 /*
11  * Carveout for multimedia usecases
12  * It should be the last 48MB of the first 512MB memory part
13  * In theory, it should not even exist. That zone should be reserved
14  * dynamically during the .reserve callback.
15  */
16 /memreserve/ 0x9d000000 0x03000000;
17
18 /include/ "skeleton.dtsi"
19
20 / {
21         compatible = "ti,omap5";
22         interrupt-parent = <&gic>;
23
24         aliases {
25                 serial0 = &uart1;
26                 serial1 = &uart2;
27                 serial2 = &uart3;
28                 serial3 = &uart4;
29                 serial4 = &uart5;
30                 serial5 = &uart6;
31         };
32
33         cpus {
34                 cpu@0 {
35                         compatible = "arm,cortex-a15";
36                         timer {
37                                 compatible = "arm,armv7-timer";
38                                 /* 14th PPI IRQ, active low level-sensitive */
39                                 interrupts = <1 14 0x308>;
40                                 clock-frequency = <6144000>;
41                         };
42                 };
43                 cpu@1 {
44                         compatible = "arm,cortex-a15";
45                         timer {
46                                 compatible = "arm,armv7-timer";
47                                 /* 14th PPI IRQ, active low level-sensitive */
48                                 interrupts = <1 14 0x308>;
49                                 clock-frequency = <6144000>;
50                         };
51                 };
52         };
53
54         /*
55          * The soc node represents the soc top level view. It is uses for IPs
56          * that are not memory mapped in the MPU view or for the MPU itself.
57          */
58         soc {
59                 compatible = "ti,omap-infra";
60                 mpu {
61                         compatible = "ti,omap5-mpu";
62                         ti,hwmods = "mpu";
63                 };
64         };
65
66         /*
67          * XXX: Use a flat representation of the OMAP3 interconnect.
68          * The real OMAP interconnect network is quite complex.
69          * Since that will not bring real advantage to represent that in DT for
70          * the moment, just use a fake OCP bus entry to represent the whole bus
71          * hierarchy.
72          */
73         ocp {
74                 compatible = "ti,omap4-l3-noc", "simple-bus";
75                 #address-cells = <1>;
76                 #size-cells = <1>;
77                 ranges;
78                 ti,hwmods = "l3_main_1", "l3_main_2", "l3_main_3";
79
80                 counter32k: counter@4ae04000 {
81                         compatible = "ti,omap-counter32k";
82                         reg = <0x4ae04000 0x40>;
83                         ti,hwmods = "counter_32k";
84                 };
85
86                 omap5_pmx_core: pinmux@4a002840 {
87                         compatible = "ti,omap4-padconf", "pinctrl-single";
88                         reg = <0x4a002840 0x01b6>;
89                         #address-cells = <1>;
90                         #size-cells = <0>;
91                         pinctrl-single,register-width = <16>;
92                         pinctrl-single,function-mask = <0x7fff>;
93                 };
94                 omap5_pmx_wkup: pinmux@4ae0c840 {
95                         compatible = "ti,omap4-padconf", "pinctrl-single";
96                         reg = <0x4ae0c840 0x0038>;
97                         #address-cells = <1>;
98                         #size-cells = <0>;
99                         pinctrl-single,register-width = <16>;
100                         pinctrl-single,function-mask = <0x7fff>;
101                 };
102
103                 gic: interrupt-controller@48211000 {
104                         compatible = "arm,cortex-a15-gic";
105                         interrupt-controller;
106                         #interrupt-cells = <3>;
107                         reg = <0x48211000 0x1000>,
108                               <0x48212000 0x1000>;
109                 };
110
111                 sdma: dma-controller@4a056000 {
112                         compatible = "ti,omap4430-sdma";
113                         reg = <0x4a056000 0x1000>;
114                         interrupts = <0 12 0x4>,
115                                      <0 13 0x4>,
116                                      <0 14 0x4>,
117                                      <0 15 0x4>;
118                         #dma-cells = <1>;
119                         #dma-channels = <32>;
120                         #dma-requests = <127>;
121                 };
122
123                 gpio1: gpio@4ae10000 {
124                         compatible = "ti,omap4-gpio";
125                         reg = <0x4ae10000 0x200>;
126                         interrupts = <0 29 0x4>;
127                         ti,hwmods = "gpio1";
128                         gpio-controller;
129                         #gpio-cells = <2>;
130                         interrupt-controller;
131                         #interrupt-cells = <2>;
132                 };
133
134                 gpio2: gpio@48055000 {
135                         compatible = "ti,omap4-gpio";
136                         reg = <0x48055000 0x200>;
137                         interrupts = <0 30 0x4>;
138                         ti,hwmods = "gpio2";
139                         gpio-controller;
140                         #gpio-cells = <2>;
141                         interrupt-controller;
142                         #interrupt-cells = <2>;
143                 };
144
145                 gpio3: gpio@48057000 {
146                         compatible = "ti,omap4-gpio";
147                         reg = <0x48057000 0x200>;
148                         interrupts = <0 31 0x4>;
149                         ti,hwmods = "gpio3";
150                         gpio-controller;
151                         #gpio-cells = <2>;
152                         interrupt-controller;
153                         #interrupt-cells = <2>;
154                 };
155
156                 gpio4: gpio@48059000 {
157                         compatible = "ti,omap4-gpio";
158                         reg = <0x48059000 0x200>;
159                         interrupts = <0 32 0x4>;
160                         ti,hwmods = "gpio4";
161                         gpio-controller;
162                         #gpio-cells = <2>;
163                         interrupt-controller;
164                         #interrupt-cells = <2>;
165                 };
166
167                 gpio5: gpio@4805b000 {
168                         compatible = "ti,omap4-gpio";
169                         reg = <0x4805b000 0x200>;
170                         interrupts = <0 33 0x4>;
171                         ti,hwmods = "gpio5";
172                         gpio-controller;
173                         #gpio-cells = <2>;
174                         interrupt-controller;
175                         #interrupt-cells = <2>;
176                 };
177
178                 gpio6: gpio@4805d000 {
179                         compatible = "ti,omap4-gpio";
180                         reg = <0x4805d000 0x200>;
181                         interrupts = <0 34 0x4>;
182                         ti,hwmods = "gpio6";
183                         gpio-controller;
184                         #gpio-cells = <2>;
185                         interrupt-controller;
186                         #interrupt-cells = <2>;
187                 };
188
189                 gpio7: gpio@48051000 {
190                         compatible = "ti,omap4-gpio";
191                         reg = <0x48051000 0x200>;
192                         interrupts = <0 35 0x4>;
193                         ti,hwmods = "gpio7";
194                         gpio-controller;
195                         #gpio-cells = <2>;
196                         interrupt-controller;
197                         #interrupt-cells = <2>;
198                 };
199
200                 gpio8: gpio@48053000 {
201                         compatible = "ti,omap4-gpio";
202                         reg = <0x48053000 0x200>;
203                         interrupts = <0 121 0x4>;
204                         ti,hwmods = "gpio8";
205                         gpio-controller;
206                         #gpio-cells = <2>;
207                         interrupt-controller;
208                         #interrupt-cells = <2>;
209                 };
210
211                 gpmc: gpmc@50000000 {
212                         compatible = "ti,omap4430-gpmc";
213                         reg = <0x50000000 0x1000>;
214                         #address-cells = <2>;
215                         #size-cells = <1>;
216                         interrupts = <0 20 0x4>;
217                         gpmc,num-cs = <8>;
218                         gpmc,num-waitpins = <4>;
219                         ti,hwmods = "gpmc";
220                 };
221
222                 i2c1: i2c@48070000 {
223                         compatible = "ti,omap4-i2c";
224                         reg = <0x48070000 0x100>;
225                         interrupts = <0 56 0x4>;
226                         #address-cells = <1>;
227                         #size-cells = <0>;
228                         ti,hwmods = "i2c1";
229                 };
230
231                 i2c2: i2c@48072000 {
232                         compatible = "ti,omap4-i2c";
233                         reg = <0x48072000 0x100>;
234                         interrupts = <0 57 0x4>;
235                         #address-cells = <1>;
236                         #size-cells = <0>;
237                         ti,hwmods = "i2c2";
238                 };
239
240                 i2c3: i2c@48060000 {
241                         compatible = "ti,omap4-i2c";
242                         reg = <0x48060000 0x100>;
243                         interrupts = <0 61 0x4>;
244                         #address-cells = <1>;
245                         #size-cells = <0>;
246                         ti,hwmods = "i2c3";
247                 };
248
249                 i2c4: i2c@4807a000 {
250                         compatible = "ti,omap4-i2c";
251                         reg = <0x4807a000 0x100>;
252                         interrupts = <0 62 0x4>;
253                         #address-cells = <1>;
254                         #size-cells = <0>;
255                         ti,hwmods = "i2c4";
256                 };
257
258                 i2c5: i2c@4807c000 {
259                         compatible = "ti,omap4-i2c";
260                         reg = <0x4807c000 0x100>;
261                         interrupts = <0 60 0x4>;
262                         #address-cells = <1>;
263                         #size-cells = <0>;
264                         ti,hwmods = "i2c5";
265                 };
266
267                 mcspi1: spi@48098000 {
268                         compatible = "ti,omap4-mcspi";
269                         reg = <0x48098000 0x200>;
270                         interrupts = <0 65 0x4>;
271                         #address-cells = <1>;
272                         #size-cells = <0>;
273                         ti,hwmods = "mcspi1";
274                         ti,spi-num-cs = <4>;
275                         dmas = <&sdma 35>,
276                                <&sdma 36>,
277                                <&sdma 37>,
278                                <&sdma 38>,
279                                <&sdma 39>,
280                                <&sdma 40>,
281                                <&sdma 41>,
282                                <&sdma 42>;
283                         dma-names = "tx0", "rx0", "tx1", "rx1",
284                                     "tx2", "rx2", "tx3", "rx3";
285                 };
286
287                 mcspi2: spi@4809a000 {
288                         compatible = "ti,omap4-mcspi";
289                         reg = <0x4809a000 0x200>;
290                         interrupts = <0 66 0x4>;
291                         #address-cells = <1>;
292                         #size-cells = <0>;
293                         ti,hwmods = "mcspi2";
294                         ti,spi-num-cs = <2>;
295                         dmas = <&sdma 43>,
296                                <&sdma 44>,
297                                <&sdma 45>,
298                                <&sdma 46>;
299                         dma-names = "tx0", "rx0", "tx1", "rx1";
300                 };
301
302                 mcspi3: spi@480b8000 {
303                         compatible = "ti,omap4-mcspi";
304                         reg = <0x480b8000 0x200>;
305                         interrupts = <0 91 0x4>;
306                         #address-cells = <1>;
307                         #size-cells = <0>;
308                         ti,hwmods = "mcspi3";
309                         ti,spi-num-cs = <2>;
310                         dmas = <&sdma 15>, <&sdma 16>;
311                         dma-names = "tx0", "rx0";
312                 };
313
314                 mcspi4: spi@480ba000 {
315                         compatible = "ti,omap4-mcspi";
316                         reg = <0x480ba000 0x200>;
317                         interrupts = <0 48 0x4>;
318                         #address-cells = <1>;
319                         #size-cells = <0>;
320                         ti,hwmods = "mcspi4";
321                         ti,spi-num-cs = <1>;
322                         dmas = <&sdma 70>, <&sdma 71>;
323                         dma-names = "tx0", "rx0";
324                 };
325
326                 uart1: serial@4806a000 {
327                         compatible = "ti,omap4-uart";
328                         reg = <0x4806a000 0x100>;
329                         interrupts = <0 72 0x4>;
330                         ti,hwmods = "uart1";
331                         clock-frequency = <48000000>;
332                 };
333
334                 uart2: serial@4806c000 {
335                         compatible = "ti,omap4-uart";
336                         reg = <0x4806c000 0x100>;
337                         interrupts = <0 73 0x4>;
338                         ti,hwmods = "uart2";
339                         clock-frequency = <48000000>;
340                 };
341
342                 uart3: serial@48020000 {
343                         compatible = "ti,omap4-uart";
344                         reg = <0x48020000 0x100>;
345                         interrupts = <0 74 0x4>;
346                         ti,hwmods = "uart3";
347                         clock-frequency = <48000000>;
348                 };
349
350                 uart4: serial@4806e000 {
351                         compatible = "ti,omap4-uart";
352                         reg = <0x4806e000 0x100>;
353                         interrupts = <0 70 0x4>;
354                         ti,hwmods = "uart4";
355                         clock-frequency = <48000000>;
356                 };
357
358                 uart5: serial@48066000 {
359                         compatible = "ti,omap4-uart";
360                         reg = <0x48066000 0x100>;
361                         interrupts = <0 105 0x4>;
362                         ti,hwmods = "uart5";
363                         clock-frequency = <48000000>;
364                 };
365
366                 uart6: serial@48068000 {
367                         compatible = "ti,omap4-uart";
368                         reg = <0x48068000 0x100>;
369                         interrupts = <0 106 0x4>;
370                         ti,hwmods = "uart6";
371                         clock-frequency = <48000000>;
372                 };
373
374                 mmc1: mmc@4809c000 {
375                         compatible = "ti,omap4-hsmmc";
376                         reg = <0x4809c000 0x400>;
377                         interrupts = <0 83 0x4>;
378                         ti,hwmods = "mmc1";
379                         ti,dual-volt;
380                         ti,needs-special-reset;
381                         dmas = <&sdma 61>, <&sdma 62>;
382                         dma-names = "tx", "rx";
383                 };
384
385                 mmc2: mmc@480b4000 {
386                         compatible = "ti,omap4-hsmmc";
387                         reg = <0x480b4000 0x400>;
388                         interrupts = <0 86 0x4>;
389                         ti,hwmods = "mmc2";
390                         ti,needs-special-reset;
391                         dmas = <&sdma 47>, <&sdma 48>;
392                         dma-names = "tx", "rx";
393                 };
394
395                 mmc3: mmc@480ad000 {
396                         compatible = "ti,omap4-hsmmc";
397                         reg = <0x480ad000 0x400>;
398                         interrupts = <0 94 0x4>;
399                         ti,hwmods = "mmc3";
400                         ti,needs-special-reset;
401                         dmas = <&sdma 77>, <&sdma 78>;
402                         dma-names = "tx", "rx";
403                 };
404
405                 mmc4: mmc@480d1000 {
406                         compatible = "ti,omap4-hsmmc";
407                         reg = <0x480d1000 0x400>;
408                         interrupts = <0 96 0x4>;
409                         ti,hwmods = "mmc4";
410                         ti,needs-special-reset;
411                         dmas = <&sdma 57>, <&sdma 58>;
412                         dma-names = "tx", "rx";
413                 };
414
415                 mmc5: mmc@480d5000 {
416                         compatible = "ti,omap4-hsmmc";
417                         reg = <0x480d5000 0x400>;
418                         interrupts = <0 59 0x4>;
419                         ti,hwmods = "mmc5";
420                         ti,needs-special-reset;
421                         dmas = <&sdma 59>, <&sdma 60>;
422                         dma-names = "tx", "rx";
423                 };
424
425                 keypad: keypad@4ae1c000 {
426                         compatible = "ti,omap4-keypad";
427                         ti,hwmods = "kbd";
428                 };
429
430                 mcpdm: mcpdm@40132000 {
431                         compatible = "ti,omap4-mcpdm";
432                         reg = <0x40132000 0x7f>, /* MPU private access */
433                               <0x49032000 0x7f>; /* L3 Interconnect */
434                         reg-names = "mpu", "dma";
435                         interrupts = <0 112 0x4>;
436                         ti,hwmods = "mcpdm";
437                         dmas = <&sdma 65>,
438                                <&sdma 66>;
439                         dma-names = "up_link", "dn_link";
440                 };
441
442                 dmic: dmic@4012e000 {
443                         compatible = "ti,omap4-dmic";
444                         reg = <0x4012e000 0x7f>, /* MPU private access */
445                               <0x4902e000 0x7f>; /* L3 Interconnect */
446                         reg-names = "mpu", "dma";
447                         interrupts = <0 114 0x4>;
448                         ti,hwmods = "dmic";
449                         dmas = <&sdma 67>;
450                         dma-names = "up_link";
451                 };
452
453                 mcbsp1: mcbsp@40122000 {
454                         compatible = "ti,omap4-mcbsp";
455                         reg = <0x40122000 0xff>, /* MPU private access */
456                               <0x49022000 0xff>; /* L3 Interconnect */
457                         reg-names = "mpu", "dma";
458                         interrupts = <0 17 0x4>;
459                         interrupt-names = "common";
460                         ti,buffer-size = <128>;
461                         ti,hwmods = "mcbsp1";
462                         dmas = <&sdma 33>,
463                                <&sdma 34>;
464                         dma-names = "tx", "rx";
465                 };
466
467                 mcbsp2: mcbsp@40124000 {
468                         compatible = "ti,omap4-mcbsp";
469                         reg = <0x40124000 0xff>, /* MPU private access */
470                               <0x49024000 0xff>; /* L3 Interconnect */
471                         reg-names = "mpu", "dma";
472                         interrupts = <0 22 0x4>;
473                         interrupt-names = "common";
474                         ti,buffer-size = <128>;
475                         ti,hwmods = "mcbsp2";
476                         dmas = <&sdma 17>,
477                                <&sdma 18>;
478                         dma-names = "tx", "rx";
479                 };
480
481                 mcbsp3: mcbsp@40126000 {
482                         compatible = "ti,omap4-mcbsp";
483                         reg = <0x40126000 0xff>, /* MPU private access */
484                               <0x49026000 0xff>; /* L3 Interconnect */
485                         reg-names = "mpu", "dma";
486                         interrupts = <0 23 0x4>;
487                         interrupt-names = "common";
488                         ti,buffer-size = <128>;
489                         ti,hwmods = "mcbsp3";
490                         dmas = <&sdma 19>,
491                                <&sdma 20>;
492                         dma-names = "tx", "rx";
493                 };
494
495                 timer1: timer@4ae18000 {
496                         compatible = "ti,omap2-timer";
497                         reg = <0x4ae18000 0x80>;
498                         interrupts = <0 37 0x4>;
499                         ti,hwmods = "timer1";
500                         ti,timer-alwon;
501                 };
502
503                 timer2: timer@48032000 {
504                         compatible = "ti,omap2-timer";
505                         reg = <0x48032000 0x80>;
506                         interrupts = <0 38 0x4>;
507                         ti,hwmods = "timer2";
508                 };
509
510                 timer3: timer@48034000 {
511                         compatible = "ti,omap2-timer";
512                         reg = <0x48034000 0x80>;
513                         interrupts = <0 39 0x4>;
514                         ti,hwmods = "timer3";
515                 };
516
517                 timer4: timer@48036000 {
518                         compatible = "ti,omap2-timer";
519                         reg = <0x48036000 0x80>;
520                         interrupts = <0 40 0x4>;
521                         ti,hwmods = "timer4";
522                 };
523
524                 timer5: timer@40138000 {
525                         compatible = "ti,omap2-timer";
526                         reg = <0x40138000 0x80>,
527                               <0x49038000 0x80>;
528                         interrupts = <0 41 0x4>;
529                         ti,hwmods = "timer5";
530                         ti,timer-dsp;
531                 };
532
533                 timer6: timer@4013a000 {
534                         compatible = "ti,omap2-timer";
535                         reg = <0x4013a000 0x80>,
536                               <0x4903a000 0x80>;
537                         interrupts = <0 42 0x4>;
538                         ti,hwmods = "timer6";
539                         ti,timer-dsp;
540                         ti,timer-pwm;
541                 };
542
543                 timer7: timer@4013c000 {
544                         compatible = "ti,omap2-timer";
545                         reg = <0x4013c000 0x80>,
546                               <0x4903c000 0x80>;
547                         interrupts = <0 43 0x4>;
548                         ti,hwmods = "timer7";
549                         ti,timer-dsp;
550                 };
551
552                 timer8: timer@4013e000 {
553                         compatible = "ti,omap2-timer";
554                         reg = <0x4013e000 0x80>,
555                               <0x4903e000 0x80>;
556                         interrupts = <0 44 0x4>;
557                         ti,hwmods = "timer8";
558                         ti,timer-dsp;
559                         ti,timer-pwm;
560                 };
561
562                 timer9: timer@4803e000 {
563                         compatible = "ti,omap2-timer";
564                         reg = <0x4803e000 0x80>;
565                         interrupts = <0 45 0x4>;
566                         ti,hwmods = "timer9";
567                 };
568
569                 timer10: timer@48086000 {
570                         compatible = "ti,omap2-timer";
571                         reg = <0x48086000 0x80>;
572                         interrupts = <0 46 0x4>;
573                         ti,hwmods = "timer10";
574                 };
575
576                 timer11: timer@48088000 {
577                         compatible = "ti,omap2-timer";
578                         reg = <0x48088000 0x80>;
579                         interrupts = <0 47 0x4>;
580                         ti,hwmods = "timer11";
581                         ti,timer-pwm;
582                 };
583
584                 emif1: emif@0x4c000000 {
585                         compatible      = "ti,emif-4d5";
586                         ti,hwmods       = "emif1";
587                         phy-type        = <2>; /* DDR PHY type: Intelli PHY */
588                         reg = <0x4c000000 0x400>;
589                         interrupts = <0 110 0x4>;
590                         hw-caps-read-idle-ctrl;
591                         hw-caps-ll-interface;
592                         hw-caps-temp-alert;
593                 };
594
595                 emif2: emif@0x4d000000 {
596                         compatible      = "ti,emif-4d5";
597                         ti,hwmods       = "emif2";
598                         phy-type        = <2>; /* DDR PHY type: Intelli PHY */
599                         reg = <0x4d000000 0x400>;
600                         interrupts = <0 111 0x4>;
601                         hw-caps-read-idle-ctrl;
602                         hw-caps-ll-interface;
603                         hw-caps-temp-alert;
604                 };
605
606                 omap_control_usb: omap-control-usb@4a002300 {
607                         compatible = "ti,omap-control-usb";
608                         reg = <0x4a002300 0x4>,
609                               <0x4a002370 0x4>;
610                         reg-names = "control_dev_conf", "phy_power_usb";
611                         ti,type = <2>;
612                 };
613
614                 omap_dwc3@4a020000 {
615                         compatible = "ti,dwc3";
616                         ti,hwmods = "usb_otg_ss";
617                         reg = <0x4a020000 0x1000>;
618                         interrupts = <0 93 4>;
619                         #address-cells = <1>;
620                         #size-cells = <1>;
621                         utmi-mode = <2>;
622                         ranges;
623                         dwc3@4a030000 {
624                                 compatible = "synopsys,dwc3";
625                                 reg = <0x4a030000 0x1000>;
626                                 interrupts = <0 92 4>;
627                                 usb-phy = <&usb2_phy>, <&usb3_phy>;
628                                 tx-fifo-resize;
629                         };
630                 };
631
632                 ocp2scp {
633                         compatible = "ti,omap-ocp2scp";
634                         #address-cells = <1>;
635                         #size-cells = <1>;
636                         ranges;
637                         ti,hwmods = "ocp2scp1";
638                         usb2_phy: usb2phy@4a084000 {
639                                 compatible = "ti,omap-usb2";
640                                 reg = <0x4a084000 0x7c>;
641                                 ctrl-module = <&omap_control_usb>;
642                         };
643
644                         usb3_phy: usb3phy@4a084400 {
645                                 compatible = "ti,omap-usb3";
646                                 reg = <0x4a084400 0x80>,
647                                       <0x4a084800 0x64>,
648                                       <0x4a084c00 0x40>;
649                                 reg-names = "phy_rx", "phy_tx", "pll_ctrl";
650                                 ctrl-module = <&omap_control_usb>;
651                         };
652                 };
653         };
654 };