xref: /linux/scripts/dtc/include-prefixes/arm/samsung/exynos5420-galaxy-tab-common.dtsi (revision 79790b6818e96c58fe2bffee1b418c16e64e7b80)
1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0
2724ba675SRob Herring/*
3724ba675SRob Herring * Base DT for Samsung's family of tablets based on Exynos5420.
4724ba675SRob Herring *
5724ba675SRob Herring * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
6724ba675SRob Herring *		http://www.samsung.com
7724ba675SRob Herring * Copyright (c) 2022 Henrik Grimler
8724ba675SRob Herring */
9724ba675SRob Herring
10724ba675SRob Herring/dts-v1/;
11724ba675SRob Herring#include "exynos5420.dtsi"
12724ba675SRob Herring#include "exynos5420-cpus.dtsi"
13724ba675SRob Herring#include <dt-bindings/input/input.h>
14724ba675SRob Herring#include <dt-bindings/gpio/gpio.h>
15724ba675SRob Herring#include <dt-bindings/clock/samsung,s2mps11.h>
16724ba675SRob Herring
17724ba675SRob Herring/ {
18724ba675SRob Herring	chassis-type = "tablet";
19724ba675SRob Herring
20724ba675SRob Herring	/*
21724ba675SRob Herring	 * To successfully boot the mainline kernel with the stock
22724ba675SRob Herring	 * bootloader (SBOOT), the tlb needs to be flushed after the
23724ba675SRob Herring	 * page table pointer has been updated in __common_mmu_cache_on.
24724ba675SRob Herring	 * The same hack is also needed to boot exynos4412-i9300 with
25724ba675SRob Herring	 * stock bootloader, and probably other Samsung devices of
26724ba675SRob Herring	 * similar age.  See
27724ba675SRob Herring	 * https://lore.kernel.org/all/1355276466-18295-1-git-send-email-arve@android.com
28724ba675SRob Herring	 * for more details.
29724ba675SRob Herring	 */
30724ba675SRob Herring
31724ba675SRob Herring	aliases {
32724ba675SRob Herring		mmc0 = &mmc_0;
33*60f1164eSHenrik Grimler		mmc1 = &mmc_1;
34724ba675SRob Herring		mmc2 = &mmc_2;
35724ba675SRob Herring	};
36724ba675SRob Herring
37724ba675SRob Herring	chosen {
38724ba675SRob Herring		stdout-path = "serial2:115200n8";
39724ba675SRob Herring	};
40724ba675SRob Herring
41724ba675SRob Herring	memory@20000000 {
42724ba675SRob Herring		device_type = "memory";
439a5dbb83SHenrik Grimler		reg = <0x20000000 0xbfa00000>;
44724ba675SRob Herring	};
45724ba675SRob Herring
46724ba675SRob Herring	firmware@2073000 {
47724ba675SRob Herring		compatible = "samsung,secure-firmware";
48724ba675SRob Herring		reg = <0x02073000 0x1000>;
49724ba675SRob Herring	};
50724ba675SRob Herring
51724ba675SRob Herring	fixed-rate-clocks {
52724ba675SRob Herring		oscclk {
53724ba675SRob Herring			compatible = "samsung,exynos5420-oscclk";
54724ba675SRob Herring			clock-frequency = <24000000>;
55724ba675SRob Herring		};
56724ba675SRob Herring	};
57724ba675SRob Herring
58724ba675SRob Herring	gpio-keys {
59724ba675SRob Herring		compatible = "gpio-keys";
60724ba675SRob Herring
61724ba675SRob Herring		key-power {
62724ba675SRob Herring			debounce-interval = <10>;
63724ba675SRob Herring			gpios = <&gpx2 2 GPIO_ACTIVE_LOW>;
64724ba675SRob Herring			label = "Power";
65724ba675SRob Herring			linux,code = <KEY_POWER>;
66724ba675SRob Herring			wakeup-source;
67724ba675SRob Herring		};
68724ba675SRob Herring
69724ba675SRob Herring		key-home {
70724ba675SRob Herring			debounce-interval = <10>;
71724ba675SRob Herring			gpios = <&gpx0 5 GPIO_ACTIVE_LOW>;
72724ba675SRob Herring			label = "Home";
73724ba675SRob Herring			linux,code = <KEY_HOME>;
74724ba675SRob Herring			wakeup-source;
75724ba675SRob Herring		};
76724ba675SRob Herring
77724ba675SRob Herring		key-volume-up {
78724ba675SRob Herring			debounce-interval = <10>;
79724ba675SRob Herring			gpios = <&gpx0 2 GPIO_ACTIVE_LOW>;
80724ba675SRob Herring			label = "Volume Up";
81724ba675SRob Herring			linux,code = <KEY_VOLUMEUP>;
82724ba675SRob Herring		};
83724ba675SRob Herring
84724ba675SRob Herring		key-volume-down {
85724ba675SRob Herring			debounce-interval = <10>;
86724ba675SRob Herring			gpios = <&gpx0 3 GPIO_ACTIVE_LOW>;
87724ba675SRob Herring			label = "Volume Down";
88724ba675SRob Herring			linux,code = <KEY_VOLUMEDOWN>;
89724ba675SRob Herring		};
90724ba675SRob Herring	};
91*60f1164eSHenrik Grimler
92*60f1164eSHenrik Grimler	mmc1_pwrseq: pwrseq {
93*60f1164eSHenrik Grimler		compatible = "mmc-pwrseq-simple";
94*60f1164eSHenrik Grimler		reset-gpios = <&gpy7 7 GPIO_ACTIVE_LOW>;
95*60f1164eSHenrik Grimler		clocks = <&s2mps11_osc S2MPS11_CLK_BT>;
96*60f1164eSHenrik Grimler		clock-names = "ext_clock";
97*60f1164eSHenrik Grimler	};
98724ba675SRob Herring};
99724ba675SRob Herring
100724ba675SRob Herring&cci {
101724ba675SRob Herring	/* CCI is disabled in hardware */
102724ba675SRob Herring	status = "disabled";
103724ba675SRob Herring};
104724ba675SRob Herring
105724ba675SRob Herring&cpu0 {
106724ba675SRob Herring	cpu-supply = <&buck2_reg>;
107724ba675SRob Herring};
108724ba675SRob Herring
109724ba675SRob Herring&cpu4 {
110724ba675SRob Herring	cpu-supply = <&buck6_reg>;
111724ba675SRob Herring};
112724ba675SRob Herring
113724ba675SRob Herring&gpu {
114724ba675SRob Herring	status = "okay";
115724ba675SRob Herring	mali-supply = <&buck4_reg>;
116724ba675SRob Herring};
117724ba675SRob Herring
118724ba675SRob Herring&hsi2c_7 {
119724ba675SRob Herring	status = "okay";
120724ba675SRob Herring
121724ba675SRob Herring	pmic@66 {
122724ba675SRob Herring		compatible = "samsung,s2mps11-pmic";
123724ba675SRob Herring		reg = <0x66>;
124724ba675SRob Herring
125724ba675SRob Herring		interrupt-parent = <&gpx3>;
126724ba675SRob Herring		interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
127724ba675SRob Herring		pinctrl-names = "default";
128724ba675SRob Herring		pinctrl-0 = <&s2mps11_irq>;
129724ba675SRob Herring
130724ba675SRob Herring		s2mps11_osc: clocks {
131724ba675SRob Herring			compatible = "samsung,s2mps11-clk";
132724ba675SRob Herring			#clock-cells = <1>;
133724ba675SRob Herring			clock-output-names = "s2mps11_ap", "s2mps11_cp",
134724ba675SRob Herring					     "s2mps11_bt";
135724ba675SRob Herring		};
136724ba675SRob Herring
137724ba675SRob Herring		regulators {
138724ba675SRob Herring			buck1_reg: BUCK1 {
139724ba675SRob Herring				regulator-name = "VDD_MIF_1V1";
140724ba675SRob Herring				regulator-min-microvolt = <700000>;
141724ba675SRob Herring				regulator-max-microvolt = <1300000>;
142724ba675SRob Herring				regulator-always-on;
143724ba675SRob Herring				regulator-boot-on;
144724ba675SRob Herring
145724ba675SRob Herring				regulator-state-mem {
146724ba675SRob Herring					regulator-off-in-suspend;
147724ba675SRob Herring				};
148724ba675SRob Herring			};
149724ba675SRob Herring
150724ba675SRob Herring			buck2_reg: BUCK2 {
151724ba675SRob Herring				regulator-name = "VDD_ARM_1V0";
152724ba675SRob Herring				regulator-min-microvolt = <800000>;
153724ba675SRob Herring				regulator-max-microvolt = <1500000>;
154724ba675SRob Herring				regulator-always-on;
155724ba675SRob Herring				regulator-boot-on;
156724ba675SRob Herring
157724ba675SRob Herring				regulator-state-mem {
158724ba675SRob Herring					regulator-off-in-suspend;
159724ba675SRob Herring				};
160724ba675SRob Herring			};
161724ba675SRob Herring
162724ba675SRob Herring			buck3_reg: BUCK3 {
163724ba675SRob Herring				regulator-name = "VDD_INT_1V0";
164724ba675SRob Herring				regulator-min-microvolt = <800000>;
165724ba675SRob Herring				regulator-max-microvolt = <1400000>;
166724ba675SRob Herring				regulator-always-on;
167724ba675SRob Herring				regulator-boot-on;
168724ba675SRob Herring
169724ba675SRob Herring				regulator-state-mem {
170724ba675SRob Herring					regulator-off-in-suspend;
171724ba675SRob Herring				};
172724ba675SRob Herring			};
173724ba675SRob Herring
174724ba675SRob Herring			buck4_reg: BUCK4 {
175724ba675SRob Herring				regulator-name = "VDD_G3D_1V0";
176724ba675SRob Herring				regulator-min-microvolt = <700000>;
177724ba675SRob Herring				regulator-max-microvolt = <1400000>;
178724ba675SRob Herring				regulator-always-on;
179724ba675SRob Herring				regulator-boot-on;
180724ba675SRob Herring
181724ba675SRob Herring				regulator-state-mem {
182724ba675SRob Herring					regulator-off-in-suspend;
183724ba675SRob Herring				};
184724ba675SRob Herring			};
185724ba675SRob Herring
186724ba675SRob Herring			buck5_reg: BUCK5 {
187724ba675SRob Herring				regulator-name = "VDD_MEM_1V2";
188724ba675SRob Herring				regulator-min-microvolt = <1200000>;
189724ba675SRob Herring				regulator-max-microvolt = <1200000>;
190724ba675SRob Herring				regulator-always-on;
191724ba675SRob Herring				regulator-boot-on;
192724ba675SRob Herring
193724ba675SRob Herring				regulator-state-mem {
194724ba675SRob Herring					regulator-off-in-suspend;
195724ba675SRob Herring				};
196724ba675SRob Herring
197724ba675SRob Herring			};
198724ba675SRob Herring
199724ba675SRob Herring			buck6_reg: BUCK6 {
200724ba675SRob Herring				regulator-name = "VDD_KFC_1V0";
201724ba675SRob Herring				regulator-min-microvolt = <800000>;
202724ba675SRob Herring				regulator-max-microvolt = <1500000>;
203724ba675SRob Herring				regulator-always-on;
204724ba675SRob Herring				regulator-boot-on;
205724ba675SRob Herring
206724ba675SRob Herring				regulator-state-mem {
207724ba675SRob Herring					regulator-off-in-suspend;
208724ba675SRob Herring				};
209724ba675SRob Herring			};
210724ba675SRob Herring
211724ba675SRob Herring			buck7_reg: BUCK7 {
212724ba675SRob Herring				regulator-name = "VIN_LLDO_1V4";
213724ba675SRob Herring				regulator-min-microvolt = <1200000>;
214724ba675SRob Herring				regulator-max-microvolt = <1500000>;
215724ba675SRob Herring				regulator-always-on;
216724ba675SRob Herring			};
217724ba675SRob Herring
218724ba675SRob Herring			buck8_reg: BUCK8 {
219724ba675SRob Herring				regulator-name = "VIN_MLDO_2V0";
220724ba675SRob Herring				regulator-min-microvolt = <1800000>;
221724ba675SRob Herring				regulator-max-microvolt = <2100000>;
222724ba675SRob Herring				regulator-always-on;
223724ba675SRob Herring			};
224724ba675SRob Herring
225724ba675SRob Herring			buck9_reg: BUCK9 {
226724ba675SRob Herring				regulator-name = "VIN_HLDO_3V5";
227724ba675SRob Herring				regulator-min-microvolt = <3000000>;
228724ba675SRob Herring				regulator-max-microvolt = <3500000>;
229724ba675SRob Herring				regulator-always-on;
230724ba675SRob Herring			};
231724ba675SRob Herring
232724ba675SRob Herring			buck10_reg: BUCK10 {
233724ba675SRob Herring				regulator-name = "VDD_CAM_ISP_1V0";
234724ba675SRob Herring				regulator-min-microvolt = <750000>;
235724ba675SRob Herring				regulator-max-microvolt = <3550000>;
236724ba675SRob Herring			};
237724ba675SRob Herring
238724ba675SRob Herring			ldo1_reg: LDO1 {
239724ba675SRob Herring				regulator-name = "VDD_ALIVE_1.0V";
240724ba675SRob Herring				regulator-min-microvolt = <1000000>;
241724ba675SRob Herring				regulator-max-microvolt = <1000000>;
242724ba675SRob Herring				regulator-always-on;
243724ba675SRob Herring			};
244724ba675SRob Herring
245724ba675SRob Herring			ldo2_reg: LDO2 {
246724ba675SRob Herring				regulator-name = "VDD_APIO_1V8";
247724ba675SRob Herring				regulator-min-microvolt = <1800000>;
248724ba675SRob Herring				regulator-max-microvolt = <1800000>;
249724ba675SRob Herring				regulator-always-on;
250724ba675SRob Herring				regulator-boot-on;
251724ba675SRob Herring
252724ba675SRob Herring				regulator-state-mem {
253724ba675SRob Herring					regulator-on-in-suspend;
254724ba675SRob Herring				};
255724ba675SRob Herring			};
256724ba675SRob Herring
257724ba675SRob Herring			ldo3_reg: LDO3 {
258724ba675SRob Herring				regulator-name = "VDD_APIO_MMC01_1V8";
259724ba675SRob Herring				regulator-min-microvolt = <1800000>;
260724ba675SRob Herring				regulator-max-microvolt = <1800000>;
261724ba675SRob Herring				regulator-always-on;
262724ba675SRob Herring
263724ba675SRob Herring				regulator-state-mem {
264724ba675SRob Herring					regulator-off-in-suspend;
265724ba675SRob Herring				};
266724ba675SRob Herring			};
267724ba675SRob Herring
268724ba675SRob Herring			ldo4_reg: LDO4 {
269724ba675SRob Herring				regulator-name = "VDD_ADC_1V8";
270724ba675SRob Herring				regulator-min-microvolt = <1800000>;
271724ba675SRob Herring				regulator-max-microvolt = <1800000>;
272724ba675SRob Herring				regulator-always-on;
273724ba675SRob Herring				regulator-boot-on;
274724ba675SRob Herring
275724ba675SRob Herring				regulator-state-mem {
276724ba675SRob Herring					regulator-on-in-suspend;
277724ba675SRob Herring				};
278724ba675SRob Herring			};
279724ba675SRob Herring
280724ba675SRob Herring			ldo5_reg: LDO5 {
281724ba675SRob Herring				/* Unused */
282724ba675SRob Herring				regulator-name = "VDD_LDO5";
283724ba675SRob Herring				regulator-min-microvolt = <1800000>;
284724ba675SRob Herring				regulator-max-microvolt = <1800000>;
285724ba675SRob Herring			};
286724ba675SRob Herring
287724ba675SRob Herring			ldo6_reg: LDO6 {
288724ba675SRob Herring				regulator-name = "VDD_MIPI_1V0";
289724ba675SRob Herring				regulator-min-microvolt = <1000000>;
290724ba675SRob Herring				regulator-max-microvolt = <1000000>;
291724ba675SRob Herring				regulator-always-on;
292724ba675SRob Herring				regulator-boot-on;
293724ba675SRob Herring
294724ba675SRob Herring				regulator-state-mem {
295724ba675SRob Herring					regulator-off-in-suspend;
296724ba675SRob Herring				};
297724ba675SRob Herring			};
298724ba675SRob Herring
299724ba675SRob Herring			ldo7_reg: LDO7 {
300724ba675SRob Herring				regulator-name = "VDD_MIPI_PLL_ABB1_18V";
301724ba675SRob Herring				regulator-min-microvolt = <1800000>;
302724ba675SRob Herring				regulator-max-microvolt = <1800000>;
303724ba675SRob Herring				regulator-always-on;
304724ba675SRob Herring				regulator-boot-on;
305724ba675SRob Herring
306724ba675SRob Herring				regulator-state-mem {
307724ba675SRob Herring					regulator-off-in-suspend;
308724ba675SRob Herring				};
309724ba675SRob Herring			};
310724ba675SRob Herring
311724ba675SRob Herring			ldo8_reg: LDO8 {
312724ba675SRob Herring				/* Unused */
313724ba675SRob Herring				regulator-name = "VDD_LDO8";
314724ba675SRob Herring				regulator-min-microvolt = <1800000>;
315724ba675SRob Herring				regulator-max-microvolt = <1800000>;
316724ba675SRob Herring			};
317724ba675SRob Herring
318724ba675SRob Herring			ldo9_reg: LDO9 {
319724ba675SRob Herring				regulator-name = "VDD_UOTG_3V0";
320724ba675SRob Herring				regulator-min-microvolt = <3000000>;
321724ba675SRob Herring				regulator-max-microvolt = <3000000>;
322724ba675SRob Herring				regulator-always-on;
323724ba675SRob Herring				regulator-boot-on;
324724ba675SRob Herring
325724ba675SRob Herring				regulator-state-mem {
326724ba675SRob Herring					regulator-on-in-suspend;
327724ba675SRob Herring				};
328724ba675SRob Herring			};
329724ba675SRob Herring
330724ba675SRob Herring			ldo10_reg: LDO10 {
331724ba675SRob Herring				regulator-name = "VDDQ_PRE_1V8";
332724ba675SRob Herring				regulator-min-microvolt = <1800000>;
333724ba675SRob Herring				regulator-max-microvolt = <1800000>;
334724ba675SRob Herring				regulator-always-on;
335724ba675SRob Herring				regulator-boot-on;
336724ba675SRob Herring
337724ba675SRob Herring				regulator-state-mem {
338724ba675SRob Herring					regulator-on-in-suspend;
339724ba675SRob Herring				};
340724ba675SRob Herring			};
341724ba675SRob Herring
342724ba675SRob Herring			ldo11_reg: LDO11 {
343724ba675SRob Herring				regulator-name = "VDD_HSIC_1V0";
344724ba675SRob Herring				regulator-min-microvolt = <1000000>;
345724ba675SRob Herring				regulator-max-microvolt = <1000000>;
346724ba675SRob Herring				regulator-always-on;
347724ba675SRob Herring				regulator-boot-on;
348724ba675SRob Herring
349724ba675SRob Herring				regulator-state-mem {
350724ba675SRob Herring					regulator-on-in-suspend;
351724ba675SRob Herring				};
352724ba675SRob Herring			};
353724ba675SRob Herring
354724ba675SRob Herring			ldo12_reg: LDO12 {
355724ba675SRob Herring				regulator-name = "VDD_HSIC_1V8";
356724ba675SRob Herring				regulator-min-microvolt = <1800000>;
357724ba675SRob Herring				regulator-max-microvolt = <1800000>;
358724ba675SRob Herring				regulator-always-on;
359724ba675SRob Herring				regulator-boot-on;
360724ba675SRob Herring
361724ba675SRob Herring				regulator-state-mem {
362724ba675SRob Herring					regulator-on-in-suspend;
363724ba675SRob Herring				};
364724ba675SRob Herring			};
365724ba675SRob Herring
366724ba675SRob Herring			ldo13_reg: LDO13 {
367724ba675SRob Herring				regulator-name = "VDD_APIO_MMC2_2V8";
368724ba675SRob Herring				regulator-min-microvolt = <1800000>;
369724ba675SRob Herring				regulator-max-microvolt = <2800000>;
370724ba675SRob Herring				regulator-boot-on;
371724ba675SRob Herring
372724ba675SRob Herring				regulator-state-mem {
373724ba675SRob Herring					regulator-off-in-suspend;
374724ba675SRob Herring				};
375724ba675SRob Herring			};
376724ba675SRob Herring
377724ba675SRob Herring			ldo14_reg: LDO14 {
378724ba675SRob Herring				regulator-name = "VDD_MOTOR_3V0";
379724ba675SRob Herring				regulator-min-microvolt = <3000000>;
380724ba675SRob Herring				regulator-max-microvolt = <3000000>;
381724ba675SRob Herring
382724ba675SRob Herring				regulator-state-mem {
383724ba675SRob Herring					regulator-off-in-suspend;
384724ba675SRob Herring				};
385724ba675SRob Herring			};
386724ba675SRob Herring
387724ba675SRob Herring			ldo15_reg: LDO15 {
388724ba675SRob Herring				regulator-name = "VDD_LDO15";
389724ba675SRob Herring				/*
390724ba675SRob Herring				 * LDO15 varies between devices and is
391724ba675SRob Herring				 * specified in the device dts
392724ba675SRob Herring				 */
393724ba675SRob Herring			};
394724ba675SRob Herring
395724ba675SRob Herring			ldo16_reg: LDO16 {
396724ba675SRob Herring				regulator-name = "VDD_AP_2V8";
397724ba675SRob Herring				regulator-min-microvolt = <2800000>;
398724ba675SRob Herring				regulator-max-microvolt = <2800000>;
399724ba675SRob Herring				regulator-always-on;
400724ba675SRob Herring				regulator-boot-on;
401724ba675SRob Herring
402724ba675SRob Herring				regulator-state-mem {
403724ba675SRob Herring					regulator-on-in-suspend;
404724ba675SRob Herring				};
405724ba675SRob Herring			};
406724ba675SRob Herring
407724ba675SRob Herring			ldo17_reg: LDO17 {
408724ba675SRob Herring				regulator-name = "VDD_LDO17";
409724ba675SRob Herring				/*
410724ba675SRob Herring				 * LDO17 varies between devices and is
411724ba675SRob Herring				 * specified in the device dts
412724ba675SRob Herring				 */
413724ba675SRob Herring			};
414724ba675SRob Herring
415724ba675SRob Herring			ldo18_reg: LDO18 {
416724ba675SRob Herring				/* Unused */
417724ba675SRob Herring				regulator-name = "VDD_LDO18";
418724ba675SRob Herring				regulator-min-microvolt = <1800000>;
419724ba675SRob Herring				regulator-max-microvolt = <1800000>;
420724ba675SRob Herring			};
421724ba675SRob Herring
422724ba675SRob Herring			ldo19_reg: LDO19 {
423724ba675SRob Herring				regulator-name = "VDD_VTF_2V8";
424724ba675SRob Herring				regulator-min-microvolt = <2800000>;
425724ba675SRob Herring				regulator-max-microvolt = <2800000>;
426724ba675SRob Herring
427724ba675SRob Herring				regulator-state-mem {
428724ba675SRob Herring					regulator-off-in-suspend;
429724ba675SRob Herring				};
430724ba675SRob Herring			};
431724ba675SRob Herring
432724ba675SRob Herring			ldo20_reg: LDO20 {
433724ba675SRob Herring				regulator-name = "VDD_CAM1_CAM_1V8";
434724ba675SRob Herring				regulator-min-microvolt = <1800000>;
435724ba675SRob Herring				regulator-max-microvolt = <1800000>;
436724ba675SRob Herring
437724ba675SRob Herring				regulator-state-mem {
438724ba675SRob Herring					regulator-off-in-suspend;
439724ba675SRob Herring				};
440724ba675SRob Herring			};
441724ba675SRob Herring
442724ba675SRob Herring			ldo21_reg: LDO21 {
443724ba675SRob Herring				regulator-name = "VDD_CAM_IO_1V8";
444724ba675SRob Herring				regulator-min-microvolt = <1800000>;
445724ba675SRob Herring				regulator-max-microvolt = <1800000>;
446724ba675SRob Herring
447724ba675SRob Herring				regulator-state-mem {
448724ba675SRob Herring					regulator-off-in-suspend;
449724ba675SRob Herring				};
450724ba675SRob Herring			};
451724ba675SRob Herring
452724ba675SRob Herring			ldo22_reg: LDO22 {
453724ba675SRob Herring				regulator-name = "VDD_CAM0_S_CORE_1V1";
454724ba675SRob Herring				regulator-min-microvolt = <1050000>;
455724ba675SRob Herring				regulator-max-microvolt = <1200000>;
456724ba675SRob Herring
457724ba675SRob Herring				regulator-state-mem {
458724ba675SRob Herring					regulator-off-in-suspend;
459724ba675SRob Herring				};
460724ba675SRob Herring			};
461724ba675SRob Herring
462724ba675SRob Herring			ldo23_reg: LDO23 {
463724ba675SRob Herring				regulator-name = "VDD_MIFS_1V1";
464724ba675SRob Herring				regulator-min-microvolt = <800000>;
465724ba675SRob Herring				regulator-max-microvolt = <1100000>;
466724ba675SRob Herring				regulator-always-on;
467724ba675SRob Herring
468724ba675SRob Herring				regulator-state-mem {
469724ba675SRob Herring					regulator-on-in-suspend;
470724ba675SRob Herring				};
471724ba675SRob Herring			};
472724ba675SRob Herring
473724ba675SRob Herring			ldo24_reg: LDO24 {
474724ba675SRob Herring				regulator-name = "VDD_TSP_3V3";
475724ba675SRob Herring				regulator-min-microvolt = <3300000>;
476724ba675SRob Herring				regulator-max-microvolt = <3300000>;
477724ba675SRob Herring
478724ba675SRob Herring				regulator-state-mem {
479724ba675SRob Herring					regulator-off-in-suspend;
480724ba675SRob Herring				};
481724ba675SRob Herring			};
482724ba675SRob Herring
483724ba675SRob Herring			ldo25_reg: LDO25 {
484724ba675SRob Herring				/* Unused */
485724ba675SRob Herring				regulator-name = "VDD_LDO25";
486724ba675SRob Herring				regulator-min-microvolt = <800000>;
487724ba675SRob Herring				regulator-max-microvolt = <3950000>;
488724ba675SRob Herring			};
489724ba675SRob Herring
490724ba675SRob Herring			ldo26_reg: LDO26 {
491724ba675SRob Herring				regulator-name = "VDD_CAM0_AF_2V8";
492724ba675SRob Herring				regulator-min-microvolt = <2800000>;
493724ba675SRob Herring				regulator-max-microvolt = <2800000>;
494724ba675SRob Herring
495724ba675SRob Herring				regulator-state-mem {
496724ba675SRob Herring					regulator-off-in-suspend;
497724ba675SRob Herring				};
498724ba675SRob Herring			};
499724ba675SRob Herring
500724ba675SRob Herring			ldo27_reg: LDO27 {
501724ba675SRob Herring				regulator-name = "VDD_G3DS_1V0";
502724ba675SRob Herring				regulator-min-microvolt = <800000>;
503724ba675SRob Herring				regulator-max-microvolt = <1000000>;
504724ba675SRob Herring				regulator-always-on;
505724ba675SRob Herring
506724ba675SRob Herring				regulator-state-mem {
507724ba675SRob Herring					regulator-on-in-suspend;
508724ba675SRob Herring				};
509724ba675SRob Herring			};
510724ba675SRob Herring
511724ba675SRob Herring			ldo28_reg: LDO28 {
512724ba675SRob Herring				regulator-name = "VDD_LDO28";
513724ba675SRob Herring				/*
514724ba675SRob Herring				 * LDO28 varies between devices and is
515724ba675SRob Herring				 * specified in the device dts
516724ba675SRob Herring				 */
517724ba675SRob Herring			};
518724ba675SRob Herring
519724ba675SRob Herring			ldo29_reg: LDO29 {
520724ba675SRob Herring				regulator-name = "VDD_LDO29";
521724ba675SRob Herring				/*
522724ba675SRob Herring				 * LDO29 varies between devices and is
523724ba675SRob Herring				 * specified in the device dts
524724ba675SRob Herring				 */
525724ba675SRob Herring			};
526724ba675SRob Herring
527724ba675SRob Herring			ldo30_reg: LDO30 {
528724ba675SRob Herring				regulator-name = "VDD_TOUCH_1V8";
529724ba675SRob Herring				regulator-min-microvolt = <1900000>;
530724ba675SRob Herring				regulator-max-microvolt = <1900000>;
531724ba675SRob Herring
532724ba675SRob Herring				regulator-state-mem {
533724ba675SRob Herring					regulator-off-in-suspend;
534724ba675SRob Herring				};
535724ba675SRob Herring			};
536724ba675SRob Herring
537724ba675SRob Herring			ldo31_reg: LDO31 {
538724ba675SRob Herring				regulator-name = "VDD_LDO31";
539724ba675SRob Herring				/*
540724ba675SRob Herring				 * LDO31 varies between devices and is
541724ba675SRob Herring				 * specified in the device dts
542724ba675SRob Herring				 */
543724ba675SRob Herring			};
544724ba675SRob Herring
545724ba675SRob Herring			ldo32_reg: LDO32 {
546724ba675SRob Herring				regulator-name = "VDD_LDO32";
547724ba675SRob Herring				/*
548724ba675SRob Herring				 * LDO32 varies between devices and is
549724ba675SRob Herring				 * specified in the device dts
550724ba675SRob Herring				 */
551724ba675SRob Herring			};
552724ba675SRob Herring
553724ba675SRob Herring			ldo33_reg: LDO33 {
554724ba675SRob Herring				regulator-name = "VDD_MHL_1V8";
555724ba675SRob Herring				regulator-min-microvolt = <1800000>;
556724ba675SRob Herring				regulator-max-microvolt = <1800000>;
557724ba675SRob Herring
558724ba675SRob Herring				regulator-state-mem {
559724ba675SRob Herring					regulator-off-in-suspend;
560724ba675SRob Herring				};
561724ba675SRob Herring			};
562724ba675SRob Herring
563724ba675SRob Herring			ldo34_reg: LDO34 {
564724ba675SRob Herring				regulator-name = "VDD_MHL_3V3";
565724ba675SRob Herring				regulator-min-microvolt = <3300000>;
566724ba675SRob Herring				regulator-max-microvolt = <3300000>;
567724ba675SRob Herring
568724ba675SRob Herring				regulator-state-mem {
569724ba675SRob Herring					regulator-off-in-suspend;
570724ba675SRob Herring				};
571724ba675SRob Herring			};
572724ba675SRob Herring
573724ba675SRob Herring			ldo35_reg: LDO35 {
574724ba675SRob Herring				regulator-name = "VDD_SIL_1V2";
575724ba675SRob Herring				regulator-min-microvolt = <1200000>;
576724ba675SRob Herring				regulator-max-microvolt = <1200000>;
577724ba675SRob Herring
578724ba675SRob Herring				regulator-state-mem {
579724ba675SRob Herring					regulator-off-in-suspend;
580724ba675SRob Herring				};
581724ba675SRob Herring			};
582724ba675SRob Herring
583724ba675SRob Herring			ldo36_reg: LDO36 {
584724ba675SRob Herring				/* Unused */
585724ba675SRob Herring				regulator-name = "VDD_LDO36";
586724ba675SRob Herring				regulator-min-microvolt = <800000>;
587724ba675SRob Herring				regulator-max-microvolt = <3950000>;
588724ba675SRob Herring			};
589724ba675SRob Herring
590724ba675SRob Herring			ldo37_reg: LDO37 {
591724ba675SRob Herring				/* Unused */
592724ba675SRob Herring				regulator-name = "VDD_LDO37";
593724ba675SRob Herring				regulator-min-microvolt = <800000>;
594724ba675SRob Herring				regulator-max-microvolt = <3950000>;
595724ba675SRob Herring			};
596724ba675SRob Herring
597724ba675SRob Herring			ldo38_reg: LDO38 {
598724ba675SRob Herring				regulator-name = "VDD_KEY_LED_3V3";
599724ba675SRob Herring				regulator-min-microvolt = <2500000>;
600724ba675SRob Herring				regulator-max-microvolt = <3300000>;
601724ba675SRob Herring
602724ba675SRob Herring				regulator-state-mem {
603724ba675SRob Herring					regulator-off-in-suspend;
604724ba675SRob Herring				};
605724ba675SRob Herring			};
606724ba675SRob Herring		};
607724ba675SRob Herring	};
608724ba675SRob Herring};
609724ba675SRob Herring
610724ba675SRob Herring&mixer {
611724ba675SRob Herring	status = "okay";
612724ba675SRob Herring};
613724ba675SRob Herring
614724ba675SRob Herring/* Internal storage */
615724ba675SRob Herring&mmc_0 {
616724ba675SRob Herring	status = "okay";
617724ba675SRob Herring	bus-width = <8>;
618724ba675SRob Herring	cap-mmc-highspeed;
619724ba675SRob Herring	card-detect-delay = <200>;
620724ba675SRob Herring	mmc-ddr-1_8v;
621724ba675SRob Herring	mmc-hs200-1_8v;
622724ba675SRob Herring	non-removable;
623724ba675SRob Herring	pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8>;
624724ba675SRob Herring	pinctrl-names = "default";
625724ba675SRob Herring	samsung,dw-mshc-ciu-div = <3>;
626724ba675SRob Herring	samsung,dw-mshc-ddr-timing = <0 2>;
627724ba675SRob Herring	samsung,dw-mshc-sdr-timing = <0 4>;
628724ba675SRob Herring	vqmmc-supply = <&ldo3_reg>;
629724ba675SRob Herring};
630724ba675SRob Herring
631*60f1164eSHenrik Grimler/* WiFi */
632*60f1164eSHenrik Grimler&mmc_1 {
633*60f1164eSHenrik Grimler	bus-width = <4>;
634*60f1164eSHenrik Grimler	cap-sd-highspeed;
635*60f1164eSHenrik Grimler	cap-sdio-irq;
636*60f1164eSHenrik Grimler	card-detect-delay = <200>;
637*60f1164eSHenrik Grimler	keep-power-in-suspend;
638*60f1164eSHenrik Grimler	mmc-pwrseq = <&mmc1_pwrseq>;
639*60f1164eSHenrik Grimler	non-removable;
640*60f1164eSHenrik Grimler	pinctrl-0 = <&sd1_clk>, <&sd1_cmd>, <&sd1_int>, <&sd1_bus1>,
641*60f1164eSHenrik Grimler		    <&sd1_bus4>, <&wifi_en>;
642*60f1164eSHenrik Grimler	pinctrl-names = "default";
643*60f1164eSHenrik Grimler	vqmmc-supply = <&ldo2_reg>;
644*60f1164eSHenrik Grimler	samsung,dw-mshc-ciu-div = <1>;
645*60f1164eSHenrik Grimler	samsung,dw-mshc-ddr-timing = <0 2>;
646*60f1164eSHenrik Grimler	samsung,dw-mshc-sdr-timing = <0 1>;
647*60f1164eSHenrik Grimler	status = "okay";
648*60f1164eSHenrik Grimler};
649*60f1164eSHenrik Grimler
650724ba675SRob Herring/* External sdcard */
651724ba675SRob Herring&mmc_2 {
652724ba675SRob Herring	status = "okay";
653724ba675SRob Herring	bus-width = <4>;
654724ba675SRob Herring	cap-sd-highspeed;
655724ba675SRob Herring	card-detect-delay = <200>;
656724ba675SRob Herring	cd-gpios = <&gpx2 4 GPIO_ACTIVE_LOW>;
657724ba675SRob Herring	pinctrl-0 = <&sd2_clk &sd2_cmd &mmc2_cd &sd2_bus1 &sd2_bus4>;
658724ba675SRob Herring	pinctrl-names = "default";
659724ba675SRob Herring	samsung,dw-mshc-ciu-div = <3>;
660724ba675SRob Herring	samsung,dw-mshc-ddr-timing = <0 2>;
661724ba675SRob Herring	samsung,dw-mshc-sdr-timing = <0 4>;
662724ba675SRob Herring	sd-uhs-sdr50;
663724ba675SRob Herring	vmmc-supply = <&ldo19_reg>;
664724ba675SRob Herring	vqmmc-supply = <&ldo13_reg>;
665724ba675SRob Herring};
666724ba675SRob Herring
667724ba675SRob Herring&pinctrl_0 {
668724ba675SRob Herring	mmc2_cd: mmc2-cd-pins {
669724ba675SRob Herring		samsung,pins = "gpx2-4";
670724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
671724ba675SRob Herring	};
672724ba675SRob Herring
673724ba675SRob Herring	s2mps11_irq: s2mps11-irq-pins {
674724ba675SRob Herring		samsung,pins = "gpx3-0";
675724ba675SRob Herring		samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
676724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
677724ba675SRob Herring		samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
678724ba675SRob Herring	};
679*60f1164eSHenrik Grimler
680*60f1164eSHenrik Grimler	wifi_en: wifi-en-pins {
681*60f1164eSHenrik Grimler		samsung,pins = "gpy7-7";
682*60f1164eSHenrik Grimler		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
683*60f1164eSHenrik Grimler	};
684724ba675SRob Herring};
685724ba675SRob Herring
686724ba675SRob Herring&rtc {
687724ba675SRob Herring	status = "okay";
688724ba675SRob Herring	clocks = <&clock CLK_RTC>, <&s2mps11_osc S2MPS11_CLK_AP>;
689724ba675SRob Herring	clock-names = "rtc", "rtc_src";
690724ba675SRob Herring};
691724ba675SRob Herring
692724ba675SRob Herring&tmu_cpu0 {
693724ba675SRob Herring	vtmu-supply = <&ldo10_reg>;
694724ba675SRob Herring};
695724ba675SRob Herring
696724ba675SRob Herring&tmu_cpu1 {
697724ba675SRob Herring	vtmu-supply = <&ldo10_reg>;
698724ba675SRob Herring};
699724ba675SRob Herring
700724ba675SRob Herring&tmu_cpu2 {
701724ba675SRob Herring	vtmu-supply = <&ldo10_reg>;
702724ba675SRob Herring};
703724ba675SRob Herring
704724ba675SRob Herring&tmu_cpu3 {
705724ba675SRob Herring	vtmu-supply = <&ldo10_reg>;
706724ba675SRob Herring};
707724ba675SRob Herring
708724ba675SRob Herring&tmu_gpu {
709724ba675SRob Herring	vtmu-supply = <&ldo10_reg>;
710724ba675SRob Herring};
711724ba675SRob Herring
712724ba675SRob Herring&usbdrd_dwc3_0 {
713724ba675SRob Herring	dr_mode = "peripheral";
714724ba675SRob Herring};
715724ba675SRob Herring
716724ba675SRob Herring&usbdrd_dwc3_1 {
717724ba675SRob Herring	dr_mode = "peripheral";
718724ba675SRob Herring};
719724ba675SRob Herring
720724ba675SRob Herring&usbdrd3_0 {
721724ba675SRob Herring	vdd33-supply = <&ldo9_reg>;
722724ba675SRob Herring	vdd10-supply = <&ldo11_reg>;
723724ba675SRob Herring};
724724ba675SRob Herring
725724ba675SRob Herring&usbdrd3_1 {
726724ba675SRob Herring	vdd33-supply = <&ldo9_reg>;
727724ba675SRob Herring	vdd10-supply = <&ldo11_reg>;
728724ba675SRob Herring};
729