• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 "exynos5420-cpus.dtsi"
15#include <dt-bindings/gpio/gpio.h>
16#include <dt-bindings/interrupt-controller/irq.h>
17#include <dt-bindings/input/input.h>
18#include <dt-bindings/clock/samsung,s2mps11.h>
19
20/ {
21	model = "Insignal Arndale Octa evaluation board based on EXYNOS5420";
22	compatible = "insignal,arndale-octa", "samsung,exynos5420", "samsung,exynos5";
23
24	memory@20000000 {
25		device_type = "memory";
26		reg = <0x20000000 0x80000000>;
27	};
28
29	chosen {
30		bootargs = "console=ttySAC3,115200";
31	};
32
33	firmware@02073000 {
34		compatible = "samsung,secure-firmware";
35		reg = <0x02073000 0x1000>;
36	};
37
38	fixed-rate-clocks {
39		oscclk {
40			compatible = "samsung,exynos5420-oscclk";
41			clock-frequency = <24000000>;
42		};
43	};
44
45	gpio_keys {
46		compatible = "gpio-keys";
47
48		wakeup {
49			label = "SW-TACT1";
50			gpios = <&gpx2 7 GPIO_ACTIVE_LOW>;
51			linux,code = <KEY_WAKEUP>;
52			wakeup-source;
53		};
54	};
55};
56
57&cpu0 {
58	cpu-supply = <&buck2_reg>;
59};
60
61&cpu4 {
62	cpu-supply = <&buck6_reg>;
63};
64
65&usbdrd_dwc3_1 {
66	dr_mode = "host";
67};
68
69&cci {
70	status = "disabled";
71};
72
73&hdmi {
74	hpd-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>;
75	vdd_osc-supply = <&ldo7_reg>;
76	vdd_pll-supply = <&ldo6_reg>;
77	vdd-supply = <&ldo6_reg>;
78	ddc = <&i2c_2>;
79	status = "okay";
80};
81
82&hsi2c_4 {
83	status = "okay";
84
85	s2mps11_pmic@66 {
86		compatible = "samsung,s2mps11-pmic";
87		reg = <0x66>;
88
89		interrupt-parent = <&gpx3>;
90		interrupts = <2 IRQ_TYPE_EDGE_FALLING>;
91		pinctrl-names = "default";
92		pinctrl-0 = <&s2mps11_irq>;
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				regulator-always-on;
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				regulator-always-on;
152			};
153
154			ldo9_reg: LDO9 {
155				regulator-name = "PVDD_USB_3V3";
156				regulator-min-microvolt = <3000000>;
157				regulator-max-microvolt = <3000000>;
158				regulator-always-on;
159			};
160
161			ldo10_reg: LDO10 {
162				regulator-name = "PVDD_PRE_1V8";
163				regulator-min-microvolt = <1800000>;
164				regulator-max-microvolt = <1800000>;
165				regulator-always-on;
166			};
167
168			ldo11_reg: LDO11 {
169				regulator-name = "PVDD_USB_1V0";
170				regulator-min-microvolt = <1000000>;
171				regulator-max-microvolt = <1000000>;
172				regulator-always-on;
173			};
174
175			ldo12_reg: LDO12 {
176				regulator-name = "PVDD_HSIC_1V8";
177				regulator-min-microvolt = <1800000>;
178				regulator-max-microvolt = <1800000>;
179			};
180
181			ldo13_reg: LDO13 {
182				regulator-name = "PVDD_APIO_MMCOFF_2V8";
183				regulator-min-microvolt = <2800000>;
184				regulator-max-microvolt = <2800000>;
185			};
186
187			ldo15_reg: LDO15 {
188				regulator-name = "PVDD_PERI_2V8";
189				regulator-min-microvolt = <3300000>;
190				regulator-max-microvolt = <3300000>;
191			};
192
193			ldo16_reg: LDO16 {
194				regulator-name = "PVDD_PERI_3V3";
195				regulator-min-microvolt = <2200000>;
196				regulator-max-microvolt = <2200000>;
197			};
198
199			ldo18_reg: LDO18 {
200				regulator-name = "PVDD_EMMC_1V8";
201				regulator-min-microvolt = <1800000>;
202				regulator-max-microvolt = <1800000>;
203			};
204
205			ldo19_reg: LDO19 {
206				regulator-name = "PVDD_TFLASH_2V8";
207				regulator-min-microvolt = <2800000>;
208				regulator-max-microvolt = <2800000>;
209			};
210
211			ldo20_reg: LDO20 {
212				regulator-name = "PVDD_BTWIFI_1V8";
213				regulator-min-microvolt = <1800000>;
214				regulator-max-microvolt = <1800000>;
215			};
216
217			ldo21_reg: LDO21 {
218				regulator-name = "PVDD_CAM1IO_1V8";
219				regulator-min-microvolt = <1800000>;
220				regulator-max-microvolt = <1800000>;
221			};
222
223			ldo23_reg: LDO23 {
224				regulator-name = "PVDD_MIFS_1V1";
225				regulator-min-microvolt = <1200000>;
226				regulator-max-microvolt = <1200000>;
227				regulator-always-on;
228			};
229
230			ldo24_reg: LDO24 {
231				regulator-name = "PVDD_CAM1_AVDD_2V8";
232				regulator-min-microvolt = <2800000>;
233				regulator-max-microvolt = <2800000>;
234			};
235
236			ldo26_reg: LDO26 {
237				regulator-name = "PVDD_CAM0_AF_2V8";
238				regulator-min-microvolt = <3000000>;
239				regulator-max-microvolt = <3000000>;
240			};
241
242			ldo27_reg: LDO27 {
243				regulator-name = "PVDD_G3DS_1V0";
244				regulator-min-microvolt = <1200000>;
245				regulator-max-microvolt = <1200000>;
246			};
247
248			ldo28_reg: LDO28 {
249				regulator-name = "PVDD_TSP_3V3";
250				regulator-min-microvolt = <3300000>;
251				regulator-max-microvolt = <3300000>;
252			};
253
254			ldo29_reg: LDO29 {
255				regulator-name = "PVDD_AUDIO_1V8";
256				regulator-min-microvolt = <1800000>;
257				regulator-max-microvolt = <1800000>;
258			};
259
260			ldo31_reg: LDO31 {
261				regulator-name = "PVDD_PERI_1V8";
262				regulator-min-microvolt = <1800000>;
263				regulator-max-microvolt = <1800000>;
264			};
265
266			ldo32_reg: LDO32 {
267				regulator-name = "PVDD_LCD_1V8";
268				regulator-min-microvolt = <1800000>;
269				regulator-max-microvolt = <1800000>;
270			};
271
272			ldo33_reg: LDO33 {
273				regulator-name = "PVDD_CAM0IO_1V8";
274				regulator-min-microvolt = <1800000>;
275				regulator-max-microvolt = <1800000>;
276			};
277
278			ldo35_reg: LDO35 {
279				regulator-name = "PVDD_CAM0_DVDD_1V2";
280				regulator-min-microvolt = <1200000>;
281				regulator-max-microvolt = <1200000>;
282			};
283
284			ldo38_reg: LDO38 {
285				regulator-name = "PVDD_CAM0_AVDD_2V8";
286				regulator-min-microvolt = <2800000>;
287				regulator-max-microvolt = <2800000>;
288			};
289
290			buck1_reg: BUCK1 {
291				regulator-name = "PVDD_MIF_1V1";
292				regulator-min-microvolt = <800000>;
293				regulator-max-microvolt = <1100000>;
294				regulator-always-on;
295			};
296
297			buck2_reg: BUCK2 {
298				regulator-name = "vdd_arm";
299				regulator-min-microvolt = <800000>;
300				regulator-max-microvolt = <1000000>;
301				regulator-always-on;
302			};
303
304			buck3_reg: BUCK3 {
305				regulator-name = "PVDD_INT_1V0";
306				regulator-min-microvolt = <800000>;
307				regulator-max-microvolt = <1000000>;
308				regulator-always-on;
309			};
310
311			buck4_reg: BUCK4 {
312				regulator-name = "PVDD_G3D_1V0";
313				regulator-min-microvolt = <800000>;
314				regulator-max-microvolt = <1000000>;
315			};
316
317			buck5_reg: BUCK5 {
318				regulator-name = "PVDD_LPDDR3_1V2";
319				regulator-min-microvolt = <800000>;
320				regulator-max-microvolt = <1200000>;
321				regulator-always-on;
322			};
323
324			buck6_reg: BUCK6 {
325				regulator-name = "PVDD_KFC_1V0";
326				regulator-min-microvolt = <800000>;
327				regulator-max-microvolt = <1000000>;
328				regulator-always-on;
329			};
330
331			buck7_reg: BUCK7 {
332				regulator-name = "VIN_LLDO_1V4";
333				regulator-min-microvolt = <800000>;
334				regulator-max-microvolt = <1400000>;
335				regulator-always-on;
336			};
337
338			buck8_reg: BUCK8 {
339				regulator-name = "VIN_MLDO_2V0";
340				regulator-min-microvolt = <800000>;
341				regulator-max-microvolt = <2000000>;
342				regulator-always-on;
343			};
344
345			buck9_reg: BUCK9 {
346				regulator-name = "VIN_HLDO_3V5";
347				regulator-min-microvolt = <3000000>;
348				regulator-max-microvolt = <3500000>;
349				regulator-always-on;
350			};
351
352			buck10_reg: BUCK10 {
353				regulator-name = "PVDD_EMMCF_2V8";
354				regulator-min-microvolt = <2800000>;
355				regulator-max-microvolt = <2800000>;
356			};
357		};
358	};
359};
360
361&i2c_2 {
362	status = "okay";
363};
364
365&mmc_0 {
366	status = "okay";
367	broken-cd;
368	card-detect-delay = <200>;
369	samsung,dw-mshc-ciu-div = <3>;
370	samsung,dw-mshc-sdr-timing = <0 4>;
371	samsung,dw-mshc-ddr-timing = <0 2>;
372	pinctrl-names = "default";
373	pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8>;
374	vmmc-supply = <&ldo10_reg>;
375	bus-width = <8>;
376	cap-mmc-highspeed;
377};
378
379&mmc_2 {
380	status = "okay";
381	card-detect-delay = <200>;
382	samsung,dw-mshc-ciu-div = <3>;
383	samsung,dw-mshc-sdr-timing = <2 3>;
384	samsung,dw-mshc-ddr-timing = <1 2>;
385	pinctrl-names = "default";
386	pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus1 &sd2_bus4>;
387	vmmc-supply = <&ldo19_reg>;
388	vqmmc-supply = <&ldo13_reg>;
389	bus-width = <4>;
390	cap-sd-highspeed;
391};
392
393&pinctrl_0 {
394	s2mps11_irq: s2mps11-irq {
395		samsung,pins = "gpx3-2";
396		samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
397		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
398		samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
399	};
400};
401
402&rtc {
403	status = "okay";
404	clocks = <&clock CLK_RTC>, <&s2mps11_osc S2MPS11_CLK_AP>;
405	clock-names = "rtc", "rtc_src";
406};
407