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