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