xref: /freebsd-src/sys/contrib/device-tree/src/arm/samsung/exynos4412-origen.dts (revision 7d0873ebb83b19ba1e8a89e679470d885efe12e3)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2f126890aSEmmanuel Vadot/*
3f126890aSEmmanuel Vadot * Insignal's Exynos4412 based Origen board device tree source
4f126890aSEmmanuel Vadot *
5f126890aSEmmanuel Vadot * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
6f126890aSEmmanuel Vadot *		http://www.samsung.com
7f126890aSEmmanuel Vadot *
8f126890aSEmmanuel Vadot * Device tree source file for Insignal's Origen board which is based on
9f126890aSEmmanuel Vadot * Samsung's Exynos4412 SoC.
10f126890aSEmmanuel Vadot */
11f126890aSEmmanuel Vadot
12f126890aSEmmanuel Vadot/dts-v1/;
13f126890aSEmmanuel Vadot#include "exynos4412.dtsi"
14f126890aSEmmanuel Vadot#include <dt-bindings/clock/samsung,s2mps11.h>
15f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
16f126890aSEmmanuel Vadot#include <dt-bindings/input/input.h>
17f126890aSEmmanuel Vadot#include "exynos-mfc-reserved-memory.dtsi"
18f126890aSEmmanuel Vadot
19f126890aSEmmanuel Vadot/ {
20f126890aSEmmanuel Vadot	model = "Insignal Origen evaluation board based on Exynos4412";
21f126890aSEmmanuel Vadot	compatible = "insignal,origen4412", "samsung,exynos4412", "samsung,exynos4";
22f126890aSEmmanuel Vadot
23f126890aSEmmanuel Vadot	memory@40000000 {
24f126890aSEmmanuel Vadot		device_type = "memory";
25f126890aSEmmanuel Vadot		reg = <0x40000000 0x40000000>;
26f126890aSEmmanuel Vadot	};
27f126890aSEmmanuel Vadot
28f126890aSEmmanuel Vadot	aliases {
29f126890aSEmmanuel Vadot		mmc0 = &mshc_0;
30f126890aSEmmanuel Vadot		mmc1 = &sdhci_2;
31f126890aSEmmanuel Vadot	};
32f126890aSEmmanuel Vadot
33f126890aSEmmanuel Vadot	chosen {
34f126890aSEmmanuel Vadot		stdout-path = "serial2:115200n8";
35f126890aSEmmanuel Vadot	};
36f126890aSEmmanuel Vadot
37f126890aSEmmanuel Vadot	firmware@203f000 {
38f126890aSEmmanuel Vadot		compatible = "samsung,secure-firmware";
39f126890aSEmmanuel Vadot		reg = <0x0203f000 0x1000>;
40f126890aSEmmanuel Vadot	};
41f126890aSEmmanuel Vadot
42f126890aSEmmanuel Vadot	mmc_reg: regulator-0 {
43f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
44f126890aSEmmanuel Vadot		regulator-name = "VMEM_VDD_2.8V";
45f126890aSEmmanuel Vadot		regulator-min-microvolt = <2800000>;
46f126890aSEmmanuel Vadot		regulator-max-microvolt = <2800000>;
47f126890aSEmmanuel Vadot		gpio = <&gpx1 1 GPIO_ACTIVE_HIGH>;
48f126890aSEmmanuel Vadot		enable-active-high;
49f126890aSEmmanuel Vadot	};
50f126890aSEmmanuel Vadot
51f126890aSEmmanuel Vadot	display-timings {
52f126890aSEmmanuel Vadot		native-mode = <&timing0>;
53f126890aSEmmanuel Vadot		timing0: timing {
54f126890aSEmmanuel Vadot			clock-frequency = <47500000>;
55f126890aSEmmanuel Vadot			hactive = <1024>;
56f126890aSEmmanuel Vadot			vactive = <600>;
57f126890aSEmmanuel Vadot			hfront-porch = <64>;
58f126890aSEmmanuel Vadot			hback-porch = <16>;
59f126890aSEmmanuel Vadot			hsync-len = <48>;
60f126890aSEmmanuel Vadot			vback-porch = <64>;
61f126890aSEmmanuel Vadot			vfront-porch = <16>;
62f126890aSEmmanuel Vadot			vsync-len = <3>;
63f126890aSEmmanuel Vadot		};
64f126890aSEmmanuel Vadot	};
65f126890aSEmmanuel Vadot
66f126890aSEmmanuel Vadot	fixed-rate-clocks {
67f126890aSEmmanuel Vadot		xxti {
68f126890aSEmmanuel Vadot			compatible = "samsung,clock-xxti";
69f126890aSEmmanuel Vadot			clock-frequency = <0>;
70f126890aSEmmanuel Vadot		};
71f126890aSEmmanuel Vadot
72f126890aSEmmanuel Vadot		xusbxti {
73f126890aSEmmanuel Vadot			compatible = "samsung,clock-xusbxti";
74f126890aSEmmanuel Vadot			clock-frequency = <24000000>;
75f126890aSEmmanuel Vadot		};
76f126890aSEmmanuel Vadot	};
77f126890aSEmmanuel Vadot};
78f126890aSEmmanuel Vadot
79f126890aSEmmanuel Vadot&cpu0 {
80f126890aSEmmanuel Vadot	cpu0-supply = <&buck2_reg>;
81f126890aSEmmanuel Vadot};
82f126890aSEmmanuel Vadot
83f126890aSEmmanuel Vadot&cpu_thermal {
84f126890aSEmmanuel Vadot	cooling-maps {
85f126890aSEmmanuel Vadot		cooling_map0: map0 {
86f126890aSEmmanuel Vadot			/* Corresponds to 800MHz at freq_table */
87f126890aSEmmanuel Vadot			cooling-device = <&cpu0 7 7>, <&cpu1 7 7>,
88f126890aSEmmanuel Vadot					 <&cpu2 7 7>, <&cpu3 7 7>;
89f126890aSEmmanuel Vadot		};
90f126890aSEmmanuel Vadot		cooling_map1: map1 {
91f126890aSEmmanuel Vadot			/* Corresponds to 200MHz at freq_table */
92f126890aSEmmanuel Vadot			cooling-device = <&cpu0 13 13>, <&cpu1 13 13>,
93f126890aSEmmanuel Vadot					 <&cpu2 13 13>, <&cpu3 13 13>;
94f126890aSEmmanuel Vadot		};
95f126890aSEmmanuel Vadot	};
96f126890aSEmmanuel Vadot};
97f126890aSEmmanuel Vadot
98f126890aSEmmanuel Vadot&exynos_usbphy {
99f126890aSEmmanuel Vadot	status = "okay";
100f126890aSEmmanuel Vadot};
101f126890aSEmmanuel Vadot
102f126890aSEmmanuel Vadot&ehci {
103f126890aSEmmanuel Vadot	samsung,vbus-gpio = <&gpx3 5 GPIO_ACTIVE_HIGH>;
104f126890aSEmmanuel Vadot	status = "okay";
105f126890aSEmmanuel Vadot	phys = <&exynos_usbphy 2>, <&exynos_usbphy 3>;
106f126890aSEmmanuel Vadot	phy-names = "hsic0", "hsic1";
107f126890aSEmmanuel Vadot};
108f126890aSEmmanuel Vadot
109f126890aSEmmanuel Vadot&fimd {
110f126890aSEmmanuel Vadot	pinctrl-0 = <&lcd_clk &lcd_data24 &pwm1_out>;
111f126890aSEmmanuel Vadot	pinctrl-names = "default";
112f126890aSEmmanuel Vadot	status = "okay";
113f126890aSEmmanuel Vadot};
114f126890aSEmmanuel Vadot
115f126890aSEmmanuel Vadot&i2c_0 {
116f126890aSEmmanuel Vadot	#address-cells = <1>;
117f126890aSEmmanuel Vadot	#size-cells = <0>;
118f126890aSEmmanuel Vadot	samsung,i2c-sda-delay = <100>;
119f126890aSEmmanuel Vadot	samsung,i2c-max-bus-freq = <20000>;
120f126890aSEmmanuel Vadot	pinctrl-0 = <&i2c0_bus>;
121f126890aSEmmanuel Vadot	pinctrl-names = "default";
122f126890aSEmmanuel Vadot	status = "okay";
123f126890aSEmmanuel Vadot
124f126890aSEmmanuel Vadot	pmic@66 {
125f126890aSEmmanuel Vadot		compatible = "samsung,s5m8767-pmic";
126f126890aSEmmanuel Vadot		reg = <0x66>;
127f126890aSEmmanuel Vadot
128f126890aSEmmanuel Vadot		s5m8767,pmic-buck-default-dvs-idx = <3>;
129f126890aSEmmanuel Vadot
130f126890aSEmmanuel Vadot		s5m8767,pmic-buck-dvs-gpios = <&gpx2 3 GPIO_ACTIVE_HIGH>,
131f126890aSEmmanuel Vadot						 <&gpx2 4 GPIO_ACTIVE_HIGH>,
132f126890aSEmmanuel Vadot						 <&gpx2 5 GPIO_ACTIVE_HIGH>;
133f126890aSEmmanuel Vadot
134f126890aSEmmanuel Vadot		s5m8767,pmic-buck-ds-gpios = <&gpm3 5 GPIO_ACTIVE_HIGH>,
135f126890aSEmmanuel Vadot						<&gpm3 6 GPIO_ACTIVE_HIGH>,
136f126890aSEmmanuel Vadot						<&gpm3 7 GPIO_ACTIVE_HIGH>;
137f126890aSEmmanuel Vadot
138f126890aSEmmanuel Vadot		s5m8767,pmic-buck2-dvs-voltage = <1250000>, <1200000>,
139f126890aSEmmanuel Vadot						 <1200000>, <1200000>,
140f126890aSEmmanuel Vadot						 <1200000>, <1200000>,
141f126890aSEmmanuel Vadot						 <1200000>, <1200000>;
142f126890aSEmmanuel Vadot
143f126890aSEmmanuel Vadot		s5m8767,pmic-buck3-dvs-voltage = <1100000>, <1100000>,
144f126890aSEmmanuel Vadot						 <1100000>, <1100000>,
145f126890aSEmmanuel Vadot						 <1100000>, <1100000>,
146f126890aSEmmanuel Vadot						 <1100000>, <1100000>;
147f126890aSEmmanuel Vadot
148f126890aSEmmanuel Vadot		s5m8767,pmic-buck4-dvs-voltage = <1200000>, <1200000>,
149f126890aSEmmanuel Vadot						 <1200000>, <1200000>,
150f126890aSEmmanuel Vadot						 <1200000>, <1200000>,
151f126890aSEmmanuel Vadot						 <1200000>, <1200000>;
152f126890aSEmmanuel Vadot		wakeup-source;
153f126890aSEmmanuel Vadot
154f126890aSEmmanuel Vadot		s5m8767_osc: clocks {
155f126890aSEmmanuel Vadot			compatible = "samsung,s5m8767-clk";
156f126890aSEmmanuel Vadot			#clock-cells = <1>;
157f126890aSEmmanuel Vadot			clock-output-names = "s5m8767_ap", "s5m8767_cp",
158f126890aSEmmanuel Vadot					     "s5m8767_bt";
159f126890aSEmmanuel Vadot		};
160f126890aSEmmanuel Vadot
161f126890aSEmmanuel Vadot		regulators {
162f126890aSEmmanuel Vadot			ldo1_reg: LDO1 {
163f126890aSEmmanuel Vadot				regulator-name = "VDD_ALIVE";
164f126890aSEmmanuel Vadot				regulator-min-microvolt = <1100000>;
165f126890aSEmmanuel Vadot				regulator-max-microvolt = <1100000>;
166f126890aSEmmanuel Vadot				regulator-always-on;
167f126890aSEmmanuel Vadot				regulator-boot-on;
168f126890aSEmmanuel Vadot				op_mode = <1>; /* Normal Mode */
169f126890aSEmmanuel Vadot			};
170f126890aSEmmanuel Vadot
171f126890aSEmmanuel Vadot			ldo2_reg: LDO2 {
172f126890aSEmmanuel Vadot				regulator-name = "VDDQ_M12";
173f126890aSEmmanuel Vadot				regulator-min-microvolt = <1200000>;
174f126890aSEmmanuel Vadot				regulator-max-microvolt = <1200000>;
175f126890aSEmmanuel Vadot				regulator-always-on;
176f126890aSEmmanuel Vadot				op_mode = <1>; /* Normal Mode */
177f126890aSEmmanuel Vadot			};
178f126890aSEmmanuel Vadot
179f126890aSEmmanuel Vadot			ldo3_reg: LDO3 {
180f126890aSEmmanuel Vadot				regulator-name = "VDDIOAP_18";
181f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
182f126890aSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
183f126890aSEmmanuel Vadot				regulator-always-on;
184f126890aSEmmanuel Vadot				op_mode = <1>; /* Normal Mode */
185f126890aSEmmanuel Vadot			};
186f126890aSEmmanuel Vadot
187f126890aSEmmanuel Vadot			ldo4_reg: LDO4 {
188f126890aSEmmanuel Vadot				regulator-name = "VDDQ_PRE";
189f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
190f126890aSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
191f126890aSEmmanuel Vadot				regulator-always-on;
192f126890aSEmmanuel Vadot				op_mode = <1>; /* Normal Mode */
193f126890aSEmmanuel Vadot			};
194f126890aSEmmanuel Vadot
195f126890aSEmmanuel Vadot			ldo5_reg: LDO5 {
196f126890aSEmmanuel Vadot				regulator-name = "VDD18_2M";
197f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
198f126890aSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
199f126890aSEmmanuel Vadot				regulator-always-on;
200f126890aSEmmanuel Vadot				op_mode = <1>; /* Normal Mode */
201f126890aSEmmanuel Vadot			};
202f126890aSEmmanuel Vadot
203f126890aSEmmanuel Vadot			ldo6_reg: LDO6 {
204f126890aSEmmanuel Vadot				regulator-name = "VDD10_MPLL";
205f126890aSEmmanuel Vadot				regulator-min-microvolt = <1000000>;
206f126890aSEmmanuel Vadot				regulator-max-microvolt = <1000000>;
207f126890aSEmmanuel Vadot				regulator-always-on;
208f126890aSEmmanuel Vadot				op_mode = <1>; /* Normal Mode */
209f126890aSEmmanuel Vadot			};
210f126890aSEmmanuel Vadot
211f126890aSEmmanuel Vadot			ldo7_reg: LDO7 {
212f126890aSEmmanuel Vadot				regulator-name = "VDD10_XPLL";
213f126890aSEmmanuel Vadot				regulator-min-microvolt = <1000000>;
214f126890aSEmmanuel Vadot				regulator-max-microvolt = <1000000>;
215f126890aSEmmanuel Vadot				regulator-always-on;
216f126890aSEmmanuel Vadot				op_mode = <1>; /* Normal Mode */
217f126890aSEmmanuel Vadot			};
218f126890aSEmmanuel Vadot
219f126890aSEmmanuel Vadot			ldo8_reg: LDO8 {
220f126890aSEmmanuel Vadot				regulator-name = "VDD10_MIPI";
221f126890aSEmmanuel Vadot				regulator-min-microvolt = <1000000>;
222f126890aSEmmanuel Vadot				regulator-max-microvolt = <1000000>;
223f126890aSEmmanuel Vadot				regulator-always-on;
224f126890aSEmmanuel Vadot				op_mode = <1>; /* Normal Mode */
225f126890aSEmmanuel Vadot			};
226f126890aSEmmanuel Vadot
227f126890aSEmmanuel Vadot			ldo9_reg: LDO9 {
228f126890aSEmmanuel Vadot				regulator-name = "VDD33_LCD";
229f126890aSEmmanuel Vadot				regulator-min-microvolt = <3300000>;
230f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
231f126890aSEmmanuel Vadot				regulator-always-on;
232f126890aSEmmanuel Vadot				op_mode = <1>; /* Normal Mode */
233f126890aSEmmanuel Vadot			};
234f126890aSEmmanuel Vadot
235f126890aSEmmanuel Vadot			ldo10_reg: LDO10 {
236f126890aSEmmanuel Vadot				regulator-name = "VDD18_MIPI";
237f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
238f126890aSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
239f126890aSEmmanuel Vadot				regulator-always-on;
240f126890aSEmmanuel Vadot				op_mode = <1>; /* Normal Mode */
241f126890aSEmmanuel Vadot			};
242f126890aSEmmanuel Vadot
243f126890aSEmmanuel Vadot			ldo11_reg: LDO11 {
244f126890aSEmmanuel Vadot				regulator-name = "VDD18_ABB1";
245f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
246f126890aSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
247f126890aSEmmanuel Vadot				regulator-always-on;
248f126890aSEmmanuel Vadot				op_mode = <1>; /* Normal Mode */
249f126890aSEmmanuel Vadot			};
250f126890aSEmmanuel Vadot
251f126890aSEmmanuel Vadot			ldo12_reg: LDO12 {
252f126890aSEmmanuel Vadot				regulator-name = "VDD33_UOTG";
253f126890aSEmmanuel Vadot				regulator-min-microvolt = <3300000>;
254f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
255f126890aSEmmanuel Vadot				regulator-always-on;
256f126890aSEmmanuel Vadot				op_mode = <1>; /* Normal Mode */
257f126890aSEmmanuel Vadot			};
258f126890aSEmmanuel Vadot
259f126890aSEmmanuel Vadot			ldo13_reg: LDO13 {
260f126890aSEmmanuel Vadot				regulator-name = "VDDIOPERI_18";
261f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
262f126890aSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
263f126890aSEmmanuel Vadot				regulator-always-on;
264f126890aSEmmanuel Vadot				op_mode = <1>; /* Normal Mode */
265f126890aSEmmanuel Vadot			};
266f126890aSEmmanuel Vadot
267f126890aSEmmanuel Vadot			ldo14_reg: LDO14 {
268f126890aSEmmanuel Vadot				regulator-name = "VDD18_ABB02";
269f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
270f126890aSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
271f126890aSEmmanuel Vadot				regulator-always-on;
272f126890aSEmmanuel Vadot				op_mode = <1>; /* Normal Mode */
273f126890aSEmmanuel Vadot			};
274f126890aSEmmanuel Vadot
275f126890aSEmmanuel Vadot			ldo15_reg: LDO15 {
276f126890aSEmmanuel Vadot				regulator-name = "VDD10_USH";
277f126890aSEmmanuel Vadot				regulator-min-microvolt = <1000000>;
278f126890aSEmmanuel Vadot				regulator-max-microvolt = <1000000>;
279f126890aSEmmanuel Vadot				regulator-always-on;
280f126890aSEmmanuel Vadot				op_mode = <1>; /* Normal Mode */
281f126890aSEmmanuel Vadot			};
282f126890aSEmmanuel Vadot
283f126890aSEmmanuel Vadot			ldo16_reg: LDO16 {
284f126890aSEmmanuel Vadot				regulator-name = "VDD18_HSIC";
285f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
286f126890aSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
287f126890aSEmmanuel Vadot				regulator-always-on;
288f126890aSEmmanuel Vadot				op_mode = <1>; /* Normal Mode */
289f126890aSEmmanuel Vadot			};
290f126890aSEmmanuel Vadot
291f126890aSEmmanuel Vadot			ldo17_reg: LDO17 {
292f126890aSEmmanuel Vadot				regulator-name = "VDDIOAP_MMC012_28";
293f126890aSEmmanuel Vadot				regulator-min-microvolt = <2800000>;
294f126890aSEmmanuel Vadot				regulator-max-microvolt = <2800000>;
295f126890aSEmmanuel Vadot				regulator-always-on;
296f126890aSEmmanuel Vadot				op_mode = <1>; /* Normal Mode */
297f126890aSEmmanuel Vadot			};
298f126890aSEmmanuel Vadot
299f126890aSEmmanuel Vadot			ldo18_reg: LDO18 {
300f126890aSEmmanuel Vadot				regulator-name = "VDDIOPERI_28";
301f126890aSEmmanuel Vadot				regulator-min-microvolt = <2800000>;
302f126890aSEmmanuel Vadot				regulator-max-microvolt = <2800000>;
303f126890aSEmmanuel Vadot				regulator-always-on;
304f126890aSEmmanuel Vadot				op_mode = <1>; /* Normal Mode */
305f126890aSEmmanuel Vadot			};
306f126890aSEmmanuel Vadot
307f126890aSEmmanuel Vadot			ldo19_reg: LDO19 {
308f126890aSEmmanuel Vadot				regulator-name = "DVDD25";
309f126890aSEmmanuel Vadot				regulator-min-microvolt = <2500000>;
310f126890aSEmmanuel Vadot				regulator-max-microvolt = <2500000>;
311f126890aSEmmanuel Vadot				regulator-always-on;
312f126890aSEmmanuel Vadot				op_mode = <1>; /* Normal Mode */
313f126890aSEmmanuel Vadot			};
314f126890aSEmmanuel Vadot
315f126890aSEmmanuel Vadot			ldo20_reg: LDO20 {
316f126890aSEmmanuel Vadot				regulator-name = "VDD28_CAM";
317f126890aSEmmanuel Vadot				regulator-min-microvolt = <2800000>;
318f126890aSEmmanuel Vadot				regulator-max-microvolt = <2800000>;
319f126890aSEmmanuel Vadot				regulator-always-on;
320f126890aSEmmanuel Vadot				op_mode = <1>; /* Normal Mode */
321f126890aSEmmanuel Vadot			};
322f126890aSEmmanuel Vadot
323f126890aSEmmanuel Vadot			ldo21_reg: LDO21 {
324f126890aSEmmanuel Vadot				regulator-name = "VDD28_AF";
325f126890aSEmmanuel Vadot				regulator-min-microvolt = <2800000>;
326f126890aSEmmanuel Vadot				regulator-max-microvolt = <2800000>;
327f126890aSEmmanuel Vadot				regulator-always-on;
328f126890aSEmmanuel Vadot				op_mode = <1>; /* Normal Mode */
329f126890aSEmmanuel Vadot			};
330f126890aSEmmanuel Vadot
331f126890aSEmmanuel Vadot			ldo22_reg: LDO22 {
332f126890aSEmmanuel Vadot				regulator-name = "VDDA28_2M";
333f126890aSEmmanuel Vadot				regulator-min-microvolt = <2800000>;
334f126890aSEmmanuel Vadot				regulator-max-microvolt = <2800000>;
335f126890aSEmmanuel Vadot				regulator-always-on;
336f126890aSEmmanuel Vadot				op_mode = <1>; /* Normal Mode */
337f126890aSEmmanuel Vadot			};
338f126890aSEmmanuel Vadot
339f126890aSEmmanuel Vadot			ldo23_reg: LDO23 {
340f126890aSEmmanuel Vadot				regulator-name = "VDD28_TF";
341f126890aSEmmanuel Vadot				regulator-min-microvolt = <2800000>;
342f126890aSEmmanuel Vadot				regulator-max-microvolt = <2800000>;
343f126890aSEmmanuel Vadot				regulator-always-on;
344f126890aSEmmanuel Vadot				op_mode = <1>; /* Normal Mode */
345f126890aSEmmanuel Vadot			};
346f126890aSEmmanuel Vadot
347f126890aSEmmanuel Vadot			ldo24_reg: LDO24 {
348f126890aSEmmanuel Vadot				regulator-name = "VDD33_A31";
349f126890aSEmmanuel Vadot				regulator-min-microvolt = <3300000>;
350f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
351f126890aSEmmanuel Vadot				regulator-always-on;
352f126890aSEmmanuel Vadot				op_mode = <1>; /* Normal Mode */
353f126890aSEmmanuel Vadot			};
354f126890aSEmmanuel Vadot
355f126890aSEmmanuel Vadot			ldo25_reg: LDO25 {
356f126890aSEmmanuel Vadot				regulator-name = "VDD18_CAM";
357f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
358f126890aSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
359f126890aSEmmanuel Vadot				regulator-always-on;
360f126890aSEmmanuel Vadot				op_mode = <1>; /* Normal Mode */
361f126890aSEmmanuel Vadot			};
362f126890aSEmmanuel Vadot
363f126890aSEmmanuel Vadot			ldo26_reg: LDO26 {
364f126890aSEmmanuel Vadot				regulator-name = "VDD18_A31";
365f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
366f126890aSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
367f126890aSEmmanuel Vadot				regulator-always-on;
368f126890aSEmmanuel Vadot				op_mode = <1>; /* Normal Mode */
369f126890aSEmmanuel Vadot			};
370f126890aSEmmanuel Vadot
371f126890aSEmmanuel Vadot			ldo27_reg: LDO27 {
372f126890aSEmmanuel Vadot				regulator-name = "GPS_1V8";
373f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
374f126890aSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
375f126890aSEmmanuel Vadot				regulator-always-on;
376f126890aSEmmanuel Vadot				op_mode = <1>; /* Normal Mode */
377f126890aSEmmanuel Vadot			};
378f126890aSEmmanuel Vadot
379f126890aSEmmanuel Vadot			ldo28_reg: LDO28 {
380f126890aSEmmanuel Vadot				regulator-name = "DVDD12";
381f126890aSEmmanuel Vadot				regulator-min-microvolt = <1200000>;
382f126890aSEmmanuel Vadot				regulator-max-microvolt = <1200000>;
383f126890aSEmmanuel Vadot				regulator-always-on;
384f126890aSEmmanuel Vadot				op_mode = <1>; /* Normal Mode */
385f126890aSEmmanuel Vadot			};
386f126890aSEmmanuel Vadot
387f126890aSEmmanuel Vadot			buck1_reg: BUCK1 {
388f126890aSEmmanuel Vadot				regulator-name = "VDD_MIF";
389f126890aSEmmanuel Vadot				regulator-min-microvolt = <950000>;
390f126890aSEmmanuel Vadot				regulator-max-microvolt = <1100000>;
391f126890aSEmmanuel Vadot				regulator-always-on;
392f126890aSEmmanuel Vadot				regulator-boot-on;
393f126890aSEmmanuel Vadot				op_mode = <1>; /* Normal Mode */
394f126890aSEmmanuel Vadot			};
395f126890aSEmmanuel Vadot
396f126890aSEmmanuel Vadot			buck2_reg: BUCK2 {
397f126890aSEmmanuel Vadot				regulator-name = "VDD_ARM";
398f126890aSEmmanuel Vadot				regulator-min-microvolt = <900000>;
399f126890aSEmmanuel Vadot				regulator-max-microvolt = <1350000>;
400f126890aSEmmanuel Vadot				regulator-always-on;
401f126890aSEmmanuel Vadot				regulator-boot-on;
402f126890aSEmmanuel Vadot				op_mode = <1>; /* Normal Mode */
403f126890aSEmmanuel Vadot			};
404f126890aSEmmanuel Vadot
405f126890aSEmmanuel Vadot			buck3_reg: BUCK3 {
406f126890aSEmmanuel Vadot				regulator-name = "VDD_INT";
407f126890aSEmmanuel Vadot				regulator-min-microvolt = <900000>;
408f126890aSEmmanuel Vadot				regulator-max-microvolt = <1200000>;
409f126890aSEmmanuel Vadot				regulator-always-on;
410f126890aSEmmanuel Vadot				regulator-boot-on;
411f126890aSEmmanuel Vadot				op_mode = <1>; /* Normal Mode */
412f126890aSEmmanuel Vadot			};
413f126890aSEmmanuel Vadot
414f126890aSEmmanuel Vadot			buck4_reg: BUCK4 {
415f126890aSEmmanuel Vadot				regulator-name = "VDD_G3D";
416f126890aSEmmanuel Vadot				regulator-min-microvolt = <750000>;
417f126890aSEmmanuel Vadot				regulator-max-microvolt = <1500000>;
418f126890aSEmmanuel Vadot				regulator-always-on;
419f126890aSEmmanuel Vadot				regulator-boot-on;
420f126890aSEmmanuel Vadot				op_mode = <1>; /* Normal Mode */
421f126890aSEmmanuel Vadot			};
422f126890aSEmmanuel Vadot
423f126890aSEmmanuel Vadot			buck5_reg: BUCK5 {
424f126890aSEmmanuel Vadot				regulator-name = "VDD_M12";
425f126890aSEmmanuel Vadot				regulator-min-microvolt = <750000>;
426f126890aSEmmanuel Vadot				regulator-max-microvolt = <1500000>;
427f126890aSEmmanuel Vadot				regulator-always-on;
428f126890aSEmmanuel Vadot				regulator-boot-on;
429f126890aSEmmanuel Vadot				op_mode = <1>; /* Normal Mode */
430f126890aSEmmanuel Vadot			};
431f126890aSEmmanuel Vadot
432f126890aSEmmanuel Vadot			buck6_reg: BUCK6 {
433f126890aSEmmanuel Vadot				regulator-name = "VDD12_5M";
434f126890aSEmmanuel Vadot				regulator-min-microvolt = <750000>;
435f126890aSEmmanuel Vadot				regulator-max-microvolt = <1500000>;
436f126890aSEmmanuel Vadot				regulator-always-on;
437f126890aSEmmanuel Vadot				regulator-boot-on;
438f126890aSEmmanuel Vadot				op_mode = <1>; /* Normal Mode */
439f126890aSEmmanuel Vadot			};
440f126890aSEmmanuel Vadot
441f126890aSEmmanuel Vadot			buck9_reg: BUCK9 {
442f126890aSEmmanuel Vadot				regulator-name = "VDDF28_EMMC";
443f126890aSEmmanuel Vadot				regulator-min-microvolt = <750000>;
444f126890aSEmmanuel Vadot				regulator-max-microvolt = <3000000>;
445f126890aSEmmanuel Vadot				regulator-always-on;
446f126890aSEmmanuel Vadot				regulator-boot-on;
447f126890aSEmmanuel Vadot				op_mode = <1>; /* Normal Mode */
448f126890aSEmmanuel Vadot			};
449f126890aSEmmanuel Vadot		};
450f126890aSEmmanuel Vadot	};
451f126890aSEmmanuel Vadot};
452f126890aSEmmanuel Vadot
453f126890aSEmmanuel Vadot&keypad {
454f126890aSEmmanuel Vadot	samsung,keypad-num-rows = <3>;
455f126890aSEmmanuel Vadot	samsung,keypad-num-columns = <2>;
456*7d0873ebSEmmanuel Vadot	linux,input-no-autorepeat;
457f126890aSEmmanuel Vadot	wakeup-source;
458f126890aSEmmanuel Vadot	pinctrl-0 = <&keypad_rows &keypad_cols>;
459f126890aSEmmanuel Vadot	pinctrl-names = "default";
460f126890aSEmmanuel Vadot	status = "okay";
461f126890aSEmmanuel Vadot
462f126890aSEmmanuel Vadot	key-home {
463f126890aSEmmanuel Vadot		keypad,row = <0>;
464f126890aSEmmanuel Vadot		keypad,column = <0>;
465f126890aSEmmanuel Vadot		linux,code = <KEY_HOME>;
466f126890aSEmmanuel Vadot	};
467f126890aSEmmanuel Vadot
468f126890aSEmmanuel Vadot	key-down {
469f126890aSEmmanuel Vadot		keypad,row = <0>;
470f126890aSEmmanuel Vadot		keypad,column = <1>;
471f126890aSEmmanuel Vadot		linux,code = <KEY_DOWN>;
472f126890aSEmmanuel Vadot	};
473f126890aSEmmanuel Vadot
474f126890aSEmmanuel Vadot	key-up {
475f126890aSEmmanuel Vadot		keypad,row = <1>;
476f126890aSEmmanuel Vadot		keypad,column = <0>;
477f126890aSEmmanuel Vadot		linux,code = <KEY_UP>;
478f126890aSEmmanuel Vadot	};
479f126890aSEmmanuel Vadot
480f126890aSEmmanuel Vadot	key-menu {
481f126890aSEmmanuel Vadot		keypad,row = <1>;
482f126890aSEmmanuel Vadot		keypad,column = <1>;
483f126890aSEmmanuel Vadot		linux,code = <KEY_MENU>;
484f126890aSEmmanuel Vadot	};
485f126890aSEmmanuel Vadot
486f126890aSEmmanuel Vadot	key-back {
487f126890aSEmmanuel Vadot		keypad,row = <2>;
488f126890aSEmmanuel Vadot		keypad,column = <0>;
489f126890aSEmmanuel Vadot		linux,code = <KEY_BACK>;
490f126890aSEmmanuel Vadot	};
491f126890aSEmmanuel Vadot
492f126890aSEmmanuel Vadot	key-enter {
493f126890aSEmmanuel Vadot		keypad,row = <2>;
494f126890aSEmmanuel Vadot		keypad,column = <1>;
495f126890aSEmmanuel Vadot		linux,code = <KEY_ENTER>;
496f126890aSEmmanuel Vadot	};
497f126890aSEmmanuel Vadot};
498f126890aSEmmanuel Vadot
499f126890aSEmmanuel Vadot&mshc_0 {
500f126890aSEmmanuel Vadot	pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>;
501f126890aSEmmanuel Vadot	pinctrl-names = "default";
502f126890aSEmmanuel Vadot	status = "okay";
503f126890aSEmmanuel Vadot
504f126890aSEmmanuel Vadot	broken-cd;
505f126890aSEmmanuel Vadot	card-detect-delay = <200>;
506f126890aSEmmanuel Vadot	mmc-ddr-1_8v;
507f126890aSEmmanuel Vadot	samsung,dw-mshc-ciu-div = <3>;
508f126890aSEmmanuel Vadot	samsung,dw-mshc-sdr-timing = <2 3>;
509f126890aSEmmanuel Vadot	samsung,dw-mshc-ddr-timing = <1 2>;
510f126890aSEmmanuel Vadot	bus-width = <8>;
511f126890aSEmmanuel Vadot	cap-mmc-highspeed;
512f126890aSEmmanuel Vadot};
513f126890aSEmmanuel Vadot
514f126890aSEmmanuel Vadot&pinctrl_1 {
515f126890aSEmmanuel Vadot	keypad_rows: keypad-rows-pins {
516f126890aSEmmanuel Vadot		samsung,pins = "gpx2-0", "gpx2-1", "gpx2-2";
517f126890aSEmmanuel Vadot		samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
518f126890aSEmmanuel Vadot		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
519f126890aSEmmanuel Vadot		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
520f126890aSEmmanuel Vadot	};
521f126890aSEmmanuel Vadot
522f126890aSEmmanuel Vadot	keypad_cols: keypad-cols-pins {
523f126890aSEmmanuel Vadot		samsung,pins = "gpx1-0", "gpx1-1";
524f126890aSEmmanuel Vadot		samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
525f126890aSEmmanuel Vadot		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
526f126890aSEmmanuel Vadot		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
527f126890aSEmmanuel Vadot	};
528f126890aSEmmanuel Vadot};
529f126890aSEmmanuel Vadot
530f126890aSEmmanuel Vadot&rtc {
531f126890aSEmmanuel Vadot	status = "okay";
532f126890aSEmmanuel Vadot	clocks = <&clock CLK_RTC>, <&s5m8767_osc S2MPS11_CLK_AP>;
533f126890aSEmmanuel Vadot	clock-names = "rtc", "rtc_src";
534f126890aSEmmanuel Vadot};
535f126890aSEmmanuel Vadot
536f126890aSEmmanuel Vadot&sdhci_2 {
537f126890aSEmmanuel Vadot	bus-width = <4>;
538f126890aSEmmanuel Vadot	pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4 &sd2_cd>;
539f126890aSEmmanuel Vadot	pinctrl-names = "default";
540f126890aSEmmanuel Vadot	vmmc-supply = <&mmc_reg>;
541f126890aSEmmanuel Vadot	status = "okay";
542f126890aSEmmanuel Vadot};
543f126890aSEmmanuel Vadot
544f126890aSEmmanuel Vadot&serial_0 {
545f126890aSEmmanuel Vadot	status = "okay";
546f126890aSEmmanuel Vadot};
547f126890aSEmmanuel Vadot
548f126890aSEmmanuel Vadot&serial_1 {
549f126890aSEmmanuel Vadot	status = "okay";
550f126890aSEmmanuel Vadot};
551f126890aSEmmanuel Vadot
552f126890aSEmmanuel Vadot&serial_2 {
553f126890aSEmmanuel Vadot	status = "okay";
554f126890aSEmmanuel Vadot};
555f126890aSEmmanuel Vadot
556f126890aSEmmanuel Vadot&serial_3 {
557f126890aSEmmanuel Vadot	status = "okay";
558f126890aSEmmanuel Vadot};
559