ARM: dts: fix MMC2 regulators for Exynos5420 Arndale Octa board
[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                 supports-highspeed;
54                 card-detect-delay = <200>;
55                 samsung,dw-mshc-ciu-div = <3>;
56                 samsung,dw-mshc-sdr-timing = <0 4>;
57                 samsung,dw-mshc-ddr-timing = <0 2>;
58                 pinctrl-names = "default";
59                 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>;
60                 vmmc-supply = <&ldo10_reg>;
61
62                 slot@0 {
63                         reg = <0>;
64                         bus-width = <8>;
65                 };
66         };
67
68         mmc@12220000 {
69                 status = "okay";
70                 supports-highspeed;
71                 card-detect-delay = <200>;
72                 samsung,dw-mshc-ciu-div = <3>;
73                 samsung,dw-mshc-sdr-timing = <2 3>;
74                 samsung,dw-mshc-ddr-timing = <1 2>;
75                 pinctrl-names = "default";
76                 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
77                 vmmc-supply = <&ldo19_reg>;
78                 vqmmc-supply = <&ldo13_reg>;
79
80                 slot@0 {
81                         reg = <0>;
82                         bus-width = <4>;
83                 };
84         };
85
86         hsi2c_4: i2c@12CA0000 {
87                 status = "okay";
88
89                 s2mps11_pmic@66 {
90                         compatible = "samsung,s2mps11-pmic";
91                         reg = <0x66>;
92                         s2mps11,buck2-ramp-delay = <12>;
93                         s2mps11,buck34-ramp-delay = <12>;
94                         s2mps11,buck16-ramp-delay = <12>;
95                         s2mps11,buck6-ramp-enable = <1>;
96                         s2mps11,buck2-ramp-enable = <1>;
97                         s2mps11,buck3-ramp-enable = <1>;
98                         s2mps11,buck4-ramp-enable = <1>;
99
100                         interrupt-parent = <&gpx3>;
101                         interrupts = <2 IRQ_TYPE_LEVEL_HIGH>;
102
103                         s2mps11_osc: clocks {
104                                 #clock-cells = <1>;
105                                 clock-output-names = "s2mps11_ap",
106                                                 "s2mps11_cp", "s2mps11_bt";
107                         };
108
109                         regulators {
110                                 ldo1_reg: LDO1 {
111                                         regulator-name = "PVDD_ALIVE_1V0";
112                                         regulator-min-microvolt = <1000000>;
113                                         regulator-max-microvolt = <1000000>;
114                                         regulator-always-on;
115                                 };
116
117                                 ldo2_reg: LDO2 {
118                                         regulator-name = "PVDD_APIO_1V8";
119                                         regulator-min-microvolt = <1800000>;
120                                         regulator-max-microvolt = <1800000>;
121                                 };
122
123                                 ldo3_reg: LDO3 {
124                                         regulator-name = "PVDD_APIO_MMCON_1V8";
125                                         regulator-min-microvolt = <1800000>;
126                                         regulator-max-microvolt = <1800000>;
127                                         regulator-always-on;
128                                 };
129
130                                 ldo4_reg: LDO4 {
131                                         regulator-name = "PVDD_ADC_1V8";
132                                         regulator-min-microvolt = <1800000>;
133                                         regulator-max-microvolt = <1800000>;
134                                 };
135
136                                 ldo5_reg: LDO5 {
137                                         regulator-name = "PVDD_PLL_1V8";
138                                         regulator-min-microvolt = <1800000>;
139                                         regulator-max-microvolt = <1800000>;
140                                         regulator-always-on;
141                                 };
142
143                                 ldo6_reg: LDO6 {
144                                         regulator-name = "PVDD_ANAIP_1V0";
145                                         regulator-min-microvolt = <1000000>;
146                                         regulator-max-microvolt = <1000000>;
147                                 };
148
149                                 ldo7_reg: LDO7 {
150                                         regulator-name = "PVDD_ANAIP_1V8";
151                                         regulator-min-microvolt = <1800000>;
152                                         regulator-max-microvolt = <1800000>;
153                                 };
154
155                                 ldo8_reg: LDO8 {
156                                         regulator-name = "PVDD_ABB_1V8";
157                                         regulator-min-microvolt = <1800000>;
158                                         regulator-max-microvolt = <1800000>;
159                                 };
160
161                                 ldo9_reg: LDO9 {
162                                         regulator-name = "PVDD_USB_3V3";
163                                         regulator-min-microvolt = <3000000>;
164                                         regulator-max-microvolt = <3000000>;
165                                         regulator-always-on;
166                                 };
167
168                                 ldo10_reg: LDO10 {
169                                         regulator-name = "PVDD_PRE_1V8";
170                                         regulator-min-microvolt = <1800000>;
171                                         regulator-max-microvolt = <1800000>;
172                                         regulator-always-on;
173                                 };
174
175                                 ldo11_reg: LDO11 {
176                                         regulator-name = "PVDD_USB_1V0";
177                                         regulator-min-microvolt = <1000000>;
178                                         regulator-max-microvolt = <1000000>;
179                                         regulator-always-on;
180                                 };
181
182                                 ldo12_reg: LDO12 {
183                                         regulator-name = "PVDD_HSIC_1V8";
184                                         regulator-min-microvolt = <1800000>;
185                                         regulator-max-microvolt = <1800000>;
186                                 };
187
188                                 ldo13_reg: LDO13 {
189                                         regulator-name = "PVDD_APIO_MMCOFF_2V8";
190                                         regulator-min-microvolt = <2800000>;
191                                         regulator-max-microvolt = <2800000>;
192                                 };
193
194                                 ldo15_reg: LDO15 {
195                                         regulator-name = "PVDD_PERI_2V8";
196                                         regulator-min-microvolt = <3300000>;
197                                         regulator-max-microvolt = <3300000>;
198                                 };
199
200                                 ldo16_reg: LDO16 {
201                                         regulator-name = "PVDD_PERI_3V3";
202                                         regulator-min-microvolt = <2200000>;
203                                         regulator-max-microvolt = <2200000>;
204                                 };
205
206                                 ldo18_reg: LDO18 {
207                                         regulator-name = "PVDD_EMMC_1V8";
208                                         regulator-min-microvolt = <1800000>;
209                                         regulator-max-microvolt = <1800000>;
210                                 };
211
212                                 ldo19_reg: LDO19 {
213                                         regulator-name = "PVDD_TFLASH_2V8";
214                                         regulator-min-microvolt = <2800000>;
215                                         regulator-max-microvolt = <2800000>;
216                                 };
217
218                                 ldo20_reg: LDO20 {
219                                         regulator-name = "PVDD_BTWIFI_1V8";
220                                         regulator-min-microvolt = <1800000>;
221                                         regulator-max-microvolt = <1800000>;
222                                 };
223
224                                 ldo21_reg: LDO21 {
225                                         regulator-name = "PVDD_CAM1IO_1V8";
226                                         regulator-min-microvolt = <1800000>;
227                                         regulator-max-microvolt = <1800000>;
228                                 };
229
230                                 ldo23_reg: LDO23 {
231                                         regulator-name = "PVDD_MIFS_1V1";
232                                         regulator-min-microvolt = <1200000>;
233                                         regulator-max-microvolt = <1200000>;
234                                         regulator-always-on;
235                                 };
236
237                                 ldo24_reg: LDO24 {
238                                         regulator-name = "PVDD_CAM1_AVDD_2V8";
239                                         regulator-min-microvolt = <2800000>;
240                                         regulator-max-microvolt = <2800000>;
241                                 };
242
243                                 ldo26_reg: LDO26 {
244                                         regulator-name = "PVDD_CAM0_AF_2V8";
245                                         regulator-min-microvolt = <3000000>;
246                                         regulator-max-microvolt = <3000000>;
247                                 };
248
249                                 ldo27_reg: LDO27 {
250                                         regulator-name = "PVDD_G3DS_1V0";
251                                         regulator-min-microvolt = <1200000>;
252                                         regulator-max-microvolt = <1200000>;
253                                 };
254
255                                 ldo28_reg: LDO28 {
256                                         regulator-name = "PVDD_TSP_3V3";
257                                         regulator-min-microvolt = <3300000>;
258                                         regulator-max-microvolt = <3300000>;
259                                 };
260
261                                 ldo29_reg: LDO29 {
262                                         regulator-name = "PVDD_AUDIO_1V8";
263                                         regulator-min-microvolt = <1800000>;
264                                         regulator-max-microvolt = <1800000>;
265                                 };
266
267                                 ldo31_reg: LDO31 {
268                                         regulator-name = "PVDD_PERI_1V8";
269                                         regulator-min-microvolt = <1800000>;
270                                         regulator-max-microvolt = <1800000>;
271                                 };
272
273                                 ldo32_reg: LDO32 {
274                                         regulator-name = "PVDD_LCD_1V8";
275                                         regulator-min-microvolt = <1800000>;
276                                         regulator-max-microvolt = <1800000>;
277                                 };
278
279                                 ldo33_reg: LDO33 {
280                                         regulator-name = "PVDD_CAM0IO_1V8";
281                                         regulator-min-microvolt = <1800000>;
282                                         regulator-max-microvolt = <1800000>;
283                                 };
284
285                                 ldo35_reg: LDO35 {
286                                         regulator-name = "PVDD_CAM0_DVDD_1V2";
287                                         regulator-min-microvolt = <1200000>;
288                                         regulator-max-microvolt = <1200000>;
289                                 };
290
291                                 ldo38_reg: LDO38 {
292                                         regulator-name = "PVDD_CAM0_AVDD_2V8";
293                                         regulator-min-microvolt = <2800000>;
294                                         regulator-max-microvolt = <2800000>;
295                                 };
296
297                                 buck1_reg: BUCK1 {
298                                         regulator-name = "PVDD_MIF_1V1";
299                                         regulator-min-microvolt = <800000>;
300                                         regulator-max-microvolt = <1100000>;
301                                         regulator-always-on;
302                                 };
303
304                                 buck2_reg: BUCK2 {
305                                         regulator-name = "vdd_arm";
306                                         regulator-min-microvolt = <800000>;
307                                         regulator-max-microvolt = <1000000>;
308                                         regulator-always-on;
309                                 };
310
311                                 buck3_reg: BUCK3 {
312                                         regulator-name = "PVDD_INT_1V0";
313                                         regulator-min-microvolt = <800000>;
314                                         regulator-max-microvolt = <1000000>;
315                                         regulator-always-on;
316                                 };
317
318                                 buck4_reg: BUCK4 {
319                                         regulator-name = "PVDD_G3D_1V0";
320                                         regulator-min-microvolt = <800000>;
321                                         regulator-max-microvolt = <1000000>;
322                                 };
323
324                                 buck5_reg: BUCK5 {
325                                         regulator-name = "PVDD_LPDDR3_1V2";
326                                         regulator-min-microvolt = <800000>;
327                                         regulator-max-microvolt = <1200000>;
328                                         regulator-always-on;
329                                 };
330
331                                 buck6_reg: BUCK6 {
332                                         regulator-name = "PVDD_KFC_1V0";
333                                         regulator-min-microvolt = <800000>;
334                                         regulator-max-microvolt = <1000000>;
335                                         regulator-always-on;
336                                 };
337
338                                 buck7_reg: BUCK7 {
339                                         regulator-name = "VIN_LLDO_1V4";
340                                         regulator-min-microvolt = <800000>;
341                                         regulator-max-microvolt = <1400000>;
342                                         regulator-always-on;
343                                 };
344
345                                 buck8_reg: BUCK8 {
346                                         regulator-name = "VIN_MLDO_2V0";
347                                         regulator-min-microvolt = <800000>;
348                                         regulator-max-microvolt = <2000000>;
349                                         regulator-always-on;
350                                 };
351
352                                 buck9_reg: BUCK9 {
353                                         regulator-name = "VIN_HLDO_3V5";
354                                         regulator-min-microvolt = <3000000>;
355                                         regulator-max-microvolt = <3500000>;
356                                         regulator-always-on;
357                                 };
358
359                                 buck10_reg: BUCK10 {
360                                         regulator-name = "PVDD_EMMCF_2V8";
361                                         regulator-min-microvolt = <2800000>;
362                                         regulator-max-microvolt = <2800000>;
363                                 };
364                         };
365                 };
366         };
367
368         gpio_keys {
369                 compatible = "gpio-keys";
370
371                 wakeup {
372                         label = "SW-TACT1";
373                         gpios = <&gpx2 7 1>;
374                         linux,code = <KEY_WAKEUP>;
375                         gpio-key,wakeup;
376                 };
377         };
378 };