xref: /linux/scripts/dtc/include-prefixes/arm/samsung/exynos5422-samsung-k3g.dts (revision cdd5b5a9761fd66d17586e4f4ba6588c70e640ea)
1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0
2*724ba675SRob Herring/*
3*724ba675SRob Herring * Samsung Galaxy S5 (SM-G900H) device-tree source
4*724ba675SRob Herring *
5*724ba675SRob Herring * Copyright (c) 2023 Markuss Broks
6*724ba675SRob Herring */
7*724ba675SRob Herring
8*724ba675SRob Herring/dts-v1/;
9*724ba675SRob Herring#include <dt-bindings/clock/samsung,s2mps11.h>
10*724ba675SRob Herring#include <dt-bindings/gpio/gpio.h>
11*724ba675SRob Herring#include <dt-bindings/interrupt-controller/irq.h>
12*724ba675SRob Herring#include "exynos5800.dtsi"
13*724ba675SRob Herring#include "exynos5422-cpus.dtsi"
14*724ba675SRob Herring
15*724ba675SRob Herring/ {
16*724ba675SRob Herring	model = "Samsung Galaxy S5 (SM-G900H)";
17*724ba675SRob Herring	compatible = "samsung,k3g", "samsung,exynos5800", \
18*724ba675SRob Herring		     "samsung,exynos5";
19*724ba675SRob Herring
20*724ba675SRob Herring	chassis-type = "handset";
21*724ba675SRob Herring
22*724ba675SRob Herring	aliases {
23*724ba675SRob Herring		mmc0 = &mmc_0;
24*724ba675SRob Herring	};
25*724ba675SRob Herring
26*724ba675SRob Herring	memory@20000000 {
27*724ba675SRob Herring		device_type = "memory";
28*724ba675SRob Herring		reg = <0x20000000 0x80000000>; /* 2 GiB */
29*724ba675SRob Herring	};
30*724ba675SRob Herring
31*724ba675SRob Herring	fixed-rate-clocks {
32*724ba675SRob Herring		oscclk {
33*724ba675SRob Herring			compatible = "samsung,exynos5420-oscclk";
34*724ba675SRob Herring			clock-frequency = <24000000>;
35*724ba675SRob Herring		};
36*724ba675SRob Herring	};
37*724ba675SRob Herring
38*724ba675SRob Herring	firmware@2073000 {
39*724ba675SRob Herring		compatible = "samsung,secure-firmware";
40*724ba675SRob Herring		reg = <0x02073000 0x1000>;
41*724ba675SRob Herring	};
42*724ba675SRob Herring
43*724ba675SRob Herring	tsp_vdd: regulator-tsp-vdd-en {
44*724ba675SRob Herring		compatible = "regulator-fixed";
45*724ba675SRob Herring		regulator-name = "tsp_vdd_en";
46*724ba675SRob Herring		regulator-min-microvolt = <3300000>;
47*724ba675SRob Herring		regulator-max-microvolt = <3300000>;
48*724ba675SRob Herring		gpio = <&gpy3 5 GPIO_ACTIVE_HIGH>;
49*724ba675SRob Herring		enable-active-high;
50*724ba675SRob Herring	};
51*724ba675SRob Herring};
52*724ba675SRob Herring
53*724ba675SRob Herring&cpu0 {
54*724ba675SRob Herring	cpu-supply = <&buck2_reg>;
55*724ba675SRob Herring};
56*724ba675SRob Herring
57*724ba675SRob Herring&cpu4 {
58*724ba675SRob Herring	cpu-supply = <&buck6_reg>;
59*724ba675SRob Herring};
60*724ba675SRob Herring
61*724ba675SRob Herring&gpu {
62*724ba675SRob Herring	status = "okay";
63*724ba675SRob Herring	mali-supply = <&buck4_reg>;
64*724ba675SRob Herring};
65*724ba675SRob Herring
66*724ba675SRob Herring&hsi2c_7 {
67*724ba675SRob Herring	status = "okay";
68*724ba675SRob Herring
69*724ba675SRob Herring	pmic@66 {
70*724ba675SRob Herring		compatible = "samsung,s2mps11-pmic";
71*724ba675SRob Herring		reg = <0x66>;
72*724ba675SRob Herring
73*724ba675SRob Herring		interrupt-parent = <&gpx0>;
74*724ba675SRob Herring		interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
75*724ba675SRob Herring		wakeup-source;
76*724ba675SRob Herring
77*724ba675SRob Herring		pinctrl-names = "default";
78*724ba675SRob Herring		pinctrl-0 = <&s2mps11_irq>;
79*724ba675SRob Herring
80*724ba675SRob Herring		s2mps11_osc: clocks {
81*724ba675SRob Herring			compatible = "samsung,s2mps11-clk";
82*724ba675SRob Herring			#clock-cells = <1>;
83*724ba675SRob Herring			clock-output-names = "s2mps11_ap",
84*724ba675SRob Herring					     "s2mps11_cp", "s2mps11_bt";
85*724ba675SRob Herring		};
86*724ba675SRob Herring
87*724ba675SRob Herring		regulators {
88*724ba675SRob Herring			buck1_reg: BUCK1 {
89*724ba675SRob Herring				regulator-name = "VDD_MIF";
90*724ba675SRob Herring				regulator-min-microvolt = <700000>;
91*724ba675SRob Herring				regulator-max-microvolt = <1300000>;
92*724ba675SRob Herring				regulator-always-on;
93*724ba675SRob Herring				regulator-boot-on;
94*724ba675SRob Herring
95*724ba675SRob Herring				regulator-state-mem {
96*724ba675SRob Herring					regulator-off-in-suspend;
97*724ba675SRob Herring				};
98*724ba675SRob Herring			};
99*724ba675SRob Herring
100*724ba675SRob Herring			buck2_reg: BUCK2 {
101*724ba675SRob Herring				regulator-name = "VDD_ARM";
102*724ba675SRob Herring				regulator-min-microvolt = <800000>;
103*724ba675SRob Herring				regulator-max-microvolt = <1500000>;
104*724ba675SRob Herring				regulator-always-on;
105*724ba675SRob Herring				regulator-boot-on;
106*724ba675SRob Herring
107*724ba675SRob Herring				regulator-state-mem {
108*724ba675SRob Herring					regulator-off-in-suspend;
109*724ba675SRob Herring				};
110*724ba675SRob Herring			};
111*724ba675SRob Herring
112*724ba675SRob Herring			buck3_reg: BUCK3 {
113*724ba675SRob Herring				regulator-name = "VDD_INT";
114*724ba675SRob Herring				regulator-min-microvolt = <800000>;
115*724ba675SRob Herring				regulator-max-microvolt = <1400000>;
116*724ba675SRob Herring				regulator-always-on;
117*724ba675SRob Herring				regulator-boot-on;
118*724ba675SRob Herring
119*724ba675SRob Herring				regulator-state-mem {
120*724ba675SRob Herring					regulator-off-in-suspend;
121*724ba675SRob Herring				};
122*724ba675SRob Herring			};
123*724ba675SRob Herring
124*724ba675SRob Herring			buck4_reg: BUCK4 {
125*724ba675SRob Herring				regulator-name = "VDD_G3D";
126*724ba675SRob Herring				regulator-min-microvolt = <700000>;
127*724ba675SRob Herring				regulator-max-microvolt = <1400000>;
128*724ba675SRob Herring				regulator-always-on;
129*724ba675SRob Herring				regulator-boot-on;
130*724ba675SRob Herring
131*724ba675SRob Herring				regulator-state-mem {
132*724ba675SRob Herring					regulator-off-in-suspend;
133*724ba675SRob Herring				};
134*724ba675SRob Herring			};
135*724ba675SRob Herring
136*724ba675SRob Herring			buck5_reg: BUCK5 {
137*724ba675SRob Herring				regulator-name = "VDD_MEM";
138*724ba675SRob Herring				regulator-min-microvolt = <1200000>;
139*724ba675SRob Herring				regulator-max-microvolt = <1200000>;
140*724ba675SRob Herring				regulator-always-on;
141*724ba675SRob Herring				regulator-boot-on;
142*724ba675SRob Herring
143*724ba675SRob Herring				regulator-state-mem {
144*724ba675SRob Herring					regulator-off-in-suspend;
145*724ba675SRob Herring				};
146*724ba675SRob Herring			};
147*724ba675SRob Herring
148*724ba675SRob Herring			buck6_reg: BUCK6 {
149*724ba675SRob Herring				regulator-name = "VDD_KFC";
150*724ba675SRob Herring				regulator-min-microvolt = <800000>;
151*724ba675SRob Herring				regulator-max-microvolt = <1500000>;
152*724ba675SRob Herring				regulator-always-on;
153*724ba675SRob Herring				regulator-boot-on;
154*724ba675SRob Herring
155*724ba675SRob Herring				regulator-state-mem {
156*724ba675SRob Herring					regulator-off-in-suspend;
157*724ba675SRob Herring				};
158*724ba675SRob Herring			};
159*724ba675SRob Herring
160*724ba675SRob Herring			buck7_reg: BUCK7 {
161*724ba675SRob Herring				regulator-name = "VIN_LLDO";
162*724ba675SRob Herring				regulator-min-microvolt = <1200000>;
163*724ba675SRob Herring				regulator-max-microvolt = <1500000>;
164*724ba675SRob Herring				regulator-always-on;
165*724ba675SRob Herring			};
166*724ba675SRob Herring
167*724ba675SRob Herring			buck8_reg: BUCK8 {
168*724ba675SRob Herring				regulator-name = "VIN_MLDO";
169*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
170*724ba675SRob Herring				regulator-max-microvolt = <2100000>;
171*724ba675SRob Herring				regulator-always-on;
172*724ba675SRob Herring			};
173*724ba675SRob Herring
174*724ba675SRob Herring			buck9_reg: BUCK9 {
175*724ba675SRob Herring				regulator-name = "VIN_HLDO";
176*724ba675SRob Herring				regulator-min-microvolt = <3000000>;
177*724ba675SRob Herring				regulator-max-microvolt = <3500000>;
178*724ba675SRob Herring				regulator-always-on;
179*724ba675SRob Herring			};
180*724ba675SRob Herring
181*724ba675SRob Herring			buck10_reg: BUCK10 {
182*724ba675SRob Herring				regulator-name = "VDD_CAM_ISP";
183*724ba675SRob Herring				regulator-min-microvolt = <750000>;
184*724ba675SRob Herring				regulator-max-microvolt = <3550000>;
185*724ba675SRob Herring			};
186*724ba675SRob Herring
187*724ba675SRob Herring			ldo1_reg: LDO1 {
188*724ba675SRob Herring				regulator-name = "VDD_ALIVE";
189*724ba675SRob Herring				regulator-min-microvolt = <1000000>;
190*724ba675SRob Herring				regulator-max-microvolt = <1000000>;
191*724ba675SRob Herring				regulator-always-on;
192*724ba675SRob Herring			};
193*724ba675SRob Herring
194*724ba675SRob Herring			ldo2_reg: LDO2 {
195*724ba675SRob Herring				regulator-name = "VDD_APIO";
196*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
197*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
198*724ba675SRob Herring				regulator-always-on;
199*724ba675SRob Herring				regulator-boot-on;
200*724ba675SRob Herring
201*724ba675SRob Herring				regulator-state-mem {
202*724ba675SRob Herring					regulator-on-in-suspend;
203*724ba675SRob Herring				};
204*724ba675SRob Herring			};
205*724ba675SRob Herring
206*724ba675SRob Herring			ldo3_reg: LDO3 {
207*724ba675SRob Herring				regulator-name = "VDD_APIO_MMC01";
208*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
209*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
210*724ba675SRob Herring				regulator-always-on;
211*724ba675SRob Herring
212*724ba675SRob Herring				regulator-state-mem {
213*724ba675SRob Herring					regulator-off-in-suspend;
214*724ba675SRob Herring				};
215*724ba675SRob Herring			};
216*724ba675SRob Herring
217*724ba675SRob Herring			ldo4_reg: LDO4 {
218*724ba675SRob Herring				regulator-name = "VDD_ADC";
219*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
220*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
221*724ba675SRob Herring				regulator-always-on;
222*724ba675SRob Herring				regulator-boot-on;
223*724ba675SRob Herring
224*724ba675SRob Herring				regulator-state-mem {
225*724ba675SRob Herring					regulator-on-in-suspend;
226*724ba675SRob Herring				};
227*724ba675SRob Herring			};
228*724ba675SRob Herring
229*724ba675SRob Herring			ldo5_reg: LDO5 {
230*724ba675SRob Herring				regulator-name = "VDD_HRM_1V8";
231*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
232*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
233*724ba675SRob Herring			};
234*724ba675SRob Herring
235*724ba675SRob Herring			ldo6_reg: LDO6 {
236*724ba675SRob Herring				regulator-name = "VDD_MIPI";
237*724ba675SRob Herring				regulator-min-microvolt = <1000000>;
238*724ba675SRob Herring				regulator-max-microvolt = <1000000>;
239*724ba675SRob Herring				regulator-always-on;
240*724ba675SRob Herring				regulator-boot-on;
241*724ba675SRob Herring
242*724ba675SRob Herring				regulator-state-mem {
243*724ba675SRob Herring					regulator-off-in-suspend;
244*724ba675SRob Herring				};
245*724ba675SRob Herring			};
246*724ba675SRob Herring
247*724ba675SRob Herring			ldo7_reg: LDO7 {
248*724ba675SRob Herring				regulator-name = "VDD_MIPI_PLL_ABB1";
249*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
250*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
251*724ba675SRob Herring				regulator-always-on;
252*724ba675SRob Herring				regulator-boot-on;
253*724ba675SRob Herring
254*724ba675SRob Herring				regulator-state-mem {
255*724ba675SRob Herring					regulator-off-in-suspend;
256*724ba675SRob Herring				};
257*724ba675SRob Herring			};
258*724ba675SRob Herring
259*724ba675SRob Herring			ldo8_reg: LDO8 {
260*724ba675SRob Herring				regulator-name = "VDD_VTF";
261*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
262*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
263*724ba675SRob Herring				regulator-always-on;
264*724ba675SRob Herring
265*724ba675SRob Herring				regulator-state-mem {
266*724ba675SRob Herring					regulator-on-in-suspend;
267*724ba675SRob Herring				};
268*724ba675SRob Herring			};
269*724ba675SRob Herring
270*724ba675SRob Herring			ldo9_reg: LDO9 {
271*724ba675SRob Herring				regulator-name = "VDD_UOTG";
272*724ba675SRob Herring				regulator-min-microvolt = <3000000>;
273*724ba675SRob Herring				regulator-max-microvolt = <3000000>;
274*724ba675SRob Herring				regulator-always-on;
275*724ba675SRob Herring				regulator-boot-on;
276*724ba675SRob Herring
277*724ba675SRob Herring				regulator-state-mem {
278*724ba675SRob Herring					regulator-on-in-suspend;
279*724ba675SRob Herring				};
280*724ba675SRob Herring			};
281*724ba675SRob Herring
282*724ba675SRob Herring			ldo10_reg: LDO10 {
283*724ba675SRob Herring				regulator-name = "VDDQ_PRE";
284*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
285*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
286*724ba675SRob Herring				regulator-always-on;
287*724ba675SRob Herring				regulator-boot-on;
288*724ba675SRob Herring
289*724ba675SRob Herring				regulator-state-mem {
290*724ba675SRob Herring					regulator-on-in-suspend;
291*724ba675SRob Herring				};
292*724ba675SRob Herring			};
293*724ba675SRob Herring
294*724ba675SRob Herring			ldo11_reg: LDO11 {
295*724ba675SRob Herring				regulator-name = "VDD_HSIC_1V0";
296*724ba675SRob Herring				regulator-min-microvolt = <1000000>;
297*724ba675SRob Herring				regulator-max-microvolt = <1000000>;
298*724ba675SRob Herring				regulator-always-on;
299*724ba675SRob Herring				regulator-boot-on;
300*724ba675SRob Herring
301*724ba675SRob Herring				regulator-state-mem {
302*724ba675SRob Herring					regulator-on-in-suspend;
303*724ba675SRob Herring				};
304*724ba675SRob Herring			};
305*724ba675SRob Herring
306*724ba675SRob Herring			ldo12_reg: LDO12 {
307*724ba675SRob Herring				regulator-name = "VDD_HSIC_1V8";
308*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
309*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
310*724ba675SRob Herring				regulator-always-on;
311*724ba675SRob Herring				regulator-boot-on;
312*724ba675SRob Herring
313*724ba675SRob Herring				regulator-state-mem {
314*724ba675SRob Herring					regulator-on-in-suspend;
315*724ba675SRob Herring				};
316*724ba675SRob Herring			};
317*724ba675SRob Herring
318*724ba675SRob Herring			ldo13_reg: LDO13 {
319*724ba675SRob Herring				regulator-name = "VDD_APIO_MMC2";
320*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
321*724ba675SRob Herring				regulator-max-microvolt = <2800000>;
322*724ba675SRob Herring				regulator-boot-on;
323*724ba675SRob Herring
324*724ba675SRob Herring				regulator-state-mem {
325*724ba675SRob Herring					regulator-off-in-suspend;
326*724ba675SRob Herring				};
327*724ba675SRob Herring			};
328*724ba675SRob Herring
329*724ba675SRob Herring			ldo14_reg: LDO14 {
330*724ba675SRob Herring				regulator-name = "VDD_MOTOR";
331*724ba675SRob Herring				regulator-min-microvolt = <3000000>;
332*724ba675SRob Herring				regulator-max-microvolt = <3000000>;
333*724ba675SRob Herring
334*724ba675SRob Herring				regulator-state-mem {
335*724ba675SRob Herring					regulator-off-in-suspend;
336*724ba675SRob Herring				};
337*724ba675SRob Herring			};
338*724ba675SRob Herring
339*724ba675SRob Herring			ldo15_reg: LDO15 {
340*724ba675SRob Herring				regulator-name = "VDD_CAM1_2V8";
341*724ba675SRob Herring				regulator-min-microvolt = <2800000>;
342*724ba675SRob Herring				regulator-max-microvolt = <2800000>;
343*724ba675SRob Herring
344*724ba675SRob Herring				regulator-state-mem {
345*724ba675SRob Herring					regulator-off-in-suspend;
346*724ba675SRob Herring				};
347*724ba675SRob Herring			};
348*724ba675SRob Herring
349*724ba675SRob Herring			ldo16_reg: LDO16 {
350*724ba675SRob Herring				regulator-name = "VDD_AP";
351*724ba675SRob Herring				regulator-min-microvolt = <2800000>;
352*724ba675SRob Herring				regulator-max-microvolt = <2800000>;
353*724ba675SRob Herring				regulator-always-on;
354*724ba675SRob Herring				regulator-boot-on;
355*724ba675SRob Herring
356*724ba675SRob Herring				regulator-state-mem {
357*724ba675SRob Herring					regulator-on-in-suspend;
358*724ba675SRob Herring				};
359*724ba675SRob Herring			};
360*724ba675SRob Herring
361*724ba675SRob Herring			ldo17_reg: LDO17 {
362*724ba675SRob Herring				/* Unused */
363*724ba675SRob Herring				regulator-name = "VDD_LDO17";
364*724ba675SRob Herring			};
365*724ba675SRob Herring
366*724ba675SRob Herring			ldo18_reg: LDO18 {
367*724ba675SRob Herring				regulator-name = "VDD_CODEC";
368*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
369*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
370*724ba675SRob Herring				regulator-always-on;
371*724ba675SRob Herring
372*724ba675SRob Herring				regulator-state-mem {
373*724ba675SRob Herring					regulator-on-in-suspend;
374*724ba675SRob Herring				};
375*724ba675SRob Herring			};
376*724ba675SRob Herring
377*724ba675SRob Herring			ldo19_reg: LDO19 {
378*724ba675SRob Herring				regulator-name = "VDD_VMMC";
379*724ba675SRob Herring				regulator-min-microvolt = <2800000>;
380*724ba675SRob Herring				regulator-max-microvolt = <2800000>;
381*724ba675SRob Herring
382*724ba675SRob Herring				regulator-state-mem {
383*724ba675SRob Herring					regulator-on-in-suspend;
384*724ba675SRob Herring				};
385*724ba675SRob Herring			};
386*724ba675SRob Herring
387*724ba675SRob Herring			ldo20_reg: LDO20 {
388*724ba675SRob Herring				regulator-name = "VDD_CAM1_1V8";
389*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
390*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
391*724ba675SRob Herring
392*724ba675SRob Herring				regulator-state-mem {
393*724ba675SRob Herring					regulator-off-in-suspend;
394*724ba675SRob Herring				};
395*724ba675SRob Herring			};
396*724ba675SRob Herring
397*724ba675SRob Herring			ldo21_reg: LDO21 {
398*724ba675SRob Herring				regulator-name = "VDD_CAM_IO";
399*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
400*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
401*724ba675SRob Herring
402*724ba675SRob Herring				regulator-state-mem {
403*724ba675SRob Herring					regulator-off-in-suspend;
404*724ba675SRob Herring				};
405*724ba675SRob Herring			};
406*724ba675SRob Herring
407*724ba675SRob Herring			ldo22_reg: LDO22 {
408*724ba675SRob Herring				regulator-name = "VDD_CAM0_S_CORE";
409*724ba675SRob Herring				regulator-min-microvolt = <1200000>;
410*724ba675SRob Herring				regulator-max-microvolt = <1200000>;
411*724ba675SRob Herring
412*724ba675SRob Herring				regulator-state-mem {
413*724ba675SRob Herring					regulator-off-in-suspend;
414*724ba675SRob Herring				};
415*724ba675SRob Herring			};
416*724ba675SRob Herring
417*724ba675SRob Herring			ldo23_reg: LDO23 {
418*724ba675SRob Herring				regulator-name = "VDD_MIFS";
419*724ba675SRob Herring				regulator-min-microvolt = <800000>;
420*724ba675SRob Herring				regulator-max-microvolt = <1100000>;
421*724ba675SRob Herring				regulator-always-on;
422*724ba675SRob Herring
423*724ba675SRob Herring				regulator-state-mem {
424*724ba675SRob Herring					regulator-on-in-suspend;
425*724ba675SRob Herring				};
426*724ba675SRob Herring			};
427*724ba675SRob Herring
428*724ba675SRob Herring			ldo24_reg: LDO24 {
429*724ba675SRob Herring				regulator-name = "VDD_MHL_3V3";
430*724ba675SRob Herring				regulator-min-microvolt = <3300000>;
431*724ba675SRob Herring				regulator-max-microvolt = <3300000>;
432*724ba675SRob Herring
433*724ba675SRob Herring				regulator-state-mem {
434*724ba675SRob Herring					regulator-off-in-suspend;
435*724ba675SRob Herring				};
436*724ba675SRob Herring			};
437*724ba675SRob Herring
438*724ba675SRob Herring			ldo25_reg: LDO25 {
439*724ba675SRob Herring				regulator-name = "VDD_LCD_1V8";
440*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
441*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
442*724ba675SRob Herring
443*724ba675SRob Herring				regulator-state-mem {
444*724ba675SRob Herring					regulator-off-in-suspend;
445*724ba675SRob Herring				};
446*724ba675SRob Herring			};
447*724ba675SRob Herring
448*724ba675SRob Herring			ldo26_reg: LDO26 {
449*724ba675SRob Herring				regulator-name = "VDD_CAM0_AF";
450*724ba675SRob Herring				regulator-min-microvolt = <2800000>;
451*724ba675SRob Herring				regulator-max-microvolt = <2800000>;
452*724ba675SRob Herring
453*724ba675SRob Herring				regulator-state-mem {
454*724ba675SRob Herring					regulator-off-in-suspend;
455*724ba675SRob Herring				};
456*724ba675SRob Herring			};
457*724ba675SRob Herring
458*724ba675SRob Herring			ldo27_reg: LDO27 {
459*724ba675SRob Herring				regulator-name = "VDD_G3DS";
460*724ba675SRob Herring				regulator-min-microvolt = <800000>;
461*724ba675SRob Herring				regulator-max-microvolt = <1100000>;
462*724ba675SRob Herring				regulator-always-on;
463*724ba675SRob Herring
464*724ba675SRob Herring				regulator-state-mem {
465*724ba675SRob Herring					regulator-on-in-suspend;
466*724ba675SRob Herring				};
467*724ba675SRob Herring			};
468*724ba675SRob Herring
469*724ba675SRob Herring			ldo28_reg: LDO28 {
470*724ba675SRob Herring				regulator-name = "VDD_LCD_3V0";
471*724ba675SRob Herring				regulator-min-microvolt = <3000000>;
472*724ba675SRob Herring				regulator-max-microvolt = <3000000>;
473*724ba675SRob Herring
474*724ba675SRob Herring				regulator-state-mem {
475*724ba675SRob Herring					regulator-off-in-suspend;
476*724ba675SRob Herring				};
477*724ba675SRob Herring			};
478*724ba675SRob Herring
479*724ba675SRob Herring			ldo29_reg: LDO29 {
480*724ba675SRob Herring				/* Unused */
481*724ba675SRob Herring				regulator-name = "VDD_LDO29";
482*724ba675SRob Herring			};
483*724ba675SRob Herring
484*724ba675SRob Herring			ldo30_reg: LDO30 {
485*724ba675SRob Herring				regulator-name = "VDD_TOUCH";
486*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
487*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
488*724ba675SRob Herring
489*724ba675SRob Herring				regulator-state-mem {
490*724ba675SRob Herring					regulator-off-in-suspend;
491*724ba675SRob Herring				};
492*724ba675SRob Herring			};
493*724ba675SRob Herring
494*724ba675SRob Herring			ldo31_reg: LDO31 {
495*724ba675SRob Herring				regulator-name = "VDD_COMP";
496*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
497*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
498*724ba675SRob Herring
499*724ba675SRob Herring				regulator-state-mem {
500*724ba675SRob Herring					regulator-off-in-suspend;
501*724ba675SRob Herring				};
502*724ba675SRob Herring			};
503*724ba675SRob Herring
504*724ba675SRob Herring			ldo32_reg: LDO32 {
505*724ba675SRob Herring				regulator-name = "VDD_TOUCH_IO";
506*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
507*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
508*724ba675SRob Herring
509*724ba675SRob Herring				regulator-state-mem {
510*724ba675SRob Herring					regulator-off-in-suspend;
511*724ba675SRob Herring				};
512*724ba675SRob Herring			};
513*724ba675SRob Herring
514*724ba675SRob Herring			ldo33_reg: LDO33 {
515*724ba675SRob Herring				regulator-name = "VDD_MHL_1V8";
516*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
517*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
518*724ba675SRob Herring
519*724ba675SRob Herring				regulator-state-mem {
520*724ba675SRob Herring					regulator-off-in-suspend;
521*724ba675SRob Herring				};
522*724ba675SRob Herring			};
523*724ba675SRob Herring
524*724ba675SRob Herring			ldo34_reg: LDO34 {
525*724ba675SRob Herring				regulator-name = "VDD_HRM_3V3";
526*724ba675SRob Herring				regulator-min-microvolt = <3300000>;
527*724ba675SRob Herring				regulator-max-microvolt = <3300000>;
528*724ba675SRob Herring
529*724ba675SRob Herring				regulator-state-mem {
530*724ba675SRob Herring					regulator-off-in-suspend;
531*724ba675SRob Herring				};
532*724ba675SRob Herring			};
533*724ba675SRob Herring
534*724ba675SRob Herring			ldo35_reg: LDO35 {
535*724ba675SRob Herring				regulator-name = "VDD_SIL";
536*724ba675SRob Herring				regulator-min-microvolt = <1200000>;
537*724ba675SRob Herring				regulator-max-microvolt = <1200000>;
538*724ba675SRob Herring
539*724ba675SRob Herring				regulator-state-mem {
540*724ba675SRob Herring					regulator-off-in-suspend;
541*724ba675SRob Herring				};
542*724ba675SRob Herring			};
543*724ba675SRob Herring
544*724ba675SRob Herring			ldo36_reg: LDO36 {
545*724ba675SRob Herring				/* Unused */
546*724ba675SRob Herring				regulator-name = "VDD_LDO36";
547*724ba675SRob Herring				regulator-min-microvolt = <800000>;
548*724ba675SRob Herring				regulator-max-microvolt = <3950000>;
549*724ba675SRob Herring			};
550*724ba675SRob Herring
551*724ba675SRob Herring			ldo37_reg: LDO37 {
552*724ba675SRob Herring				/* Unused */
553*724ba675SRob Herring				regulator-name = "VDD_LDO37";
554*724ba675SRob Herring				regulator-min-microvolt = <800000>;
555*724ba675SRob Herring				regulator-max-microvolt = <3950000>;
556*724ba675SRob Herring			};
557*724ba675SRob Herring
558*724ba675SRob Herring			ldo38_reg: LDO38 {
559*724ba675SRob Herring				regulator-name = "VDD_KEY_LED";
560*724ba675SRob Herring				regulator-min-microvolt = <3300000>;
561*724ba675SRob Herring				regulator-max-microvolt = <3300000>;
562*724ba675SRob Herring
563*724ba675SRob Herring				regulator-state-mem {
564*724ba675SRob Herring					regulator-off-in-suspend;
565*724ba675SRob Herring				};
566*724ba675SRob Herring			};
567*724ba675SRob Herring		};
568*724ba675SRob Herring	};
569*724ba675SRob Herring};
570*724ba675SRob Herring
571*724ba675SRob Herring&i2c_0 {
572*724ba675SRob Herring	status = "okay";
573*724ba675SRob Herring
574*724ba675SRob Herring	touchscreen@20 {
575*724ba675SRob Herring		compatible = "syna,rmi4-i2c";
576*724ba675SRob Herring		reg = <0x20>;
577*724ba675SRob Herring		interrupt-parent = <&gpx1>;
578*724ba675SRob Herring		interrupts = <6 IRQ_TYPE_EDGE_FALLING>;
579*724ba675SRob Herring		vio-supply = <&ldo32_reg>;
580*724ba675SRob Herring		vdd-supply = <&tsp_vdd>;
581*724ba675SRob Herring		syna,startup-delay-ms = <100>;
582*724ba675SRob Herring
583*724ba675SRob Herring		pinctrl-0 = <&touch_irq>;
584*724ba675SRob Herring		pinctrl-names = "default";
585*724ba675SRob Herring
586*724ba675SRob Herring		#address-cells = <1>;
587*724ba675SRob Herring		#size-cells = <0>;
588*724ba675SRob Herring
589*724ba675SRob Herring		rmi4-f01@1 {
590*724ba675SRob Herring			reg = <0x1>;
591*724ba675SRob Herring			syna,nosleep-mode = <1>;
592*724ba675SRob Herring		};
593*724ba675SRob Herring
594*724ba675SRob Herring		rmi4-f12@12 {
595*724ba675SRob Herring			reg = <0x12>;
596*724ba675SRob Herring			syna,sensor-type = <1>;
597*724ba675SRob Herring		};
598*724ba675SRob Herring	};
599*724ba675SRob Herring};
600*724ba675SRob Herring
601*724ba675SRob Herring/* eMMC flash */
602*724ba675SRob Herring&mmc_0 {
603*724ba675SRob Herring	status = "okay";
604*724ba675SRob Herring	mmc-ddr-1_8v;
605*724ba675SRob Herring	mmc-hs200-1_8v;
606*724ba675SRob Herring	cap-mmc-highspeed;
607*724ba675SRob Herring	non-removable;
608*724ba675SRob Herring	clock-frequency = <400000000>;
609*724ba675SRob Herring	samsung,dw-mshc-ciu-div = <3>;
610*724ba675SRob Herring	samsung,dw-mshc-sdr-timing = <0 4>;
611*724ba675SRob Herring	samsung,dw-mshc-ddr-timing = <0 2>;
612*724ba675SRob Herring	samsung,dw-mshc-hs400-timing = <0 2>;
613*724ba675SRob Herring	samsung,read-strobe-delay = <90>;
614*724ba675SRob Herring	pinctrl-names = "default";
615*724ba675SRob Herring	pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8 &sd0_rclk>;
616*724ba675SRob Herring	bus-width = <8>;
617*724ba675SRob Herring};
618*724ba675SRob Herring
619*724ba675SRob Herring&pinctrl_0 {
620*724ba675SRob Herring	s2mps11_irq: s2mps11-irq-pins {
621*724ba675SRob Herring		samsung,pins = "gpx0-7";
622*724ba675SRob Herring		samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
623*724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
624*724ba675SRob Herring		samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
625*724ba675SRob Herring	};
626*724ba675SRob Herring
627*724ba675SRob Herring	touch_irq: touch-irq-pins {
628*724ba675SRob Herring		samsung,pins = "gpx1-6";
629*724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
630*724ba675SRob Herring	};
631*724ba675SRob Herring};
632*724ba675SRob Herring
633*724ba675SRob Herring&rtc {
634*724ba675SRob Herring	status = "okay";
635*724ba675SRob Herring	clocks = <&clock CLK_RTC>, <&s2mps11_osc S2MPS11_CLK_AP>;
636*724ba675SRob Herring	clock-names = "rtc", "rtc_src";
637*724ba675SRob Herring};
638*724ba675SRob Herring
639*724ba675SRob Herring&timer {
640*724ba675SRob Herring	arm,cpu-registers-not-fw-configured;
641*724ba675SRob Herring};
642*724ba675SRob Herring
643*724ba675SRob Herring&tmu_cpu0 {
644*724ba675SRob Herring	vtmu-supply = <&ldo10_reg>;
645*724ba675SRob Herring};
646*724ba675SRob Herring
647*724ba675SRob Herring&tmu_cpu1 {
648*724ba675SRob Herring	vtmu-supply = <&ldo10_reg>;
649*724ba675SRob Herring};
650*724ba675SRob Herring
651*724ba675SRob Herring&tmu_cpu2 {
652*724ba675SRob Herring	vtmu-supply = <&ldo10_reg>;
653*724ba675SRob Herring};
654*724ba675SRob Herring
655*724ba675SRob Herring&tmu_cpu3 {
656*724ba675SRob Herring	vtmu-supply = <&ldo10_reg>;
657*724ba675SRob Herring};
658*724ba675SRob Herring
659*724ba675SRob Herring&tmu_gpu {
660*724ba675SRob Herring	vtmu-supply = <&ldo10_reg>;
661*724ba675SRob Herring};
662*724ba675SRob Herring
663*724ba675SRob Herring&usbdrd_dwc3_0 {
664*724ba675SRob Herring	dr_mode = "peripheral";
665*724ba675SRob Herring};
666*724ba675SRob Herring
667*724ba675SRob Herring&usbdrd_dwc3_1 {
668*724ba675SRob Herring	dr_mode = "peripheral";
669*724ba675SRob Herring};
670*724ba675SRob Herring
671*724ba675SRob Herring&usbdrd3_0 {
672*724ba675SRob Herring	vdd33-supply = <&ldo9_reg>;
673*724ba675SRob Herring	vdd10-supply = <&ldo11_reg>;
674*724ba675SRob Herring};
675*724ba675SRob Herring
676*724ba675SRob Herring&usbdrd3_1 {
677*724ba675SRob Herring	vdd33-supply = <&ldo9_reg>;
678*724ba675SRob Herring	vdd10-supply = <&ldo11_reg>;
679*724ba675SRob Herring};
680