Merge tag 'v3.17-rockchip-rk3288' of git://git.kernel.org/pub/scm/linux/kernel/git...
[firefly-linux-kernel-4.4.55.git] / arch / arm / boot / dts / exynos4210.dtsi
1 /*
2  * Samsung's Exynos4210 SoC device tree source
3  *
4  * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
5  *              http://www.samsung.com
6  * Copyright (c) 2010-2011 Linaro Ltd.
7  *              www.linaro.org
8  *
9  * Samsung's Exynos4210 SoC device nodes are listed in this file. Exynos4210
10  * based board files can include this file and provide values for board specfic
11  * bindings.
12  *
13  * Note: This file does not include device nodes for all the controllers in
14  * Exynos4210 SoC. As device tree coverage for Exynos4210 increases, additional
15  * nodes can be added to this file.
16  *
17  * This program is free software; you can redistribute it and/or modify
18  * it under the terms of the GNU General Public License version 2 as
19  * published by the Free Software Foundation.
20 */
21
22 #include "exynos4.dtsi"
23 #include "exynos4210-pinctrl.dtsi"
24
25 / {
26         compatible = "samsung,exynos4210", "samsung,exynos4";
27
28         aliases {
29                 pinctrl0 = &pinctrl_0;
30                 pinctrl1 = &pinctrl_1;
31                 pinctrl2 = &pinctrl_2;
32         };
33
34         sysram@02020000 {
35                 compatible = "mmio-sram";
36                 reg = <0x02020000 0x20000>;
37                 #address-cells = <1>;
38                 #size-cells = <1>;
39                 ranges = <0 0x02020000 0x20000>;
40
41                 smp-sysram@0 {
42                         compatible = "samsung,exynos4210-sysram";
43                         reg = <0x0 0x1000>;
44                 };
45
46                 smp-sysram@1f000 {
47                         compatible = "samsung,exynos4210-sysram-ns";
48                         reg = <0x1f000 0x1000>;
49                 };
50         };
51
52         pd_lcd1: lcd1-power-domain@10023CA0 {
53                 compatible = "samsung,exynos4210-pd";
54                 reg = <0x10023CA0 0x20>;
55         };
56
57         gic: interrupt-controller@10490000 {
58                 cpu-offset = <0x8000>;
59         };
60
61         combiner: interrupt-controller@10440000 {
62                 samsung,combiner-nr = <16>;
63                 interrupts = <0 0 0>, <0 1 0>, <0 2 0>, <0 3 0>,
64                              <0 4 0>, <0 5 0>, <0 6 0>, <0 7 0>,
65                              <0 8 0>, <0 9 0>, <0 10 0>, <0 11 0>,
66                              <0 12 0>, <0 13 0>, <0 14 0>, <0 15 0>;
67         };
68
69         mct@10050000 {
70                 compatible = "samsung,exynos4210-mct";
71                 reg = <0x10050000 0x800>;
72                 interrupt-parent = <&mct_map>;
73                 interrupts = <0>, <1>, <2>, <3>, <4>, <5>;
74                 clocks = <&clock CLK_FIN_PLL>, <&clock CLK_MCT>;
75                 clock-names = "fin_pll", "mct";
76
77                 mct_map: mct-map {
78                         #interrupt-cells = <1>;
79                         #address-cells = <0>;
80                         #size-cells = <0>;
81                         interrupt-map = <0 &gic 0 57 0>,
82                                         <1 &gic 0 69 0>,
83                                         <2 &combiner 12 6>,
84                                         <3 &combiner 12 7>,
85                                         <4 &gic 0 42 0>,
86                                         <5 &gic 0 48 0>;
87                 };
88         };
89
90         clock: clock-controller@10030000 {
91                 compatible = "samsung,exynos4210-clock";
92                 reg = <0x10030000 0x20000>;
93                 #clock-cells = <1>;
94         };
95
96         pinctrl_0: pinctrl@11400000 {
97                 compatible = "samsung,exynos4210-pinctrl";
98                 reg = <0x11400000 0x1000>;
99                 interrupts = <0 47 0>;
100         };
101
102         pinctrl_1: pinctrl@11000000 {
103                 compatible = "samsung,exynos4210-pinctrl";
104                 reg = <0x11000000 0x1000>;
105                 interrupts = <0 46 0>;
106
107                 wakup_eint: wakeup-interrupt-controller {
108                         compatible = "samsung,exynos4210-wakeup-eint";
109                         interrupt-parent = <&gic>;
110                         interrupts = <0 32 0>;
111                 };
112         };
113
114         pinctrl_2: pinctrl@03860000 {
115                 compatible = "samsung,exynos4210-pinctrl";
116                 reg = <0x03860000 0x1000>;
117         };
118
119         tmu@100C0000 {
120                 compatible = "samsung,exynos4210-tmu";
121                 interrupt-parent = <&combiner>;
122                 reg = <0x100C0000 0x100>;
123                 interrupts = <2 4>;
124                 clocks = <&clock CLK_TMU_APBIF>;
125                 clock-names = "tmu_apbif";
126                 status = "disabled";
127         };
128
129         g2d@12800000 {
130                 compatible = "samsung,s5pv210-g2d";
131                 reg = <0x12800000 0x1000>;
132                 interrupts = <0 89 0>;
133                 clocks = <&clock CLK_SCLK_FIMG2D>, <&clock CLK_G2D>;
134                 clock-names = "sclk_fimg2d", "fimg2d";
135                 status = "disabled";
136         };
137
138         camera {
139                 clocks = <&clock CLK_SCLK_CAM0>, <&clock CLK_SCLK_CAM1>,
140                          <&clock CLK_PIXELASYNCM0>, <&clock CLK_PIXELASYNCM1>;
141                 clock-names = "sclk_cam0", "sclk_cam1", "pxl_async0", "pxl_async1";
142
143                 fimc_0: fimc@11800000 {
144                         samsung,pix-limits = <4224 8192 1920 4224>;
145                         samsung,mainscaler-ext;
146                         samsung,cam-if;
147                 };
148
149                 fimc_1: fimc@11810000 {
150                         samsung,pix-limits = <4224 8192 1920 4224>;
151                         samsung,mainscaler-ext;
152                         samsung,cam-if;
153                 };
154
155                 fimc_2: fimc@11820000 {
156                         samsung,pix-limits = <4224 8192 1920 4224>;
157                         samsung,mainscaler-ext;
158                         samsung,lcd-wb;
159                 };
160
161                 fimc_3: fimc@11830000 {
162                         samsung,pix-limits = <1920 8192 1366 1920>;
163                         samsung,rotators = <0>;
164                         samsung,mainscaler-ext;
165                         samsung,lcd-wb;
166                 };
167         };
168 };