xref: /linux/scripts/dtc/include-prefixes/arm/samsung/exynos5420-galaxy-tab-common.dtsi (revision 724ba6751532055db75992fc6ae21c3e322e94a7)
1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0
2*724ba675SRob Herring/*
3*724ba675SRob Herring * Base DT for Samsung's family of tablets based on Exynos5420.
4*724ba675SRob Herring *
5*724ba675SRob Herring * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
6*724ba675SRob Herring *		http://www.samsung.com
7*724ba675SRob Herring * Copyright (c) 2022 Henrik Grimler
8*724ba675SRob Herring */
9*724ba675SRob Herring
10*724ba675SRob Herring/dts-v1/;
11*724ba675SRob Herring#include "exynos5420.dtsi"
12*724ba675SRob Herring#include "exynos5420-cpus.dtsi"
13*724ba675SRob Herring#include <dt-bindings/input/input.h>
14*724ba675SRob Herring#include <dt-bindings/gpio/gpio.h>
15*724ba675SRob Herring#include <dt-bindings/clock/samsung,s2mps11.h>
16*724ba675SRob Herring
17*724ba675SRob Herring/ {
18*724ba675SRob Herring	chassis-type = "tablet";
19*724ba675SRob Herring
20*724ba675SRob Herring	/*
21*724ba675SRob Herring	 * To successfully boot the mainline kernel with the stock
22*724ba675SRob Herring	 * bootloader (SBOOT), the tlb needs to be flushed after the
23*724ba675SRob Herring	 * page table pointer has been updated in __common_mmu_cache_on.
24*724ba675SRob Herring	 * The same hack is also needed to boot exynos4412-i9300 with
25*724ba675SRob Herring	 * stock bootloader, and probably other Samsung devices of
26*724ba675SRob Herring	 * similar age.  See
27*724ba675SRob Herring	 * https://lore.kernel.org/all/1355276466-18295-1-git-send-email-arve@android.com
28*724ba675SRob Herring	 * for more details.
29*724ba675SRob Herring	 */
30*724ba675SRob Herring
31*724ba675SRob Herring	aliases {
32*724ba675SRob Herring		mmc0 = &mmc_0;
33*724ba675SRob Herring		mmc2 = &mmc_2;
34*724ba675SRob Herring	};
35*724ba675SRob Herring
36*724ba675SRob Herring	chosen {
37*724ba675SRob Herring		stdout-path = "serial2:115200n8";
38*724ba675SRob Herring	};
39*724ba675SRob Herring
40*724ba675SRob Herring	memory@20000000 {
41*724ba675SRob Herring		device_type = "memory";
42*724ba675SRob Herring		reg = <0x20000000 0xc0000000>;
43*724ba675SRob Herring	};
44*724ba675SRob Herring
45*724ba675SRob Herring	firmware@2073000 {
46*724ba675SRob Herring		compatible = "samsung,secure-firmware";
47*724ba675SRob Herring		reg = <0x02073000 0x1000>;
48*724ba675SRob Herring	};
49*724ba675SRob Herring
50*724ba675SRob Herring	fixed-rate-clocks {
51*724ba675SRob Herring		oscclk {
52*724ba675SRob Herring			compatible = "samsung,exynos5420-oscclk";
53*724ba675SRob Herring			clock-frequency = <24000000>;
54*724ba675SRob Herring		};
55*724ba675SRob Herring	};
56*724ba675SRob Herring
57*724ba675SRob Herring	gpio-keys {
58*724ba675SRob Herring		compatible = "gpio-keys";
59*724ba675SRob Herring
60*724ba675SRob Herring		key-power {
61*724ba675SRob Herring			debounce-interval = <10>;
62*724ba675SRob Herring			gpios = <&gpx2 2 GPIO_ACTIVE_LOW>;
63*724ba675SRob Herring			label = "Power";
64*724ba675SRob Herring			linux,code = <KEY_POWER>;
65*724ba675SRob Herring			wakeup-source;
66*724ba675SRob Herring		};
67*724ba675SRob Herring
68*724ba675SRob Herring		key-home {
69*724ba675SRob Herring			debounce-interval = <10>;
70*724ba675SRob Herring			gpios = <&gpx0 5 GPIO_ACTIVE_LOW>;
71*724ba675SRob Herring			label = "Home";
72*724ba675SRob Herring			linux,code = <KEY_HOME>;
73*724ba675SRob Herring			wakeup-source;
74*724ba675SRob Herring		};
75*724ba675SRob Herring
76*724ba675SRob Herring		key-volume-up {
77*724ba675SRob Herring			debounce-interval = <10>;
78*724ba675SRob Herring			gpios = <&gpx0 2 GPIO_ACTIVE_LOW>;
79*724ba675SRob Herring			label = "Volume Up";
80*724ba675SRob Herring			linux,code = <KEY_VOLUMEUP>;
81*724ba675SRob Herring		};
82*724ba675SRob Herring
83*724ba675SRob Herring		key-volume-down {
84*724ba675SRob Herring			debounce-interval = <10>;
85*724ba675SRob Herring			gpios = <&gpx0 3 GPIO_ACTIVE_LOW>;
86*724ba675SRob Herring			label = "Volume Down";
87*724ba675SRob Herring			linux,code = <KEY_VOLUMEDOWN>;
88*724ba675SRob Herring		};
89*724ba675SRob Herring	};
90*724ba675SRob Herring};
91*724ba675SRob Herring
92*724ba675SRob Herring&cci {
93*724ba675SRob Herring	/* CCI is disabled in hardware */
94*724ba675SRob Herring	status = "disabled";
95*724ba675SRob Herring};
96*724ba675SRob Herring
97*724ba675SRob Herring&cpu0 {
98*724ba675SRob Herring	cpu-supply = <&buck2_reg>;
99*724ba675SRob Herring};
100*724ba675SRob Herring
101*724ba675SRob Herring&cpu4 {
102*724ba675SRob Herring	cpu-supply = <&buck6_reg>;
103*724ba675SRob Herring};
104*724ba675SRob Herring
105*724ba675SRob Herring&gpu {
106*724ba675SRob Herring	status = "okay";
107*724ba675SRob Herring	mali-supply = <&buck4_reg>;
108*724ba675SRob Herring};
109*724ba675SRob Herring
110*724ba675SRob Herring&hsi2c_7 {
111*724ba675SRob Herring	status = "okay";
112*724ba675SRob Herring
113*724ba675SRob Herring	pmic@66 {
114*724ba675SRob Herring		compatible = "samsung,s2mps11-pmic";
115*724ba675SRob Herring		reg = <0x66>;
116*724ba675SRob Herring
117*724ba675SRob Herring		interrupt-parent = <&gpx3>;
118*724ba675SRob Herring		interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
119*724ba675SRob Herring		pinctrl-names = "default";
120*724ba675SRob Herring		pinctrl-0 = <&s2mps11_irq>;
121*724ba675SRob Herring
122*724ba675SRob Herring		s2mps11_osc: clocks {
123*724ba675SRob Herring			compatible = "samsung,s2mps11-clk";
124*724ba675SRob Herring			#clock-cells = <1>;
125*724ba675SRob Herring			clock-output-names = "s2mps11_ap", "s2mps11_cp",
126*724ba675SRob Herring					     "s2mps11_bt";
127*724ba675SRob Herring		};
128*724ba675SRob Herring
129*724ba675SRob Herring		regulators {
130*724ba675SRob Herring			buck1_reg: BUCK1 {
131*724ba675SRob Herring				regulator-name = "VDD_MIF_1V1";
132*724ba675SRob Herring				regulator-min-microvolt = <700000>;
133*724ba675SRob Herring				regulator-max-microvolt = <1300000>;
134*724ba675SRob Herring				regulator-always-on;
135*724ba675SRob Herring				regulator-boot-on;
136*724ba675SRob Herring
137*724ba675SRob Herring				regulator-state-mem {
138*724ba675SRob Herring					regulator-off-in-suspend;
139*724ba675SRob Herring				};
140*724ba675SRob Herring			};
141*724ba675SRob Herring
142*724ba675SRob Herring			buck2_reg: BUCK2 {
143*724ba675SRob Herring				regulator-name = "VDD_ARM_1V0";
144*724ba675SRob Herring				regulator-min-microvolt = <800000>;
145*724ba675SRob Herring				regulator-max-microvolt = <1500000>;
146*724ba675SRob Herring				regulator-always-on;
147*724ba675SRob Herring				regulator-boot-on;
148*724ba675SRob Herring
149*724ba675SRob Herring				regulator-state-mem {
150*724ba675SRob Herring					regulator-off-in-suspend;
151*724ba675SRob Herring				};
152*724ba675SRob Herring			};
153*724ba675SRob Herring
154*724ba675SRob Herring			buck3_reg: BUCK3 {
155*724ba675SRob Herring				regulator-name = "VDD_INT_1V0";
156*724ba675SRob Herring				regulator-min-microvolt = <800000>;
157*724ba675SRob Herring				regulator-max-microvolt = <1400000>;
158*724ba675SRob Herring				regulator-always-on;
159*724ba675SRob Herring				regulator-boot-on;
160*724ba675SRob Herring
161*724ba675SRob Herring				regulator-state-mem {
162*724ba675SRob Herring					regulator-off-in-suspend;
163*724ba675SRob Herring				};
164*724ba675SRob Herring			};
165*724ba675SRob Herring
166*724ba675SRob Herring			buck4_reg: BUCK4 {
167*724ba675SRob Herring				regulator-name = "VDD_G3D_1V0";
168*724ba675SRob Herring				regulator-min-microvolt = <700000>;
169*724ba675SRob Herring				regulator-max-microvolt = <1400000>;
170*724ba675SRob Herring				regulator-always-on;
171*724ba675SRob Herring				regulator-boot-on;
172*724ba675SRob Herring
173*724ba675SRob Herring				regulator-state-mem {
174*724ba675SRob Herring					regulator-off-in-suspend;
175*724ba675SRob Herring				};
176*724ba675SRob Herring			};
177*724ba675SRob Herring
178*724ba675SRob Herring			buck5_reg: BUCK5 {
179*724ba675SRob Herring				regulator-name = "VDD_MEM_1V2";
180*724ba675SRob Herring				regulator-min-microvolt = <1200000>;
181*724ba675SRob Herring				regulator-max-microvolt = <1200000>;
182*724ba675SRob Herring				regulator-always-on;
183*724ba675SRob Herring				regulator-boot-on;
184*724ba675SRob Herring
185*724ba675SRob Herring				regulator-state-mem {
186*724ba675SRob Herring					regulator-off-in-suspend;
187*724ba675SRob Herring				};
188*724ba675SRob Herring
189*724ba675SRob Herring			};
190*724ba675SRob Herring
191*724ba675SRob Herring			buck6_reg: BUCK6 {
192*724ba675SRob Herring				regulator-name = "VDD_KFC_1V0";
193*724ba675SRob Herring				regulator-min-microvolt = <800000>;
194*724ba675SRob Herring				regulator-max-microvolt = <1500000>;
195*724ba675SRob Herring				regulator-always-on;
196*724ba675SRob Herring				regulator-boot-on;
197*724ba675SRob Herring
198*724ba675SRob Herring				regulator-state-mem {
199*724ba675SRob Herring					regulator-off-in-suspend;
200*724ba675SRob Herring				};
201*724ba675SRob Herring			};
202*724ba675SRob Herring
203*724ba675SRob Herring			buck7_reg: BUCK7 {
204*724ba675SRob Herring				regulator-name = "VIN_LLDO_1V4";
205*724ba675SRob Herring				regulator-min-microvolt = <1200000>;
206*724ba675SRob Herring				regulator-max-microvolt = <1500000>;
207*724ba675SRob Herring				regulator-always-on;
208*724ba675SRob Herring			};
209*724ba675SRob Herring
210*724ba675SRob Herring			buck8_reg: BUCK8 {
211*724ba675SRob Herring				regulator-name = "VIN_MLDO_2V0";
212*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
213*724ba675SRob Herring				regulator-max-microvolt = <2100000>;
214*724ba675SRob Herring				regulator-always-on;
215*724ba675SRob Herring			};
216*724ba675SRob Herring
217*724ba675SRob Herring			buck9_reg: BUCK9 {
218*724ba675SRob Herring				regulator-name = "VIN_HLDO_3V5";
219*724ba675SRob Herring				regulator-min-microvolt = <3000000>;
220*724ba675SRob Herring				regulator-max-microvolt = <3500000>;
221*724ba675SRob Herring				regulator-always-on;
222*724ba675SRob Herring			};
223*724ba675SRob Herring
224*724ba675SRob Herring			buck10_reg: BUCK10 {
225*724ba675SRob Herring				regulator-name = "VDD_CAM_ISP_1V0";
226*724ba675SRob Herring				regulator-min-microvolt = <750000>;
227*724ba675SRob Herring				regulator-max-microvolt = <3550000>;
228*724ba675SRob Herring			};
229*724ba675SRob Herring
230*724ba675SRob Herring			ldo1_reg: LDO1 {
231*724ba675SRob Herring				regulator-name = "VDD_ALIVE_1.0V";
232*724ba675SRob Herring				regulator-min-microvolt = <1000000>;
233*724ba675SRob Herring				regulator-max-microvolt = <1000000>;
234*724ba675SRob Herring				regulator-always-on;
235*724ba675SRob Herring			};
236*724ba675SRob Herring
237*724ba675SRob Herring			ldo2_reg: LDO2 {
238*724ba675SRob Herring				regulator-name = "VDD_APIO_1V8";
239*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
240*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
241*724ba675SRob Herring				regulator-always-on;
242*724ba675SRob Herring				regulator-boot-on;
243*724ba675SRob Herring
244*724ba675SRob Herring				regulator-state-mem {
245*724ba675SRob Herring					regulator-on-in-suspend;
246*724ba675SRob Herring				};
247*724ba675SRob Herring			};
248*724ba675SRob Herring
249*724ba675SRob Herring			ldo3_reg: LDO3 {
250*724ba675SRob Herring				regulator-name = "VDD_APIO_MMC01_1V8";
251*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
252*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
253*724ba675SRob Herring				regulator-always-on;
254*724ba675SRob Herring
255*724ba675SRob Herring				regulator-state-mem {
256*724ba675SRob Herring					regulator-off-in-suspend;
257*724ba675SRob Herring				};
258*724ba675SRob Herring			};
259*724ba675SRob Herring
260*724ba675SRob Herring			ldo4_reg: LDO4 {
261*724ba675SRob Herring				regulator-name = "VDD_ADC_1V8";
262*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
263*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
264*724ba675SRob Herring				regulator-always-on;
265*724ba675SRob Herring				regulator-boot-on;
266*724ba675SRob Herring
267*724ba675SRob Herring				regulator-state-mem {
268*724ba675SRob Herring					regulator-on-in-suspend;
269*724ba675SRob Herring				};
270*724ba675SRob Herring			};
271*724ba675SRob Herring
272*724ba675SRob Herring			ldo5_reg: LDO5 {
273*724ba675SRob Herring				/* Unused */
274*724ba675SRob Herring				regulator-name = "VDD_LDO5";
275*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
276*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
277*724ba675SRob Herring			};
278*724ba675SRob Herring
279*724ba675SRob Herring			ldo6_reg: LDO6 {
280*724ba675SRob Herring				regulator-name = "VDD_MIPI_1V0";
281*724ba675SRob Herring				regulator-min-microvolt = <1000000>;
282*724ba675SRob Herring				regulator-max-microvolt = <1000000>;
283*724ba675SRob Herring				regulator-always-on;
284*724ba675SRob Herring				regulator-boot-on;
285*724ba675SRob Herring
286*724ba675SRob Herring				regulator-state-mem {
287*724ba675SRob Herring					regulator-off-in-suspend;
288*724ba675SRob Herring				};
289*724ba675SRob Herring			};
290*724ba675SRob Herring
291*724ba675SRob Herring			ldo7_reg: LDO7 {
292*724ba675SRob Herring				regulator-name = "VDD_MIPI_PLL_ABB1_18V";
293*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
294*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
295*724ba675SRob Herring				regulator-always-on;
296*724ba675SRob Herring				regulator-boot-on;
297*724ba675SRob Herring
298*724ba675SRob Herring				regulator-state-mem {
299*724ba675SRob Herring					regulator-off-in-suspend;
300*724ba675SRob Herring				};
301*724ba675SRob Herring			};
302*724ba675SRob Herring
303*724ba675SRob Herring			ldo8_reg: LDO8 {
304*724ba675SRob Herring				/* Unused */
305*724ba675SRob Herring				regulator-name = "VDD_LDO8";
306*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
307*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
308*724ba675SRob Herring			};
309*724ba675SRob Herring
310*724ba675SRob Herring			ldo9_reg: LDO9 {
311*724ba675SRob Herring				regulator-name = "VDD_UOTG_3V0";
312*724ba675SRob Herring				regulator-min-microvolt = <3000000>;
313*724ba675SRob Herring				regulator-max-microvolt = <3000000>;
314*724ba675SRob Herring				regulator-always-on;
315*724ba675SRob Herring				regulator-boot-on;
316*724ba675SRob Herring
317*724ba675SRob Herring				regulator-state-mem {
318*724ba675SRob Herring					regulator-on-in-suspend;
319*724ba675SRob Herring				};
320*724ba675SRob Herring			};
321*724ba675SRob Herring
322*724ba675SRob Herring			ldo10_reg: LDO10 {
323*724ba675SRob Herring				regulator-name = "VDDQ_PRE_1V8";
324*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
325*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
326*724ba675SRob Herring				regulator-always-on;
327*724ba675SRob Herring				regulator-boot-on;
328*724ba675SRob Herring
329*724ba675SRob Herring				regulator-state-mem {
330*724ba675SRob Herring					regulator-on-in-suspend;
331*724ba675SRob Herring				};
332*724ba675SRob Herring			};
333*724ba675SRob Herring
334*724ba675SRob Herring			ldo11_reg: LDO11 {
335*724ba675SRob Herring				regulator-name = "VDD_HSIC_1V0";
336*724ba675SRob Herring				regulator-min-microvolt = <1000000>;
337*724ba675SRob Herring				regulator-max-microvolt = <1000000>;
338*724ba675SRob Herring				regulator-always-on;
339*724ba675SRob Herring				regulator-boot-on;
340*724ba675SRob Herring
341*724ba675SRob Herring				regulator-state-mem {
342*724ba675SRob Herring					regulator-on-in-suspend;
343*724ba675SRob Herring				};
344*724ba675SRob Herring			};
345*724ba675SRob Herring
346*724ba675SRob Herring			ldo12_reg: LDO12 {
347*724ba675SRob Herring				regulator-name = "VDD_HSIC_1V8";
348*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
349*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
350*724ba675SRob Herring				regulator-always-on;
351*724ba675SRob Herring				regulator-boot-on;
352*724ba675SRob Herring
353*724ba675SRob Herring				regulator-state-mem {
354*724ba675SRob Herring					regulator-on-in-suspend;
355*724ba675SRob Herring				};
356*724ba675SRob Herring			};
357*724ba675SRob Herring
358*724ba675SRob Herring			ldo13_reg: LDO13 {
359*724ba675SRob Herring				regulator-name = "VDD_APIO_MMC2_2V8";
360*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
361*724ba675SRob Herring				regulator-max-microvolt = <2800000>;
362*724ba675SRob Herring				regulator-boot-on;
363*724ba675SRob Herring
364*724ba675SRob Herring				regulator-state-mem {
365*724ba675SRob Herring					regulator-off-in-suspend;
366*724ba675SRob Herring				};
367*724ba675SRob Herring			};
368*724ba675SRob Herring
369*724ba675SRob Herring			ldo14_reg: LDO14 {
370*724ba675SRob Herring				regulator-name = "VDD_MOTOR_3V0";
371*724ba675SRob Herring				regulator-min-microvolt = <3000000>;
372*724ba675SRob Herring				regulator-max-microvolt = <3000000>;
373*724ba675SRob Herring
374*724ba675SRob Herring				regulator-state-mem {
375*724ba675SRob Herring					regulator-off-in-suspend;
376*724ba675SRob Herring				};
377*724ba675SRob Herring			};
378*724ba675SRob Herring
379*724ba675SRob Herring			ldo15_reg: LDO15 {
380*724ba675SRob Herring				regulator-name = "VDD_LDO15";
381*724ba675SRob Herring				/*
382*724ba675SRob Herring				 * LDO15 varies between devices and is
383*724ba675SRob Herring				 * specified in the device dts
384*724ba675SRob Herring				 */
385*724ba675SRob Herring			};
386*724ba675SRob Herring
387*724ba675SRob Herring			ldo16_reg: LDO16 {
388*724ba675SRob Herring				regulator-name = "VDD_AP_2V8";
389*724ba675SRob Herring				regulator-min-microvolt = <2800000>;
390*724ba675SRob Herring				regulator-max-microvolt = <2800000>;
391*724ba675SRob Herring				regulator-always-on;
392*724ba675SRob Herring				regulator-boot-on;
393*724ba675SRob Herring
394*724ba675SRob Herring				regulator-state-mem {
395*724ba675SRob Herring					regulator-on-in-suspend;
396*724ba675SRob Herring				};
397*724ba675SRob Herring			};
398*724ba675SRob Herring
399*724ba675SRob Herring			ldo17_reg: LDO17 {
400*724ba675SRob Herring				regulator-name = "VDD_LDO17";
401*724ba675SRob Herring				/*
402*724ba675SRob Herring				 * LDO17 varies between devices and is
403*724ba675SRob Herring				 * specified in the device dts
404*724ba675SRob Herring				 */
405*724ba675SRob Herring			};
406*724ba675SRob Herring
407*724ba675SRob Herring			ldo18_reg: LDO18 {
408*724ba675SRob Herring				/* Unused */
409*724ba675SRob Herring				regulator-name = "VDD_LDO18";
410*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
411*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
412*724ba675SRob Herring			};
413*724ba675SRob Herring
414*724ba675SRob Herring			ldo19_reg: LDO19 {
415*724ba675SRob Herring				regulator-name = "VDD_VTF_2V8";
416*724ba675SRob Herring				regulator-min-microvolt = <2800000>;
417*724ba675SRob Herring				regulator-max-microvolt = <2800000>;
418*724ba675SRob Herring
419*724ba675SRob Herring				regulator-state-mem {
420*724ba675SRob Herring					regulator-off-in-suspend;
421*724ba675SRob Herring				};
422*724ba675SRob Herring			};
423*724ba675SRob Herring
424*724ba675SRob Herring			ldo20_reg: LDO20 {
425*724ba675SRob Herring				regulator-name = "VDD_CAM1_CAM_1V8";
426*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
427*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
428*724ba675SRob Herring
429*724ba675SRob Herring				regulator-state-mem {
430*724ba675SRob Herring					regulator-off-in-suspend;
431*724ba675SRob Herring				};
432*724ba675SRob Herring			};
433*724ba675SRob Herring
434*724ba675SRob Herring			ldo21_reg: LDO21 {
435*724ba675SRob Herring				regulator-name = "VDD_CAM_IO_1V8";
436*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
437*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
438*724ba675SRob Herring
439*724ba675SRob Herring				regulator-state-mem {
440*724ba675SRob Herring					regulator-off-in-suspend;
441*724ba675SRob Herring				};
442*724ba675SRob Herring			};
443*724ba675SRob Herring
444*724ba675SRob Herring			ldo22_reg: LDO22 {
445*724ba675SRob Herring				regulator-name = "VDD_CAM0_S_CORE_1V1";
446*724ba675SRob Herring				regulator-min-microvolt = <1050000>;
447*724ba675SRob Herring				regulator-max-microvolt = <1200000>;
448*724ba675SRob Herring
449*724ba675SRob Herring				regulator-state-mem {
450*724ba675SRob Herring					regulator-off-in-suspend;
451*724ba675SRob Herring				};
452*724ba675SRob Herring			};
453*724ba675SRob Herring
454*724ba675SRob Herring			ldo23_reg: LDO23 {
455*724ba675SRob Herring				regulator-name = "VDD_MIFS_1V1";
456*724ba675SRob Herring				regulator-min-microvolt = <800000>;
457*724ba675SRob Herring				regulator-max-microvolt = <1100000>;
458*724ba675SRob Herring				regulator-always-on;
459*724ba675SRob Herring
460*724ba675SRob Herring				regulator-state-mem {
461*724ba675SRob Herring					regulator-on-in-suspend;
462*724ba675SRob Herring				};
463*724ba675SRob Herring			};
464*724ba675SRob Herring
465*724ba675SRob Herring			ldo24_reg: LDO24 {
466*724ba675SRob Herring				regulator-name = "VDD_TSP_3V3";
467*724ba675SRob Herring				regulator-min-microvolt = <3300000>;
468*724ba675SRob Herring				regulator-max-microvolt = <3300000>;
469*724ba675SRob Herring
470*724ba675SRob Herring				regulator-state-mem {
471*724ba675SRob Herring					regulator-off-in-suspend;
472*724ba675SRob Herring				};
473*724ba675SRob Herring			};
474*724ba675SRob Herring
475*724ba675SRob Herring			ldo25_reg: LDO25 {
476*724ba675SRob Herring				/* Unused */
477*724ba675SRob Herring				regulator-name = "VDD_LDO25";
478*724ba675SRob Herring				regulator-min-microvolt = <800000>;
479*724ba675SRob Herring				regulator-max-microvolt = <3950000>;
480*724ba675SRob Herring			};
481*724ba675SRob Herring
482*724ba675SRob Herring			ldo26_reg: LDO26 {
483*724ba675SRob Herring				regulator-name = "VDD_CAM0_AF_2V8";
484*724ba675SRob Herring				regulator-min-microvolt = <2800000>;
485*724ba675SRob Herring				regulator-max-microvolt = <2800000>;
486*724ba675SRob Herring
487*724ba675SRob Herring				regulator-state-mem {
488*724ba675SRob Herring					regulator-off-in-suspend;
489*724ba675SRob Herring				};
490*724ba675SRob Herring			};
491*724ba675SRob Herring
492*724ba675SRob Herring			ldo27_reg: LDO27 {
493*724ba675SRob Herring				regulator-name = "VDD_G3DS_1V0";
494*724ba675SRob Herring				regulator-min-microvolt = <800000>;
495*724ba675SRob Herring				regulator-max-microvolt = <1000000>;
496*724ba675SRob Herring				regulator-always-on;
497*724ba675SRob Herring
498*724ba675SRob Herring				regulator-state-mem {
499*724ba675SRob Herring					regulator-on-in-suspend;
500*724ba675SRob Herring				};
501*724ba675SRob Herring			};
502*724ba675SRob Herring
503*724ba675SRob Herring			ldo28_reg: LDO28 {
504*724ba675SRob Herring				regulator-name = "VDD_LDO28";
505*724ba675SRob Herring				/*
506*724ba675SRob Herring				 * LDO28 varies between devices and is
507*724ba675SRob Herring				 * specified in the device dts
508*724ba675SRob Herring				 */
509*724ba675SRob Herring			};
510*724ba675SRob Herring
511*724ba675SRob Herring			ldo29_reg: LDO29 {
512*724ba675SRob Herring				regulator-name = "VDD_LDO29";
513*724ba675SRob Herring				/*
514*724ba675SRob Herring				 * LDO29 varies between devices and is
515*724ba675SRob Herring				 * specified in the device dts
516*724ba675SRob Herring				 */
517*724ba675SRob Herring			};
518*724ba675SRob Herring
519*724ba675SRob Herring			ldo30_reg: LDO30 {
520*724ba675SRob Herring				regulator-name = "VDD_TOUCH_1V8";
521*724ba675SRob Herring				regulator-min-microvolt = <1900000>;
522*724ba675SRob Herring				regulator-max-microvolt = <1900000>;
523*724ba675SRob Herring
524*724ba675SRob Herring				regulator-state-mem {
525*724ba675SRob Herring					regulator-off-in-suspend;
526*724ba675SRob Herring				};
527*724ba675SRob Herring			};
528*724ba675SRob Herring
529*724ba675SRob Herring			ldo31_reg: LDO31 {
530*724ba675SRob Herring				regulator-name = "VDD_LDO31";
531*724ba675SRob Herring				/*
532*724ba675SRob Herring				 * LDO31 varies between devices and is
533*724ba675SRob Herring				 * specified in the device dts
534*724ba675SRob Herring				 */
535*724ba675SRob Herring			};
536*724ba675SRob Herring
537*724ba675SRob Herring			ldo32_reg: LDO32 {
538*724ba675SRob Herring				regulator-name = "VDD_LDO32";
539*724ba675SRob Herring				/*
540*724ba675SRob Herring				 * LDO32 varies between devices and is
541*724ba675SRob Herring				 * specified in the device dts
542*724ba675SRob Herring				 */
543*724ba675SRob Herring			};
544*724ba675SRob Herring
545*724ba675SRob Herring			ldo33_reg: LDO33 {
546*724ba675SRob Herring				regulator-name = "VDD_MHL_1V8";
547*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
548*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
549*724ba675SRob Herring
550*724ba675SRob Herring				regulator-state-mem {
551*724ba675SRob Herring					regulator-off-in-suspend;
552*724ba675SRob Herring				};
553*724ba675SRob Herring			};
554*724ba675SRob Herring
555*724ba675SRob Herring			ldo34_reg: LDO34 {
556*724ba675SRob Herring				regulator-name = "VDD_MHL_3V3";
557*724ba675SRob Herring				regulator-min-microvolt = <3300000>;
558*724ba675SRob Herring				regulator-max-microvolt = <3300000>;
559*724ba675SRob Herring
560*724ba675SRob Herring				regulator-state-mem {
561*724ba675SRob Herring					regulator-off-in-suspend;
562*724ba675SRob Herring				};
563*724ba675SRob Herring			};
564*724ba675SRob Herring
565*724ba675SRob Herring			ldo35_reg: LDO35 {
566*724ba675SRob Herring				regulator-name = "VDD_SIL_1V2";
567*724ba675SRob Herring				regulator-min-microvolt = <1200000>;
568*724ba675SRob Herring				regulator-max-microvolt = <1200000>;
569*724ba675SRob Herring
570*724ba675SRob Herring				regulator-state-mem {
571*724ba675SRob Herring					regulator-off-in-suspend;
572*724ba675SRob Herring				};
573*724ba675SRob Herring			};
574*724ba675SRob Herring
575*724ba675SRob Herring			ldo36_reg: LDO36 {
576*724ba675SRob Herring				/* Unused */
577*724ba675SRob Herring				regulator-name = "VDD_LDO36";
578*724ba675SRob Herring				regulator-min-microvolt = <800000>;
579*724ba675SRob Herring				regulator-max-microvolt = <3950000>;
580*724ba675SRob Herring			};
581*724ba675SRob Herring
582*724ba675SRob Herring			ldo37_reg: LDO37 {
583*724ba675SRob Herring				/* Unused */
584*724ba675SRob Herring				regulator-name = "VDD_LDO37";
585*724ba675SRob Herring				regulator-min-microvolt = <800000>;
586*724ba675SRob Herring				regulator-max-microvolt = <3950000>;
587*724ba675SRob Herring			};
588*724ba675SRob Herring
589*724ba675SRob Herring			ldo38_reg: LDO38 {
590*724ba675SRob Herring				regulator-name = "VDD_KEY_LED_3V3";
591*724ba675SRob Herring				regulator-min-microvolt = <2500000>;
592*724ba675SRob Herring				regulator-max-microvolt = <3300000>;
593*724ba675SRob Herring
594*724ba675SRob Herring				regulator-state-mem {
595*724ba675SRob Herring					regulator-off-in-suspend;
596*724ba675SRob Herring				};
597*724ba675SRob Herring			};
598*724ba675SRob Herring		};
599*724ba675SRob Herring	};
600*724ba675SRob Herring};
601*724ba675SRob Herring
602*724ba675SRob Herring&mixer {
603*724ba675SRob Herring	status = "okay";
604*724ba675SRob Herring};
605*724ba675SRob Herring
606*724ba675SRob Herring/* Internal storage */
607*724ba675SRob Herring&mmc_0 {
608*724ba675SRob Herring	status = "okay";
609*724ba675SRob Herring	bus-width = <8>;
610*724ba675SRob Herring	cap-mmc-highspeed;
611*724ba675SRob Herring	card-detect-delay = <200>;
612*724ba675SRob Herring	mmc-ddr-1_8v;
613*724ba675SRob Herring	mmc-hs200-1_8v;
614*724ba675SRob Herring	non-removable;
615*724ba675SRob Herring	pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8>;
616*724ba675SRob Herring	pinctrl-names = "default";
617*724ba675SRob Herring	samsung,dw-mshc-ciu-div = <3>;
618*724ba675SRob Herring	samsung,dw-mshc-ddr-timing = <0 2>;
619*724ba675SRob Herring	samsung,dw-mshc-sdr-timing = <0 4>;
620*724ba675SRob Herring	vqmmc-supply = <&ldo3_reg>;
621*724ba675SRob Herring};
622*724ba675SRob Herring
623*724ba675SRob Herring/* External sdcard */
624*724ba675SRob Herring&mmc_2 {
625*724ba675SRob Herring	status = "okay";
626*724ba675SRob Herring	bus-width = <4>;
627*724ba675SRob Herring	cap-sd-highspeed;
628*724ba675SRob Herring	card-detect-delay = <200>;
629*724ba675SRob Herring	cd-gpios = <&gpx2 4 GPIO_ACTIVE_LOW>;
630*724ba675SRob Herring	pinctrl-0 = <&sd2_clk &sd2_cmd &mmc2_cd &sd2_bus1 &sd2_bus4>;
631*724ba675SRob Herring	pinctrl-names = "default";
632*724ba675SRob Herring	samsung,dw-mshc-ciu-div = <3>;
633*724ba675SRob Herring	samsung,dw-mshc-ddr-timing = <0 2>;
634*724ba675SRob Herring	samsung,dw-mshc-sdr-timing = <0 4>;
635*724ba675SRob Herring	sd-uhs-sdr50;
636*724ba675SRob Herring	vmmc-supply = <&ldo19_reg>;
637*724ba675SRob Herring	vqmmc-supply = <&ldo13_reg>;
638*724ba675SRob Herring};
639*724ba675SRob Herring
640*724ba675SRob Herring&pinctrl_0 {
641*724ba675SRob Herring	mmc2_cd: mmc2-cd-pins {
642*724ba675SRob Herring		samsung,pins = "gpx2-4";
643*724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
644*724ba675SRob Herring	};
645*724ba675SRob Herring
646*724ba675SRob Herring	s2mps11_irq: s2mps11-irq-pins {
647*724ba675SRob Herring		samsung,pins = "gpx3-0";
648*724ba675SRob Herring		samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
649*724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
650*724ba675SRob Herring		samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
651*724ba675SRob Herring	};
652*724ba675SRob Herring};
653*724ba675SRob Herring
654*724ba675SRob Herring&rtc {
655*724ba675SRob Herring	status = "okay";
656*724ba675SRob Herring	clocks = <&clock CLK_RTC>, <&s2mps11_osc S2MPS11_CLK_AP>;
657*724ba675SRob Herring	clock-names = "rtc", "rtc_src";
658*724ba675SRob Herring};
659*724ba675SRob Herring
660*724ba675SRob Herring&tmu_cpu0 {
661*724ba675SRob Herring	vtmu-supply = <&ldo10_reg>;
662*724ba675SRob Herring};
663*724ba675SRob Herring
664*724ba675SRob Herring&tmu_cpu1 {
665*724ba675SRob Herring	vtmu-supply = <&ldo10_reg>;
666*724ba675SRob Herring};
667*724ba675SRob Herring
668*724ba675SRob Herring&tmu_cpu2 {
669*724ba675SRob Herring	vtmu-supply = <&ldo10_reg>;
670*724ba675SRob Herring};
671*724ba675SRob Herring
672*724ba675SRob Herring&tmu_cpu3 {
673*724ba675SRob Herring	vtmu-supply = <&ldo10_reg>;
674*724ba675SRob Herring};
675*724ba675SRob Herring
676*724ba675SRob Herring&tmu_gpu {
677*724ba675SRob Herring	vtmu-supply = <&ldo10_reg>;
678*724ba675SRob Herring};
679*724ba675SRob Herring
680*724ba675SRob Herring&usbdrd_dwc3_0 {
681*724ba675SRob Herring	dr_mode = "peripheral";
682*724ba675SRob Herring};
683*724ba675SRob Herring
684*724ba675SRob Herring&usbdrd_dwc3_1 {
685*724ba675SRob Herring	dr_mode = "peripheral";
686*724ba675SRob Herring};
687*724ba675SRob Herring
688*724ba675SRob Herring&usbdrd3_0 {
689*724ba675SRob Herring	vdd33-supply = <&ldo9_reg>;
690*724ba675SRob Herring	vdd10-supply = <&ldo11_reg>;
691*724ba675SRob Herring};
692*724ba675SRob Herring
693*724ba675SRob Herring&usbdrd3_1 {
694*724ba675SRob Herring	vdd33-supply = <&ldo9_reg>;
695*724ba675SRob Herring	vdd10-supply = <&ldo11_reg>;
696*724ba675SRob Herring};
697