xref: /freebsd/sys/contrib/device-tree/src/arm/samsung/exynos5420-arndale-octa.dts (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * Samsung's Exynos5420 based Arndale Octa board device tree source
4*f126890aSEmmanuel Vadot *
5*f126890aSEmmanuel Vadot * Copyright (c) 2013 Samsung Electronics Co., Ltd.
6*f126890aSEmmanuel Vadot *		http://www.samsung.com
7*f126890aSEmmanuel Vadot */
8*f126890aSEmmanuel Vadot
9*f126890aSEmmanuel Vadot/dts-v1/;
10*f126890aSEmmanuel Vadot#include "exynos5420.dtsi"
11*f126890aSEmmanuel Vadot#include "exynos5420-cpus.dtsi"
12*f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
13*f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/irq.h>
14*f126890aSEmmanuel Vadot#include <dt-bindings/input/input.h>
15*f126890aSEmmanuel Vadot#include <dt-bindings/clock/samsung,s2mps11.h>
16*f126890aSEmmanuel Vadot
17*f126890aSEmmanuel Vadot/ {
18*f126890aSEmmanuel Vadot	model = "Insignal Arndale Octa evaluation board based on Exynos5420";
19*f126890aSEmmanuel Vadot	compatible = "insignal,arndale-octa", "samsung,exynos5420", "samsung,exynos5";
20*f126890aSEmmanuel Vadot
21*f126890aSEmmanuel Vadot	memory@20000000 {
22*f126890aSEmmanuel Vadot		device_type = "memory";
23*f126890aSEmmanuel Vadot		reg = <0x20000000 0x80000000>;
24*f126890aSEmmanuel Vadot	};
25*f126890aSEmmanuel Vadot
26*f126890aSEmmanuel Vadot	aliases {
27*f126890aSEmmanuel Vadot		mmc0 = &mmc_0;
28*f126890aSEmmanuel Vadot		mmc1 = &mmc_2;
29*f126890aSEmmanuel Vadot	};
30*f126890aSEmmanuel Vadot
31*f126890aSEmmanuel Vadot	chosen {
32*f126890aSEmmanuel Vadot		stdout-path = "serial3:115200n8";
33*f126890aSEmmanuel Vadot	};
34*f126890aSEmmanuel Vadot
35*f126890aSEmmanuel Vadot	firmware@2073000 {
36*f126890aSEmmanuel Vadot		compatible = "samsung,secure-firmware";
37*f126890aSEmmanuel Vadot		reg = <0x02073000 0x1000>;
38*f126890aSEmmanuel Vadot	};
39*f126890aSEmmanuel Vadot
40*f126890aSEmmanuel Vadot	fixed-rate-clocks {
41*f126890aSEmmanuel Vadot		oscclk {
42*f126890aSEmmanuel Vadot			compatible = "samsung,exynos5420-oscclk";
43*f126890aSEmmanuel Vadot			clock-frequency = <24000000>;
44*f126890aSEmmanuel Vadot		};
45*f126890aSEmmanuel Vadot	};
46*f126890aSEmmanuel Vadot
47*f126890aSEmmanuel Vadot	gpio-keys {
48*f126890aSEmmanuel Vadot		compatible = "gpio-keys";
49*f126890aSEmmanuel Vadot
50*f126890aSEmmanuel Vadot		key-wakeup {
51*f126890aSEmmanuel Vadot			label = "SW-TACT1";
52*f126890aSEmmanuel Vadot			gpios = <&gpx2 7 GPIO_ACTIVE_LOW>;
53*f126890aSEmmanuel Vadot			linux,code = <KEY_WAKEUP>;
54*f126890aSEmmanuel Vadot			wakeup-source;
55*f126890aSEmmanuel Vadot		};
56*f126890aSEmmanuel Vadot	};
57*f126890aSEmmanuel Vadot};
58*f126890aSEmmanuel Vadot
59*f126890aSEmmanuel Vadot&adc {
60*f126890aSEmmanuel Vadot	vdd-supply = <&ldo4_reg>;
61*f126890aSEmmanuel Vadot	status = "okay";
62*f126890aSEmmanuel Vadot};
63*f126890aSEmmanuel Vadot
64*f126890aSEmmanuel Vadot&cci {
65*f126890aSEmmanuel Vadot	status = "disabled";
66*f126890aSEmmanuel Vadot};
67*f126890aSEmmanuel Vadot
68*f126890aSEmmanuel Vadot&cpu0 {
69*f126890aSEmmanuel Vadot	cpu-supply = <&buck2_reg>;
70*f126890aSEmmanuel Vadot};
71*f126890aSEmmanuel Vadot
72*f126890aSEmmanuel Vadot&cpu4 {
73*f126890aSEmmanuel Vadot	cpu-supply = <&buck6_reg>;
74*f126890aSEmmanuel Vadot};
75*f126890aSEmmanuel Vadot
76*f126890aSEmmanuel Vadot&cpu0_thermal {
77*f126890aSEmmanuel Vadot	trips {
78*f126890aSEmmanuel Vadot		cpu0_alert0: cpu-alert-0 {
79*f126890aSEmmanuel Vadot			temperature = <60000>; /* millicelsius */
80*f126890aSEmmanuel Vadot			hysteresis = <5000>; /* millicelsius */
81*f126890aSEmmanuel Vadot			type = "passive";
82*f126890aSEmmanuel Vadot		};
83*f126890aSEmmanuel Vadot		cpu0_alert1: cpu-alert-1 {
84*f126890aSEmmanuel Vadot			temperature = <80000>; /* millicelsius */
85*f126890aSEmmanuel Vadot			hysteresis = <10000>; /* millicelsius */
86*f126890aSEmmanuel Vadot			type = "passive";
87*f126890aSEmmanuel Vadot		};
88*f126890aSEmmanuel Vadot		cpu0_alert2: cpu-alert-2 {
89*f126890aSEmmanuel Vadot			temperature = <110000>; /* millicelsius */
90*f126890aSEmmanuel Vadot			hysteresis = <10000>; /* millicelsius */
91*f126890aSEmmanuel Vadot			type = "passive";
92*f126890aSEmmanuel Vadot		};
93*f126890aSEmmanuel Vadot		cpu0_crit0: cpu-crit-0 {
94*f126890aSEmmanuel Vadot			temperature = <120000>; /* millicelsius */
95*f126890aSEmmanuel Vadot			hysteresis = <0>; /* millicelsius */
96*f126890aSEmmanuel Vadot			type = "critical";
97*f126890aSEmmanuel Vadot		};
98*f126890aSEmmanuel Vadot	};
99*f126890aSEmmanuel Vadot
100*f126890aSEmmanuel Vadot	cooling-maps {
101*f126890aSEmmanuel Vadot		/*
102*f126890aSEmmanuel Vadot		 * Reduce the CPU speed by 2 steps, down to: 1600 MHz
103*f126890aSEmmanuel Vadot		 * and 1100 MHz.
104*f126890aSEmmanuel Vadot		 */
105*f126890aSEmmanuel Vadot		map0 {
106*f126890aSEmmanuel Vadot			trip = <&cpu0_alert0>;
107*f126890aSEmmanuel Vadot			cooling-device = <&cpu0 0 2>,
108*f126890aSEmmanuel Vadot					 <&cpu1 0 2>,
109*f126890aSEmmanuel Vadot					 <&cpu2 0 2>,
110*f126890aSEmmanuel Vadot					 <&cpu3 0 2>,
111*f126890aSEmmanuel Vadot					 <&cpu4 0 2>,
112*f126890aSEmmanuel Vadot					 <&cpu5 0 2>,
113*f126890aSEmmanuel Vadot					 <&cpu6 0 2>,
114*f126890aSEmmanuel Vadot					 <&cpu7 0 2>;
115*f126890aSEmmanuel Vadot		};
116*f126890aSEmmanuel Vadot
117*f126890aSEmmanuel Vadot		/*
118*f126890aSEmmanuel Vadot		 * Reduce the CPU speed down to 1200 MHz big (6 steps)
119*f126890aSEmmanuel Vadot		 * and 800 MHz LITTLE (5 steps).
120*f126890aSEmmanuel Vadot		 */
121*f126890aSEmmanuel Vadot		map1 {
122*f126890aSEmmanuel Vadot			trip = <&cpu0_alert1>;
123*f126890aSEmmanuel Vadot			cooling-device = <&cpu0 3 6>,
124*f126890aSEmmanuel Vadot					 <&cpu1 3 6>,
125*f126890aSEmmanuel Vadot					 <&cpu2 3 6>,
126*f126890aSEmmanuel Vadot					 <&cpu3 3 6>,
127*f126890aSEmmanuel Vadot					 <&cpu4 3 5>,
128*f126890aSEmmanuel Vadot					 <&cpu5 3 5>,
129*f126890aSEmmanuel Vadot					 <&cpu6 3 5>,
130*f126890aSEmmanuel Vadot					 <&cpu7 3 5>;
131*f126890aSEmmanuel Vadot		};
132*f126890aSEmmanuel Vadot
133*f126890aSEmmanuel Vadot		/*
134*f126890aSEmmanuel Vadot		 * Reduce the CPU speed as much as possible, down to 700 MHz
135*f126890aSEmmanuel Vadot		 * big (11 steps) and 600 MHz LITTLE (7 steps).
136*f126890aSEmmanuel Vadot		 */
137*f126890aSEmmanuel Vadot		map2 {
138*f126890aSEmmanuel Vadot			trip = <&cpu0_alert2>;
139*f126890aSEmmanuel Vadot			cooling-device = <&cpu0 6 11>,
140*f126890aSEmmanuel Vadot					 <&cpu1 6 11>,
141*f126890aSEmmanuel Vadot					 <&cpu2 6 11>,
142*f126890aSEmmanuel Vadot					 <&cpu3 6 11>,
143*f126890aSEmmanuel Vadot					 <&cpu4 5 7>,
144*f126890aSEmmanuel Vadot					 <&cpu5 5 7>,
145*f126890aSEmmanuel Vadot					 <&cpu6 5 7>,
146*f126890aSEmmanuel Vadot					 <&cpu7 5 7>;
147*f126890aSEmmanuel Vadot		};
148*f126890aSEmmanuel Vadot	};
149*f126890aSEmmanuel Vadot};
150*f126890aSEmmanuel Vadot
151*f126890aSEmmanuel Vadot&cpu1_thermal {
152*f126890aSEmmanuel Vadot	trips {
153*f126890aSEmmanuel Vadot		cpu1_alert0: cpu-alert-0 {
154*f126890aSEmmanuel Vadot			temperature = <60000>; /* millicelsius */
155*f126890aSEmmanuel Vadot			hysteresis = <5000>; /* millicelsius */
156*f126890aSEmmanuel Vadot			type = "passive";
157*f126890aSEmmanuel Vadot		};
158*f126890aSEmmanuel Vadot		cpu1_alert1: cpu-alert-1 {
159*f126890aSEmmanuel Vadot			temperature = <80000>; /* millicelsius */
160*f126890aSEmmanuel Vadot			hysteresis = <10000>; /* millicelsius */
161*f126890aSEmmanuel Vadot			type = "passive";
162*f126890aSEmmanuel Vadot		};
163*f126890aSEmmanuel Vadot		cpu1_alert2: cpu-alert-2 {
164*f126890aSEmmanuel Vadot			temperature = <110000>; /* millicelsius */
165*f126890aSEmmanuel Vadot			hysteresis = <10000>; /* millicelsius */
166*f126890aSEmmanuel Vadot			type = "passive";
167*f126890aSEmmanuel Vadot		};
168*f126890aSEmmanuel Vadot		cpu1_crit0: cpu-crit-0 {
169*f126890aSEmmanuel Vadot			temperature = <120000>; /* millicelsius */
170*f126890aSEmmanuel Vadot			hysteresis = <0>; /* millicelsius */
171*f126890aSEmmanuel Vadot			type = "critical";
172*f126890aSEmmanuel Vadot		};
173*f126890aSEmmanuel Vadot	};
174*f126890aSEmmanuel Vadot
175*f126890aSEmmanuel Vadot	cooling-maps {
176*f126890aSEmmanuel Vadot		map0 {
177*f126890aSEmmanuel Vadot			trip = <&cpu1_alert0>;
178*f126890aSEmmanuel Vadot			cooling-device = <&cpu0 0 2>,
179*f126890aSEmmanuel Vadot					 <&cpu1 0 2>,
180*f126890aSEmmanuel Vadot					 <&cpu2 0 2>,
181*f126890aSEmmanuel Vadot					 <&cpu3 0 2>,
182*f126890aSEmmanuel Vadot					 <&cpu4 0 2>,
183*f126890aSEmmanuel Vadot					 <&cpu5 0 2>,
184*f126890aSEmmanuel Vadot					 <&cpu6 0 2>,
185*f126890aSEmmanuel Vadot					 <&cpu7 0 2>;
186*f126890aSEmmanuel Vadot		};
187*f126890aSEmmanuel Vadot
188*f126890aSEmmanuel Vadot		map1 {
189*f126890aSEmmanuel Vadot			trip = <&cpu1_alert1>;
190*f126890aSEmmanuel Vadot			cooling-device = <&cpu0 3 6>,
191*f126890aSEmmanuel Vadot					 <&cpu1 3 6>,
192*f126890aSEmmanuel Vadot					 <&cpu2 3 6>,
193*f126890aSEmmanuel Vadot					 <&cpu3 3 6>,
194*f126890aSEmmanuel Vadot					 <&cpu4 3 5>,
195*f126890aSEmmanuel Vadot					 <&cpu5 3 5>,
196*f126890aSEmmanuel Vadot					 <&cpu6 3 5>,
197*f126890aSEmmanuel Vadot					 <&cpu7 3 5>;
198*f126890aSEmmanuel Vadot		};
199*f126890aSEmmanuel Vadot
200*f126890aSEmmanuel Vadot		map2 {
201*f126890aSEmmanuel Vadot			trip = <&cpu1_alert2>;
202*f126890aSEmmanuel Vadot			cooling-device = <&cpu0 6 11>,
203*f126890aSEmmanuel Vadot					 <&cpu1 6 11>,
204*f126890aSEmmanuel Vadot					 <&cpu2 6 11>,
205*f126890aSEmmanuel Vadot					 <&cpu3 6 11>,
206*f126890aSEmmanuel Vadot					 <&cpu4 5 7>,
207*f126890aSEmmanuel Vadot					 <&cpu5 5 7>,
208*f126890aSEmmanuel Vadot					 <&cpu6 5 7>,
209*f126890aSEmmanuel Vadot					 <&cpu7 5 7>;
210*f126890aSEmmanuel Vadot		};
211*f126890aSEmmanuel Vadot	};
212*f126890aSEmmanuel Vadot};
213*f126890aSEmmanuel Vadot
214*f126890aSEmmanuel Vadot&cpu2_thermal {
215*f126890aSEmmanuel Vadot	trips {
216*f126890aSEmmanuel Vadot		cpu2_alert0: cpu-alert-0 {
217*f126890aSEmmanuel Vadot			temperature = <60000>; /* millicelsius */
218*f126890aSEmmanuel Vadot			hysteresis = <5000>; /* millicelsius */
219*f126890aSEmmanuel Vadot			type = "passive";
220*f126890aSEmmanuel Vadot		};
221*f126890aSEmmanuel Vadot		cpu2_alert1: cpu-alert-1 {
222*f126890aSEmmanuel Vadot			temperature = <80000>; /* millicelsius */
223*f126890aSEmmanuel Vadot			hysteresis = <10000>; /* millicelsius */
224*f126890aSEmmanuel Vadot			type = "passive";
225*f126890aSEmmanuel Vadot		};
226*f126890aSEmmanuel Vadot		cpu2_alert2: cpu-alert-2 {
227*f126890aSEmmanuel Vadot			temperature = <110000>; /* millicelsius */
228*f126890aSEmmanuel Vadot			hysteresis = <10000>; /* millicelsius */
229*f126890aSEmmanuel Vadot			type = "passive";
230*f126890aSEmmanuel Vadot		};
231*f126890aSEmmanuel Vadot		cpu2_crit0: cpu-crit-0 {
232*f126890aSEmmanuel Vadot			temperature = <120000>; /* millicelsius */
233*f126890aSEmmanuel Vadot			hysteresis = <0>; /* millicelsius */
234*f126890aSEmmanuel Vadot			type = "critical";
235*f126890aSEmmanuel Vadot		};
236*f126890aSEmmanuel Vadot	};
237*f126890aSEmmanuel Vadot
238*f126890aSEmmanuel Vadot	cooling-maps {
239*f126890aSEmmanuel Vadot		map0 {
240*f126890aSEmmanuel Vadot			trip = <&cpu2_alert0>;
241*f126890aSEmmanuel Vadot			cooling-device = <&cpu0 0 2>,
242*f126890aSEmmanuel Vadot					 <&cpu1 0 2>,
243*f126890aSEmmanuel Vadot					 <&cpu2 0 2>,
244*f126890aSEmmanuel Vadot					 <&cpu3 0 2>,
245*f126890aSEmmanuel Vadot					 <&cpu4 0 2>,
246*f126890aSEmmanuel Vadot					 <&cpu5 0 2>,
247*f126890aSEmmanuel Vadot					 <&cpu6 0 2>,
248*f126890aSEmmanuel Vadot					 <&cpu7 0 2>;
249*f126890aSEmmanuel Vadot		};
250*f126890aSEmmanuel Vadot
251*f126890aSEmmanuel Vadot		map1 {
252*f126890aSEmmanuel Vadot			trip = <&cpu2_alert1>;
253*f126890aSEmmanuel Vadot			cooling-device = <&cpu0 3 6>,
254*f126890aSEmmanuel Vadot					 <&cpu1 3 6>,
255*f126890aSEmmanuel Vadot					 <&cpu2 3 6>,
256*f126890aSEmmanuel Vadot					 <&cpu3 3 6>,
257*f126890aSEmmanuel Vadot					 <&cpu4 3 5>,
258*f126890aSEmmanuel Vadot					 <&cpu5 3 5>,
259*f126890aSEmmanuel Vadot					 <&cpu6 3 5>,
260*f126890aSEmmanuel Vadot					 <&cpu7 3 5>;
261*f126890aSEmmanuel Vadot		};
262*f126890aSEmmanuel Vadot
263*f126890aSEmmanuel Vadot		map2 {
264*f126890aSEmmanuel Vadot			trip = <&cpu2_alert2>;
265*f126890aSEmmanuel Vadot			cooling-device = <&cpu0 6 11>,
266*f126890aSEmmanuel Vadot					 <&cpu1 6 11>,
267*f126890aSEmmanuel Vadot					 <&cpu2 6 11>,
268*f126890aSEmmanuel Vadot					 <&cpu3 6 11>,
269*f126890aSEmmanuel Vadot					 <&cpu4 6 7>,
270*f126890aSEmmanuel Vadot					 <&cpu5 6 7>,
271*f126890aSEmmanuel Vadot					 <&cpu6 6 7>,
272*f126890aSEmmanuel Vadot					 <&cpu7 6 7>;
273*f126890aSEmmanuel Vadot		};
274*f126890aSEmmanuel Vadot	};
275*f126890aSEmmanuel Vadot};
276*f126890aSEmmanuel Vadot
277*f126890aSEmmanuel Vadot&cpu3_thermal {
278*f126890aSEmmanuel Vadot	trips {
279*f126890aSEmmanuel Vadot		cpu3_alert0: cpu-alert-0 {
280*f126890aSEmmanuel Vadot			temperature = <60000>; /* millicelsius */
281*f126890aSEmmanuel Vadot			hysteresis = <5000>; /* millicelsius */
282*f126890aSEmmanuel Vadot			type = "passive";
283*f126890aSEmmanuel Vadot		};
284*f126890aSEmmanuel Vadot		cpu3_alert1: cpu-alert-1 {
285*f126890aSEmmanuel Vadot			temperature = <80000>; /* millicelsius */
286*f126890aSEmmanuel Vadot			hysteresis = <10000>; /* millicelsius */
287*f126890aSEmmanuel Vadot			type = "passive";
288*f126890aSEmmanuel Vadot		};
289*f126890aSEmmanuel Vadot		cpu3_alert2: cpu-alert-2 {
290*f126890aSEmmanuel Vadot			temperature = <110000>; /* millicelsius */
291*f126890aSEmmanuel Vadot			hysteresis = <10000>; /* millicelsius */
292*f126890aSEmmanuel Vadot			type = "passive";
293*f126890aSEmmanuel Vadot		};
294*f126890aSEmmanuel Vadot		cpu3_crit0: cpu-crit-0 {
295*f126890aSEmmanuel Vadot			temperature = <120000>; /* millicelsius */
296*f126890aSEmmanuel Vadot			hysteresis = <0>; /* millicelsius */
297*f126890aSEmmanuel Vadot			type = "critical";
298*f126890aSEmmanuel Vadot		};
299*f126890aSEmmanuel Vadot	};
300*f126890aSEmmanuel Vadot
301*f126890aSEmmanuel Vadot	cooling-maps {
302*f126890aSEmmanuel Vadot		map0 {
303*f126890aSEmmanuel Vadot			trip = <&cpu3_alert0>;
304*f126890aSEmmanuel Vadot			cooling-device = <&cpu0 0 2>,
305*f126890aSEmmanuel Vadot					 <&cpu1 0 2>,
306*f126890aSEmmanuel Vadot					 <&cpu2 0 2>,
307*f126890aSEmmanuel Vadot					 <&cpu3 0 2>,
308*f126890aSEmmanuel Vadot					 <&cpu4 0 2>,
309*f126890aSEmmanuel Vadot					 <&cpu5 0 2>,
310*f126890aSEmmanuel Vadot					 <&cpu6 0 2>,
311*f126890aSEmmanuel Vadot					 <&cpu7 0 2>;
312*f126890aSEmmanuel Vadot		};
313*f126890aSEmmanuel Vadot
314*f126890aSEmmanuel Vadot		map1 {
315*f126890aSEmmanuel Vadot			trip = <&cpu3_alert1>;
316*f126890aSEmmanuel Vadot			cooling-device = <&cpu0 3 6>,
317*f126890aSEmmanuel Vadot					 <&cpu1 3 6>,
318*f126890aSEmmanuel Vadot					 <&cpu2 3 6>,
319*f126890aSEmmanuel Vadot					 <&cpu3 3 6>,
320*f126890aSEmmanuel Vadot					 <&cpu4 3 5>,
321*f126890aSEmmanuel Vadot					 <&cpu5 3 5>,
322*f126890aSEmmanuel Vadot					 <&cpu6 3 5>,
323*f126890aSEmmanuel Vadot					 <&cpu7 3 5>;
324*f126890aSEmmanuel Vadot		};
325*f126890aSEmmanuel Vadot
326*f126890aSEmmanuel Vadot		map2 {
327*f126890aSEmmanuel Vadot			trip = <&cpu3_alert2>;
328*f126890aSEmmanuel Vadot			cooling-device = <&cpu0 6 11>,
329*f126890aSEmmanuel Vadot					 <&cpu1 6 11>,
330*f126890aSEmmanuel Vadot					 <&cpu2 6 11>,
331*f126890aSEmmanuel Vadot					 <&cpu3 6 11>,
332*f126890aSEmmanuel Vadot					 <&cpu4 5 7>,
333*f126890aSEmmanuel Vadot					 <&cpu5 5 7>,
334*f126890aSEmmanuel Vadot					 <&cpu6 5 7>,
335*f126890aSEmmanuel Vadot					 <&cpu7 5 7>;
336*f126890aSEmmanuel Vadot		};
337*f126890aSEmmanuel Vadot	};
338*f126890aSEmmanuel Vadot};
339*f126890aSEmmanuel Vadot
340*f126890aSEmmanuel Vadot&hdmi {
341*f126890aSEmmanuel Vadot	hpd-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>;
342*f126890aSEmmanuel Vadot	vdd_osc-supply = <&ldo7_reg>;
343*f126890aSEmmanuel Vadot	vdd_pll-supply = <&ldo6_reg>;
344*f126890aSEmmanuel Vadot	vdd-supply = <&ldo6_reg>;
345*f126890aSEmmanuel Vadot	ddc = <&i2c_2>;
346*f126890aSEmmanuel Vadot	status = "okay";
347*f126890aSEmmanuel Vadot};
348*f126890aSEmmanuel Vadot
349*f126890aSEmmanuel Vadot&hsi2c_4 {
350*f126890aSEmmanuel Vadot	status = "okay";
351*f126890aSEmmanuel Vadot
352*f126890aSEmmanuel Vadot	pmic@66 {
353*f126890aSEmmanuel Vadot		compatible = "samsung,s2mps11-pmic";
354*f126890aSEmmanuel Vadot		reg = <0x66>;
355*f126890aSEmmanuel Vadot
356*f126890aSEmmanuel Vadot		interrupt-parent = <&gpx3>;
357*f126890aSEmmanuel Vadot		interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
358*f126890aSEmmanuel Vadot		pinctrl-names = "default";
359*f126890aSEmmanuel Vadot		pinctrl-0 = <&s2mps11_irq>;
360*f126890aSEmmanuel Vadot		wakeup-source;
361*f126890aSEmmanuel Vadot
362*f126890aSEmmanuel Vadot		s2mps11_osc: clocks {
363*f126890aSEmmanuel Vadot			compatible = "samsung,s2mps11-clk";
364*f126890aSEmmanuel Vadot			#clock-cells = <1>;
365*f126890aSEmmanuel Vadot			clock-output-names = "s2mps11_ap",
366*f126890aSEmmanuel Vadot					"s2mps11_cp", "s2mps11_bt";
367*f126890aSEmmanuel Vadot		};
368*f126890aSEmmanuel Vadot
369*f126890aSEmmanuel Vadot		regulators {
370*f126890aSEmmanuel Vadot			ldo1_reg: LDO1 {
371*f126890aSEmmanuel Vadot				regulator-name = "PVDD_ALIVE_1V0";
372*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1000000>;
373*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1000000>;
374*f126890aSEmmanuel Vadot				regulator-always-on;
375*f126890aSEmmanuel Vadot			};
376*f126890aSEmmanuel Vadot
377*f126890aSEmmanuel Vadot			ldo2_reg: LDO2 {
378*f126890aSEmmanuel Vadot				regulator-name = "PVDD_APIO_1V8";
379*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
380*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
381*f126890aSEmmanuel Vadot				regulator-always-on;
382*f126890aSEmmanuel Vadot			};
383*f126890aSEmmanuel Vadot
384*f126890aSEmmanuel Vadot			ldo3_reg: LDO3 {
385*f126890aSEmmanuel Vadot				regulator-name = "PVDD_APIO_MMCON_1V8";
386*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
387*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
388*f126890aSEmmanuel Vadot				/*
389*f126890aSEmmanuel Vadot				 * Must be always on, even though there is
390*f126890aSEmmanuel Vadot				 * a consumer (mmc_0).  Otherwise the board
391*f126890aSEmmanuel Vadot				 * does not reboot with vendor U-Boot
392*f126890aSEmmanuel Vadot				 * (Linaro for Arndale Octa, v2012.07).
393*f126890aSEmmanuel Vadot				 */
394*f126890aSEmmanuel Vadot				regulator-always-on;
395*f126890aSEmmanuel Vadot
396*f126890aSEmmanuel Vadot				regulator-state-mem {
397*f126890aSEmmanuel Vadot					regulator-off-in-suspend;
398*f126890aSEmmanuel Vadot				};
399*f126890aSEmmanuel Vadot			};
400*f126890aSEmmanuel Vadot
401*f126890aSEmmanuel Vadot			ldo4_reg: LDO4 {
402*f126890aSEmmanuel Vadot				regulator-name = "PVDD_ADC_1V8";
403*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
404*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
405*f126890aSEmmanuel Vadot			};
406*f126890aSEmmanuel Vadot
407*f126890aSEmmanuel Vadot			ldo5_reg: LDO5 {
408*f126890aSEmmanuel Vadot				regulator-name = "PVDD_PLL_1V8";
409*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
410*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
411*f126890aSEmmanuel Vadot				regulator-always-on;
412*f126890aSEmmanuel Vadot			};
413*f126890aSEmmanuel Vadot
414*f126890aSEmmanuel Vadot			ldo6_reg: LDO6 {
415*f126890aSEmmanuel Vadot				regulator-name = "PVDD_ANAIP_1V0";
416*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1000000>;
417*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1000000>;
418*f126890aSEmmanuel Vadot			};
419*f126890aSEmmanuel Vadot
420*f126890aSEmmanuel Vadot			ldo7_reg: LDO7 {
421*f126890aSEmmanuel Vadot				regulator-name = "PVDD_ANAIP_1V8";
422*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
423*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
424*f126890aSEmmanuel Vadot
425*f126890aSEmmanuel Vadot				regulator-state-mem {
426*f126890aSEmmanuel Vadot					regulator-off-in-suspend;
427*f126890aSEmmanuel Vadot				};
428*f126890aSEmmanuel Vadot			};
429*f126890aSEmmanuel Vadot
430*f126890aSEmmanuel Vadot			ldo8_reg: LDO8 {
431*f126890aSEmmanuel Vadot				regulator-name = "PVDD_ABB_1V8";
432*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
433*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
434*f126890aSEmmanuel Vadot				regulator-always-on;
435*f126890aSEmmanuel Vadot			};
436*f126890aSEmmanuel Vadot
437*f126890aSEmmanuel Vadot			ldo9_reg: LDO9 {
438*f126890aSEmmanuel Vadot				regulator-name = "PVDD_USB_3V3";
439*f126890aSEmmanuel Vadot				regulator-min-microvolt = <3000000>;
440*f126890aSEmmanuel Vadot				regulator-max-microvolt = <3000000>;
441*f126890aSEmmanuel Vadot				regulator-always-on;
442*f126890aSEmmanuel Vadot			};
443*f126890aSEmmanuel Vadot
444*f126890aSEmmanuel Vadot			ldo10_reg: LDO10 {
445*f126890aSEmmanuel Vadot				regulator-name = "PVDD_PRE_1V8";
446*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
447*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
448*f126890aSEmmanuel Vadot				regulator-always-on;
449*f126890aSEmmanuel Vadot			};
450*f126890aSEmmanuel Vadot
451*f126890aSEmmanuel Vadot			ldo11_reg: LDO11 {
452*f126890aSEmmanuel Vadot				regulator-name = "PVDD_USB_1V0";
453*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1000000>;
454*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1000000>;
455*f126890aSEmmanuel Vadot				regulator-always-on;
456*f126890aSEmmanuel Vadot			};
457*f126890aSEmmanuel Vadot
458*f126890aSEmmanuel Vadot			ldo12_reg: LDO12 {
459*f126890aSEmmanuel Vadot				regulator-name = "PVDD_HSIC_1V8";
460*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
461*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
462*f126890aSEmmanuel Vadot			};
463*f126890aSEmmanuel Vadot
464*f126890aSEmmanuel Vadot			ldo13_reg: LDO13 {
465*f126890aSEmmanuel Vadot				regulator-name = "PVDD_APIO_MMCOFF_2V8";
466*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
467*f126890aSEmmanuel Vadot				regulator-max-microvolt = <2800000>;
468*f126890aSEmmanuel Vadot
469*f126890aSEmmanuel Vadot				regulator-state-mem {
470*f126890aSEmmanuel Vadot					regulator-off-in-suspend;
471*f126890aSEmmanuel Vadot				};
472*f126890aSEmmanuel Vadot			};
473*f126890aSEmmanuel Vadot
474*f126890aSEmmanuel Vadot			ldo14_reg: LDO14 {
475*f126890aSEmmanuel Vadot				/* Unused */
476*f126890aSEmmanuel Vadot				regulator-name = "PVDD_LDO14";
477*f126890aSEmmanuel Vadot				regulator-min-microvolt = <800000>;
478*f126890aSEmmanuel Vadot				regulator-max-microvolt = <3950000>;
479*f126890aSEmmanuel Vadot			};
480*f126890aSEmmanuel Vadot
481*f126890aSEmmanuel Vadot			ldo15_reg: LDO15 {
482*f126890aSEmmanuel Vadot				regulator-name = "PVDD_PERI_2V8";
483*f126890aSEmmanuel Vadot				regulator-min-microvolt = <3300000>;
484*f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
485*f126890aSEmmanuel Vadot
486*f126890aSEmmanuel Vadot				regulator-state-mem {
487*f126890aSEmmanuel Vadot					regulator-on-in-suspend;
488*f126890aSEmmanuel Vadot				};
489*f126890aSEmmanuel Vadot			};
490*f126890aSEmmanuel Vadot
491*f126890aSEmmanuel Vadot			ldo16_reg: LDO16 {
492*f126890aSEmmanuel Vadot				regulator-name = "PVDD_PERI_3V3";
493*f126890aSEmmanuel Vadot				regulator-min-microvolt = <2200000>;
494*f126890aSEmmanuel Vadot				regulator-max-microvolt = <2200000>;
495*f126890aSEmmanuel Vadot
496*f126890aSEmmanuel Vadot				regulator-state-mem {
497*f126890aSEmmanuel Vadot					regulator-on-in-suspend;
498*f126890aSEmmanuel Vadot				};
499*f126890aSEmmanuel Vadot			};
500*f126890aSEmmanuel Vadot
501*f126890aSEmmanuel Vadot			ldo17_reg: LDO17 {
502*f126890aSEmmanuel Vadot				/* Unused */
503*f126890aSEmmanuel Vadot				regulator-name = "PVDD_LDO17";
504*f126890aSEmmanuel Vadot				regulator-min-microvolt = <800000>;
505*f126890aSEmmanuel Vadot				regulator-max-microvolt = <3950000>;
506*f126890aSEmmanuel Vadot			};
507*f126890aSEmmanuel Vadot
508*f126890aSEmmanuel Vadot			ldo18_reg: LDO18 {
509*f126890aSEmmanuel Vadot				regulator-name = "PVDD_EMMC_1V8";
510*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
511*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
512*f126890aSEmmanuel Vadot				/*
513*f126890aSEmmanuel Vadot				 * Must stay in "off" mode during shutdown for
514*f126890aSEmmanuel Vadot				 * proper eMMC reset.  The "off" mode is in
515*f126890aSEmmanuel Vadot				 * fact controlled by LDO18EN.  The eMMC does
516*f126890aSEmmanuel Vadot				 * not have reset pin connected so the reset
517*f126890aSEmmanuel Vadot				 * will be triggered by falling edge of
518*f126890aSEmmanuel Vadot				 * LDO18EN.
519*f126890aSEmmanuel Vadot				 */
520*f126890aSEmmanuel Vadot
521*f126890aSEmmanuel Vadot				regulator-state-mem {
522*f126890aSEmmanuel Vadot					regulator-off-in-suspend;
523*f126890aSEmmanuel Vadot				};
524*f126890aSEmmanuel Vadot			};
525*f126890aSEmmanuel Vadot
526*f126890aSEmmanuel Vadot			ldo19_reg: LDO19 {
527*f126890aSEmmanuel Vadot				regulator-name = "PVDD_TFLASH_2V8";
528*f126890aSEmmanuel Vadot				regulator-min-microvolt = <2800000>;
529*f126890aSEmmanuel Vadot				regulator-max-microvolt = <2800000>;
530*f126890aSEmmanuel Vadot
531*f126890aSEmmanuel Vadot				regulator-state-mem {
532*f126890aSEmmanuel Vadot					regulator-off-in-suspend;
533*f126890aSEmmanuel Vadot				};
534*f126890aSEmmanuel Vadot			};
535*f126890aSEmmanuel Vadot
536*f126890aSEmmanuel Vadot			ldo20_reg: LDO20 {
537*f126890aSEmmanuel Vadot				regulator-name = "PVDD_BTWIFI_1V8";
538*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
539*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
540*f126890aSEmmanuel Vadot			};
541*f126890aSEmmanuel Vadot
542*f126890aSEmmanuel Vadot			ldo21_reg: LDO21 {
543*f126890aSEmmanuel Vadot				regulator-name = "PVDD_CAM1IO_1V8";
544*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
545*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
546*f126890aSEmmanuel Vadot			};
547*f126890aSEmmanuel Vadot
548*f126890aSEmmanuel Vadot			ldo22_reg: LDO22 {
549*f126890aSEmmanuel Vadot				/* Unused */
550*f126890aSEmmanuel Vadot				regulator-name = "PVDD_LDO22";
551*f126890aSEmmanuel Vadot				regulator-min-microvolt = <800000>;
552*f126890aSEmmanuel Vadot				regulator-max-microvolt = <2375000>;
553*f126890aSEmmanuel Vadot			};
554*f126890aSEmmanuel Vadot
555*f126890aSEmmanuel Vadot			ldo23_reg: LDO23 {
556*f126890aSEmmanuel Vadot				regulator-name = "PVDD_MIFS_1V1";
557*f126890aSEmmanuel Vadot				regulator-min-microvolt = <800000>;
558*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1100000>;
559*f126890aSEmmanuel Vadot				regulator-always-on;
560*f126890aSEmmanuel Vadot
561*f126890aSEmmanuel Vadot				regulator-state-mem {
562*f126890aSEmmanuel Vadot					regulator-on-in-suspend;
563*f126890aSEmmanuel Vadot				};
564*f126890aSEmmanuel Vadot			};
565*f126890aSEmmanuel Vadot
566*f126890aSEmmanuel Vadot			ldo24_reg: LDO24 {
567*f126890aSEmmanuel Vadot				regulator-name = "PVDD_CAM1_AVDD_2V8";
568*f126890aSEmmanuel Vadot				regulator-min-microvolt = <2800000>;
569*f126890aSEmmanuel Vadot				regulator-max-microvolt = <2800000>;
570*f126890aSEmmanuel Vadot
571*f126890aSEmmanuel Vadot				regulator-state-mem {
572*f126890aSEmmanuel Vadot					regulator-on-in-suspend;
573*f126890aSEmmanuel Vadot				};
574*f126890aSEmmanuel Vadot			};
575*f126890aSEmmanuel Vadot
576*f126890aSEmmanuel Vadot			ldo25_reg: LDO25 {
577*f126890aSEmmanuel Vadot				/* Unused */
578*f126890aSEmmanuel Vadot				regulator-name = "PVDD_LDO25";
579*f126890aSEmmanuel Vadot				regulator-min-microvolt = <800000>;
580*f126890aSEmmanuel Vadot				regulator-max-microvolt = <3950000>;
581*f126890aSEmmanuel Vadot			};
582*f126890aSEmmanuel Vadot
583*f126890aSEmmanuel Vadot			ldo26_reg: LDO26 {
584*f126890aSEmmanuel Vadot				regulator-name = "PVDD_CAM0_AF_2V8";
585*f126890aSEmmanuel Vadot				regulator-min-microvolt = <3000000>;
586*f126890aSEmmanuel Vadot				regulator-max-microvolt = <3000000>;
587*f126890aSEmmanuel Vadot			};
588*f126890aSEmmanuel Vadot
589*f126890aSEmmanuel Vadot			ldo27_reg: LDO27 {
590*f126890aSEmmanuel Vadot				regulator-name = "PVDD_G3DS_1V0";
591*f126890aSEmmanuel Vadot				regulator-min-microvolt = <800000>;
592*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1100000>;
593*f126890aSEmmanuel Vadot				regulator-always-on;
594*f126890aSEmmanuel Vadot
595*f126890aSEmmanuel Vadot				regulator-state-mem {
596*f126890aSEmmanuel Vadot					regulator-on-in-suspend;
597*f126890aSEmmanuel Vadot				};
598*f126890aSEmmanuel Vadot			};
599*f126890aSEmmanuel Vadot
600*f126890aSEmmanuel Vadot			ldo28_reg: LDO28 {
601*f126890aSEmmanuel Vadot				regulator-name = "PVDD_TSP_3V3";
602*f126890aSEmmanuel Vadot				regulator-min-microvolt = <3300000>;
603*f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
604*f126890aSEmmanuel Vadot			};
605*f126890aSEmmanuel Vadot
606*f126890aSEmmanuel Vadot			ldo29_reg: LDO29 {
607*f126890aSEmmanuel Vadot				regulator-name = "PVDD_AUDIO_1V8";
608*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
609*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
610*f126890aSEmmanuel Vadot			};
611*f126890aSEmmanuel Vadot
612*f126890aSEmmanuel Vadot			ldo30_reg: LDO30 {
613*f126890aSEmmanuel Vadot				/* Unused */
614*f126890aSEmmanuel Vadot				regulator-name = "PVDD_LDO30";
615*f126890aSEmmanuel Vadot				regulator-min-microvolt = <800000>;
616*f126890aSEmmanuel Vadot				regulator-max-microvolt = <3950000>;
617*f126890aSEmmanuel Vadot			};
618*f126890aSEmmanuel Vadot
619*f126890aSEmmanuel Vadot			ldo31_reg: LDO31 {
620*f126890aSEmmanuel Vadot				regulator-name = "PVDD_PERI_1V8";
621*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
622*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
623*f126890aSEmmanuel Vadot			};
624*f126890aSEmmanuel Vadot
625*f126890aSEmmanuel Vadot			ldo32_reg: LDO32 {
626*f126890aSEmmanuel Vadot				regulator-name = "PVDD_LCD_1V8";
627*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
628*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
629*f126890aSEmmanuel Vadot			};
630*f126890aSEmmanuel Vadot
631*f126890aSEmmanuel Vadot			ldo33_reg: LDO33 {
632*f126890aSEmmanuel Vadot				regulator-name = "PVDD_CAM0IO_1V8";
633*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
634*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
635*f126890aSEmmanuel Vadot			};
636*f126890aSEmmanuel Vadot
637*f126890aSEmmanuel Vadot			ldo34_reg: LDO34 {
638*f126890aSEmmanuel Vadot				/* Unused */
639*f126890aSEmmanuel Vadot				regulator-name = "PVDD_LDO34";
640*f126890aSEmmanuel Vadot				regulator-min-microvolt = <800000>;
641*f126890aSEmmanuel Vadot				regulator-max-microvolt = <3950000>;
642*f126890aSEmmanuel Vadot			};
643*f126890aSEmmanuel Vadot
644*f126890aSEmmanuel Vadot			ldo35_reg: LDO35 {
645*f126890aSEmmanuel Vadot				regulator-name = "PVDD_CAM0_DVDD_1V2";
646*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1200000>;
647*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1200000>;
648*f126890aSEmmanuel Vadot			};
649*f126890aSEmmanuel Vadot
650*f126890aSEmmanuel Vadot			ldo36_reg: LDO36 {
651*f126890aSEmmanuel Vadot				/* Unused */
652*f126890aSEmmanuel Vadot				regulator-name = "PVDD_LDO36";
653*f126890aSEmmanuel Vadot				regulator-min-microvolt = <800000>;
654*f126890aSEmmanuel Vadot				regulator-max-microvolt = <3950000>;
655*f126890aSEmmanuel Vadot			};
656*f126890aSEmmanuel Vadot
657*f126890aSEmmanuel Vadot			ldo37_reg: LDO37 {
658*f126890aSEmmanuel Vadot				/* Unused */
659*f126890aSEmmanuel Vadot				regulator-name = "PVDD_LDO37";
660*f126890aSEmmanuel Vadot				regulator-min-microvolt = <800000>;
661*f126890aSEmmanuel Vadot				regulator-max-microvolt = <3950000>;
662*f126890aSEmmanuel Vadot			};
663*f126890aSEmmanuel Vadot
664*f126890aSEmmanuel Vadot			ldo38_reg: LDO38 {
665*f126890aSEmmanuel Vadot				regulator-name = "PVDD_CAM0_AVDD_2V8";
666*f126890aSEmmanuel Vadot				regulator-min-microvolt = <2800000>;
667*f126890aSEmmanuel Vadot				regulator-max-microvolt = <2800000>;
668*f126890aSEmmanuel Vadot			};
669*f126890aSEmmanuel Vadot
670*f126890aSEmmanuel Vadot			buck1_reg: BUCK1 {
671*f126890aSEmmanuel Vadot				regulator-name = "PVDD_MIF_1V1";
672*f126890aSEmmanuel Vadot				regulator-min-microvolt = <800000>;
673*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1300000>;
674*f126890aSEmmanuel Vadot				regulator-always-on;
675*f126890aSEmmanuel Vadot
676*f126890aSEmmanuel Vadot				regulator-state-mem {
677*f126890aSEmmanuel Vadot					regulator-off-in-suspend;
678*f126890aSEmmanuel Vadot				};
679*f126890aSEmmanuel Vadot			};
680*f126890aSEmmanuel Vadot
681*f126890aSEmmanuel Vadot			buck2_reg: BUCK2 {
682*f126890aSEmmanuel Vadot				regulator-name = "PVDD_ARM_1V0";
683*f126890aSEmmanuel Vadot				regulator-min-microvolt = <800000>;
684*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1500000>;
685*f126890aSEmmanuel Vadot				regulator-always-on;
686*f126890aSEmmanuel Vadot
687*f126890aSEmmanuel Vadot				regulator-state-mem {
688*f126890aSEmmanuel Vadot					regulator-off-in-suspend;
689*f126890aSEmmanuel Vadot				};
690*f126890aSEmmanuel Vadot			};
691*f126890aSEmmanuel Vadot
692*f126890aSEmmanuel Vadot			buck3_reg: BUCK3 {
693*f126890aSEmmanuel Vadot				regulator-name = "PVDD_INT_1V0";
694*f126890aSEmmanuel Vadot				regulator-min-microvolt = <800000>;
695*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1400000>;
696*f126890aSEmmanuel Vadot				regulator-always-on;
697*f126890aSEmmanuel Vadot
698*f126890aSEmmanuel Vadot				regulator-state-mem {
699*f126890aSEmmanuel Vadot					regulator-off-in-suspend;
700*f126890aSEmmanuel Vadot				};
701*f126890aSEmmanuel Vadot			};
702*f126890aSEmmanuel Vadot
703*f126890aSEmmanuel Vadot			buck4_reg: BUCK4 {
704*f126890aSEmmanuel Vadot				regulator-name = "PVDD_G3D_1V0";
705*f126890aSEmmanuel Vadot				regulator-min-microvolt = <800000>;
706*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1400000>;
707*f126890aSEmmanuel Vadot				regulator-always-on;
708*f126890aSEmmanuel Vadot
709*f126890aSEmmanuel Vadot				regulator-state-mem {
710*f126890aSEmmanuel Vadot					regulator-off-in-suspend;
711*f126890aSEmmanuel Vadot				};
712*f126890aSEmmanuel Vadot			};
713*f126890aSEmmanuel Vadot
714*f126890aSEmmanuel Vadot			buck5_reg: BUCK5 {
715*f126890aSEmmanuel Vadot				regulator-name = "PVDD_LPDDR3_1V2";
716*f126890aSEmmanuel Vadot				regulator-min-microvolt = <800000>;
717*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1400000>;
718*f126890aSEmmanuel Vadot				regulator-always-on;
719*f126890aSEmmanuel Vadot			};
720*f126890aSEmmanuel Vadot
721*f126890aSEmmanuel Vadot			buck6_reg: BUCK6 {
722*f126890aSEmmanuel Vadot				regulator-name = "PVDD_KFC_1V0";
723*f126890aSEmmanuel Vadot				regulator-min-microvolt = <800000>;
724*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1500000>;
725*f126890aSEmmanuel Vadot				regulator-always-on;
726*f126890aSEmmanuel Vadot
727*f126890aSEmmanuel Vadot				regulator-state-mem {
728*f126890aSEmmanuel Vadot					regulator-off-in-suspend;
729*f126890aSEmmanuel Vadot				};
730*f126890aSEmmanuel Vadot			};
731*f126890aSEmmanuel Vadot
732*f126890aSEmmanuel Vadot			buck7_reg: BUCK7 {
733*f126890aSEmmanuel Vadot				regulator-name = "VIN_LLDO_1V4";
734*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1200000>;
735*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1500000>;
736*f126890aSEmmanuel Vadot				regulator-always-on;
737*f126890aSEmmanuel Vadot			};
738*f126890aSEmmanuel Vadot
739*f126890aSEmmanuel Vadot			buck8_reg: BUCK8 {
740*f126890aSEmmanuel Vadot				regulator-name = "VIN_MLDO_2V0";
741*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
742*f126890aSEmmanuel Vadot				regulator-max-microvolt = <2100000>;
743*f126890aSEmmanuel Vadot				regulator-always-on;
744*f126890aSEmmanuel Vadot			};
745*f126890aSEmmanuel Vadot
746*f126890aSEmmanuel Vadot			buck9_reg: BUCK9 {
747*f126890aSEmmanuel Vadot				regulator-name = "VIN_HLDO_3V5";
748*f126890aSEmmanuel Vadot				regulator-min-microvolt = <3000000>;
749*f126890aSEmmanuel Vadot				regulator-max-microvolt = <3500000>;
750*f126890aSEmmanuel Vadot				regulator-always-on;
751*f126890aSEmmanuel Vadot			};
752*f126890aSEmmanuel Vadot
753*f126890aSEmmanuel Vadot			buck10_reg: BUCK10 {
754*f126890aSEmmanuel Vadot				regulator-name = "PVDD_EMMCF_2V8";
755*f126890aSEmmanuel Vadot				regulator-min-microvolt = <2800000>;
756*f126890aSEmmanuel Vadot				regulator-max-microvolt = <2800000>;
757*f126890aSEmmanuel Vadot				/*
758*f126890aSEmmanuel Vadot				 * Must stay in "off" mode during shutdown for
759*f126890aSEmmanuel Vadot				 * proper eMMC reset.  The "off" mode is in
760*f126890aSEmmanuel Vadot				 * fact controlled by BUCK10EN.  The eMMC does
761*f126890aSEmmanuel Vadot				 * not have reset pin connected so the reset
762*f126890aSEmmanuel Vadot				 * will be triggered by falling edge of
763*f126890aSEmmanuel Vadot				 * BUCK10EN.
764*f126890aSEmmanuel Vadot				 */
765*f126890aSEmmanuel Vadot
766*f126890aSEmmanuel Vadot				regulator-state-mem {
767*f126890aSEmmanuel Vadot					regulator-off-in-suspend;
768*f126890aSEmmanuel Vadot				};
769*f126890aSEmmanuel Vadot			};
770*f126890aSEmmanuel Vadot		};
771*f126890aSEmmanuel Vadot	};
772*f126890aSEmmanuel Vadot};
773*f126890aSEmmanuel Vadot
774*f126890aSEmmanuel Vadot&i2c_2 {
775*f126890aSEmmanuel Vadot	status = "okay";
776*f126890aSEmmanuel Vadot};
777*f126890aSEmmanuel Vadot
778*f126890aSEmmanuel Vadot&mixer {
779*f126890aSEmmanuel Vadot	status = "okay";
780*f126890aSEmmanuel Vadot};
781*f126890aSEmmanuel Vadot
782*f126890aSEmmanuel Vadot&mmc_0 {
783*f126890aSEmmanuel Vadot	status = "okay";
784*f126890aSEmmanuel Vadot	non-removable;
785*f126890aSEmmanuel Vadot	card-detect-delay = <200>;
786*f126890aSEmmanuel Vadot	mmc-ddr-1_8v;
787*f126890aSEmmanuel Vadot	samsung,dw-mshc-ciu-div = <3>;
788*f126890aSEmmanuel Vadot	samsung,dw-mshc-sdr-timing = <0 4>;
789*f126890aSEmmanuel Vadot	samsung,dw-mshc-ddr-timing = <0 2>;
790*f126890aSEmmanuel Vadot	pinctrl-names = "default";
791*f126890aSEmmanuel Vadot	pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8>;
792*f126890aSEmmanuel Vadot	vmmc-supply = <&ldo18_reg>;
793*f126890aSEmmanuel Vadot	vqmmc-supply = <&ldo3_reg>;
794*f126890aSEmmanuel Vadot	bus-width = <8>;
795*f126890aSEmmanuel Vadot	cap-mmc-highspeed;
796*f126890aSEmmanuel Vadot	mmc-hs200-1_8v;
797*f126890aSEmmanuel Vadot};
798*f126890aSEmmanuel Vadot
799*f126890aSEmmanuel Vadot&mmc_2 {
800*f126890aSEmmanuel Vadot	status = "okay";
801*f126890aSEmmanuel Vadot	card-detect-delay = <200>;
802*f126890aSEmmanuel Vadot	samsung,dw-mshc-ciu-div = <3>;
803*f126890aSEmmanuel Vadot	samsung,dw-mshc-sdr-timing = <0 4>;
804*f126890aSEmmanuel Vadot	samsung,dw-mshc-ddr-timing = <0 2>;
805*f126890aSEmmanuel Vadot	pinctrl-names = "default";
806*f126890aSEmmanuel Vadot	pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus1 &sd2_bus4>;
807*f126890aSEmmanuel Vadot	vmmc-supply = <&ldo19_reg>;
808*f126890aSEmmanuel Vadot	vqmmc-supply = <&ldo13_reg>;
809*f126890aSEmmanuel Vadot	bus-width = <4>;
810*f126890aSEmmanuel Vadot	cap-sd-highspeed;
811*f126890aSEmmanuel Vadot	sd-uhs-sdr50;
812*f126890aSEmmanuel Vadot	sd-uhs-sdr104;
813*f126890aSEmmanuel Vadot	sd-uhs-ddr50;
814*f126890aSEmmanuel Vadot};
815*f126890aSEmmanuel Vadot
816*f126890aSEmmanuel Vadot&pinctrl_0 {
817*f126890aSEmmanuel Vadot	s2mps11_irq: s2mps11-irq-pins {
818*f126890aSEmmanuel Vadot		samsung,pins = "gpx3-2";
819*f126890aSEmmanuel Vadot		samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
820*f126890aSEmmanuel Vadot		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
821*f126890aSEmmanuel Vadot		samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
822*f126890aSEmmanuel Vadot	};
823*f126890aSEmmanuel Vadot};
824*f126890aSEmmanuel Vadot
825*f126890aSEmmanuel Vadot&rtc {
826*f126890aSEmmanuel Vadot	status = "okay";
827*f126890aSEmmanuel Vadot	clocks = <&clock CLK_RTC>, <&s2mps11_osc S2MPS11_CLK_AP>;
828*f126890aSEmmanuel Vadot	clock-names = "rtc", "rtc_src";
829*f126890aSEmmanuel Vadot};
830*f126890aSEmmanuel Vadot
831*f126890aSEmmanuel Vadot&usbdrd_dwc3_1 {
832*f126890aSEmmanuel Vadot	dr_mode = "host";
833*f126890aSEmmanuel Vadot};
834*f126890aSEmmanuel Vadot
835*f126890aSEmmanuel Vadot&usbdrd3_0 {
836*f126890aSEmmanuel Vadot	vdd10-supply = <&ldo11_reg>;
837*f126890aSEmmanuel Vadot	vdd33-supply = <&ldo9_reg>;
838*f126890aSEmmanuel Vadot};
839*f126890aSEmmanuel Vadot
840*f126890aSEmmanuel Vadot&usbdrd3_1 {
841*f126890aSEmmanuel Vadot	vdd10-supply = <&ldo11_reg>;
842*f126890aSEmmanuel Vadot	vdd33-supply = <&ldo9_reg>;
843*f126890aSEmmanuel Vadot};
844