Merge branches 'pm-opp', 'pm-cpufreq' and 'pm-tools'
[cascardo/linux.git] / arch / arm / boot / dts / exynos4x12.dtsi
1 /*
2  * Samsung's Exynos4x12 SoCs device tree source
3  *
4  * Copyright (c) 2012 Samsung Electronics Co., Ltd.
5  *              http://www.samsung.com
6  *
7  * Samsung's Exynos4x12 SoCs device nodes are listed in this file. Exynos4x12
8  * based board files can include this file and provide values for board specfic
9  * bindings.
10  *
11  * Note: This file does not include device nodes for all the controllers in
12  * Exynos4x12 SoC. As device tree coverage for Exynos4x12 increases, additional
13  * 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 "exynos4.dtsi"
21 #include "exynos4x12-pinctrl.dtsi"
22
23 / {
24         aliases {
25                 pinctrl0 = &pinctrl_0;
26                 pinctrl1 = &pinctrl_1;
27                 pinctrl2 = &pinctrl_2;
28                 pinctrl3 = &pinctrl_3;
29                 fimc-lite0 = &fimc_lite_0;
30                 fimc-lite1 = &fimc_lite_1;
31                 mshc0 = &mshc_0;
32         };
33
34         sysram@02020000 {
35                 compatible = "mmio-sram";
36                 reg = <0x02020000 0x40000>;
37                 #address-cells = <1>;
38                 #size-cells = <1>;
39                 ranges = <0 0x02020000 0x40000>;
40
41                 smp-sysram@0 {
42                         compatible = "samsung,exynos4210-sysram";
43                         reg = <0x0 0x1000>;
44                 };
45
46                 smp-sysram@2f000 {
47                         compatible = "samsung,exynos4210-sysram-ns";
48                         reg = <0x2f000 0x1000>;
49                 };
50         };
51
52         pd_isp: isp-power-domain@10023CA0 {
53                 compatible = "samsung,exynos4210-pd";
54                 reg = <0x10023CA0 0x20>;
55         };
56
57         clock: clock-controller@10030000 {
58                 compatible = "samsung,exynos4412-clock";
59                 reg = <0x10030000 0x20000>;
60                 #clock-cells = <1>;
61         };
62
63         mct@10050000 {
64                 compatible = "samsung,exynos4412-mct";
65                 reg = <0x10050000 0x800>;
66                 interrupt-parent = <&mct_map>;
67                 interrupts = <0>, <1>, <2>, <3>, <4>;
68                 clocks = <&clock CLK_FIN_PLL>, <&clock CLK_MCT>;
69                 clock-names = "fin_pll", "mct";
70
71                 mct_map: mct-map {
72                         #interrupt-cells = <1>;
73                         #address-cells = <0>;
74                         #size-cells = <0>;
75                         interrupt-map = <0 &gic 0 57 0>,
76                                         <1 &combiner 12 5>,
77                                         <2 &combiner 12 6>,
78                                         <3 &combiner 12 7>,
79                                         <4 &gic 1 12 0>;
80                 };
81         };
82
83         combiner: interrupt-controller@10440000 {
84                 interrupts = <0 0 0>, <0 1 0>, <0 2 0>, <0 3 0>,
85                              <0 4 0>, <0 5 0>, <0 6 0>, <0 7 0>,
86                              <0 8 0>, <0 9 0>, <0 10 0>, <0 11 0>,
87                              <0 12 0>, <0 13 0>, <0 14 0>, <0 15 0>,
88                              <0 107 0>, <0 108 0>, <0 48 0>, <0 42 0>;
89         };
90
91         pinctrl_0: pinctrl@11400000 {
92                 compatible = "samsung,exynos4x12-pinctrl";
93                 reg = <0x11400000 0x1000>;
94                 interrupts = <0 47 0>;
95         };
96
97         pinctrl_1: pinctrl@11000000 {
98                 compatible = "samsung,exynos4x12-pinctrl";
99                 reg = <0x11000000 0x1000>;
100                 interrupts = <0 46 0>;
101
102                 wakup_eint: wakeup-interrupt-controller {
103                         compatible = "samsung,exynos4210-wakeup-eint";
104                         interrupt-parent = <&gic>;
105                         interrupts = <0 32 0>;
106                 };
107         };
108
109         adc: adc@126C0000 {
110                 compatible = "samsung,exynos-adc-v1";
111                 reg = <0x126C0000 0x100>, <0x10020718 0x4>;
112                 interrupt-parent = <&combiner>;
113                 interrupts = <10 3>;
114                 clocks = <&clock CLK_TSADC>;
115                 clock-names = "adc";
116                 #io-channel-cells = <1>;
117                 io-channel-ranges;
118                 status = "disabled";
119         };
120
121         pinctrl_2: pinctrl@03860000 {
122                 compatible = "samsung,exynos4x12-pinctrl";
123                 reg = <0x03860000 0x1000>;
124                 interrupt-parent = <&combiner>;
125                 interrupts = <10 0>;
126         };
127
128         pinctrl_3: pinctrl@106E0000 {
129                 compatible = "samsung,exynos4x12-pinctrl";
130                 reg = <0x106E0000 0x1000>;
131                 interrupts = <0 72 0>;
132         };
133
134         pmu_system_controller: system-controller@10020000 {
135                 compatible = "samsung,exynos4212-pmu", "syscon";
136                 clock-names = "clkout0", "clkout1", "clkout2", "clkout3",
137                                 "clkout4", "clkout8", "clkout9";
138                 clocks = <&clock CLK_OUT_DMC>, <&clock CLK_OUT_TOP>,
139                         <&clock CLK_OUT_LEFTBUS>, <&clock CLK_OUT_RIGHTBUS>,
140                         <&clock CLK_OUT_CPU>, <&clock CLK_XXTI>,
141                         <&clock CLK_XUSBXTI>;
142                 #clock-cells = <1>;
143         };
144
145         g2d@10800000 {
146                 compatible = "samsung,exynos4212-g2d";
147                 reg = <0x10800000 0x1000>;
148                 interrupts = <0 89 0>;
149                 clocks = <&clock CLK_SCLK_FIMG2D>, <&clock CLK_G2D>;
150                 clock-names = "sclk_fimg2d", "fimg2d";
151                 status = "disabled";
152         };
153
154         camera {
155                 clocks = <&clock CLK_SCLK_CAM0>, <&clock CLK_SCLK_CAM1>,
156                          <&clock CLK_PIXELASYNCM0>, <&clock CLK_PIXELASYNCM1>;
157                 clock-names = "sclk_cam0", "sclk_cam1", "pxl_async0", "pxl_async1";
158
159                 fimc_0: fimc@11800000 {
160                         compatible = "samsung,exynos4212-fimc";
161                         samsung,pix-limits = <4224 8192 1920 4224>;
162                         samsung,mainscaler-ext;
163                         samsung,isp-wb;
164                         samsung,cam-if;
165                 };
166
167                 fimc_1: fimc@11810000 {
168                         compatible = "samsung,exynos4212-fimc";
169                         samsung,pix-limits = <4224 8192 1920 4224>;
170                         samsung,mainscaler-ext;
171                         samsung,isp-wb;
172                         samsung,cam-if;
173                 };
174
175                 fimc_2: fimc@11820000 {
176                         compatible = "samsung,exynos4212-fimc";
177                         samsung,pix-limits = <4224 8192 1920 4224>;
178                         samsung,mainscaler-ext;
179                         samsung,isp-wb;
180                         samsung,lcd-wb;
181                         samsung,cam-if;
182                 };
183
184                 fimc_3: fimc@11830000 {
185                         compatible = "samsung,exynos4212-fimc";
186                         samsung,pix-limits = <1920 8192 1366 1920>;
187                         samsung,rotators = <0>;
188                         samsung,mainscaler-ext;
189                         samsung,isp-wb;
190                         samsung,lcd-wb;
191                 };
192
193                 fimc_lite_0: fimc-lite@12390000 {
194                         compatible = "samsung,exynos4212-fimc-lite";
195                         reg = <0x12390000 0x1000>;
196                         interrupts = <0 105 0>;
197                         samsung,power-domain = <&pd_isp>;
198                         clocks = <&clock CLK_FIMC_LITE0>;
199                         clock-names = "flite";
200                         status = "disabled";
201                 };
202
203                 fimc_lite_1: fimc-lite@123A0000 {
204                         compatible = "samsung,exynos4212-fimc-lite";
205                         reg = <0x123A0000 0x1000>;
206                         interrupts = <0 106 0>;
207                         samsung,power-domain = <&pd_isp>;
208                         clocks = <&clock CLK_FIMC_LITE1>;
209                         clock-names = "flite";
210                         status = "disabled";
211                 };
212
213                 fimc_is: fimc-is@12000000 {
214                         compatible = "samsung,exynos4212-fimc-is", "simple-bus";
215                         reg = <0x12000000 0x260000>;
216                         interrupts = <0 90 0>, <0 95 0>;
217                         samsung,power-domain = <&pd_isp>;
218                         clocks = <&clock CLK_FIMC_LITE0>,
219                                  <&clock CLK_FIMC_LITE1>, <&clock CLK_PPMUISPX>,
220                                  <&clock CLK_PPMUISPMX>,
221                                  <&clock CLK_MOUT_MPLL_USER_T>,
222                                  <&clock CLK_FIMC_ISP>, <&clock CLK_FIMC_DRC>,
223                                  <&clock CLK_FIMC_FD>, <&clock CLK_MCUISP>,
224                                  <&clock CLK_DIV_ISP0>,<&clock CLK_DIV_ISP1>,
225                                  <&clock CLK_DIV_MCUISP0>,
226                                  <&clock CLK_DIV_MCUISP1>,
227                                  <&clock CLK_SCLK_UART_ISP>,
228                                  <&clock CLK_ACLK200>, <&clock CLK_DIV_ACLK200>,
229                                  <&clock CLK_ACLK400_MCUISP>,
230                                  <&clock CLK_DIV_ACLK400_MCUISP>;
231                         clock-names = "lite0", "lite1", "ppmuispx",
232                                       "ppmuispmx", "mpll", "isp",
233                                       "drc", "fd", "mcuisp",
234                                       "ispdiv0", "ispdiv1", "mcuispdiv0",
235                                       "mcuispdiv1", "uart", "aclk200",
236                                       "div_aclk200", "aclk400mcuisp",
237                                       "div_aclk400mcuisp";
238                         #address-cells = <1>;
239                         #size-cells = <1>;
240                         ranges;
241                         status = "disabled";
242
243                         pmu {
244                                 reg = <0x10020000 0x3000>;
245                         };
246
247                         i2c1_isp: i2c-isp@12140000 {
248                                 compatible = "samsung,exynos4212-i2c-isp";
249                                 reg = <0x12140000 0x100>;
250                                 clocks = <&clock CLK_I2C1_ISP>;
251                                 clock-names = "i2c_isp";
252                                 #address-cells = <1>;
253                                 #size-cells = <0>;
254                         };
255                 };
256         };
257
258         mshc_0: mmc@12550000 {
259                 compatible = "samsung,exynos4412-dw-mshc";
260                 reg = <0x12550000 0x1000>;
261                 interrupts = <0 77 0>;
262                 #address-cells = <1>;
263                 #size-cells = <0>;
264                 fifo-depth = <0x80>;
265                 clocks = <&clock CLK_SDMMC4>, <&clock CLK_SCLK_MMC4>;
266                 clock-names = "biu", "ciu";
267                 status = "disabled";
268         };
269
270         exynos-usbphy@125B0000 {
271                 compatible = "samsung,exynos4x12-usb2-phy";
272                 samsung,sysreg-phandle = <&sys_reg>;
273         };
274
275         tmu@100C0000 {
276                 compatible = "samsung,exynos4412-tmu";
277                 interrupt-parent = <&combiner>;
278                 interrupts = <2 4>;
279                 reg = <0x100C0000 0x100>;
280                 clocks = <&clock 383>;
281                 clock-names = "tmu_apbif";
282                 status = "disabled";
283         };
284 };