Merge tag 'sound-3.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai...
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / exynos5420-arndale-octa.dts
1 /*
2  * Samsung's Exynos5420 based Arndale Octa board device tree source
3  *
4  * Copyright (c) 2013 Samsung Electronics Co., Ltd.
5  *              http://www.samsung.com
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License version 2 as
9  * published by the Free Software Foundation.
10 */
11
12 /dts-v1/;
13 #include "exynos5420.dtsi"
14 #include <dt-bindings/interrupt-controller/irq.h>
15 #include <dt-bindings/input/input.h>
16
17 / {
18         model = "Insignal Arndale Octa evaluation board based on EXYNOS5420";
19         compatible = "insignal,arndale-octa", "samsung,exynos5420", "samsung,exynos5";
20
21         memory {
22                 reg = <0x20000000 0x80000000>;
23         };
24
25         chosen {
26                 bootargs = "console=ttySAC3,115200";
27         };
28
29         firmware@02073000 {
30                 compatible = "samsung,secure-firmware";
31                 reg = <0x02073000 0x1000>;
32         };
33
34         fixed-rate-clocks {
35                 oscclk {
36                         compatible = "samsung,exynos5420-oscclk";
37                         clock-frequency = <24000000>;
38                 };
39         };
40
41         rtc@101E0000 {
42                 status = "okay";
43         };
44
45         codec@11000000 {
46                 samsung,mfc-r = <0x43000000 0x800000>;
47                 samsung,mfc-l = <0x51000000 0x800000>;
48         };
49
50         mmc@12200000 {
51                 status = "okay";
52                 broken-cd;
53                 card-detect-delay = <200>;
54                 samsung,dw-mshc-ciu-div = <3>;
55                 samsung,dw-mshc-sdr-timing = <0 4>;
56                 samsung,dw-mshc-ddr-timing = <0 2>;
57                 pinctrl-names = "default";
58                 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>;
59                 vmmc-supply = <&ldo10_reg>;
60                 bus-width = <8>;
61                 cap-mmc-highspeed;
62         };
63
64         mmc@12220000 {
65                 status = "okay";
66                 card-detect-delay = <200>;
67                 samsung,dw-mshc-ciu-div = <3>;
68                 samsung,dw-mshc-sdr-timing = <2 3>;
69                 samsung,dw-mshc-ddr-timing = <1 2>;
70                 pinctrl-names = "default";
71                 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
72                 vmmc-supply = <&ldo10_reg>;
73                 bus-width = <4>;
74                 cap-sd-highspeed;
75         };
76
77         hsi2c_4: i2c@12CA0000 {
78                 status = "okay";
79
80                 s2mps11_pmic@66 {
81                         compatible = "samsung,s2mps11-pmic";
82                         reg = <0x66>;
83                         s2mps11,buck2-ramp-delay = <12>;
84                         s2mps11,buck34-ramp-delay = <12>;
85                         s2mps11,buck16-ramp-delay = <12>;
86                         s2mps11,buck6-ramp-enable = <1>;
87                         s2mps11,buck2-ramp-enable = <1>;
88                         s2mps11,buck3-ramp-enable = <1>;
89                         s2mps11,buck4-ramp-enable = <1>;
90
91                         interrupt-parent = <&gpx3>;
92                         interrupts = <2 IRQ_TYPE_LEVEL_HIGH>;
93
94                         s2mps11_osc: clocks {
95                                 #clock-cells = <1>;
96                                 clock-output-names = "s2mps11_ap",
97                                                 "s2mps11_cp", "s2mps11_bt";
98                         };
99
100                         regulators {
101                                 ldo1_reg: LDO1 {
102                                         regulator-name = "PVDD_ALIVE_1V0";
103                                         regulator-min-microvolt = <1000000>;
104                                         regulator-max-microvolt = <1000000>;
105                                         regulator-always-on;
106                                 };
107
108                                 ldo2_reg: LDO2 {
109                                         regulator-name = "PVDD_APIO_1V8";
110                                         regulator-min-microvolt = <1800000>;
111                                         regulator-max-microvolt = <1800000>;
112                                 };
113
114                                 ldo3_reg: LDO3 {
115                                         regulator-name = "PVDD_APIO_MMCON_1V8";
116                                         regulator-min-microvolt = <1800000>;
117                                         regulator-max-microvolt = <1800000>;
118                                         regulator-always-on;
119                                 };
120
121                                 ldo4_reg: LDO4 {
122                                         regulator-name = "PVDD_ADC_1V8";
123                                         regulator-min-microvolt = <1800000>;
124                                         regulator-max-microvolt = <1800000>;
125                                 };
126
127                                 ldo5_reg: LDO5 {
128                                         regulator-name = "PVDD_PLL_1V8";
129                                         regulator-min-microvolt = <1800000>;
130                                         regulator-max-microvolt = <1800000>;
131                                         regulator-always-on;
132                                 };
133
134                                 ldo6_reg: LDO6 {
135                                         regulator-name = "PVDD_ANAIP_1V0";
136                                         regulator-min-microvolt = <1000000>;
137                                         regulator-max-microvolt = <1000000>;
138                                 };
139
140                                 ldo7_reg: LDO7 {
141                                         regulator-name = "PVDD_ANAIP_1V8";
142                                         regulator-min-microvolt = <1800000>;
143                                         regulator-max-microvolt = <1800000>;
144                                 };
145
146                                 ldo8_reg: LDO8 {
147                                         regulator-name = "PVDD_ABB_1V8";
148                                         regulator-min-microvolt = <1800000>;
149                                         regulator-max-microvolt = <1800000>;
150                                 };
151
152                                 ldo9_reg: LDO9 {
153                                         regulator-name = "PVDD_USB_3V3";
154                                         regulator-min-microvolt = <3000000>;
155                                         regulator-max-microvolt = <3000000>;
156                                         regulator-always-on;
157                                 };
158
159                                 ldo10_reg: LDO10 {
160                                         regulator-name = "PVDD_PRE_1V8";
161                                         regulator-min-microvolt = <1800000>;
162                                         regulator-max-microvolt = <1800000>;
163                                         regulator-always-on;
164                                 };
165
166                                 ldo11_reg: LDO11 {
167                                         regulator-name = "PVDD_USB_1V0";
168                                         regulator-min-microvolt = <1000000>;
169                                         regulator-max-microvolt = <1000000>;
170                                         regulator-always-on;
171                                 };
172
173                                 ldo12_reg: LDO12 {
174                                         regulator-name = "PVDD_HSIC_1V8";
175                                         regulator-min-microvolt = <1800000>;
176                                         regulator-max-microvolt = <1800000>;
177                                 };
178
179                                 ldo13_reg: LDO13 {
180                                         regulator-name = "PVDD_APIO_MMCOFF_2V8";
181                                         regulator-min-microvolt = <2800000>;
182                                         regulator-max-microvolt = <2800000>;
183                                 };
184
185                                 ldo15_reg: LDO15 {
186                                         regulator-name = "PVDD_PERI_2V8";
187                                         regulator-min-microvolt = <3300000>;
188                                         regulator-max-microvolt = <3300000>;
189                                 };
190
191                                 ldo16_reg: LDO16 {
192                                         regulator-name = "PVDD_PERI_3V3";
193                                         regulator-min-microvolt = <2200000>;
194                                         regulator-max-microvolt = <2200000>;
195                                 };
196
197                                 ldo18_reg: LDO18 {
198                                         regulator-name = "PVDD_EMMC_1V8";
199                                         regulator-min-microvolt = <1800000>;
200                                         regulator-max-microvolt = <1800000>;
201                                 };
202
203                                 ldo19_reg: LDO19 {
204                                         regulator-name = "PVDD_TFLASH_2V8";
205                                         regulator-min-microvolt = <2800000>;
206                                         regulator-max-microvolt = <2800000>;
207                                 };
208
209                                 ldo20_reg: LDO20 {
210                                         regulator-name = "PVDD_BTWIFI_1V8";
211                                         regulator-min-microvolt = <1800000>;
212                                         regulator-max-microvolt = <1800000>;
213                                 };
214
215                                 ldo21_reg: LDO21 {
216                                         regulator-name = "PVDD_CAM1IO_1V8";
217                                         regulator-min-microvolt = <1800000>;
218                                         regulator-max-microvolt = <1800000>;
219                                 };
220
221                                 ldo23_reg: LDO23 {
222                                         regulator-name = "PVDD_MIFS_1V1";
223                                         regulator-min-microvolt = <1200000>;
224                                         regulator-max-microvolt = <1200000>;
225                                         regulator-always-on;
226                                 };
227
228                                 ldo24_reg: LDO24 {
229                                         regulator-name = "PVDD_CAM1_AVDD_2V8";
230                                         regulator-min-microvolt = <2800000>;
231                                         regulator-max-microvolt = <2800000>;
232                                 };
233
234                                 ldo26_reg: LDO26 {
235                                         regulator-name = "PVDD_CAM0_AF_2V8";
236                                         regulator-min-microvolt = <3000000>;
237                                         regulator-max-microvolt = <3000000>;
238                                 };
239
240                                 ldo27_reg: LDO27 {
241                                         regulator-name = "PVDD_G3DS_1V0";
242                                         regulator-min-microvolt = <1200000>;
243                                         regulator-max-microvolt = <1200000>;
244                                 };
245
246                                 ldo28_reg: LDO28 {
247                                         regulator-name = "PVDD_TSP_3V3";
248                                         regulator-min-microvolt = <3300000>;
249                                         regulator-max-microvolt = <3300000>;
250                                 };
251
252                                 ldo29_reg: LDO29 {
253                                         regulator-name = "PVDD_AUDIO_1V8";
254                                         regulator-min-microvolt = <1800000>;
255                                         regulator-max-microvolt = <1800000>;
256                                 };
257
258                                 ldo31_reg: LDO31 {
259                                         regulator-name = "PVDD_PERI_1V8";
260                                         regulator-min-microvolt = <1800000>;
261                                         regulator-max-microvolt = <1800000>;
262                                 };
263
264                                 ldo32_reg: LDO32 {
265                                         regulator-name = "PVDD_LCD_1V8";
266                                         regulator-min-microvolt = <1800000>;
267                                         regulator-max-microvolt = <1800000>;
268                                 };
269
270                                 ldo33_reg: LDO33 {
271                                         regulator-name = "PVDD_CAM0IO_1V8";
272                                         regulator-min-microvolt = <1800000>;
273                                         regulator-max-microvolt = <1800000>;
274                                 };
275
276                                 ldo35_reg: LDO35 {
277                                         regulator-name = "PVDD_CAM0_DVDD_1V2";
278                                         regulator-min-microvolt = <1200000>;
279                                         regulator-max-microvolt = <1200000>;
280                                 };
281
282                                 ldo38_reg: LDO38 {
283                                         regulator-name = "PVDD_CAM0_AVDD_2V8";
284                                         regulator-min-microvolt = <2800000>;
285                                         regulator-max-microvolt = <2800000>;
286                                 };
287
288                                 buck1_reg: BUCK1 {
289                                         regulator-name = "PVDD_MIF_1V1";
290                                         regulator-min-microvolt = <800000>;
291                                         regulator-max-microvolt = <1100000>;
292                                         regulator-always-on;
293                                 };
294
295                                 buck2_reg: BUCK2 {
296                                         regulator-name = "vdd_arm";
297                                         regulator-min-microvolt = <800000>;
298                                         regulator-max-microvolt = <1000000>;
299                                         regulator-always-on;
300                                 };
301
302                                 buck3_reg: BUCK3 {
303                                         regulator-name = "PVDD_INT_1V0";
304                                         regulator-min-microvolt = <800000>;
305                                         regulator-max-microvolt = <1000000>;
306                                         regulator-always-on;
307                                 };
308
309                                 buck4_reg: BUCK4 {
310                                         regulator-name = "PVDD_G3D_1V0";
311                                         regulator-min-microvolt = <800000>;
312                                         regulator-max-microvolt = <1000000>;
313                                 };
314
315                                 buck5_reg: BUCK5 {
316                                         regulator-name = "PVDD_LPDDR3_1V2";
317                                         regulator-min-microvolt = <800000>;
318                                         regulator-max-microvolt = <1200000>;
319                                         regulator-always-on;
320                                 };
321
322                                 buck6_reg: BUCK6 {
323                                         regulator-name = "PVDD_KFC_1V0";
324                                         regulator-min-microvolt = <800000>;
325                                         regulator-max-microvolt = <1000000>;
326                                         regulator-always-on;
327                                 };
328
329                                 buck7_reg: BUCK7 {
330                                         regulator-name = "VIN_LLDO_1V4";
331                                         regulator-min-microvolt = <800000>;
332                                         regulator-max-microvolt = <1400000>;
333                                         regulator-always-on;
334                                 };
335
336                                 buck8_reg: BUCK8 {
337                                         regulator-name = "VIN_MLDO_2V0";
338                                         regulator-min-microvolt = <800000>;
339                                         regulator-max-microvolt = <2000000>;
340                                         regulator-always-on;
341                                 };
342
343                                 buck9_reg: BUCK9 {
344                                         regulator-name = "VIN_HLDO_3V5";
345                                         regulator-min-microvolt = <3000000>;
346                                         regulator-max-microvolt = <3500000>;
347                                         regulator-always-on;
348                                 };
349
350                                 buck10_reg: BUCK10 {
351                                         regulator-name = "PVDD_EMMCF_2V8";
352                                         regulator-min-microvolt = <2800000>;
353                                         regulator-max-microvolt = <2800000>;
354                                 };
355                         };
356                 };
357         };
358
359         gpio_keys {
360                 compatible = "gpio-keys";
361
362                 wakeup {
363                         label = "SW-TACT1";
364                         gpios = <&gpx2 7 1>;
365                         linux,code = <KEY_WAKEUP>;
366                         gpio-key,wakeup;
367                 };
368         };
369 };