xref: /freebsd/sys/contrib/device-tree/src/arm64/qcom/sm6115p-lenovo-j606f.dts (revision 84943d6f38e936ac3b7a3947ca26eeb27a39f938)
1cb7aa33aSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
2cb7aa33aSEmmanuel Vadot/*
3cb7aa33aSEmmanuel Vadot * Copyright (c) 2022 Linaro Limited
4cb7aa33aSEmmanuel Vadot */
5cb7aa33aSEmmanuel Vadot
6cb7aa33aSEmmanuel Vadot/dts-v1/;
7cb7aa33aSEmmanuel Vadot
8cb7aa33aSEmmanuel Vadot#include "sm6115.dtsi"
9cb7aa33aSEmmanuel Vadot#include "pm6125.dtsi"
10cb7aa33aSEmmanuel Vadot
11cb7aa33aSEmmanuel Vadot/ {
12cb7aa33aSEmmanuel Vadot	model = "Lenovo Tab P11";
13cb7aa33aSEmmanuel Vadot	compatible = "lenovo,j606f", "qcom,sm6115p", "qcom,sm6115";
14cb7aa33aSEmmanuel Vadot	chassis-type = "tablet";
15cb7aa33aSEmmanuel Vadot
16cb7aa33aSEmmanuel Vadot	/* required for bootloader to select correct board */
17cb7aa33aSEmmanuel Vadot	qcom,msm-id = <445 0x10000>, <420 0x10000>;
18cb7aa33aSEmmanuel Vadot	qcom,board-id = <34 3>;
19cb7aa33aSEmmanuel Vadot
20cb7aa33aSEmmanuel Vadot	aliases {
21cb7aa33aSEmmanuel Vadot		mmc0 = &sdhc_2;
22cb7aa33aSEmmanuel Vadot	};
23cb7aa33aSEmmanuel Vadot
24cb7aa33aSEmmanuel Vadot	chosen {
25cb7aa33aSEmmanuel Vadot		#address-cells = <2>;
26cb7aa33aSEmmanuel Vadot		#size-cells = <2>;
27cb7aa33aSEmmanuel Vadot		ranges;
28cb7aa33aSEmmanuel Vadot
29cb7aa33aSEmmanuel Vadot		framebuffer0: framebuffer@5c000000 {
30cb7aa33aSEmmanuel Vadot			compatible = "simple-framebuffer";
31cb7aa33aSEmmanuel Vadot			reg = <0 0x5c000000 0 (2000 * 1200 * 4)>;
32cb7aa33aSEmmanuel Vadot			width = <1200>;
33cb7aa33aSEmmanuel Vadot			height = <2000>;
34cb7aa33aSEmmanuel Vadot			stride = <(1200 * 4)>;
35cb7aa33aSEmmanuel Vadot			format = "a8r8g8b8";
36cb7aa33aSEmmanuel Vadot			clocks = <&gcc GCC_DISP_HF_AXI_CLK>;
37cb7aa33aSEmmanuel Vadot		};
38cb7aa33aSEmmanuel Vadot	};
39cb7aa33aSEmmanuel Vadot
40cb7aa33aSEmmanuel Vadot	gpio-keys {
41cb7aa33aSEmmanuel Vadot		compatible = "gpio-keys";
42cb7aa33aSEmmanuel Vadot
43cb7aa33aSEmmanuel Vadot		pinctrl-names = "default";
44cb7aa33aSEmmanuel Vadot		pinctrl-0 = <&vol_up_n>;
45cb7aa33aSEmmanuel Vadot
46cb7aa33aSEmmanuel Vadot		key-volume-up {
47cb7aa33aSEmmanuel Vadot			label = "Volume Up";
48cb7aa33aSEmmanuel Vadot			linux,code = <KEY_VOLUMEUP>;
49cb7aa33aSEmmanuel Vadot			gpios = <&pm6125_gpios 5 GPIO_ACTIVE_LOW>;
50cb7aa33aSEmmanuel Vadot			debounce-interval = <15>;
51cb7aa33aSEmmanuel Vadot			linux,can-disable;
52fac71e4eSEmmanuel Vadot			wakeup-source;
53fac71e4eSEmmanuel Vadot		};
54fac71e4eSEmmanuel Vadot	};
55fac71e4eSEmmanuel Vadot
56fac71e4eSEmmanuel Vadot	reserved-memory {
57fac71e4eSEmmanuel Vadot		ramoops@ffc00000 {
58fac71e4eSEmmanuel Vadot			compatible = "ramoops";
59fac71e4eSEmmanuel Vadot			reg = <0x0 0xffc00000 0x0 0x100000>;
60fac71e4eSEmmanuel Vadot			record-size = <0x1000>;
61fac71e4eSEmmanuel Vadot			console-size = <0x40000>;
62fac71e4eSEmmanuel Vadot			ftrace-size = <0x20000>;
63fac71e4eSEmmanuel Vadot			ecc-size = <16>;
64cb7aa33aSEmmanuel Vadot		};
65cb7aa33aSEmmanuel Vadot	};
66cb7aa33aSEmmanuel Vadot};
67cb7aa33aSEmmanuel Vadot
68aa1a8ff2SEmmanuel Vadot&gpu {
69aa1a8ff2SEmmanuel Vadot	status = "okay";
70aa1a8ff2SEmmanuel Vadot
71aa1a8ff2SEmmanuel Vadot	zap-shader {
72aa1a8ff2SEmmanuel Vadot		firmware-name = "qcom/sm6115/LENOVO/J606F/a610_zap.mbn";
73aa1a8ff2SEmmanuel Vadot	};
74aa1a8ff2SEmmanuel Vadot};
75aa1a8ff2SEmmanuel Vadot
76aa1a8ff2SEmmanuel Vadot&mdss {
77aa1a8ff2SEmmanuel Vadot	status = "okay";
78aa1a8ff2SEmmanuel Vadot};
79aa1a8ff2SEmmanuel Vadot
80aa1a8ff2SEmmanuel Vadot&mdss_dsi0 {
81aa1a8ff2SEmmanuel Vadot	vdda-supply = <&pm6125_l18>;
82aa1a8ff2SEmmanuel Vadot	status = "okay";
83aa1a8ff2SEmmanuel Vadot
84aa1a8ff2SEmmanuel Vadot	panel: panel@0 {
85aa1a8ff2SEmmanuel Vadot		compatible = "lenovo,j606f-boe-nt36523w", "novatek,nt36523w";
86aa1a8ff2SEmmanuel Vadot		reg = <0>;
87aa1a8ff2SEmmanuel Vadot
88aa1a8ff2SEmmanuel Vadot		reset-gpios = <&tlmm 82 GPIO_ACTIVE_LOW>;
89aa1a8ff2SEmmanuel Vadot		vddio-supply = <&pm6125_l9>;
90aa1a8ff2SEmmanuel Vadot
91aa1a8ff2SEmmanuel Vadot		pinctrl-names = "default";
92aa1a8ff2SEmmanuel Vadot		pinctrl-0 = <&te_active &mdss_dsi_active>;
93aa1a8ff2SEmmanuel Vadot
94aa1a8ff2SEmmanuel Vadot		rotation = <180>; /* Yep, it's mounted upside down! */
95aa1a8ff2SEmmanuel Vadot
96aa1a8ff2SEmmanuel Vadot		port {
97aa1a8ff2SEmmanuel Vadot			panel_in: endpoint {
98aa1a8ff2SEmmanuel Vadot				remote-endpoint = <&mdss_dsi0_out>;
99aa1a8ff2SEmmanuel Vadot			};
100aa1a8ff2SEmmanuel Vadot		};
101aa1a8ff2SEmmanuel Vadot	};
102aa1a8ff2SEmmanuel Vadot};
103aa1a8ff2SEmmanuel Vadot
104aa1a8ff2SEmmanuel Vadot&mdss_dsi0_out {
105aa1a8ff2SEmmanuel Vadot	data-lanes = <0 1 2 3>;
106aa1a8ff2SEmmanuel Vadot	remote-endpoint = <&panel_in>;
107aa1a8ff2SEmmanuel Vadot};
108aa1a8ff2SEmmanuel Vadot
109aa1a8ff2SEmmanuel Vadot&mdss_dsi0_phy {
110aa1a8ff2SEmmanuel Vadot	status = "okay";
111cb7aa33aSEmmanuel Vadot};
112cb7aa33aSEmmanuel Vadot
113cb7aa33aSEmmanuel Vadot&pm6125_gpios {
114cb7aa33aSEmmanuel Vadot	vol_up_n: vol-up-n-state {
115cb7aa33aSEmmanuel Vadot		pins = "gpio5";
116cb7aa33aSEmmanuel Vadot		function = "normal";
117cb7aa33aSEmmanuel Vadot		power-source = <0>;
118cb7aa33aSEmmanuel Vadot		bias-pull-up;
119cb7aa33aSEmmanuel Vadot		input-enable;
120cb7aa33aSEmmanuel Vadot	};
121cb7aa33aSEmmanuel Vadot};
122cb7aa33aSEmmanuel Vadot
123cb7aa33aSEmmanuel Vadot&pon_pwrkey {
124cb7aa33aSEmmanuel Vadot	status = "okay";
125cb7aa33aSEmmanuel Vadot};
126cb7aa33aSEmmanuel Vadot
127cb7aa33aSEmmanuel Vadot&pon_resin {
128cb7aa33aSEmmanuel Vadot	linux,code = <KEY_VOLUMEDOWN>;
129cb7aa33aSEmmanuel Vadot	status = "okay";
130cb7aa33aSEmmanuel Vadot};
131cb7aa33aSEmmanuel Vadot
132fac71e4eSEmmanuel Vadot&remoteproc_adsp {
133fac71e4eSEmmanuel Vadot	firmware-name = "qcom/sm6115/LENOVO/J606F/adsp.mbn";
134fac71e4eSEmmanuel Vadot	status = "okay";
135fac71e4eSEmmanuel Vadot};
136fac71e4eSEmmanuel Vadot
137fac71e4eSEmmanuel Vadot&remoteproc_cdsp {
138fac71e4eSEmmanuel Vadot	firmware-name = "qcom/sm6115/LENOVO/J606F/cdsp.mbn";
139fac71e4eSEmmanuel Vadot	status = "okay";
140fac71e4eSEmmanuel Vadot};
141fac71e4eSEmmanuel Vadot
142fac71e4eSEmmanuel Vadot&remoteproc_mpss {
143fac71e4eSEmmanuel Vadot	firmware-name = "qcom/sm6115/LENOVO/J606F/modem.mbn";
144fac71e4eSEmmanuel Vadot	status = "okay";
145fac71e4eSEmmanuel Vadot};
146fac71e4eSEmmanuel Vadot
147cb7aa33aSEmmanuel Vadot&rpm_requests {
148cb7aa33aSEmmanuel Vadot	regulators-0 {
149cb7aa33aSEmmanuel Vadot		compatible = "qcom,rpm-pm6125-regulators";
150cb7aa33aSEmmanuel Vadot
151cb7aa33aSEmmanuel Vadot		pm6125_s6: s6 {
152cb7aa33aSEmmanuel Vadot			regulator-min-microvolt = <304000>;
153cb7aa33aSEmmanuel Vadot			regulator-max-microvolt = <1456000>;
154cb7aa33aSEmmanuel Vadot		};
155cb7aa33aSEmmanuel Vadot
156cb7aa33aSEmmanuel Vadot		pm6125_s7: s7 {
157cb7aa33aSEmmanuel Vadot			regulator-min-microvolt = <1280000>;
158cb7aa33aSEmmanuel Vadot			regulator-max-microvolt = <2080000>;
159cb7aa33aSEmmanuel Vadot		};
160cb7aa33aSEmmanuel Vadot
161cb7aa33aSEmmanuel Vadot		pm6125_s8: s8 {
162cb7aa33aSEmmanuel Vadot			regulator-min-microvolt = <1064000>;
163cb7aa33aSEmmanuel Vadot			regulator-max-microvolt = <1304000>;
164cb7aa33aSEmmanuel Vadot		};
165cb7aa33aSEmmanuel Vadot
166cb7aa33aSEmmanuel Vadot		pm6125_l1: l1 {
167cb7aa33aSEmmanuel Vadot			regulator-min-microvolt = <952000>;
168cb7aa33aSEmmanuel Vadot			regulator-max-microvolt = <1152000>;
169cb7aa33aSEmmanuel Vadot		};
170cb7aa33aSEmmanuel Vadot
171cb7aa33aSEmmanuel Vadot		pm6125_l4: l4 {
172cb7aa33aSEmmanuel Vadot			regulator-min-microvolt = <488000>;
173cb7aa33aSEmmanuel Vadot			regulator-max-microvolt = <1000000>;
174cb7aa33aSEmmanuel Vadot		};
175cb7aa33aSEmmanuel Vadot
176cb7aa33aSEmmanuel Vadot		pm6125_l5: l5 {
177cb7aa33aSEmmanuel Vadot			regulator-min-microvolt = <1648000>;
178cb7aa33aSEmmanuel Vadot			/* 3.056V capped to 2.96V for SDHCI */
179cb7aa33aSEmmanuel Vadot			regulator-max-microvolt = <2960000>;
180cb7aa33aSEmmanuel Vadot			regulator-allow-set-load;
181cb7aa33aSEmmanuel Vadot			/* Broken hw, this one can't be turned off or SDHCI will break! */
182cb7aa33aSEmmanuel Vadot			regulator-always-on;
183cb7aa33aSEmmanuel Vadot		};
184cb7aa33aSEmmanuel Vadot
185cb7aa33aSEmmanuel Vadot		pm6125_l6: l6 {
186cb7aa33aSEmmanuel Vadot			regulator-min-microvolt = <576000>;
187cb7aa33aSEmmanuel Vadot			regulator-max-microvolt = <656000>;
188cb7aa33aSEmmanuel Vadot		};
189cb7aa33aSEmmanuel Vadot
190cb7aa33aSEmmanuel Vadot		pm6125_l7: l7 {
191cb7aa33aSEmmanuel Vadot			/* 1.2V-1.304V fixed at 1.256V for SDHCI bias */
192cb7aa33aSEmmanuel Vadot			regulator-min-microvolt = <1256000>;
193cb7aa33aSEmmanuel Vadot			regulator-max-microvolt = <1256000>;
194cb7aa33aSEmmanuel Vadot			/*
195cb7aa33aSEmmanuel Vadot			 * TODO: SDHCI seems to also work with this one turned off, however
196cb7aa33aSEmmanuel Vadot			 * there exists a possibility that it may not work with some very
197cb7aa33aSEmmanuel Vadot			 * specific SDCard types, perhaps validating this against a wide
198cb7aa33aSEmmanuel Vadot			 * range of models could rule that out, saving some power would
199cb7aa33aSEmmanuel Vadot			 * certainly be nice..
200cb7aa33aSEmmanuel Vadot			 */
201cb7aa33aSEmmanuel Vadot			regulator-always-on;
202cb7aa33aSEmmanuel Vadot		};
203cb7aa33aSEmmanuel Vadot
204cb7aa33aSEmmanuel Vadot		pm6125_l8: l8 {
205cb7aa33aSEmmanuel Vadot			regulator-min-microvolt = <400000>;
206cb7aa33aSEmmanuel Vadot			regulator-max-microvolt = <728000>;
207cb7aa33aSEmmanuel Vadot		};
208cb7aa33aSEmmanuel Vadot
209cb7aa33aSEmmanuel Vadot		pm6125_l9: l9 {
210cb7aa33aSEmmanuel Vadot			regulator-min-microvolt = <1800000>;
211cb7aa33aSEmmanuel Vadot			regulator-max-microvolt = <2000000>;
212cb7aa33aSEmmanuel Vadot		};
213cb7aa33aSEmmanuel Vadot
214cb7aa33aSEmmanuel Vadot		pm6125_l10: l10 {
215cb7aa33aSEmmanuel Vadot			regulator-min-microvolt = <1704000>;
216cb7aa33aSEmmanuel Vadot			regulator-max-microvolt = <1904000>;
217cb7aa33aSEmmanuel Vadot		};
218cb7aa33aSEmmanuel Vadot
219cb7aa33aSEmmanuel Vadot		pm6125_l11: l11 {
220cb7aa33aSEmmanuel Vadot			regulator-min-microvolt = <1704000>;
221cb7aa33aSEmmanuel Vadot			regulator-max-microvolt = <1952000>;
222cb7aa33aSEmmanuel Vadot		};
223cb7aa33aSEmmanuel Vadot
224cb7aa33aSEmmanuel Vadot		pm6125_l12: l12 {
225cb7aa33aSEmmanuel Vadot			regulator-min-microvolt = <1624000>;
226cb7aa33aSEmmanuel Vadot			regulator-max-microvolt = <1984000>;
227cb7aa33aSEmmanuel Vadot		};
228cb7aa33aSEmmanuel Vadot
229cb7aa33aSEmmanuel Vadot		pm6125_l13: l13 {
230cb7aa33aSEmmanuel Vadot			regulator-min-microvolt = <1504000>;
231cb7aa33aSEmmanuel Vadot			regulator-max-microvolt = <1952000>;
232cb7aa33aSEmmanuel Vadot		};
233cb7aa33aSEmmanuel Vadot
234cb7aa33aSEmmanuel Vadot		pm6125_l14: l14 {
235cb7aa33aSEmmanuel Vadot			regulator-min-microvolt = <1704000>;
236cb7aa33aSEmmanuel Vadot			regulator-max-microvolt = <1904000>;
237cb7aa33aSEmmanuel Vadot		};
238cb7aa33aSEmmanuel Vadot
239cb7aa33aSEmmanuel Vadot		pm6125_l15: l15 {
240cb7aa33aSEmmanuel Vadot			regulator-min-microvolt = <2920000>;
241cb7aa33aSEmmanuel Vadot			regulator-max-microvolt = <3232000>;
242cb7aa33aSEmmanuel Vadot		};
243cb7aa33aSEmmanuel Vadot
244cb7aa33aSEmmanuel Vadot		pm6125_l16: l16 {
245cb7aa33aSEmmanuel Vadot			regulator-min-microvolt = <1704000>;
246cb7aa33aSEmmanuel Vadot			regulator-max-microvolt = <1904000>;
247cb7aa33aSEmmanuel Vadot		};
248cb7aa33aSEmmanuel Vadot
249cb7aa33aSEmmanuel Vadot		pm6125_l17: l17 {
250cb7aa33aSEmmanuel Vadot			regulator-min-microvolt = <1152000>;
251cb7aa33aSEmmanuel Vadot			regulator-max-microvolt = <1384000>;
252cb7aa33aSEmmanuel Vadot		};
253cb7aa33aSEmmanuel Vadot
254cb7aa33aSEmmanuel Vadot		pm6125_l18: l18 {
255aa1a8ff2SEmmanuel Vadot			/* 1.104V-1.312V fixed @ 1.232V for DSIPHY */
256aa1a8ff2SEmmanuel Vadot			regulator-min-microvolt = <1232000>;
257aa1a8ff2SEmmanuel Vadot			regulator-max-microvolt = <1232000>;
258cb7aa33aSEmmanuel Vadot		};
259cb7aa33aSEmmanuel Vadot
260cb7aa33aSEmmanuel Vadot		pm6125_l19: l19 {
261cb7aa33aSEmmanuel Vadot			regulator-min-microvolt = <1624000>;
262cb7aa33aSEmmanuel Vadot			regulator-max-microvolt = <3304000>;
263cb7aa33aSEmmanuel Vadot		};
264cb7aa33aSEmmanuel Vadot
265cb7aa33aSEmmanuel Vadot		pm6125_l20: l20 {
266cb7aa33aSEmmanuel Vadot			regulator-min-microvolt = <1624000>;
267cb7aa33aSEmmanuel Vadot			regulator-max-microvolt = <3304000>;
268cb7aa33aSEmmanuel Vadot		};
269cb7aa33aSEmmanuel Vadot
270cb7aa33aSEmmanuel Vadot		pm6125_l21: l21 {
271cb7aa33aSEmmanuel Vadot			regulator-min-microvolt = <2400000>;
272cb7aa33aSEmmanuel Vadot			regulator-max-microvolt = <3600000>;
273cb7aa33aSEmmanuel Vadot		};
274cb7aa33aSEmmanuel Vadot
275cb7aa33aSEmmanuel Vadot		pm6125_l22: l22 {
276cb7aa33aSEmmanuel Vadot			regulator-min-microvolt = <2952000>;
277cb7aa33aSEmmanuel Vadot			/* 3.304V capped to 2.96V for SDHCI */
278cb7aa33aSEmmanuel Vadot			regulator-max-microvolt = <2960000>;
279cb7aa33aSEmmanuel Vadot			regulator-allow-set-load;
280cb7aa33aSEmmanuel Vadot			/* Broken hw, this one can't be turned off or SDHCI will break! */
281cb7aa33aSEmmanuel Vadot			regulator-always-on;
282cb7aa33aSEmmanuel Vadot		};
283cb7aa33aSEmmanuel Vadot
284cb7aa33aSEmmanuel Vadot		pm6125_l23: l23 {
285cb7aa33aSEmmanuel Vadot			regulator-min-microvolt = <3200000>;
286cb7aa33aSEmmanuel Vadot			regulator-max-microvolt = <3400000>;
287cb7aa33aSEmmanuel Vadot		};
288cb7aa33aSEmmanuel Vadot
289cb7aa33aSEmmanuel Vadot		pm6125_l24: l24 {
290cb7aa33aSEmmanuel Vadot			regulator-min-microvolt = <2704000>;
291cb7aa33aSEmmanuel Vadot			regulator-max-microvolt = <3600000>;
292cb7aa33aSEmmanuel Vadot		};
293cb7aa33aSEmmanuel Vadot	};
294cb7aa33aSEmmanuel Vadot};
295cb7aa33aSEmmanuel Vadot
296cb7aa33aSEmmanuel Vadot&sdhc_2 {
297cb7aa33aSEmmanuel Vadot	cd-gpios = <&tlmm 88 GPIO_ACTIVE_HIGH>;
298cb7aa33aSEmmanuel Vadot	pinctrl-names = "default", "sleep";
299cb7aa33aSEmmanuel Vadot	pinctrl-0 = <&sdc2_state_on &sdc2_gate_pin>;
300cb7aa33aSEmmanuel Vadot	pinctrl-1 = <&sdc2_state_off>;
301cb7aa33aSEmmanuel Vadot	vmmc-supply = <&pm6125_l22>;
302cb7aa33aSEmmanuel Vadot	vqmmc-supply = <&pm6125_l5>;
303cb7aa33aSEmmanuel Vadot	no-sdio;
304cb7aa33aSEmmanuel Vadot	no-mmc;
305cb7aa33aSEmmanuel Vadot	status = "okay";
306cb7aa33aSEmmanuel Vadot};
307cb7aa33aSEmmanuel Vadot
308cb7aa33aSEmmanuel Vadot&sleep_clk {
309cb7aa33aSEmmanuel Vadot	clock-frequency = <32764>;
310cb7aa33aSEmmanuel Vadot};
311cb7aa33aSEmmanuel Vadot
312cb7aa33aSEmmanuel Vadot&tlmm {
313cb7aa33aSEmmanuel Vadot	gpio-reserved-ranges = <14 4>;
314cb7aa33aSEmmanuel Vadot
315cb7aa33aSEmmanuel Vadot	/*
316cb7aa33aSEmmanuel Vadot	 * This is a wholly undocumented pin (other than a single vague "pwr-gpios" reference)
317cb7aa33aSEmmanuel Vadot	 * that needs to be toggled for the SD Card slot to work properly..
318cb7aa33aSEmmanuel Vadot	 */
319cb7aa33aSEmmanuel Vadot	sdc2_gate_pin: sdc2-gate-state {
320cb7aa33aSEmmanuel Vadot		pins = "gpio45";
321cb7aa33aSEmmanuel Vadot		function = "gpio";
322cb7aa33aSEmmanuel Vadot		drive-strength = <2>;
323cb7aa33aSEmmanuel Vadot		bias-pull-up;
324cb7aa33aSEmmanuel Vadot		output-high;
325cb7aa33aSEmmanuel Vadot	};
326aa1a8ff2SEmmanuel Vadot
327aa1a8ff2SEmmanuel Vadot	te_active: te-active-state {
328aa1a8ff2SEmmanuel Vadot		pins = "gpio81";
329aa1a8ff2SEmmanuel Vadot		function = "mdp_vsync";
330aa1a8ff2SEmmanuel Vadot		drive-strength = <2>;
331aa1a8ff2SEmmanuel Vadot		bias-pull-down;
332aa1a8ff2SEmmanuel Vadot	};
333aa1a8ff2SEmmanuel Vadot
334aa1a8ff2SEmmanuel Vadot	mdss_dsi_active: dsi-active-state {
335aa1a8ff2SEmmanuel Vadot		pins = "gpio82";
336aa1a8ff2SEmmanuel Vadot		function = "gpio";
337aa1a8ff2SEmmanuel Vadot		drive-strength = <8>;
338aa1a8ff2SEmmanuel Vadot		bias-disable;
339aa1a8ff2SEmmanuel Vadot	};
340cb7aa33aSEmmanuel Vadot};
341cb7aa33aSEmmanuel Vadot
342cb7aa33aSEmmanuel Vadot&ufs_mem_hc {
343cb7aa33aSEmmanuel Vadot	vcc-supply = <&pm6125_l24>;
344cb7aa33aSEmmanuel Vadot	vcc-max-microamp = <600000>;
345cb7aa33aSEmmanuel Vadot	vccq2-supply = <&pm6125_l11>;
346cb7aa33aSEmmanuel Vadot	vccq2-max-microamp = <600000>;
347*84943d6fSEmmanuel Vadot	vdd-hba-supply = <&pm6125_l18>;
348cb7aa33aSEmmanuel Vadot	status = "okay";
349cb7aa33aSEmmanuel Vadot};
350cb7aa33aSEmmanuel Vadot
351cb7aa33aSEmmanuel Vadot&ufs_mem_phy {
352cb7aa33aSEmmanuel Vadot	vdda-phy-supply = <&pm6125_l4>;
353cb7aa33aSEmmanuel Vadot	vdda-pll-supply = <&pm6125_l12>;
354cb7aa33aSEmmanuel Vadot	status = "okay";
355cb7aa33aSEmmanuel Vadot};
356cb7aa33aSEmmanuel Vadot
357fac71e4eSEmmanuel Vadot&usb {
358cb7aa33aSEmmanuel Vadot	status = "okay";
359cb7aa33aSEmmanuel Vadot};
360cb7aa33aSEmmanuel Vadot
361fac71e4eSEmmanuel Vadot&usb_dwc3 {
362fac71e4eSEmmanuel Vadot	maximum-speed = "high-speed";
363fac71e4eSEmmanuel Vadot	dr_mode = "peripheral";
364f126890aSEmmanuel Vadot
365f126890aSEmmanuel Vadot	phys = <&usb_hsphy>;
366f126890aSEmmanuel Vadot	phy-names = "usb2-phy";
367fac71e4eSEmmanuel Vadot};
368fac71e4eSEmmanuel Vadot
369fac71e4eSEmmanuel Vadot&usb_hsphy {
370cb7aa33aSEmmanuel Vadot	vdd-supply = <&pm6125_l4>;
371cb7aa33aSEmmanuel Vadot	vdda-pll-supply = <&pm6125_l12>;
372cb7aa33aSEmmanuel Vadot	vdda-phy-dpdm-supply = <&pm6125_l15>;
373cb7aa33aSEmmanuel Vadot	status = "okay";
374cb7aa33aSEmmanuel Vadot};
375cb7aa33aSEmmanuel Vadot
376fac71e4eSEmmanuel Vadot&wifi {
377fac71e4eSEmmanuel Vadot	vdd-0.8-cx-mx-supply = <&pm6125_l8>;
378fac71e4eSEmmanuel Vadot	vdd-1.8-xo-supply = <&pm6125_l16>;
379fac71e4eSEmmanuel Vadot	vdd-1.3-rfa-supply = <&pm6125_l17>;
380fac71e4eSEmmanuel Vadot	vdd-3.3-ch0-supply = <&pm6125_l23>;
381fac71e4eSEmmanuel Vadot	qcom,ath10k-calibration-variant = "Lenovo_P11";
382fac71e4eSEmmanuel Vadot	status = "okay";
383fac71e4eSEmmanuel Vadot};
384fac71e4eSEmmanuel Vadot
385cb7aa33aSEmmanuel Vadot&xo_board {
386cb7aa33aSEmmanuel Vadot	clock-frequency = <19200000>;
387cb7aa33aSEmmanuel Vadot};
388