Merge tag 'iwlwifi-next-for-kalle-2014-12-30' of https://git.kernel.org/pub/scm/linux...
[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>;
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                 samsung,syscon-phandle = <&pmu_system_controller>;
119                 status = "disabled";
120         };
121
122         pinctrl_2: pinctrl@03860000 {
123                 compatible = "samsung,exynos4x12-pinctrl";
124                 reg = <0x03860000 0x1000>;
125                 interrupt-parent = <&combiner>;
126                 interrupts = <10 0>;
127         };
128
129         pinctrl_3: pinctrl@106E0000 {
130                 compatible = "samsung,exynos4x12-pinctrl";
131                 reg = <0x106E0000 0x1000>;
132                 interrupts = <0 72 0>;
133         };
134
135         pmu_system_controller: system-controller@10020000 {
136                 compatible = "samsung,exynos4212-pmu", "syscon";
137                 clock-names = "clkout0", "clkout1", "clkout2", "clkout3",
138                                 "clkout4", "clkout8", "clkout9";
139                 clocks = <&clock CLK_OUT_DMC>, <&clock CLK_OUT_TOP>,
140                         <&clock CLK_OUT_LEFTBUS>, <&clock CLK_OUT_RIGHTBUS>,
141                         <&clock CLK_OUT_CPU>, <&clock CLK_XXTI>,
142                         <&clock CLK_XUSBXTI>;
143                 #clock-cells = <1>;
144         };
145
146         g2d@10800000 {
147                 compatible = "samsung,exynos4212-g2d";
148                 reg = <0x10800000 0x1000>;
149                 interrupts = <0 89 0>;
150                 clocks = <&clock CLK_SCLK_FIMG2D>, <&clock CLK_G2D>;
151                 clock-names = "sclk_fimg2d", "fimg2d";
152                 status = "disabled";
153         };
154
155         camera {
156                 clocks = <&clock CLK_SCLK_CAM0>, <&clock CLK_SCLK_CAM1>,
157                          <&clock CLK_PIXELASYNCM0>, <&clock CLK_PIXELASYNCM1>;
158                 clock-names = "sclk_cam0", "sclk_cam1", "pxl_async0", "pxl_async1";
159
160                 fimc_0: fimc@11800000 {
161                         compatible = "samsung,exynos4212-fimc";
162                         samsung,pix-limits = <4224 8192 1920 4224>;
163                         samsung,mainscaler-ext;
164                         samsung,isp-wb;
165                         samsung,cam-if;
166                 };
167
168                 fimc_1: fimc@11810000 {
169                         compatible = "samsung,exynos4212-fimc";
170                         samsung,pix-limits = <4224 8192 1920 4224>;
171                         samsung,mainscaler-ext;
172                         samsung,isp-wb;
173                         samsung,cam-if;
174                 };
175
176                 fimc_2: fimc@11820000 {
177                         compatible = "samsung,exynos4212-fimc";
178                         samsung,pix-limits = <4224 8192 1920 4224>;
179                         samsung,mainscaler-ext;
180                         samsung,isp-wb;
181                         samsung,lcd-wb;
182                         samsung,cam-if;
183                 };
184
185                 fimc_3: fimc@11830000 {
186                         compatible = "samsung,exynos4212-fimc";
187                         samsung,pix-limits = <1920 8192 1366 1920>;
188                         samsung,rotators = <0>;
189                         samsung,mainscaler-ext;
190                         samsung,isp-wb;
191                         samsung,lcd-wb;
192                 };
193
194                 fimc_lite_0: fimc-lite@12390000 {
195                         compatible = "samsung,exynos4212-fimc-lite";
196                         reg = <0x12390000 0x1000>;
197                         interrupts = <0 105 0>;
198                         samsung,power-domain = <&pd_isp>;
199                         clocks = <&clock CLK_FIMC_LITE0>;
200                         clock-names = "flite";
201                         status = "disabled";
202                 };
203
204                 fimc_lite_1: fimc-lite@123A0000 {
205                         compatible = "samsung,exynos4212-fimc-lite";
206                         reg = <0x123A0000 0x1000>;
207                         interrupts = <0 106 0>;
208                         samsung,power-domain = <&pd_isp>;
209                         clocks = <&clock CLK_FIMC_LITE1>;
210                         clock-names = "flite";
211                         status = "disabled";
212                 };
213
214                 fimc_is: fimc-is@12000000 {
215                         compatible = "samsung,exynos4212-fimc-is", "simple-bus";
216                         reg = <0x12000000 0x260000>;
217                         interrupts = <0 90 0>, <0 95 0>;
218                         samsung,power-domain = <&pd_isp>;
219                         clocks = <&clock CLK_FIMC_LITE0>,
220                                  <&clock CLK_FIMC_LITE1>, <&clock CLK_PPMUISPX>,
221                                  <&clock CLK_PPMUISPMX>,
222                                  <&clock CLK_MOUT_MPLL_USER_T>,
223                                  <&clock CLK_FIMC_ISP>, <&clock CLK_FIMC_DRC>,
224                                  <&clock CLK_FIMC_FD>, <&clock CLK_MCUISP>,
225                                  <&clock CLK_DIV_ISP0>,<&clock CLK_DIV_ISP1>,
226                                  <&clock CLK_DIV_MCUISP0>,
227                                  <&clock CLK_DIV_MCUISP1>,
228                                  <&clock CLK_SCLK_UART_ISP>,
229                                  <&clock CLK_ACLK200>, <&clock CLK_DIV_ACLK200>,
230                                  <&clock CLK_ACLK400_MCUISP>,
231                                  <&clock CLK_DIV_ACLK400_MCUISP>;
232                         clock-names = "lite0", "lite1", "ppmuispx",
233                                       "ppmuispmx", "mpll", "isp",
234                                       "drc", "fd", "mcuisp",
235                                       "ispdiv0", "ispdiv1", "mcuispdiv0",
236                                       "mcuispdiv1", "uart", "aclk200",
237                                       "div_aclk200", "aclk400mcuisp",
238                                       "div_aclk400mcuisp";
239                         #address-cells = <1>;
240                         #size-cells = <1>;
241                         ranges;
242                         status = "disabled";
243
244                         pmu {
245                                 reg = <0x10020000 0x3000>;
246                         };
247
248                         i2c1_isp: i2c-isp@12140000 {
249                                 compatible = "samsung,exynos4212-i2c-isp";
250                                 reg = <0x12140000 0x100>;
251                                 clocks = <&clock CLK_I2C1_ISP>;
252                                 clock-names = "i2c_isp";
253                                 #address-cells = <1>;
254                                 #size-cells = <0>;
255                         };
256                 };
257         };
258
259         mshc_0: mmc@12550000 {
260                 compatible = "samsung,exynos4412-dw-mshc";
261                 reg = <0x12550000 0x1000>;
262                 interrupts = <0 77 0>;
263                 #address-cells = <1>;
264                 #size-cells = <0>;
265                 fifo-depth = <0x80>;
266                 clocks = <&clock CLK_SDMMC4>, <&clock CLK_SCLK_MMC4>;
267                 clock-names = "biu", "ciu";
268                 status = "disabled";
269         };
270
271         exynos-usbphy@125B0000 {
272                 compatible = "samsung,exynos4x12-usb2-phy";
273                 samsung,sysreg-phandle = <&sys_reg>;
274         };
275
276         tmu@100C0000 {
277                 compatible = "samsung,exynos4412-tmu";
278                 interrupt-parent = <&combiner>;
279                 interrupts = <2 4>;
280                 reg = <0x100C0000 0x100>;
281                 clocks = <&clock 383>;
282                 clock-names = "tmu_apbif";
283                 status = "disabled";
284         };
285 };