Merge tag 'omap-for-v3.10/fixes-for-merge-window' of git://git.kernel.org/pub/scm...
[firefly-linux-kernel-4.4.55.git] / arch / arm / boot / dts / exynos5250.dtsi
1 /*
2  * SAMSUNG EXYNOS5250 SoC device tree source
3  *
4  * Copyright (c) 2012 Samsung Electronics Co., Ltd.
5  *              http://www.samsung.com
6  *
7  * SAMSUNG EXYNOS5250 SoC device nodes are listed in this file.
8  * EXYNOS5250 based board files can include this file and provide
9  * values for board specfic bindings.
10  *
11  * Note: This file does not include device nodes for all the controllers in
12  * EXYNOS5250 SoC. As device tree coverage for EXYNOS5250 increases,
13  * additional nodes can be added to this file.
14  *
15  * This program is free software; you can redistribute it and/or modify
16  * it under the terms of the GNU General Public License version 2 as
17  * published by the Free Software Foundation.
18 */
19
20 /include/ "skeleton.dtsi"
21
22 / {
23         compatible = "samsung,exynos5250";
24         interrupt-parent = <&gic>;
25
26         aliases {
27                 spi0 = &spi_0;
28                 spi1 = &spi_1;
29                 spi2 = &spi_2;
30                 gsc0 = &gsc_0;
31                 gsc1 = &gsc_1;
32                 gsc2 = &gsc_2;
33                 gsc3 = &gsc_3;
34                 mshc0 = &dwmmc_0;
35                 mshc1 = &dwmmc_1;
36                 mshc2 = &dwmmc_2;
37                 mshc3 = &dwmmc_3;
38                 i2c0 = &i2c_0;
39                 i2c1 = &i2c_1;
40                 i2c2 = &i2c_2;
41                 i2c3 = &i2c_3;
42                 i2c4 = &i2c_4;
43                 i2c5 = &i2c_5;
44                 i2c6 = &i2c_6;
45                 i2c7 = &i2c_7;
46                 i2c8 = &i2c_8;
47         };
48
49         gic:interrupt-controller@10481000 {
50                 compatible = "arm,cortex-a9-gic";
51                 #interrupt-cells = <3>;
52                 interrupt-controller;
53                 reg = <0x10481000 0x1000>, <0x10482000 0x2000>;
54         };
55
56         combiner:interrupt-controller@10440000 {
57                 compatible = "samsung,exynos4210-combiner";
58                 #interrupt-cells = <2>;
59                 interrupt-controller;
60                 samsung,combiner-nr = <32>;
61                 reg = <0x10440000 0x1000>;
62                 interrupts = <0 0 0>, <0 1 0>, <0 2 0>, <0 3 0>,
63                              <0 4 0>, <0 5 0>, <0 6 0>, <0 7 0>,
64                              <0 8 0>, <0 9 0>, <0 10 0>, <0 11 0>,
65                              <0 12 0>, <0 13 0>, <0 14 0>, <0 15 0>,
66                              <0 16 0>, <0 17 0>, <0 18 0>, <0 19 0>,
67                              <0 20 0>, <0 21 0>, <0 22 0>, <0 23 0>,
68                              <0 24 0>, <0 25 0>, <0 26 0>, <0 27 0>,
69                              <0 28 0>, <0 29 0>, <0 30 0>, <0 31 0>;
70         };
71
72         mct@101C0000 {
73                 compatible = "samsung,exynos4210-mct";
74                 reg = <0x101C0000 0x800>;
75                 interrupt-controller;
76                 #interrups-cells = <2>;
77                 interrupt-parent = <&mct_map>;
78                 interrupts = <0 0>, <1 0>, <2 0>, <3 0>,
79                              <4 0>, <5 0>;
80
81                 mct_map: mct-map {
82                         #interrupt-cells = <2>;
83                         #address-cells = <0>;
84                         #size-cells = <0>;
85                         interrupt-map = <0x0 0 &combiner 23 3>,
86                                         <0x1 0 &combiner 23 4>,
87                                         <0x2 0 &combiner 25 2>,
88                                         <0x3 0 &combiner 25 3>,
89                                         <0x4 0 &gic 0 120 0>,
90                                         <0x5 0 &gic 0 121 0>;
91                 };
92         };
93
94         watchdog {
95                 compatible = "samsung,s3c2410-wdt";
96                 reg = <0x101D0000 0x100>;
97                 interrupts = <0 42 0>;
98         };
99
100         codec@11000000 {
101                 compatible = "samsung,mfc-v6";
102                 reg = <0x11000000 0x10000>;
103                 interrupts = <0 96 0>;
104         };
105
106         rtc {
107                 compatible = "samsung,s3c6410-rtc";
108                 reg = <0x101E0000 0x100>;
109                 interrupts = <0 43 0>, <0 44 0>;
110         };
111
112         tmu@10060000 {
113                 compatible = "samsung,exynos5250-tmu";
114                 reg = <0x10060000 0x100>;
115                 interrupts = <0 65 0>;
116         };
117
118         serial@12C00000 {
119                 compatible = "samsung,exynos4210-uart";
120                 reg = <0x12C00000 0x100>;
121                 interrupts = <0 51 0>;
122         };
123
124         serial@12C10000 {
125                 compatible = "samsung,exynos4210-uart";
126                 reg = <0x12C10000 0x100>;
127                 interrupts = <0 52 0>;
128         };
129
130         serial@12C20000 {
131                 compatible = "samsung,exynos4210-uart";
132                 reg = <0x12C20000 0x100>;
133                 interrupts = <0 53 0>;
134         };
135
136         serial@12C30000 {
137                 compatible = "samsung,exynos4210-uart";
138                 reg = <0x12C30000 0x100>;
139                 interrupts = <0 54 0>;
140         };
141
142         sata@122F0000 {
143                 compatible = "samsung,exynos5-sata-ahci";
144                 reg = <0x122F0000 0x1ff>;
145                 interrupts = <0 115 0>;
146         };
147
148         sata-phy@12170000 {
149                 compatible = "samsung,exynos5-sata-phy";
150                 reg = <0x12170000 0x1ff>;
151         };
152
153         i2c_0: i2c@12C60000 {
154                 compatible = "samsung,s3c2440-i2c";
155                 reg = <0x12C60000 0x100>;
156                 interrupts = <0 56 0>;
157                 #address-cells = <1>;
158                 #size-cells = <0>;
159         };
160
161         i2c_1: i2c@12C70000 {
162                 compatible = "samsung,s3c2440-i2c";
163                 reg = <0x12C70000 0x100>;
164                 interrupts = <0 57 0>;
165                 #address-cells = <1>;
166                 #size-cells = <0>;
167         };
168
169         i2c_2: i2c@12C80000 {
170                 compatible = "samsung,s3c2440-i2c";
171                 reg = <0x12C80000 0x100>;
172                 interrupts = <0 58 0>;
173                 #address-cells = <1>;
174                 #size-cells = <0>;
175         };
176
177         i2c_3: i2c@12C90000 {
178                 compatible = "samsung,s3c2440-i2c";
179                 reg = <0x12C90000 0x100>;
180                 interrupts = <0 59 0>;
181                 #address-cells = <1>;
182                 #size-cells = <0>;
183         };
184
185         i2c_4: i2c@12CA0000 {
186                 compatible = "samsung,s3c2440-i2c";
187                 reg = <0x12CA0000 0x100>;
188                 interrupts = <0 60 0>;
189                 #address-cells = <1>;
190                 #size-cells = <0>;
191         };
192
193         i2c_5: i2c@12CB0000 {
194                 compatible = "samsung,s3c2440-i2c";
195                 reg = <0x12CB0000 0x100>;
196                 interrupts = <0 61 0>;
197                 #address-cells = <1>;
198                 #size-cells = <0>;
199         };
200
201         i2c_6: i2c@12CC0000 {
202                 compatible = "samsung,s3c2440-i2c";
203                 reg = <0x12CC0000 0x100>;
204                 interrupts = <0 62 0>;
205                 #address-cells = <1>;
206                 #size-cells = <0>;
207         };
208
209         i2c_7: i2c@12CD0000 {
210                 compatible = "samsung,s3c2440-i2c";
211                 reg = <0x12CD0000 0x100>;
212                 interrupts = <0 63 0>;
213                 #address-cells = <1>;
214                 #size-cells = <0>;
215         };
216
217         i2c_8: i2c@12CE0000 {
218                 compatible = "samsung,s3c2440-hdmiphy-i2c";
219                 reg = <0x12CE0000 0x1000>;
220                 interrupts = <0 64 0>;
221                 #address-cells = <1>;
222                 #size-cells = <0>;
223         };
224
225         i2c@121D0000 {
226                 compatible = "samsung,exynos5-sata-phy-i2c";
227                 reg = <0x121D0000 0x100>;
228                 #address-cells = <1>;
229                 #size-cells = <0>;
230         };
231
232         spi_0: spi@12d20000 {
233                 compatible = "samsung,exynos4210-spi";
234                 reg = <0x12d20000 0x100>;
235                 interrupts = <0 66 0>;
236                 dmas = <&pdma0 5
237                         &pdma0 4>;
238                 dma-names = "tx", "rx";
239                 #address-cells = <1>;
240                 #size-cells = <0>;
241         };
242
243         spi_1: spi@12d30000 {
244                 compatible = "samsung,exynos4210-spi";
245                 reg = <0x12d30000 0x100>;
246                 interrupts = <0 67 0>;
247                 dmas = <&pdma1 5
248                         &pdma1 4>;
249                 dma-names = "tx", "rx";
250                 #address-cells = <1>;
251                 #size-cells = <0>;
252         };
253
254         spi_2: spi@12d40000 {
255                 compatible = "samsung,exynos4210-spi";
256                 reg = <0x12d40000 0x100>;
257                 interrupts = <0 68 0>;
258                 dmas = <&pdma0 7
259                         &pdma0 6>;
260                 dma-names = "tx", "rx";
261                 #address-cells = <1>;
262                 #size-cells = <0>;
263         };
264
265         dwmmc_0: dwmmc0@12200000 {
266                 compatible = "samsung,exynos5250-dw-mshc";
267                 reg = <0x12200000 0x1000>;
268                 interrupts = <0 75 0>;
269                 #address-cells = <1>;
270                 #size-cells = <0>;
271         };
272
273         dwmmc_1: dwmmc1@12210000 {
274                 compatible = "samsung,exynos5250-dw-mshc";
275                 reg = <0x12210000 0x1000>;
276                 interrupts = <0 76 0>;
277                 #address-cells = <1>;
278                 #size-cells = <0>;
279         };
280
281         dwmmc_2: dwmmc2@12220000 {
282                 compatible = "samsung,exynos5250-dw-mshc";
283                 reg = <0x12220000 0x1000>;
284                 interrupts = <0 77 0>;
285                 #address-cells = <1>;
286                 #size-cells = <0>;
287         };
288
289         dwmmc_3: dwmmc3@12230000 {
290                 compatible = "samsung,exynos5250-dw-mshc";
291                 reg = <0x12230000 0x1000>;
292                 interrupts = <0 78 0>;
293                 #address-cells = <1>;
294                 #size-cells = <0>;
295         };
296
297         i2s0: i2s@03830000 {
298                 compatible = "samsung,i2s-v5";
299                 reg = <0x03830000 0x100>;
300                 dmas = <&pdma0 10
301                         &pdma0 9
302                         &pdma0 8>;
303                 dma-names = "tx", "rx", "tx-sec";
304                 samsung,supports-6ch;
305                 samsung,supports-rstclr;
306                 samsung,supports-secdai;
307                 samsung,idma-addr = <0x03000000>;
308         };
309
310         i2s1: i2s@12D60000 {
311                 compatible = "samsung,i2s-v5";
312                 reg = <0x12D60000 0x100>;
313                 dmas = <&pdma1 12
314                         &pdma1 11>;
315                 dma-names = "tx", "rx";
316         };
317
318         i2s2: i2s@12D70000 {
319                 compatible = "samsung,i2s-v5";
320                 reg = <0x12D70000 0x100>;
321                 dmas = <&pdma0 12
322                         &pdma0 11>;
323                 dma-names = "tx", "rx";
324         };
325
326         amba {
327                 #address-cells = <1>;
328                 #size-cells = <1>;
329                 compatible = "arm,amba-bus";
330                 interrupt-parent = <&gic>;
331                 ranges;
332
333                 pdma0: pdma@121A0000 {
334                         compatible = "arm,pl330", "arm,primecell";
335                         reg = <0x121A0000 0x1000>;
336                         interrupts = <0 34 0>;
337                         #dma-cells = <1>;
338                         #dma-channels = <8>;
339                         #dma-requests = <32>;
340                 };
341
342                 pdma1: pdma@121B0000 {
343                         compatible = "arm,pl330", "arm,primecell";
344                         reg = <0x121B0000 0x1000>;
345                         interrupts = <0 35 0>;
346                         #dma-cells = <1>;
347                         #dma-channels = <8>;
348                         #dma-requests = <32>;
349                 };
350
351                 mdma0: mdma@10800000 {
352                         compatible = "arm,pl330", "arm,primecell";
353                         reg = <0x10800000 0x1000>;
354                         interrupts = <0 33 0>;
355                         #dma-cells = <1>;
356                         #dma-channels = <8>;
357                         #dma-requests = <1>;
358                 };
359
360                 mdma1: mdma@11C10000 {
361                         compatible = "arm,pl330", "arm,primecell";
362                         reg = <0x11C10000 0x1000>;
363                         interrupts = <0 124 0>;
364                         #dma-cells = <1>;
365                         #dma-channels = <8>;
366                         #dma-requests = <1>;
367                 };
368         };
369
370         gpio-controllers {
371                 #address-cells = <1>;
372                 #size-cells = <1>;
373                 gpio-controller;
374                 ranges;
375
376                 gpa0: gpio-controller@11400000 {
377                         compatible = "samsung,exynos4-gpio";
378                         reg = <0x11400000 0x20>;
379                         #gpio-cells = <4>;
380                 };
381
382                 gpa1: gpio-controller@11400020 {
383                         compatible = "samsung,exynos4-gpio";
384                         reg = <0x11400020 0x20>;
385                         #gpio-cells = <4>;
386                 };
387
388                 gpa2: gpio-controller@11400040 {
389                         compatible = "samsung,exynos4-gpio";
390                         reg = <0x11400040 0x20>;
391                         #gpio-cells = <4>;
392                 };
393
394                 gpb0: gpio-controller@11400060 {
395                         compatible = "samsung,exynos4-gpio";
396                         reg = <0x11400060 0x20>;
397                         #gpio-cells = <4>;
398                 };
399
400                 gpb1: gpio-controller@11400080 {
401                         compatible = "samsung,exynos4-gpio";
402                         reg = <0x11400080 0x20>;
403                         #gpio-cells = <4>;
404                 };
405
406                 gpb2: gpio-controller@114000A0 {
407                         compatible = "samsung,exynos4-gpio";
408                         reg = <0x114000A0 0x20>;
409                         #gpio-cells = <4>;
410                 };
411
412                 gpb3: gpio-controller@114000C0 {
413                         compatible = "samsung,exynos4-gpio";
414                         reg = <0x114000C0 0x20>;
415                         #gpio-cells = <4>;
416                 };
417
418                 gpc0: gpio-controller@114000E0 {
419                         compatible = "samsung,exynos4-gpio";
420                         reg = <0x114000E0 0x20>;
421                         #gpio-cells = <4>;
422                 };
423
424                 gpc1: gpio-controller@11400100 {
425                         compatible = "samsung,exynos4-gpio";
426                         reg = <0x11400100 0x20>;
427                         #gpio-cells = <4>;
428                 };
429
430                 gpc2: gpio-controller@11400120 {
431                         compatible = "samsung,exynos4-gpio";
432                         reg = <0x11400120 0x20>;
433                         #gpio-cells = <4>;
434                 };
435
436                 gpc3: gpio-controller@11400140 {
437                         compatible = "samsung,exynos4-gpio";
438                         reg = <0x11400140 0x20>;
439                         #gpio-cells = <4>;
440                 };
441
442                 gpc4: gpio-controller@114002E0 {
443                         compatible = "samsung,exynos4-gpio";
444                         reg = <0x114002E0 0x20>;
445                         #gpio-cells = <4>;
446                 };
447
448                 gpd0: gpio-controller@11400160 {
449                         compatible = "samsung,exynos4-gpio";
450                         reg = <0x11400160 0x20>;
451                         #gpio-cells = <4>;
452                 };
453
454                 gpd1: gpio-controller@11400180 {
455                         compatible = "samsung,exynos4-gpio";
456                         reg = <0x11400180 0x20>;
457                         #gpio-cells = <4>;
458                 };
459
460                 gpy0: gpio-controller@114001A0 {
461                         compatible = "samsung,exynos4-gpio";
462                         reg = <0x114001A0 0x20>;
463                         #gpio-cells = <4>;
464                 };
465
466                 gpy1: gpio-controller@114001C0 {
467                         compatible = "samsung,exynos4-gpio";
468                         reg = <0x114001C0 0x20>;
469                         #gpio-cells = <4>;
470                 };
471
472                 gpy2: gpio-controller@114001E0 {
473                         compatible = "samsung,exynos4-gpio";
474                         reg = <0x114001E0 0x20>;
475                         #gpio-cells = <4>;
476                 };
477
478                 gpy3: gpio-controller@11400200 {
479                         compatible = "samsung,exynos4-gpio";
480                         reg = <0x11400200 0x20>;
481                         #gpio-cells = <4>;
482                 };
483
484                 gpy4: gpio-controller@11400220 {
485                         compatible = "samsung,exynos4-gpio";
486                         reg = <0x11400220 0x20>;
487                         #gpio-cells = <4>;
488                 };
489
490                 gpy5: gpio-controller@11400240 {
491                         compatible = "samsung,exynos4-gpio";
492                         reg = <0x11400240 0x20>;
493                         #gpio-cells = <4>;
494                 };
495
496                 gpy6: gpio-controller@11400260 {
497                         compatible = "samsung,exynos4-gpio";
498                         reg = <0x11400260 0x20>;
499                         #gpio-cells = <4>;
500                 };
501
502                 gpx0: gpio-controller@11400C00 {
503                         compatible = "samsung,exynos4-gpio";
504                         reg = <0x11400C00 0x20>;
505                         #gpio-cells = <4>;
506                 };
507
508                 gpx1: gpio-controller@11400C20 {
509                         compatible = "samsung,exynos4-gpio";
510                         reg = <0x11400C20 0x20>;
511                         #gpio-cells = <4>;
512                 };
513
514                 gpx2: gpio-controller@11400C40 {
515                         compatible = "samsung,exynos4-gpio";
516                         reg = <0x11400C40 0x20>;
517                         #gpio-cells = <4>;
518                 };
519
520                 gpx3: gpio-controller@11400C60 {
521                         compatible = "samsung,exynos4-gpio";
522                         reg = <0x11400C60 0x20>;
523                         #gpio-cells = <4>;
524                 };
525
526                 gpe0: gpio-controller@13400000 {
527                         compatible = "samsung,exynos4-gpio";
528                         reg = <0x13400000 0x20>;
529                         #gpio-cells = <4>;
530                 };
531
532                 gpe1: gpio-controller@13400020 {
533                         compatible = "samsung,exynos4-gpio";
534                         reg = <0x13400020 0x20>;
535                         #gpio-cells = <4>;
536                 };
537
538                 gpf0: gpio-controller@13400040 {
539                         compatible = "samsung,exynos4-gpio";
540                         reg = <0x13400040 0x20>;
541                         #gpio-cells = <4>;
542                 };
543
544                 gpf1: gpio-controller@13400060 {
545                         compatible = "samsung,exynos4-gpio";
546                         reg = <0x13400060 0x20>;
547                         #gpio-cells = <4>;
548                 };
549
550                 gpg0: gpio-controller@13400080 {
551                         compatible = "samsung,exynos4-gpio";
552                         reg = <0x13400080 0x20>;
553                         #gpio-cells = <4>;
554                 };
555
556                 gpg1: gpio-controller@134000A0 {
557                         compatible = "samsung,exynos4-gpio";
558                         reg = <0x134000A0 0x20>;
559                         #gpio-cells = <4>;
560                 };
561
562                 gpg2: gpio-controller@134000C0 {
563                         compatible = "samsung,exynos4-gpio";
564                         reg = <0x134000C0 0x20>;
565                         #gpio-cells = <4>;
566                 };
567
568                 gph0: gpio-controller@134000E0 {
569                         compatible = "samsung,exynos4-gpio";
570                         reg = <0x134000E0 0x20>;
571                         #gpio-cells = <4>;
572                 };
573
574                 gph1: gpio-controller@13400100 {
575                         compatible = "samsung,exynos4-gpio";
576                         reg = <0x13400100 0x20>;
577                         #gpio-cells = <4>;
578                 };
579
580                 gpv0: gpio-controller@10D10000 {
581                         compatible = "samsung,exynos4-gpio";
582                         reg = <0x10D10000 0x20>;
583                         #gpio-cells = <4>;
584                 };
585
586                 gpv1: gpio-controller@10D10020 {
587                         compatible = "samsung,exynos4-gpio";
588                         reg = <0x10D10020 0x20>;
589                         #gpio-cells = <4>;
590                 };
591
592                 gpv2: gpio-controller@10D10040 {
593                         compatible = "samsung,exynos4-gpio";
594                         reg = <0x10D10060 0x20>;
595                         #gpio-cells = <4>;
596                 };
597
598                 gpv3: gpio-controller@10D10060 {
599                         compatible = "samsung,exynos4-gpio";
600                         reg = <0x10D10080 0x20>;
601                         #gpio-cells = <4>;
602                 };
603
604                 gpv4: gpio-controller@10D10080 {
605                         compatible = "samsung,exynos4-gpio";
606                         reg = <0x10D100C0 0x20>;
607                         #gpio-cells = <4>;
608                 };
609
610                 gpz: gpio-controller@03860000 {
611                         compatible = "samsung,exynos4-gpio";
612                         reg = <0x03860000 0x20>;
613                         #gpio-cells = <4>;
614                 };
615         };
616
617         gsc_0:  gsc@0x13e00000 {
618                 compatible = "samsung,exynos5-gsc";
619                 reg = <0x13e00000 0x1000>;
620                 interrupts = <0 85 0>;
621         };
622
623         gsc_1:  gsc@0x13e10000 {
624                 compatible = "samsung,exynos5-gsc";
625                 reg = <0x13e10000 0x1000>;
626                 interrupts = <0 86 0>;
627         };
628
629         gsc_2:  gsc@0x13e20000 {
630                 compatible = "samsung,exynos5-gsc";
631                 reg = <0x13e20000 0x1000>;
632                 interrupts = <0 87 0>;
633         };
634
635         gsc_3:  gsc@0x13e30000 {
636                 compatible = "samsung,exynos5-gsc";
637                 reg = <0x13e30000 0x1000>;
638                 interrupts = <0 88 0>;
639         };
640
641         hdmi {
642                 compatible = "samsung,exynos5-hdmi";
643                 reg = <0x14530000 0x70000>;
644                 interrupts = <0 95 0>;
645         };
646
647         mixer {
648                 compatible = "samsung,exynos5-mixer";
649                 reg = <0x14450000 0x10000>;
650                 interrupts = <0 94 0>;
651         };
652 };