1c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2c66ec88fSEmmanuel Vadot/* Copyright (c) 2019, Jeffrey Hugo. All rights reserved. */
3c66ec88fSEmmanuel Vadot
4c66ec88fSEmmanuel Vadot/*
5c66ec88fSEmmanuel Vadot * Common include for MSM8998 clamshell devices, ie the Lenovo Miix 630,
6c66ec88fSEmmanuel Vadot * Asus NovaGo TP370QL, and HP Envy x2.  All three devices are basically the
7c66ec88fSEmmanuel Vadot * same, with differences in peripherals.
8c66ec88fSEmmanuel Vadot */
9c66ec88fSEmmanuel Vadot
10c66ec88fSEmmanuel Vadot#include "msm8998.dtsi"
11c66ec88fSEmmanuel Vadot#include "pm8005.dtsi"
12b97ee269SEmmanuel Vadot#include "pm8998.dtsi"
13c66ec88fSEmmanuel Vadot
14c66ec88fSEmmanuel Vadot/ {
15c66ec88fSEmmanuel Vadot	vph_pwr: vph-pwr-regulator {
16c66ec88fSEmmanuel Vadot		compatible = "regulator-fixed";
17c66ec88fSEmmanuel Vadot		regulator-name = "vph_pwr";
18c66ec88fSEmmanuel Vadot		regulator-always-on;
19c66ec88fSEmmanuel Vadot		regulator-boot-on;
20c66ec88fSEmmanuel Vadot	};
21c66ec88fSEmmanuel Vadot};
22c66ec88fSEmmanuel Vadot
23c66ec88fSEmmanuel Vadot&blsp1_uart3 {
24c66ec88fSEmmanuel Vadot	status = "okay";
25c66ec88fSEmmanuel Vadot
26c66ec88fSEmmanuel Vadot	bluetooth {
27c66ec88fSEmmanuel Vadot		compatible = "qcom,wcn3990-bt";
28c66ec88fSEmmanuel Vadot
29c66ec88fSEmmanuel Vadot		vddio-supply = <&vreg_s4a_1p8>;
30c66ec88fSEmmanuel Vadot		vddxo-supply = <&vreg_l7a_1p8>;
31c66ec88fSEmmanuel Vadot		vddrf-supply = <&vreg_l17a_1p3>;
32c66ec88fSEmmanuel Vadot		vddch0-supply = <&vreg_l25a_3p3>;
33c66ec88fSEmmanuel Vadot		max-speed = <3200000>;
34c66ec88fSEmmanuel Vadot	};
35c66ec88fSEmmanuel Vadot};
36c66ec88fSEmmanuel Vadot
37b97ee269SEmmanuel Vadot&blsp1_uart3_on {
38*8bab661aSEmmanuel Vadot	rx-pins {
39b97ee269SEmmanuel Vadot		/delete-property/ bias-disable;
40b97ee269SEmmanuel Vadot		/*
41b97ee269SEmmanuel Vadot		 * Configure a pull-up on 45 (RX). This is needed to
42b97ee269SEmmanuel Vadot		 * avoid garbage data when the TX pin of the Bluetooth
43b97ee269SEmmanuel Vadot		 * module is in tri-state (module powered off or not
44b97ee269SEmmanuel Vadot		 * driving the signal yet).
45b97ee269SEmmanuel Vadot		 */
46b97ee269SEmmanuel Vadot		bias-pull-up;
47b97ee269SEmmanuel Vadot	};
48b97ee269SEmmanuel Vadot
49*8bab661aSEmmanuel Vadot	cts-pins {
50b97ee269SEmmanuel Vadot		/delete-property/ bias-disable;
51b97ee269SEmmanuel Vadot		/*
52b97ee269SEmmanuel Vadot		 * Configure a pull-down on 47 (CTS) to match the pull
53b97ee269SEmmanuel Vadot		 * of the Bluetooth module.
54b97ee269SEmmanuel Vadot		 */
55b97ee269SEmmanuel Vadot		bias-pull-down;
56b97ee269SEmmanuel Vadot	};
57b97ee269SEmmanuel Vadot};
58b97ee269SEmmanuel Vadot
59c66ec88fSEmmanuel Vadot/*
60c66ec88fSEmmanuel Vadot * The laptop FW does not appear to support the retention state as it is
61c66ec88fSEmmanuel Vadot * not advertised as enabled in ACPI, and enabling it in DT can cause boot
62c66ec88fSEmmanuel Vadot * hangs.
63c66ec88fSEmmanuel Vadot */
64c66ec88fSEmmanuel Vadot&CPU0 {
65c66ec88fSEmmanuel Vadot	cpu-idle-states = <&LITTLE_CPU_SLEEP_1>;
66c66ec88fSEmmanuel Vadot};
67c66ec88fSEmmanuel Vadot
68c66ec88fSEmmanuel Vadot&CPU1 {
69c66ec88fSEmmanuel Vadot	cpu-idle-states = <&LITTLE_CPU_SLEEP_1>;
70c66ec88fSEmmanuel Vadot};
71c66ec88fSEmmanuel Vadot
72c66ec88fSEmmanuel Vadot&CPU2 {
73c66ec88fSEmmanuel Vadot	cpu-idle-states = <&LITTLE_CPU_SLEEP_1>;
74c66ec88fSEmmanuel Vadot};
75c66ec88fSEmmanuel Vadot
76c66ec88fSEmmanuel Vadot&CPU3 {
77c66ec88fSEmmanuel Vadot	cpu-idle-states = <&LITTLE_CPU_SLEEP_1>;
78c66ec88fSEmmanuel Vadot};
79c66ec88fSEmmanuel Vadot
80c66ec88fSEmmanuel Vadot&CPU4 {
81c66ec88fSEmmanuel Vadot	cpu-idle-states = <&BIG_CPU_SLEEP_1>;
82c66ec88fSEmmanuel Vadot};
83c66ec88fSEmmanuel Vadot
84c66ec88fSEmmanuel Vadot&CPU5 {
85c66ec88fSEmmanuel Vadot	cpu-idle-states = <&BIG_CPU_SLEEP_1>;
86c66ec88fSEmmanuel Vadot};
87c66ec88fSEmmanuel Vadot
88c66ec88fSEmmanuel Vadot&CPU6 {
89c66ec88fSEmmanuel Vadot	cpu-idle-states = <&BIG_CPU_SLEEP_1>;
90c66ec88fSEmmanuel Vadot};
91c66ec88fSEmmanuel Vadot
92c66ec88fSEmmanuel Vadot&CPU7 {
93c66ec88fSEmmanuel Vadot	cpu-idle-states = <&BIG_CPU_SLEEP_1>;
94c66ec88fSEmmanuel Vadot};
95c66ec88fSEmmanuel Vadot
96b97ee269SEmmanuel Vadot/*
97b97ee269SEmmanuel Vadot * If EFIFB is used, enabling MMCC will cause important MMSS clocks to be cleaned
98b97ee269SEmmanuel Vadot * up, because as far as Linux is concerned - they are unused. Disable it by default
99b97ee269SEmmanuel Vadot * on clamshell devices, as it will break them, unless either simplefb is configured to
100b97ee269SEmmanuel Vadot * hold a vote for these clocks, or panels are brought up properly, using drm/msm.
101b97ee269SEmmanuel Vadot */
102b97ee269SEmmanuel Vadot&mmcc {
103b97ee269SEmmanuel Vadot	status = "disabled";
104b97ee269SEmmanuel Vadot};
105b97ee269SEmmanuel Vadot
106b97ee269SEmmanuel Vadot&mmss_smmu {
107b97ee269SEmmanuel Vadot	status = "disabled";
108b97ee269SEmmanuel Vadot};
109b97ee269SEmmanuel Vadot
1105def4c47SEmmanuel Vadot&pcie0 {
1115def4c47SEmmanuel Vadot	status = "okay";
1125def4c47SEmmanuel Vadot};
1135def4c47SEmmanuel Vadot
1145def4c47SEmmanuel Vadot&pcie_phy {
1155def4c47SEmmanuel Vadot	status = "okay";
1165def4c47SEmmanuel Vadot};
1175def4c47SEmmanuel Vadot
118b97ee269SEmmanuel Vadot&pm8005_regulators {
119c66ec88fSEmmanuel Vadot	vdd_s1-supply = <&vph_pwr>;
120c66ec88fSEmmanuel Vadot
121c66ec88fSEmmanuel Vadot	pm8005_s1: s1 { /* VDD_GFX supply */
122c66ec88fSEmmanuel Vadot		regulator-min-microvolt = <524000>;
123c66ec88fSEmmanuel Vadot		regulator-max-microvolt = <1100000>;
124c66ec88fSEmmanuel Vadot		regulator-enable-ramp-delay = <500>;
125c66ec88fSEmmanuel Vadot
126c66ec88fSEmmanuel Vadot		/* hack until we rig up the gpu consumer */
127c66ec88fSEmmanuel Vadot		regulator-always-on;
128c66ec88fSEmmanuel Vadot	};
129c66ec88fSEmmanuel Vadot};
130c66ec88fSEmmanuel Vadot
131c66ec88fSEmmanuel Vadot&qusb2phy {
132c66ec88fSEmmanuel Vadot	status = "okay";
133c66ec88fSEmmanuel Vadot
134e67e8565SEmmanuel Vadot	vdd-supply = <&vreg_l1a_0p875>;
135c66ec88fSEmmanuel Vadot	vdda-pll-supply = <&vreg_l12a_1p8>;
136c66ec88fSEmmanuel Vadot	vdda-phy-dpdm-supply = <&vreg_l24a_3p075>;
137c66ec88fSEmmanuel Vadot};
138c66ec88fSEmmanuel Vadot
139c66ec88fSEmmanuel Vadot&rpm_requests {
140*8bab661aSEmmanuel Vadot	regulators-0 {
141c66ec88fSEmmanuel Vadot		compatible = "qcom,rpm-pm8998-regulators";
142c66ec88fSEmmanuel Vadot
143c66ec88fSEmmanuel Vadot		vdd_s1-supply = <&vph_pwr>;
144c66ec88fSEmmanuel Vadot		vdd_s2-supply = <&vph_pwr>;
145c66ec88fSEmmanuel Vadot		vdd_s3-supply = <&vph_pwr>;
146c66ec88fSEmmanuel Vadot		vdd_s4-supply = <&vph_pwr>;
147c66ec88fSEmmanuel Vadot		vdd_s5-supply = <&vph_pwr>;
148c66ec88fSEmmanuel Vadot		vdd_s6-supply = <&vph_pwr>;
149c66ec88fSEmmanuel Vadot		vdd_s7-supply = <&vph_pwr>;
150c66ec88fSEmmanuel Vadot		vdd_s8-supply = <&vph_pwr>;
151c66ec88fSEmmanuel Vadot		vdd_s9-supply = <&vph_pwr>;
152c66ec88fSEmmanuel Vadot		vdd_s10-supply = <&vph_pwr>;
153c66ec88fSEmmanuel Vadot		vdd_s11-supply = <&vph_pwr>;
154c66ec88fSEmmanuel Vadot		vdd_s12-supply = <&vph_pwr>;
155c66ec88fSEmmanuel Vadot		vdd_s13-supply = <&vph_pwr>;
156c66ec88fSEmmanuel Vadot		vdd_l1_l27-supply = <&vreg_s7a_1p025>;
157c66ec88fSEmmanuel Vadot		vdd_l2_l8_l17-supply = <&vreg_s3a_1p35>;
158c66ec88fSEmmanuel Vadot		vdd_l3_l11-supply = <&vreg_s7a_1p025>;
159c66ec88fSEmmanuel Vadot		vdd_l4_l5-supply = <&vreg_s7a_1p025>;
160c66ec88fSEmmanuel Vadot		vdd_l6-supply = <&vreg_s5a_2p04>;
161c66ec88fSEmmanuel Vadot		vdd_l7_l12_l14_l15-supply = <&vreg_s5a_2p04>;
162c66ec88fSEmmanuel Vadot		vdd_l9-supply = <&vph_pwr>;
163c66ec88fSEmmanuel Vadot		vdd_l10_l23_l25-supply = <&vph_pwr>;
164c66ec88fSEmmanuel Vadot		vdd_l13_l19_l21-supply = <&vph_pwr>;
165c66ec88fSEmmanuel Vadot		vdd_l16_l28-supply = <&vph_pwr>;
166c66ec88fSEmmanuel Vadot		vdd_l18_l22-supply = <&vph_pwr>;
167c66ec88fSEmmanuel Vadot		vdd_l20_l24-supply = <&vph_pwr>;
168c66ec88fSEmmanuel Vadot		vdd_l26-supply = <&vreg_s3a_1p35>;
169c66ec88fSEmmanuel Vadot		vdd_lvs1_lvs2-supply = <&vreg_s4a_1p8>;
170c66ec88fSEmmanuel Vadot
171c66ec88fSEmmanuel Vadot		vreg_s3a_1p35: s3 {
172c66ec88fSEmmanuel Vadot			regulator-min-microvolt = <1352000>;
173c66ec88fSEmmanuel Vadot			regulator-max-microvolt = <1352000>;
174c66ec88fSEmmanuel Vadot		};
175b97ee269SEmmanuel Vadot
176c66ec88fSEmmanuel Vadot		vreg_s4a_1p8: s4 {
177c66ec88fSEmmanuel Vadot			regulator-min-microvolt = <1800000>;
178c66ec88fSEmmanuel Vadot			regulator-max-microvolt = <1800000>;
179c66ec88fSEmmanuel Vadot			regulator-allow-set-load;
180c66ec88fSEmmanuel Vadot		};
181b97ee269SEmmanuel Vadot
182c66ec88fSEmmanuel Vadot		vreg_s5a_2p04: s5 {
183c66ec88fSEmmanuel Vadot			regulator-min-microvolt = <1904000>;
184c66ec88fSEmmanuel Vadot			regulator-max-microvolt = <2040000>;
185c66ec88fSEmmanuel Vadot		};
186b97ee269SEmmanuel Vadot
187c66ec88fSEmmanuel Vadot		vreg_s7a_1p025: s7 {
188c66ec88fSEmmanuel Vadot			regulator-min-microvolt = <900000>;
189c66ec88fSEmmanuel Vadot			regulator-max-microvolt = <1028000>;
190c66ec88fSEmmanuel Vadot		};
191b97ee269SEmmanuel Vadot
192c66ec88fSEmmanuel Vadot		vreg_l1a_0p875: l1 {
193c66ec88fSEmmanuel Vadot			regulator-min-microvolt = <880000>;
194c66ec88fSEmmanuel Vadot			regulator-max-microvolt = <880000>;
195c66ec88fSEmmanuel Vadot			regulator-allow-set-load;
196c66ec88fSEmmanuel Vadot		};
197b97ee269SEmmanuel Vadot
198c66ec88fSEmmanuel Vadot		vreg_l2a_1p2: l2 {
199c66ec88fSEmmanuel Vadot			regulator-min-microvolt = <1200000>;
200c66ec88fSEmmanuel Vadot			regulator-max-microvolt = <1200000>;
201c66ec88fSEmmanuel Vadot			regulator-allow-set-load;
202c66ec88fSEmmanuel Vadot		};
203b97ee269SEmmanuel Vadot
204c66ec88fSEmmanuel Vadot		vreg_l3a_1p0: l3 {
205c66ec88fSEmmanuel Vadot			regulator-min-microvolt = <1000000>;
206c66ec88fSEmmanuel Vadot			regulator-max-microvolt = <1000000>;
207c66ec88fSEmmanuel Vadot		};
208b97ee269SEmmanuel Vadot
209c66ec88fSEmmanuel Vadot		vreg_l5a_0p8: l5 {
210c66ec88fSEmmanuel Vadot			regulator-min-microvolt = <800000>;
211c66ec88fSEmmanuel Vadot			regulator-max-microvolt = <800000>;
212c66ec88fSEmmanuel Vadot		};
213b97ee269SEmmanuel Vadot
214c66ec88fSEmmanuel Vadot		vreg_l6a_1p8: l6 {
215c66ec88fSEmmanuel Vadot			regulator-min-microvolt = <1808000>;
216c66ec88fSEmmanuel Vadot			regulator-max-microvolt = <1808000>;
217c66ec88fSEmmanuel Vadot		};
218b97ee269SEmmanuel Vadot
219c66ec88fSEmmanuel Vadot		vreg_l7a_1p8: l7 {
220c66ec88fSEmmanuel Vadot			regulator-min-microvolt = <1800000>;
221c66ec88fSEmmanuel Vadot			regulator-max-microvolt = <1800000>;
222c66ec88fSEmmanuel Vadot			regulator-allow-set-load;
223c66ec88fSEmmanuel Vadot		};
224b97ee269SEmmanuel Vadot
225c66ec88fSEmmanuel Vadot		vreg_l8a_1p2: l8 {
226c66ec88fSEmmanuel Vadot			regulator-min-microvolt = <1200000>;
227c66ec88fSEmmanuel Vadot			regulator-max-microvolt = <1200000>;
228c66ec88fSEmmanuel Vadot		};
229b97ee269SEmmanuel Vadot
230c66ec88fSEmmanuel Vadot		vreg_l9a_1p8: l9 {
231c66ec88fSEmmanuel Vadot			regulator-min-microvolt = <1808000>;
232c66ec88fSEmmanuel Vadot			regulator-max-microvolt = <2960000>;
233c66ec88fSEmmanuel Vadot		};
234b97ee269SEmmanuel Vadot
235c66ec88fSEmmanuel Vadot		vreg_l10a_1p8: l10 {
236c66ec88fSEmmanuel Vadot			regulator-min-microvolt = <1808000>;
237c66ec88fSEmmanuel Vadot			regulator-max-microvolt = <2960000>;
238c66ec88fSEmmanuel Vadot		};
239b97ee269SEmmanuel Vadot
240c66ec88fSEmmanuel Vadot		vreg_l11a_1p0: l11 {
241c66ec88fSEmmanuel Vadot			regulator-min-microvolt = <1000000>;
242c66ec88fSEmmanuel Vadot			regulator-max-microvolt = <1000000>;
243c66ec88fSEmmanuel Vadot		};
244b97ee269SEmmanuel Vadot
245c66ec88fSEmmanuel Vadot		vreg_l12a_1p8: l12 {
246c66ec88fSEmmanuel Vadot			regulator-min-microvolt = <1800000>;
247c66ec88fSEmmanuel Vadot			regulator-max-microvolt = <1800000>;
248c66ec88fSEmmanuel Vadot		};
249b97ee269SEmmanuel Vadot
250c66ec88fSEmmanuel Vadot		vreg_l13a_2p95: l13 {
251c66ec88fSEmmanuel Vadot			regulator-min-microvolt = <1808000>;
252c66ec88fSEmmanuel Vadot			regulator-max-microvolt = <2960000>;
253c66ec88fSEmmanuel Vadot		};
254b97ee269SEmmanuel Vadot
255c66ec88fSEmmanuel Vadot		vreg_l14a_1p88: l14 {
256c66ec88fSEmmanuel Vadot			regulator-min-microvolt = <1880000>;
257c66ec88fSEmmanuel Vadot			regulator-max-microvolt = <1880000>;
258c66ec88fSEmmanuel Vadot		};
259b97ee269SEmmanuel Vadot
260c66ec88fSEmmanuel Vadot		vreg_l15a_1p8: l15 {
261c66ec88fSEmmanuel Vadot			regulator-min-microvolt = <1800000>;
262c66ec88fSEmmanuel Vadot			regulator-max-microvolt = <1800000>;
263c66ec88fSEmmanuel Vadot		};
264b97ee269SEmmanuel Vadot
265c66ec88fSEmmanuel Vadot		vreg_l16a_2p7: l16 {
266c66ec88fSEmmanuel Vadot			regulator-min-microvolt = <2704000>;
267c66ec88fSEmmanuel Vadot			regulator-max-microvolt = <2704000>;
268c66ec88fSEmmanuel Vadot		};
269b97ee269SEmmanuel Vadot
270c66ec88fSEmmanuel Vadot		vreg_l17a_1p3: l17 {
271c66ec88fSEmmanuel Vadot			regulator-min-microvolt = <1304000>;
272c66ec88fSEmmanuel Vadot			regulator-max-microvolt = <1304000>;
273c66ec88fSEmmanuel Vadot			regulator-allow-set-load;
274c66ec88fSEmmanuel Vadot		};
275b97ee269SEmmanuel Vadot
276c66ec88fSEmmanuel Vadot		vreg_l18a_2p7: l18 {
277c66ec88fSEmmanuel Vadot			regulator-min-microvolt = <2704000>;
278c66ec88fSEmmanuel Vadot			regulator-max-microvolt = <2704000>;
279c66ec88fSEmmanuel Vadot		};
280b97ee269SEmmanuel Vadot
281c66ec88fSEmmanuel Vadot		vreg_l19a_3p0: l19 {
282c66ec88fSEmmanuel Vadot			regulator-min-microvolt = <3008000>;
283c66ec88fSEmmanuel Vadot			regulator-max-microvolt = <3008000>;
284c66ec88fSEmmanuel Vadot		};
285b97ee269SEmmanuel Vadot
286c66ec88fSEmmanuel Vadot		vreg_l20a_2p95: l20 {
287c66ec88fSEmmanuel Vadot			regulator-min-microvolt = <2960000>;
288c66ec88fSEmmanuel Vadot			regulator-max-microvolt = <2960000>;
289c66ec88fSEmmanuel Vadot			regulator-allow-set-load;
290c66ec88fSEmmanuel Vadot		};
291b97ee269SEmmanuel Vadot
292c66ec88fSEmmanuel Vadot		vreg_l21a_2p95: l21 {
293c66ec88fSEmmanuel Vadot			regulator-min-microvolt = <2960000>;
294c66ec88fSEmmanuel Vadot			regulator-max-microvolt = <2960000>;
295c66ec88fSEmmanuel Vadot			regulator-allow-set-load;
296c66ec88fSEmmanuel Vadot			regulator-system-load = <800000>;
297c66ec88fSEmmanuel Vadot		};
298b97ee269SEmmanuel Vadot
299c66ec88fSEmmanuel Vadot		vreg_l22a_2p85: l22 {
300c66ec88fSEmmanuel Vadot			regulator-min-microvolt = <2864000>;
301c66ec88fSEmmanuel Vadot			regulator-max-microvolt = <2864000>;
302c66ec88fSEmmanuel Vadot		};
303b97ee269SEmmanuel Vadot
304c66ec88fSEmmanuel Vadot		vreg_l23a_3p3: l23 {
305c66ec88fSEmmanuel Vadot			regulator-min-microvolt = <3312000>;
306c66ec88fSEmmanuel Vadot			regulator-max-microvolt = <3312000>;
307c66ec88fSEmmanuel Vadot		};
308b97ee269SEmmanuel Vadot
309c66ec88fSEmmanuel Vadot		vreg_l24a_3p075: l24 {
310c66ec88fSEmmanuel Vadot			regulator-min-microvolt = <3088000>;
311c66ec88fSEmmanuel Vadot			regulator-max-microvolt = <3088000>;
312c66ec88fSEmmanuel Vadot		};
313b97ee269SEmmanuel Vadot
314c66ec88fSEmmanuel Vadot		vreg_l25a_3p3: l25 {
315c66ec88fSEmmanuel Vadot			regulator-min-microvolt = <3104000>;
316c66ec88fSEmmanuel Vadot			regulator-max-microvolt = <3312000>;
317c66ec88fSEmmanuel Vadot			regulator-allow-set-load;
318c66ec88fSEmmanuel Vadot		};
319b97ee269SEmmanuel Vadot
320c66ec88fSEmmanuel Vadot		vreg_l26a_1p2: l26 {
321c66ec88fSEmmanuel Vadot			regulator-min-microvolt = <1200000>;
322c66ec88fSEmmanuel Vadot			regulator-max-microvolt = <1200000>;
323c66ec88fSEmmanuel Vadot		};
324b97ee269SEmmanuel Vadot
325c66ec88fSEmmanuel Vadot		vreg_l28_3p0: l28 {
326c66ec88fSEmmanuel Vadot			regulator-min-microvolt = <3008000>;
327c66ec88fSEmmanuel Vadot			regulator-max-microvolt = <3008000>;
328c66ec88fSEmmanuel Vadot		};
329c66ec88fSEmmanuel Vadot
330c66ec88fSEmmanuel Vadot		vreg_lvs1a_1p8: lvs1 {
331c66ec88fSEmmanuel Vadot			regulator-min-microvolt = <1800000>;
332c66ec88fSEmmanuel Vadot			regulator-max-microvolt = <1800000>;
333c66ec88fSEmmanuel Vadot		};
334c66ec88fSEmmanuel Vadot
335c66ec88fSEmmanuel Vadot		vreg_lvs2a_1p8: lvs2 {
336c66ec88fSEmmanuel Vadot			regulator-min-microvolt = <1800000>;
337c66ec88fSEmmanuel Vadot			regulator-max-microvolt = <1800000>;
338c66ec88fSEmmanuel Vadot		};
339c66ec88fSEmmanuel Vadot	};
340c66ec88fSEmmanuel Vadot};
341c66ec88fSEmmanuel Vadot
3422eb4d8dcSEmmanuel Vadot&remoteproc_mss {
3432eb4d8dcSEmmanuel Vadot	status = "okay";
3442eb4d8dcSEmmanuel Vadot};
3452eb4d8dcSEmmanuel Vadot
346c66ec88fSEmmanuel Vadot&sdhc2 {
347c66ec88fSEmmanuel Vadot	status = "okay";
348c66ec88fSEmmanuel Vadot
349c66ec88fSEmmanuel Vadot	vmmc-supply = <&vreg_l21a_2p95>;
350c66ec88fSEmmanuel Vadot	vqmmc-supply = <&vreg_l13a_2p95>;
351c66ec88fSEmmanuel Vadot
352c66ec88fSEmmanuel Vadot	pinctrl-names = "default", "sleep";
353b97ee269SEmmanuel Vadot	pinctrl-0 = <&sdc2_on &sdc2_cd>;
354b97ee269SEmmanuel Vadot	pinctrl-1 = <&sdc2_off &sdc2_cd>;
355b97ee269SEmmanuel Vadot};
356b97ee269SEmmanuel Vadot
357b97ee269SEmmanuel Vadot&tlmm {
358b97ee269SEmmanuel Vadot	gpio-reserved-ranges = <0 4>, <81 4>;
359b97ee269SEmmanuel Vadot
360*8bab661aSEmmanuel Vadot	touchpad: touchpad-pin-state {
361b97ee269SEmmanuel Vadot		pins = "gpio123";
362*8bab661aSEmmanuel Vadot		function = "gpio";
363b97ee269SEmmanuel Vadot		bias-pull-up;
364b97ee269SEmmanuel Vadot	};
365c66ec88fSEmmanuel Vadot};
366c66ec88fSEmmanuel Vadot
3675def4c47SEmmanuel Vadot&ufshc {
3685def4c47SEmmanuel Vadot	status = "okay";
3695def4c47SEmmanuel Vadot};
3705def4c47SEmmanuel Vadot
3715def4c47SEmmanuel Vadot&ufsphy {
3725def4c47SEmmanuel Vadot	status = "okay";
3738cc087a1SEmmanuel Vadot	vdda-phy-supply = <&vreg_l1a_0p875>;
3748cc087a1SEmmanuel Vadot	vdda-pll-supply = <&vreg_l2a_1p2>;
3755def4c47SEmmanuel Vadot};
3765def4c47SEmmanuel Vadot
377c66ec88fSEmmanuel Vadot&usb3 {
378c66ec88fSEmmanuel Vadot	status = "okay";
379c66ec88fSEmmanuel Vadot};
380c66ec88fSEmmanuel Vadot
381c66ec88fSEmmanuel Vadot&usb3_dwc3 {
382c66ec88fSEmmanuel Vadot	dr_mode = "host"; /* Force to host until we have Type-C hooked up */
383c66ec88fSEmmanuel Vadot};
384c66ec88fSEmmanuel Vadot
385c66ec88fSEmmanuel Vadot&usb3phy {
386c66ec88fSEmmanuel Vadot	status = "okay";
387c66ec88fSEmmanuel Vadot
388c66ec88fSEmmanuel Vadot	vdda-phy-supply = <&vreg_l1a_0p875>;
389c66ec88fSEmmanuel Vadot	vdda-pll-supply = <&vreg_l2a_1p2>;
390c66ec88fSEmmanuel Vadot};
391c66ec88fSEmmanuel Vadot
392c66ec88fSEmmanuel Vadot&wifi {
393c66ec88fSEmmanuel Vadot	status = "okay";
394c66ec88fSEmmanuel Vadot
395c66ec88fSEmmanuel Vadot	vdd-0.8-cx-mx-supply = <&vreg_l5a_0p8>;
396c66ec88fSEmmanuel Vadot	vdd-1.8-xo-supply = <&vreg_l7a_1p8>;
397c66ec88fSEmmanuel Vadot	vdd-1.3-rfa-supply = <&vreg_l17a_1p3>;
398c66ec88fSEmmanuel Vadot	vdd-3.3-ch0-supply = <&vreg_l25a_3p3>;
399c66ec88fSEmmanuel Vadot};
400