xref: /freebsd/sys/contrib/device-tree/src/arm64/qcom/x1e78100-lenovo-thinkpad-t14s.dts (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
1*b2d2a78aSEmmanuel Vadot// SPDX-License-Identifier: BSD-3-Clause
2*b2d2a78aSEmmanuel Vadot/*
3*b2d2a78aSEmmanuel Vadot * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
4*b2d2a78aSEmmanuel Vadot * Copyright (c) 2024, Linaro Limited
5*b2d2a78aSEmmanuel Vadot */
6*b2d2a78aSEmmanuel Vadot
7*b2d2a78aSEmmanuel Vadot/dts-v1/;
8*b2d2a78aSEmmanuel Vadot
9*b2d2a78aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
10*b2d2a78aSEmmanuel Vadot#include <dt-bindings/input/gpio-keys.h>
11*b2d2a78aSEmmanuel Vadot#include <dt-bindings/input/input.h>
12*b2d2a78aSEmmanuel Vadot#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
13*b2d2a78aSEmmanuel Vadot
14*b2d2a78aSEmmanuel Vadot#include "x1e80100.dtsi"
15*b2d2a78aSEmmanuel Vadot#include "x1e80100-pmics.dtsi"
16*b2d2a78aSEmmanuel Vadot
17*b2d2a78aSEmmanuel Vadot/ {
18*b2d2a78aSEmmanuel Vadot	model = "Lenovo ThinkPad T14s Gen 6";
19*b2d2a78aSEmmanuel Vadot	compatible = "lenovo,thinkpad-t14s", "qcom,x1e78100", "qcom,x1e80100";
20*b2d2a78aSEmmanuel Vadot	chassis-type = "laptop";
21*b2d2a78aSEmmanuel Vadot
22*b2d2a78aSEmmanuel Vadot	gpio-keys {
23*b2d2a78aSEmmanuel Vadot		compatible = "gpio-keys";
24*b2d2a78aSEmmanuel Vadot
25*b2d2a78aSEmmanuel Vadot		pinctrl-0 = <&hall_int_n_default>;
26*b2d2a78aSEmmanuel Vadot		pinctrl-names = "default";
27*b2d2a78aSEmmanuel Vadot
28*b2d2a78aSEmmanuel Vadot		switch-lid {
29*b2d2a78aSEmmanuel Vadot			gpios = <&tlmm 92 GPIO_ACTIVE_LOW>;
30*b2d2a78aSEmmanuel Vadot			linux,input-type = <EV_SW>;
31*b2d2a78aSEmmanuel Vadot			linux,code = <SW_LID>;
32*b2d2a78aSEmmanuel Vadot			wakeup-source;
33*b2d2a78aSEmmanuel Vadot			wakeup-event-action = <EV_ACT_DEASSERTED>;
34*b2d2a78aSEmmanuel Vadot		};
35*b2d2a78aSEmmanuel Vadot	};
36*b2d2a78aSEmmanuel Vadot
37*b2d2a78aSEmmanuel Vadot	pmic-glink {
38*b2d2a78aSEmmanuel Vadot		compatible = "qcom,x1e80100-pmic-glink",
39*b2d2a78aSEmmanuel Vadot			     "qcom,sm8550-pmic-glink",
40*b2d2a78aSEmmanuel Vadot			     "qcom,pmic-glink";
41*b2d2a78aSEmmanuel Vadot		orientation-gpios = <&tlmm 121 GPIO_ACTIVE_HIGH>,
42*b2d2a78aSEmmanuel Vadot				    <&tlmm 123 GPIO_ACTIVE_HIGH>;
43*b2d2a78aSEmmanuel Vadot		#address-cells = <1>;
44*b2d2a78aSEmmanuel Vadot		#size-cells = <0>;
45*b2d2a78aSEmmanuel Vadot
46*b2d2a78aSEmmanuel Vadot		/* Display-adjacent port */
47*b2d2a78aSEmmanuel Vadot		connector@0 {
48*b2d2a78aSEmmanuel Vadot			compatible = "usb-c-connector";
49*b2d2a78aSEmmanuel Vadot			reg = <0>;
50*b2d2a78aSEmmanuel Vadot			power-role = "dual";
51*b2d2a78aSEmmanuel Vadot			data-role = "dual";
52*b2d2a78aSEmmanuel Vadot
53*b2d2a78aSEmmanuel Vadot			ports {
54*b2d2a78aSEmmanuel Vadot				#address-cells = <1>;
55*b2d2a78aSEmmanuel Vadot				#size-cells = <0>;
56*b2d2a78aSEmmanuel Vadot
57*b2d2a78aSEmmanuel Vadot				port@0 {
58*b2d2a78aSEmmanuel Vadot					reg = <0>;
59*b2d2a78aSEmmanuel Vadot
60*b2d2a78aSEmmanuel Vadot					pmic_glink_ss0_hs_in: endpoint {
61*b2d2a78aSEmmanuel Vadot						remote-endpoint = <&usb_1_ss0_dwc3_hs>;
62*b2d2a78aSEmmanuel Vadot					};
63*b2d2a78aSEmmanuel Vadot				};
64*b2d2a78aSEmmanuel Vadot
65*b2d2a78aSEmmanuel Vadot				port@1 {
66*b2d2a78aSEmmanuel Vadot					reg = <1>;
67*b2d2a78aSEmmanuel Vadot
68*b2d2a78aSEmmanuel Vadot					pmic_glink_ss0_ss_in: endpoint {
69*b2d2a78aSEmmanuel Vadot						remote-endpoint = <&usb_1_ss0_qmpphy_out>;
70*b2d2a78aSEmmanuel Vadot					};
71*b2d2a78aSEmmanuel Vadot				};
72*b2d2a78aSEmmanuel Vadot			};
73*b2d2a78aSEmmanuel Vadot		};
74*b2d2a78aSEmmanuel Vadot
75*b2d2a78aSEmmanuel Vadot		/* User-adjacent port */
76*b2d2a78aSEmmanuel Vadot		connector@1 {
77*b2d2a78aSEmmanuel Vadot			compatible = "usb-c-connector";
78*b2d2a78aSEmmanuel Vadot			reg = <1>;
79*b2d2a78aSEmmanuel Vadot			power-role = "dual";
80*b2d2a78aSEmmanuel Vadot			data-role = "dual";
81*b2d2a78aSEmmanuel Vadot
82*b2d2a78aSEmmanuel Vadot			ports {
83*b2d2a78aSEmmanuel Vadot				#address-cells = <1>;
84*b2d2a78aSEmmanuel Vadot				#size-cells = <0>;
85*b2d2a78aSEmmanuel Vadot
86*b2d2a78aSEmmanuel Vadot				port@0 {
87*b2d2a78aSEmmanuel Vadot					reg = <0>;
88*b2d2a78aSEmmanuel Vadot
89*b2d2a78aSEmmanuel Vadot					pmic_glink_ss1_hs_in: endpoint {
90*b2d2a78aSEmmanuel Vadot						remote-endpoint = <&usb_1_ss1_dwc3_hs>;
91*b2d2a78aSEmmanuel Vadot					};
92*b2d2a78aSEmmanuel Vadot				};
93*b2d2a78aSEmmanuel Vadot
94*b2d2a78aSEmmanuel Vadot				port@1 {
95*b2d2a78aSEmmanuel Vadot					reg = <1>;
96*b2d2a78aSEmmanuel Vadot
97*b2d2a78aSEmmanuel Vadot					pmic_glink_ss1_ss_in: endpoint {
98*b2d2a78aSEmmanuel Vadot						remote-endpoint = <&usb_1_ss1_qmpphy_out>;
99*b2d2a78aSEmmanuel Vadot					};
100*b2d2a78aSEmmanuel Vadot				};
101*b2d2a78aSEmmanuel Vadot			};
102*b2d2a78aSEmmanuel Vadot		};
103*b2d2a78aSEmmanuel Vadot	};
104*b2d2a78aSEmmanuel Vadot
105*b2d2a78aSEmmanuel Vadot	reserved-memory {
106*b2d2a78aSEmmanuel Vadot		linux,cma {
107*b2d2a78aSEmmanuel Vadot			compatible = "shared-dma-pool";
108*b2d2a78aSEmmanuel Vadot			size = <0x0 0x8000000>;
109*b2d2a78aSEmmanuel Vadot			reusable;
110*b2d2a78aSEmmanuel Vadot			linux,cma-default;
111*b2d2a78aSEmmanuel Vadot		};
112*b2d2a78aSEmmanuel Vadot	};
113*b2d2a78aSEmmanuel Vadot
114*b2d2a78aSEmmanuel Vadot	vreg_edp_3p3: regulator-edp-3p3 {
115*b2d2a78aSEmmanuel Vadot		compatible = "regulator-fixed";
116*b2d2a78aSEmmanuel Vadot
117*b2d2a78aSEmmanuel Vadot		regulator-name = "VREG_EDP_3P3";
118*b2d2a78aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
119*b2d2a78aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
120*b2d2a78aSEmmanuel Vadot
121*b2d2a78aSEmmanuel Vadot		gpio = <&tlmm 70 GPIO_ACTIVE_HIGH>;
122*b2d2a78aSEmmanuel Vadot		enable-active-high;
123*b2d2a78aSEmmanuel Vadot
124*b2d2a78aSEmmanuel Vadot		pinctrl-0 = <&edp_reg_en>;
125*b2d2a78aSEmmanuel Vadot		pinctrl-names = "default";
126*b2d2a78aSEmmanuel Vadot
127*b2d2a78aSEmmanuel Vadot		regulator-boot-on;
128*b2d2a78aSEmmanuel Vadot	};
129*b2d2a78aSEmmanuel Vadot
130*b2d2a78aSEmmanuel Vadot	vreg_nvme: regulator-nvme {
131*b2d2a78aSEmmanuel Vadot		compatible = "regulator-fixed";
132*b2d2a78aSEmmanuel Vadot
133*b2d2a78aSEmmanuel Vadot		regulator-name = "VREG_NVME_3P3";
134*b2d2a78aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
135*b2d2a78aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
136*b2d2a78aSEmmanuel Vadot
137*b2d2a78aSEmmanuel Vadot		gpio = <&tlmm 18 GPIO_ACTIVE_HIGH>;
138*b2d2a78aSEmmanuel Vadot		enable-active-high;
139*b2d2a78aSEmmanuel Vadot
140*b2d2a78aSEmmanuel Vadot		pinctrl-0 = <&nvme_reg_en>;
141*b2d2a78aSEmmanuel Vadot		pinctrl-names = "default";
142*b2d2a78aSEmmanuel Vadot
143*b2d2a78aSEmmanuel Vadot		regulator-boot-on;
144*b2d2a78aSEmmanuel Vadot	};
145*b2d2a78aSEmmanuel Vadot
146*b2d2a78aSEmmanuel Vadot	vph_pwr: regulator-vph-pwr {
147*b2d2a78aSEmmanuel Vadot		compatible = "regulator-fixed";
148*b2d2a78aSEmmanuel Vadot
149*b2d2a78aSEmmanuel Vadot		regulator-name = "vph_pwr";
150*b2d2a78aSEmmanuel Vadot		regulator-min-microvolt = <3700000>;
151*b2d2a78aSEmmanuel Vadot		regulator-max-microvolt = <3700000>;
152*b2d2a78aSEmmanuel Vadot
153*b2d2a78aSEmmanuel Vadot		regulator-always-on;
154*b2d2a78aSEmmanuel Vadot		regulator-boot-on;
155*b2d2a78aSEmmanuel Vadot	};
156*b2d2a78aSEmmanuel Vadot};
157*b2d2a78aSEmmanuel Vadot
158*b2d2a78aSEmmanuel Vadot&apps_rsc {
159*b2d2a78aSEmmanuel Vadot	regulators-0 {
160*b2d2a78aSEmmanuel Vadot		compatible = "qcom,pm8550-rpmh-regulators";
161*b2d2a78aSEmmanuel Vadot		qcom,pmic-id = "b";
162*b2d2a78aSEmmanuel Vadot
163*b2d2a78aSEmmanuel Vadot		vdd-bob1-supply = <&vph_pwr>;
164*b2d2a78aSEmmanuel Vadot		vdd-bob2-supply = <&vph_pwr>;
165*b2d2a78aSEmmanuel Vadot		vdd-l1-l4-l10-supply = <&vreg_s4c_1p8>;
166*b2d2a78aSEmmanuel Vadot		vdd-l2-l13-l14-supply = <&vreg_bob1>;
167*b2d2a78aSEmmanuel Vadot		vdd-l5-l16-supply = <&vreg_bob1>;
168*b2d2a78aSEmmanuel Vadot		vdd-l6-l7-supply = <&vreg_bob2>;
169*b2d2a78aSEmmanuel Vadot		vdd-l8-l9-supply = <&vreg_bob1>;
170*b2d2a78aSEmmanuel Vadot		vdd-l12-supply = <&vreg_s5j_1p2>;
171*b2d2a78aSEmmanuel Vadot		vdd-l15-supply = <&vreg_s4c_1p8>;
172*b2d2a78aSEmmanuel Vadot		vdd-l17-supply = <&vreg_bob2>;
173*b2d2a78aSEmmanuel Vadot
174*b2d2a78aSEmmanuel Vadot		vreg_bob1: bob1 {
175*b2d2a78aSEmmanuel Vadot			regulator-name = "vreg_bob1";
176*b2d2a78aSEmmanuel Vadot			regulator-min-microvolt = <3008000>;
177*b2d2a78aSEmmanuel Vadot			regulator-max-microvolt = <3960000>;
178*b2d2a78aSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
179*b2d2a78aSEmmanuel Vadot		};
180*b2d2a78aSEmmanuel Vadot
181*b2d2a78aSEmmanuel Vadot		vreg_bob2: bob2 {
182*b2d2a78aSEmmanuel Vadot			regulator-name = "vreg_bob2";
183*b2d2a78aSEmmanuel Vadot			regulator-min-microvolt = <2504000>;
184*b2d2a78aSEmmanuel Vadot			regulator-max-microvolt = <3008000>;
185*b2d2a78aSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
186*b2d2a78aSEmmanuel Vadot		};
187*b2d2a78aSEmmanuel Vadot
188*b2d2a78aSEmmanuel Vadot		vreg_l2b_3p0: ldo2 {
189*b2d2a78aSEmmanuel Vadot			regulator-name = "vreg_l2b_3p0";
190*b2d2a78aSEmmanuel Vadot			regulator-min-microvolt = <3072000>;
191*b2d2a78aSEmmanuel Vadot			regulator-max-microvolt = <3072000>;
192*b2d2a78aSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
193*b2d2a78aSEmmanuel Vadot		};
194*b2d2a78aSEmmanuel Vadot
195*b2d2a78aSEmmanuel Vadot		vreg_l4b_1p8: ldo4 {
196*b2d2a78aSEmmanuel Vadot			regulator-name = "vreg_l4b_1p8";
197*b2d2a78aSEmmanuel Vadot			regulator-min-microvolt = <1800000>;
198*b2d2a78aSEmmanuel Vadot			regulator-max-microvolt = <1800000>;
199*b2d2a78aSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
200*b2d2a78aSEmmanuel Vadot		};
201*b2d2a78aSEmmanuel Vadot
202*b2d2a78aSEmmanuel Vadot		vreg_l6b_1p8: ldo6 {
203*b2d2a78aSEmmanuel Vadot			regulator-name = "vreg_l6b_1p8";
204*b2d2a78aSEmmanuel Vadot			regulator-min-microvolt = <1800000>;
205*b2d2a78aSEmmanuel Vadot			regulator-max-microvolt = <2960000>;
206*b2d2a78aSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
207*b2d2a78aSEmmanuel Vadot		};
208*b2d2a78aSEmmanuel Vadot
209*b2d2a78aSEmmanuel Vadot		vreg_l8b_3p0: ldo8 {
210*b2d2a78aSEmmanuel Vadot			regulator-name = "vreg_l8b_3p0";
211*b2d2a78aSEmmanuel Vadot			regulator-min-microvolt = <3072000>;
212*b2d2a78aSEmmanuel Vadot			regulator-max-microvolt = <3072000>;
213*b2d2a78aSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
214*b2d2a78aSEmmanuel Vadot		};
215*b2d2a78aSEmmanuel Vadot
216*b2d2a78aSEmmanuel Vadot		vreg_l9b_2p9: ldo9 {
217*b2d2a78aSEmmanuel Vadot			regulator-name = "vreg_l9b_2p9";
218*b2d2a78aSEmmanuel Vadot			regulator-min-microvolt = <2960000>;
219*b2d2a78aSEmmanuel Vadot			regulator-max-microvolt = <2960000>;
220*b2d2a78aSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
221*b2d2a78aSEmmanuel Vadot		};
222*b2d2a78aSEmmanuel Vadot
223*b2d2a78aSEmmanuel Vadot		vreg_l10b_1p8: ldo10 {
224*b2d2a78aSEmmanuel Vadot			regulator-name = "vreg_l10b_1p8";
225*b2d2a78aSEmmanuel Vadot			regulator-min-microvolt = <1800000>;
226*b2d2a78aSEmmanuel Vadot			regulator-max-microvolt = <1800000>;
227*b2d2a78aSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
228*b2d2a78aSEmmanuel Vadot		};
229*b2d2a78aSEmmanuel Vadot
230*b2d2a78aSEmmanuel Vadot		vreg_l12b_1p2: ldo12 {
231*b2d2a78aSEmmanuel Vadot			regulator-name = "vreg_l12b_1p2";
232*b2d2a78aSEmmanuel Vadot			regulator-min-microvolt = <1200000>;
233*b2d2a78aSEmmanuel Vadot			regulator-max-microvolt = <1200000>;
234*b2d2a78aSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
235*b2d2a78aSEmmanuel Vadot		};
236*b2d2a78aSEmmanuel Vadot
237*b2d2a78aSEmmanuel Vadot		vreg_l13b_3p0: ldo13 {
238*b2d2a78aSEmmanuel Vadot			regulator-name = "vreg_l13b_3p0";
239*b2d2a78aSEmmanuel Vadot			regulator-min-microvolt = <3072000>;
240*b2d2a78aSEmmanuel Vadot			regulator-max-microvolt = <3072000>;
241*b2d2a78aSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
242*b2d2a78aSEmmanuel Vadot		};
243*b2d2a78aSEmmanuel Vadot
244*b2d2a78aSEmmanuel Vadot		vreg_l14b_3p0: ldo14 {
245*b2d2a78aSEmmanuel Vadot			regulator-name = "vreg_l14b_3p0";
246*b2d2a78aSEmmanuel Vadot			regulator-min-microvolt = <3072000>;
247*b2d2a78aSEmmanuel Vadot			regulator-max-microvolt = <3072000>;
248*b2d2a78aSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
249*b2d2a78aSEmmanuel Vadot		};
250*b2d2a78aSEmmanuel Vadot
251*b2d2a78aSEmmanuel Vadot		vreg_l15b_1p8: ldo15 {
252*b2d2a78aSEmmanuel Vadot			regulator-name = "vreg_l15b_1p8";
253*b2d2a78aSEmmanuel Vadot			regulator-min-microvolt = <1800000>;
254*b2d2a78aSEmmanuel Vadot			regulator-max-microvolt = <1800000>;
255*b2d2a78aSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
256*b2d2a78aSEmmanuel Vadot		};
257*b2d2a78aSEmmanuel Vadot
258*b2d2a78aSEmmanuel Vadot		vreg_l17b_2p5: ldo17 {
259*b2d2a78aSEmmanuel Vadot			regulator-name = "vreg_l17b_2p5";
260*b2d2a78aSEmmanuel Vadot			regulator-min-microvolt = <2504000>;
261*b2d2a78aSEmmanuel Vadot			regulator-max-microvolt = <2504000>;
262*b2d2a78aSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
263*b2d2a78aSEmmanuel Vadot		};
264*b2d2a78aSEmmanuel Vadot	};
265*b2d2a78aSEmmanuel Vadot
266*b2d2a78aSEmmanuel Vadot	regulators-1 {
267*b2d2a78aSEmmanuel Vadot		compatible = "qcom,pm8550ve-rpmh-regulators";
268*b2d2a78aSEmmanuel Vadot		qcom,pmic-id = "c";
269*b2d2a78aSEmmanuel Vadot
270*b2d2a78aSEmmanuel Vadot		vdd-l1-supply = <&vreg_s5j_1p2>;
271*b2d2a78aSEmmanuel Vadot		vdd-l2-supply = <&vreg_s1f_0p7>;
272*b2d2a78aSEmmanuel Vadot		vdd-l3-supply = <&vreg_s1f_0p7>;
273*b2d2a78aSEmmanuel Vadot		vdd-s4-supply = <&vph_pwr>;
274*b2d2a78aSEmmanuel Vadot
275*b2d2a78aSEmmanuel Vadot		vreg_s4c_1p8: smps4 {
276*b2d2a78aSEmmanuel Vadot			regulator-name = "vreg_s4c_1p8";
277*b2d2a78aSEmmanuel Vadot			regulator-min-microvolt = <1856000>;
278*b2d2a78aSEmmanuel Vadot			regulator-max-microvolt = <2000000>;
279*b2d2a78aSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
280*b2d2a78aSEmmanuel Vadot		};
281*b2d2a78aSEmmanuel Vadot
282*b2d2a78aSEmmanuel Vadot		vreg_l1c_1p2: ldo1 {
283*b2d2a78aSEmmanuel Vadot			regulator-name = "vreg_l1c_1p2";
284*b2d2a78aSEmmanuel Vadot			regulator-min-microvolt = <1200000>;
285*b2d2a78aSEmmanuel Vadot			regulator-max-microvolt = <1200000>;
286*b2d2a78aSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
287*b2d2a78aSEmmanuel Vadot		};
288*b2d2a78aSEmmanuel Vadot
289*b2d2a78aSEmmanuel Vadot		vreg_l2c_0p8: ldo2 {
290*b2d2a78aSEmmanuel Vadot			regulator-name = "vreg_l2c_0p8";
291*b2d2a78aSEmmanuel Vadot			regulator-min-microvolt = <880000>;
292*b2d2a78aSEmmanuel Vadot			regulator-max-microvolt = <880000>;
293*b2d2a78aSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
294*b2d2a78aSEmmanuel Vadot		};
295*b2d2a78aSEmmanuel Vadot
296*b2d2a78aSEmmanuel Vadot		vreg_l3c_0p8: ldo3 {
297*b2d2a78aSEmmanuel Vadot			regulator-name = "vreg_l3c_0p8";
298*b2d2a78aSEmmanuel Vadot			regulator-min-microvolt = <912000>;
299*b2d2a78aSEmmanuel Vadot			regulator-max-microvolt = <912000>;
300*b2d2a78aSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
301*b2d2a78aSEmmanuel Vadot		};
302*b2d2a78aSEmmanuel Vadot	};
303*b2d2a78aSEmmanuel Vadot
304*b2d2a78aSEmmanuel Vadot	regulators-2 {
305*b2d2a78aSEmmanuel Vadot		compatible = "qcom,pmc8380-rpmh-regulators";
306*b2d2a78aSEmmanuel Vadot		qcom,pmic-id = "d";
307*b2d2a78aSEmmanuel Vadot
308*b2d2a78aSEmmanuel Vadot		vdd-l1-supply = <&vreg_s1f_0p7>;
309*b2d2a78aSEmmanuel Vadot		vdd-l2-supply = <&vreg_s1f_0p7>;
310*b2d2a78aSEmmanuel Vadot		vdd-l3-supply = <&vreg_s4c_1p8>;
311*b2d2a78aSEmmanuel Vadot		vdd-s1-supply = <&vph_pwr>;
312*b2d2a78aSEmmanuel Vadot
313*b2d2a78aSEmmanuel Vadot		vreg_l1d_0p8: ldo1 {
314*b2d2a78aSEmmanuel Vadot			regulator-name = "vreg_l1d_0p8";
315*b2d2a78aSEmmanuel Vadot			regulator-min-microvolt = <880000>;
316*b2d2a78aSEmmanuel Vadot			regulator-max-microvolt = <880000>;
317*b2d2a78aSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
318*b2d2a78aSEmmanuel Vadot		};
319*b2d2a78aSEmmanuel Vadot
320*b2d2a78aSEmmanuel Vadot		vreg_l2d_0p9: ldo2 {
321*b2d2a78aSEmmanuel Vadot			regulator-name = "vreg_l2d_0p9";
322*b2d2a78aSEmmanuel Vadot			regulator-min-microvolt = <912000>;
323*b2d2a78aSEmmanuel Vadot			regulator-max-microvolt = <912000>;
324*b2d2a78aSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
325*b2d2a78aSEmmanuel Vadot		};
326*b2d2a78aSEmmanuel Vadot
327*b2d2a78aSEmmanuel Vadot		vreg_l3d_1p8: ldo3 {
328*b2d2a78aSEmmanuel Vadot			regulator-name = "vreg_l3d_1p8";
329*b2d2a78aSEmmanuel Vadot			regulator-min-microvolt = <1800000>;
330*b2d2a78aSEmmanuel Vadot			regulator-max-microvolt = <1800000>;
331*b2d2a78aSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
332*b2d2a78aSEmmanuel Vadot		};
333*b2d2a78aSEmmanuel Vadot	};
334*b2d2a78aSEmmanuel Vadot
335*b2d2a78aSEmmanuel Vadot	regulators-3 {
336*b2d2a78aSEmmanuel Vadot		compatible = "qcom,pmc8380-rpmh-regulators";
337*b2d2a78aSEmmanuel Vadot		qcom,pmic-id = "e";
338*b2d2a78aSEmmanuel Vadot
339*b2d2a78aSEmmanuel Vadot		vdd-l2-supply = <&vreg_s1f_0p7>;
340*b2d2a78aSEmmanuel Vadot		vdd-l3-supply = <&vreg_s5j_1p2>;
341*b2d2a78aSEmmanuel Vadot
342*b2d2a78aSEmmanuel Vadot		vreg_l2e_0p8: ldo2 {
343*b2d2a78aSEmmanuel Vadot			regulator-name = "vreg_l2e_0p8";
344*b2d2a78aSEmmanuel Vadot			regulator-min-microvolt = <880000>;
345*b2d2a78aSEmmanuel Vadot			regulator-max-microvolt = <880000>;
346*b2d2a78aSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
347*b2d2a78aSEmmanuel Vadot		};
348*b2d2a78aSEmmanuel Vadot
349*b2d2a78aSEmmanuel Vadot		vreg_l3e_1p2: ldo3 {
350*b2d2a78aSEmmanuel Vadot			regulator-name = "vreg_l3e_1p2";
351*b2d2a78aSEmmanuel Vadot			regulator-min-microvolt = <1200000>;
352*b2d2a78aSEmmanuel Vadot			regulator-max-microvolt = <1200000>;
353*b2d2a78aSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
354*b2d2a78aSEmmanuel Vadot		};
355*b2d2a78aSEmmanuel Vadot	};
356*b2d2a78aSEmmanuel Vadot
357*b2d2a78aSEmmanuel Vadot	regulators-4 {
358*b2d2a78aSEmmanuel Vadot		compatible = "qcom,pmc8380-rpmh-regulators";
359*b2d2a78aSEmmanuel Vadot		qcom,pmic-id = "f";
360*b2d2a78aSEmmanuel Vadot
361*b2d2a78aSEmmanuel Vadot		vdd-l1-supply = <&vreg_s5j_1p2>;
362*b2d2a78aSEmmanuel Vadot		vdd-l2-supply = <&vreg_s5j_1p2>;
363*b2d2a78aSEmmanuel Vadot		vdd-l3-supply = <&vreg_s5j_1p2>;
364*b2d2a78aSEmmanuel Vadot		vdd-s1-supply = <&vph_pwr>;
365*b2d2a78aSEmmanuel Vadot
366*b2d2a78aSEmmanuel Vadot		vreg_s1f_0p7: smps1 {
367*b2d2a78aSEmmanuel Vadot			regulator-name = "vreg_s1f_0p7";
368*b2d2a78aSEmmanuel Vadot			regulator-min-microvolt = <700000>;
369*b2d2a78aSEmmanuel Vadot			regulator-max-microvolt = <1100000>;
370*b2d2a78aSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
371*b2d2a78aSEmmanuel Vadot		};
372*b2d2a78aSEmmanuel Vadot	};
373*b2d2a78aSEmmanuel Vadot
374*b2d2a78aSEmmanuel Vadot	regulators-6 {
375*b2d2a78aSEmmanuel Vadot		compatible = "qcom,pm8550ve-rpmh-regulators";
376*b2d2a78aSEmmanuel Vadot		qcom,pmic-id = "i";
377*b2d2a78aSEmmanuel Vadot
378*b2d2a78aSEmmanuel Vadot		vdd-l1-supply = <&vreg_s4c_1p8>;
379*b2d2a78aSEmmanuel Vadot		vdd-l2-supply = <&vreg_s5j_1p2>;
380*b2d2a78aSEmmanuel Vadot		vdd-l3-supply = <&vreg_s1f_0p7>;
381*b2d2a78aSEmmanuel Vadot		vdd-s1-supply = <&vph_pwr>;
382*b2d2a78aSEmmanuel Vadot		vdd-s2-supply = <&vph_pwr>;
383*b2d2a78aSEmmanuel Vadot
384*b2d2a78aSEmmanuel Vadot		vreg_l1i_1p8: ldo1 {
385*b2d2a78aSEmmanuel Vadot			regulator-name = "vreg_l1i_1p8";
386*b2d2a78aSEmmanuel Vadot			regulator-min-microvolt = <1800000>;
387*b2d2a78aSEmmanuel Vadot			regulator-max-microvolt = <1800000>;
388*b2d2a78aSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
389*b2d2a78aSEmmanuel Vadot		};
390*b2d2a78aSEmmanuel Vadot
391*b2d2a78aSEmmanuel Vadot		vreg_l2i_1p2: ldo2 {
392*b2d2a78aSEmmanuel Vadot			regulator-name = "vreg_l2i_1p2";
393*b2d2a78aSEmmanuel Vadot			regulator-min-microvolt = <1200000>;
394*b2d2a78aSEmmanuel Vadot			regulator-max-microvolt = <1200000>;
395*b2d2a78aSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
396*b2d2a78aSEmmanuel Vadot		};
397*b2d2a78aSEmmanuel Vadot
398*b2d2a78aSEmmanuel Vadot		vreg_l3i_0p8: ldo3 {
399*b2d2a78aSEmmanuel Vadot			regulator-name = "vreg_l3i_0p8";
400*b2d2a78aSEmmanuel Vadot			regulator-min-microvolt = <880000>;
401*b2d2a78aSEmmanuel Vadot			regulator-max-microvolt = <880000>;
402*b2d2a78aSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
403*b2d2a78aSEmmanuel Vadot		};
404*b2d2a78aSEmmanuel Vadot	};
405*b2d2a78aSEmmanuel Vadot
406*b2d2a78aSEmmanuel Vadot	regulators-7 {
407*b2d2a78aSEmmanuel Vadot		compatible = "qcom,pm8550ve-rpmh-regulators";
408*b2d2a78aSEmmanuel Vadot		qcom,pmic-id = "j";
409*b2d2a78aSEmmanuel Vadot
410*b2d2a78aSEmmanuel Vadot		vdd-l1-supply = <&vreg_s1f_0p7>;
411*b2d2a78aSEmmanuel Vadot		vdd-l2-supply = <&vreg_s5j_1p2>;
412*b2d2a78aSEmmanuel Vadot		vdd-l3-supply = <&vreg_s1f_0p7>;
413*b2d2a78aSEmmanuel Vadot		vdd-s5-supply = <&vph_pwr>;
414*b2d2a78aSEmmanuel Vadot
415*b2d2a78aSEmmanuel Vadot		vreg_s5j_1p2: smps5 {
416*b2d2a78aSEmmanuel Vadot			regulator-name = "vreg_s5j_1p2";
417*b2d2a78aSEmmanuel Vadot			regulator-min-microvolt = <1256000>;
418*b2d2a78aSEmmanuel Vadot			regulator-max-microvolt = <1304000>;
419*b2d2a78aSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
420*b2d2a78aSEmmanuel Vadot		};
421*b2d2a78aSEmmanuel Vadot
422*b2d2a78aSEmmanuel Vadot		vreg_l1j_0p8: ldo1 {
423*b2d2a78aSEmmanuel Vadot			regulator-name = "vreg_l1j_0p8";
424*b2d2a78aSEmmanuel Vadot			regulator-min-microvolt = <912000>;
425*b2d2a78aSEmmanuel Vadot			regulator-max-microvolt = <912000>;
426*b2d2a78aSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
427*b2d2a78aSEmmanuel Vadot		};
428*b2d2a78aSEmmanuel Vadot
429*b2d2a78aSEmmanuel Vadot		vreg_l2j_1p2: ldo2 {
430*b2d2a78aSEmmanuel Vadot			regulator-name = "vreg_l2j_1p2";
431*b2d2a78aSEmmanuel Vadot			regulator-min-microvolt = <1256000>;
432*b2d2a78aSEmmanuel Vadot			regulator-max-microvolt = <1256000>;
433*b2d2a78aSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
434*b2d2a78aSEmmanuel Vadot		};
435*b2d2a78aSEmmanuel Vadot
436*b2d2a78aSEmmanuel Vadot		vreg_l3j_0p8: ldo3 {
437*b2d2a78aSEmmanuel Vadot			regulator-name = "vreg_l3j_0p8";
438*b2d2a78aSEmmanuel Vadot			regulator-min-microvolt = <880000>;
439*b2d2a78aSEmmanuel Vadot			regulator-max-microvolt = <880000>;
440*b2d2a78aSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
441*b2d2a78aSEmmanuel Vadot		};
442*b2d2a78aSEmmanuel Vadot	};
443*b2d2a78aSEmmanuel Vadot};
444*b2d2a78aSEmmanuel Vadot
445*b2d2a78aSEmmanuel Vadot&gpu {
446*b2d2a78aSEmmanuel Vadot	status = "okay";
447*b2d2a78aSEmmanuel Vadot
448*b2d2a78aSEmmanuel Vadot	zap-shader {
449*b2d2a78aSEmmanuel Vadot		firmware-name = "qcom/x1e80100/LENOVO/21N1/qcdxkmsuc8380.mbn";
450*b2d2a78aSEmmanuel Vadot	};
451*b2d2a78aSEmmanuel Vadot};
452*b2d2a78aSEmmanuel Vadot
453*b2d2a78aSEmmanuel Vadot&i2c0 {
454*b2d2a78aSEmmanuel Vadot	clock-frequency = <400000>;
455*b2d2a78aSEmmanuel Vadot
456*b2d2a78aSEmmanuel Vadot	status = "okay";
457*b2d2a78aSEmmanuel Vadot
458*b2d2a78aSEmmanuel Vadot	/* ELAN06E2 or ELAN06E3 */
459*b2d2a78aSEmmanuel Vadot	touchpad@15 {
460*b2d2a78aSEmmanuel Vadot		compatible = "hid-over-i2c";
461*b2d2a78aSEmmanuel Vadot		reg = <0x15>;
462*b2d2a78aSEmmanuel Vadot
463*b2d2a78aSEmmanuel Vadot		hid-descr-addr = <0x1>;
464*b2d2a78aSEmmanuel Vadot		interrupts-extended = <&tlmm 3 IRQ_TYPE_LEVEL_LOW>;
465*b2d2a78aSEmmanuel Vadot
466*b2d2a78aSEmmanuel Vadot		pinctrl-0 = <&tpad_default>;
467*b2d2a78aSEmmanuel Vadot		pinctrl-names = "default";
468*b2d2a78aSEmmanuel Vadot
469*b2d2a78aSEmmanuel Vadot		wakeup-source;
470*b2d2a78aSEmmanuel Vadot	};
471*b2d2a78aSEmmanuel Vadot
472*b2d2a78aSEmmanuel Vadot	/* TODO: second-sourced SYNA8022 or SYNA8024 touchpad @ 0x2c */
473*b2d2a78aSEmmanuel Vadot
474*b2d2a78aSEmmanuel Vadot	/* ELAN06F1 or SYNA06F2 */
475*b2d2a78aSEmmanuel Vadot	keyboard@3a {
476*b2d2a78aSEmmanuel Vadot		compatible = "hid-over-i2c";
477*b2d2a78aSEmmanuel Vadot		reg = <0x3a>;
478*b2d2a78aSEmmanuel Vadot
479*b2d2a78aSEmmanuel Vadot		hid-descr-addr = <0x1>;
480*b2d2a78aSEmmanuel Vadot		interrupts-extended = <&tlmm 67 IRQ_TYPE_LEVEL_LOW>;
481*b2d2a78aSEmmanuel Vadot
482*b2d2a78aSEmmanuel Vadot		pinctrl-0 = <&kybd_default>;
483*b2d2a78aSEmmanuel Vadot		pinctrl-names = "default";
484*b2d2a78aSEmmanuel Vadot
485*b2d2a78aSEmmanuel Vadot		wakeup-source;
486*b2d2a78aSEmmanuel Vadot	};
487*b2d2a78aSEmmanuel Vadot};
488*b2d2a78aSEmmanuel Vadot
489*b2d2a78aSEmmanuel Vadot&i2c8 {
490*b2d2a78aSEmmanuel Vadot	clock-frequency = <400000>;
491*b2d2a78aSEmmanuel Vadot
492*b2d2a78aSEmmanuel Vadot	status = "okay";
493*b2d2a78aSEmmanuel Vadot
494*b2d2a78aSEmmanuel Vadot	/* ILIT2911 or GTCH1563 */
495*b2d2a78aSEmmanuel Vadot	touchscreen@10 {
496*b2d2a78aSEmmanuel Vadot		compatible = "hid-over-i2c";
497*b2d2a78aSEmmanuel Vadot		reg = <0x10>;
498*b2d2a78aSEmmanuel Vadot
499*b2d2a78aSEmmanuel Vadot		hid-descr-addr = <0x1>;
500*b2d2a78aSEmmanuel Vadot		interrupts-extended = <&tlmm 51 IRQ_TYPE_LEVEL_LOW>;
501*b2d2a78aSEmmanuel Vadot
502*b2d2a78aSEmmanuel Vadot		pinctrl-0 = <&ts0_default>;
503*b2d2a78aSEmmanuel Vadot		pinctrl-names = "default";
504*b2d2a78aSEmmanuel Vadot	};
505*b2d2a78aSEmmanuel Vadot
506*b2d2a78aSEmmanuel Vadot	/* TODO: second-sourced touchscreen @ 0x41 */
507*b2d2a78aSEmmanuel Vadot};
508*b2d2a78aSEmmanuel Vadot
509*b2d2a78aSEmmanuel Vadot&mdss {
510*b2d2a78aSEmmanuel Vadot	status = "okay";
511*b2d2a78aSEmmanuel Vadot};
512*b2d2a78aSEmmanuel Vadot
513*b2d2a78aSEmmanuel Vadot&mdss_dp3 {
514*b2d2a78aSEmmanuel Vadot	compatible = "qcom,x1e80100-dp";
515*b2d2a78aSEmmanuel Vadot	/delete-property/ #sound-dai-cells;
516*b2d2a78aSEmmanuel Vadot
517*b2d2a78aSEmmanuel Vadot	status = "okay";
518*b2d2a78aSEmmanuel Vadot
519*b2d2a78aSEmmanuel Vadot	aux-bus {
520*b2d2a78aSEmmanuel Vadot		panel {
521*b2d2a78aSEmmanuel Vadot			compatible = "edp-panel";
522*b2d2a78aSEmmanuel Vadot			enable-gpios = <&pmc8380_3_gpios 4 GPIO_ACTIVE_HIGH>;
523*b2d2a78aSEmmanuel Vadot			power-supply = <&vreg_edp_3p3>;
524*b2d2a78aSEmmanuel Vadot
525*b2d2a78aSEmmanuel Vadot			pinctrl-0 = <&edp_bl_en>;
526*b2d2a78aSEmmanuel Vadot			pinctrl-names = "default";
527*b2d2a78aSEmmanuel Vadot
528*b2d2a78aSEmmanuel Vadot			port {
529*b2d2a78aSEmmanuel Vadot				edp_panel_in: endpoint {
530*b2d2a78aSEmmanuel Vadot					remote-endpoint = <&mdss_dp3_out>;
531*b2d2a78aSEmmanuel Vadot				};
532*b2d2a78aSEmmanuel Vadot			};
533*b2d2a78aSEmmanuel Vadot		};
534*b2d2a78aSEmmanuel Vadot	};
535*b2d2a78aSEmmanuel Vadot
536*b2d2a78aSEmmanuel Vadot	ports {
537*b2d2a78aSEmmanuel Vadot		port@1 {
538*b2d2a78aSEmmanuel Vadot			reg = <1>;
539*b2d2a78aSEmmanuel Vadot
540*b2d2a78aSEmmanuel Vadot			mdss_dp3_out: endpoint {
541*b2d2a78aSEmmanuel Vadot				data-lanes = <0 1 2 3>;
542*b2d2a78aSEmmanuel Vadot				link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
543*b2d2a78aSEmmanuel Vadot
544*b2d2a78aSEmmanuel Vadot				remote-endpoint = <&edp_panel_in>;
545*b2d2a78aSEmmanuel Vadot			};
546*b2d2a78aSEmmanuel Vadot		};
547*b2d2a78aSEmmanuel Vadot	};
548*b2d2a78aSEmmanuel Vadot};
549*b2d2a78aSEmmanuel Vadot
550*b2d2a78aSEmmanuel Vadot&mdss_dp3_phy {
551*b2d2a78aSEmmanuel Vadot	vdda-phy-supply = <&vreg_l3j_0p8>;
552*b2d2a78aSEmmanuel Vadot	vdda-pll-supply = <&vreg_l2j_1p2>;
553*b2d2a78aSEmmanuel Vadot
554*b2d2a78aSEmmanuel Vadot	status = "okay";
555*b2d2a78aSEmmanuel Vadot};
556*b2d2a78aSEmmanuel Vadot
557*b2d2a78aSEmmanuel Vadot&pcie4 {
558*b2d2a78aSEmmanuel Vadot	perst-gpios = <&tlmm 146 GPIO_ACTIVE_LOW>;
559*b2d2a78aSEmmanuel Vadot	wake-gpios = <&tlmm 148 GPIO_ACTIVE_LOW>;
560*b2d2a78aSEmmanuel Vadot
561*b2d2a78aSEmmanuel Vadot	pinctrl-0 = <&pcie4_default>;
562*b2d2a78aSEmmanuel Vadot	pinctrl-names = "default";
563*b2d2a78aSEmmanuel Vadot
564*b2d2a78aSEmmanuel Vadot	status = "okay";
565*b2d2a78aSEmmanuel Vadot};
566*b2d2a78aSEmmanuel Vadot
567*b2d2a78aSEmmanuel Vadot&pcie4_phy {
568*b2d2a78aSEmmanuel Vadot	vdda-phy-supply = <&vreg_l3i_0p8>;
569*b2d2a78aSEmmanuel Vadot	vdda-pll-supply = <&vreg_l3e_1p2>;
570*b2d2a78aSEmmanuel Vadot
571*b2d2a78aSEmmanuel Vadot	status = "okay";
572*b2d2a78aSEmmanuel Vadot};
573*b2d2a78aSEmmanuel Vadot
574*b2d2a78aSEmmanuel Vadot&pcie6a {
575*b2d2a78aSEmmanuel Vadot	perst-gpios = <&tlmm 152 GPIO_ACTIVE_LOW>;
576*b2d2a78aSEmmanuel Vadot	wake-gpios = <&tlmm 154 GPIO_ACTIVE_LOW>;
577*b2d2a78aSEmmanuel Vadot
578*b2d2a78aSEmmanuel Vadot	vddpe-3v3-supply = <&vreg_nvme>;
579*b2d2a78aSEmmanuel Vadot
580*b2d2a78aSEmmanuel Vadot	pinctrl-0 = <&pcie6a_default>;
581*b2d2a78aSEmmanuel Vadot	pinctrl-names = "default";
582*b2d2a78aSEmmanuel Vadot
583*b2d2a78aSEmmanuel Vadot	status = "okay";
584*b2d2a78aSEmmanuel Vadot};
585*b2d2a78aSEmmanuel Vadot
586*b2d2a78aSEmmanuel Vadot&pcie6a_phy {
587*b2d2a78aSEmmanuel Vadot	vdda-phy-supply = <&vreg_l1d_0p8>;
588*b2d2a78aSEmmanuel Vadot	vdda-pll-supply = <&vreg_l2j_1p2>;
589*b2d2a78aSEmmanuel Vadot
590*b2d2a78aSEmmanuel Vadot	status = "okay";
591*b2d2a78aSEmmanuel Vadot};
592*b2d2a78aSEmmanuel Vadot
593*b2d2a78aSEmmanuel Vadot&pmc8380_3_gpios {
594*b2d2a78aSEmmanuel Vadot	edp_bl_en: edp-bl-en-state {
595*b2d2a78aSEmmanuel Vadot		pins = "gpio4";
596*b2d2a78aSEmmanuel Vadot		function = "normal";
597*b2d2a78aSEmmanuel Vadot		power-source = <1>;
598*b2d2a78aSEmmanuel Vadot		input-disable;
599*b2d2a78aSEmmanuel Vadot		output-enable;
600*b2d2a78aSEmmanuel Vadot	};
601*b2d2a78aSEmmanuel Vadot};
602*b2d2a78aSEmmanuel Vadot
603*b2d2a78aSEmmanuel Vadot&qupv3_0 {
604*b2d2a78aSEmmanuel Vadot	status = "okay";
605*b2d2a78aSEmmanuel Vadot};
606*b2d2a78aSEmmanuel Vadot
607*b2d2a78aSEmmanuel Vadot&qupv3_1 {
608*b2d2a78aSEmmanuel Vadot	status = "okay";
609*b2d2a78aSEmmanuel Vadot};
610*b2d2a78aSEmmanuel Vadot
611*b2d2a78aSEmmanuel Vadot&qupv3_2 {
612*b2d2a78aSEmmanuel Vadot	status = "okay";
613*b2d2a78aSEmmanuel Vadot};
614*b2d2a78aSEmmanuel Vadot
615*b2d2a78aSEmmanuel Vadot&remoteproc_adsp {
616*b2d2a78aSEmmanuel Vadot	firmware-name = "qcom/x1e80100/LENOVO/21N1/qcadsp8380.mbn",
617*b2d2a78aSEmmanuel Vadot			"qcom/x1e80100/LENOVO/21N1/adsp_dtbs.elf";
618*b2d2a78aSEmmanuel Vadot
619*b2d2a78aSEmmanuel Vadot	status = "okay";
620*b2d2a78aSEmmanuel Vadot};
621*b2d2a78aSEmmanuel Vadot
622*b2d2a78aSEmmanuel Vadot&remoteproc_cdsp {
623*b2d2a78aSEmmanuel Vadot	firmware-name = "qcom/x1e80100/LENOVO/21N1/qccdsp8380.mbn",
624*b2d2a78aSEmmanuel Vadot			"qcom/x1e80100/LENOVO/21N1/cdsp_dtbs.elf";
625*b2d2a78aSEmmanuel Vadot
626*b2d2a78aSEmmanuel Vadot	status = "okay";
627*b2d2a78aSEmmanuel Vadot};
628*b2d2a78aSEmmanuel Vadot
629*b2d2a78aSEmmanuel Vadot&smb2360_0_eusb2_repeater {
630*b2d2a78aSEmmanuel Vadot	vdd18-supply = <&vreg_l3d_1p8>;
631*b2d2a78aSEmmanuel Vadot	vdd3-supply = <&vreg_l2b_3p0>;
632*b2d2a78aSEmmanuel Vadot};
633*b2d2a78aSEmmanuel Vadot
634*b2d2a78aSEmmanuel Vadot&smb2360_1_eusb2_repeater {
635*b2d2a78aSEmmanuel Vadot	vdd18-supply = <&vreg_l3d_1p8>;
636*b2d2a78aSEmmanuel Vadot	vdd3-supply = <&vreg_l14b_3p0>;
637*b2d2a78aSEmmanuel Vadot};
638*b2d2a78aSEmmanuel Vadot
639*b2d2a78aSEmmanuel Vadot&tlmm {
640*b2d2a78aSEmmanuel Vadot	gpio-reserved-ranges = <34 2>, /* Unused */
641*b2d2a78aSEmmanuel Vadot			       <44 4>, /* SPI (TPM) */
642*b2d2a78aSEmmanuel Vadot			       <72 2>, /* Secure EC I2C connection (?) */
643*b2d2a78aSEmmanuel Vadot			       <238 1>; /* UFS Reset */
644*b2d2a78aSEmmanuel Vadot
645*b2d2a78aSEmmanuel Vadot	tpad_default: tpad-default-state {
646*b2d2a78aSEmmanuel Vadot		pins = "gpio3";
647*b2d2a78aSEmmanuel Vadot		function = "gpio";
648*b2d2a78aSEmmanuel Vadot		bias-pull-up;
649*b2d2a78aSEmmanuel Vadot	};
650*b2d2a78aSEmmanuel Vadot
651*b2d2a78aSEmmanuel Vadot	nvme_reg_en: nvme-reg-en-state {
652*b2d2a78aSEmmanuel Vadot		pins = "gpio18";
653*b2d2a78aSEmmanuel Vadot		function = "gpio";
654*b2d2a78aSEmmanuel Vadot		drive-strength = <2>;
655*b2d2a78aSEmmanuel Vadot		bias-disable;
656*b2d2a78aSEmmanuel Vadot	};
657*b2d2a78aSEmmanuel Vadot
658*b2d2a78aSEmmanuel Vadot	ts0_default: ts0-default-state {
659*b2d2a78aSEmmanuel Vadot		reset-n-pins {
660*b2d2a78aSEmmanuel Vadot			pins = "gpio48";
661*b2d2a78aSEmmanuel Vadot			function = "gpio";
662*b2d2a78aSEmmanuel Vadot			output-high;
663*b2d2a78aSEmmanuel Vadot			drive-strength = <16>;
664*b2d2a78aSEmmanuel Vadot		};
665*b2d2a78aSEmmanuel Vadot
666*b2d2a78aSEmmanuel Vadot		int-n-pins {
667*b2d2a78aSEmmanuel Vadot			pins = "gpio51";
668*b2d2a78aSEmmanuel Vadot			function = "gpio";
669*b2d2a78aSEmmanuel Vadot			bias-disable;
670*b2d2a78aSEmmanuel Vadot		};
671*b2d2a78aSEmmanuel Vadot	};
672*b2d2a78aSEmmanuel Vadot
673*b2d2a78aSEmmanuel Vadot	kybd_default: kybd-default-state {
674*b2d2a78aSEmmanuel Vadot		pins = "gpio67";
675*b2d2a78aSEmmanuel Vadot		function = "gpio";
676*b2d2a78aSEmmanuel Vadot		bias-disable;
677*b2d2a78aSEmmanuel Vadot	};
678*b2d2a78aSEmmanuel Vadot
679*b2d2a78aSEmmanuel Vadot	edp_reg_en: edp-reg-en-state {
680*b2d2a78aSEmmanuel Vadot		pins = "gpio70";
681*b2d2a78aSEmmanuel Vadot		function = "gpio";
682*b2d2a78aSEmmanuel Vadot		drive-strength = <16>;
683*b2d2a78aSEmmanuel Vadot		bias-disable;
684*b2d2a78aSEmmanuel Vadot	};
685*b2d2a78aSEmmanuel Vadot
686*b2d2a78aSEmmanuel Vadot	hall_int_n_default: hall-int-n-state {
687*b2d2a78aSEmmanuel Vadot		pins = "gpio92";
688*b2d2a78aSEmmanuel Vadot		function = "gpio";
689*b2d2a78aSEmmanuel Vadot		bias-disable;
690*b2d2a78aSEmmanuel Vadot	};
691*b2d2a78aSEmmanuel Vadot
692*b2d2a78aSEmmanuel Vadot	pcie4_default: pcie4-default-state {
693*b2d2a78aSEmmanuel Vadot		clkreq-n-pins {
694*b2d2a78aSEmmanuel Vadot			pins = "gpio147";
695*b2d2a78aSEmmanuel Vadot			function = "pcie4_clk";
696*b2d2a78aSEmmanuel Vadot			drive-strength = <2>;
697*b2d2a78aSEmmanuel Vadot			bias-pull-up;
698*b2d2a78aSEmmanuel Vadot		};
699*b2d2a78aSEmmanuel Vadot
700*b2d2a78aSEmmanuel Vadot		perst-n-pins {
701*b2d2a78aSEmmanuel Vadot			pins = "gpio146";
702*b2d2a78aSEmmanuel Vadot			function = "gpio";
703*b2d2a78aSEmmanuel Vadot			drive-strength = <2>;
704*b2d2a78aSEmmanuel Vadot			bias-disable;
705*b2d2a78aSEmmanuel Vadot		};
706*b2d2a78aSEmmanuel Vadot
707*b2d2a78aSEmmanuel Vadot		wake-n-pins {
708*b2d2a78aSEmmanuel Vadot			pins = "gpio148";
709*b2d2a78aSEmmanuel Vadot			function = "gpio";
710*b2d2a78aSEmmanuel Vadot			drive-strength = <2>;
711*b2d2a78aSEmmanuel Vadot			bias-pull-up;
712*b2d2a78aSEmmanuel Vadot		};
713*b2d2a78aSEmmanuel Vadot	};
714*b2d2a78aSEmmanuel Vadot
715*b2d2a78aSEmmanuel Vadot	pcie6a_default: pcie6a-default-state {
716*b2d2a78aSEmmanuel Vadot		clkreq-n-pins {
717*b2d2a78aSEmmanuel Vadot			pins = "gpio153";
718*b2d2a78aSEmmanuel Vadot			function = "pcie6a_clk";
719*b2d2a78aSEmmanuel Vadot			drive-strength = <2>;
720*b2d2a78aSEmmanuel Vadot			bias-pull-up;
721*b2d2a78aSEmmanuel Vadot		};
722*b2d2a78aSEmmanuel Vadot
723*b2d2a78aSEmmanuel Vadot		perst-n-pins {
724*b2d2a78aSEmmanuel Vadot			pins = "gpio152";
725*b2d2a78aSEmmanuel Vadot			function = "gpio";
726*b2d2a78aSEmmanuel Vadot			drive-strength = <2>;
727*b2d2a78aSEmmanuel Vadot			bias-disable;
728*b2d2a78aSEmmanuel Vadot		};
729*b2d2a78aSEmmanuel Vadot
730*b2d2a78aSEmmanuel Vadot		wake-n-pins {
731*b2d2a78aSEmmanuel Vadot			pins = "gpio154";
732*b2d2a78aSEmmanuel Vadot			function = "gpio";
733*b2d2a78aSEmmanuel Vadot			drive-strength = <2>;
734*b2d2a78aSEmmanuel Vadot			bias-pull-up;
735*b2d2a78aSEmmanuel Vadot		};
736*b2d2a78aSEmmanuel Vadot	};
737*b2d2a78aSEmmanuel Vadot
738*b2d2a78aSEmmanuel Vadot	wcd_default: wcd-reset-n-active-state {
739*b2d2a78aSEmmanuel Vadot		pins = "gpio191";
740*b2d2a78aSEmmanuel Vadot		function = "gpio";
741*b2d2a78aSEmmanuel Vadot		drive-strength = <16>;
742*b2d2a78aSEmmanuel Vadot		bias-disable;
743*b2d2a78aSEmmanuel Vadot		output-low;
744*b2d2a78aSEmmanuel Vadot	};
745*b2d2a78aSEmmanuel Vadot};
746*b2d2a78aSEmmanuel Vadot
747*b2d2a78aSEmmanuel Vadot&usb_1_ss0_hsphy {
748*b2d2a78aSEmmanuel Vadot	vdd-supply = <&vreg_l3j_0p8>;
749*b2d2a78aSEmmanuel Vadot	vdda12-supply = <&vreg_l2j_1p2>;
750*b2d2a78aSEmmanuel Vadot
751*b2d2a78aSEmmanuel Vadot	phys = <&smb2360_0_eusb2_repeater>;
752*b2d2a78aSEmmanuel Vadot
753*b2d2a78aSEmmanuel Vadot	status = "okay";
754*b2d2a78aSEmmanuel Vadot};
755*b2d2a78aSEmmanuel Vadot
756*b2d2a78aSEmmanuel Vadot&usb_1_ss0_qmpphy {
757*b2d2a78aSEmmanuel Vadot	vdda-phy-supply = <&vreg_l3e_1p2>;
758*b2d2a78aSEmmanuel Vadot	vdda-pll-supply = <&vreg_l1j_0p8>;
759*b2d2a78aSEmmanuel Vadot
760*b2d2a78aSEmmanuel Vadot	status = "okay";
761*b2d2a78aSEmmanuel Vadot};
762*b2d2a78aSEmmanuel Vadot
763*b2d2a78aSEmmanuel Vadot&usb_1_ss0 {
764*b2d2a78aSEmmanuel Vadot	status = "okay";
765*b2d2a78aSEmmanuel Vadot};
766*b2d2a78aSEmmanuel Vadot
767*b2d2a78aSEmmanuel Vadot&usb_1_ss0_dwc3 {
768*b2d2a78aSEmmanuel Vadot	dr_mode = "host";
769*b2d2a78aSEmmanuel Vadot};
770*b2d2a78aSEmmanuel Vadot
771*b2d2a78aSEmmanuel Vadot&usb_1_ss0_dwc3_hs {
772*b2d2a78aSEmmanuel Vadot	remote-endpoint = <&pmic_glink_ss0_hs_in>;
773*b2d2a78aSEmmanuel Vadot};
774*b2d2a78aSEmmanuel Vadot
775*b2d2a78aSEmmanuel Vadot&usb_1_ss0_qmpphy_out {
776*b2d2a78aSEmmanuel Vadot	remote-endpoint = <&pmic_glink_ss0_ss_in>;
777*b2d2a78aSEmmanuel Vadot};
778*b2d2a78aSEmmanuel Vadot
779*b2d2a78aSEmmanuel Vadot&usb_1_ss1_hsphy {
780*b2d2a78aSEmmanuel Vadot	vdd-supply = <&vreg_l3j_0p8>;
781*b2d2a78aSEmmanuel Vadot	vdda12-supply = <&vreg_l2j_1p2>;
782*b2d2a78aSEmmanuel Vadot
783*b2d2a78aSEmmanuel Vadot	phys = <&smb2360_1_eusb2_repeater>;
784*b2d2a78aSEmmanuel Vadot
785*b2d2a78aSEmmanuel Vadot	status = "okay";
786*b2d2a78aSEmmanuel Vadot};
787*b2d2a78aSEmmanuel Vadot
788*b2d2a78aSEmmanuel Vadot&usb_1_ss1_qmpphy {
789*b2d2a78aSEmmanuel Vadot	vdda-phy-supply = <&vreg_l3e_1p2>;
790*b2d2a78aSEmmanuel Vadot	vdda-pll-supply = <&vreg_l2d_0p9>;
791*b2d2a78aSEmmanuel Vadot
792*b2d2a78aSEmmanuel Vadot	status = "okay";
793*b2d2a78aSEmmanuel Vadot};
794*b2d2a78aSEmmanuel Vadot
795*b2d2a78aSEmmanuel Vadot&usb_1_ss1 {
796*b2d2a78aSEmmanuel Vadot	status = "okay";
797*b2d2a78aSEmmanuel Vadot};
798*b2d2a78aSEmmanuel Vadot
799*b2d2a78aSEmmanuel Vadot&usb_1_ss1_dwc3 {
800*b2d2a78aSEmmanuel Vadot	dr_mode = "host";
801*b2d2a78aSEmmanuel Vadot};
802*b2d2a78aSEmmanuel Vadot
803*b2d2a78aSEmmanuel Vadot&usb_1_ss1_dwc3_hs {
804*b2d2a78aSEmmanuel Vadot	remote-endpoint = <&pmic_glink_ss1_hs_in>;
805*b2d2a78aSEmmanuel Vadot};
806*b2d2a78aSEmmanuel Vadot
807*b2d2a78aSEmmanuel Vadot&usb_1_ss1_qmpphy_out {
808*b2d2a78aSEmmanuel Vadot	remote-endpoint = <&pmic_glink_ss1_ss_in>;
809*b2d2a78aSEmmanuel Vadot};
810