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