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