xref: /freebsd/sys/contrib/device-tree/src/arm64/qcom/x1-crd.dtsi (revision ae5de77ed78ae54d86cead5604869212e8008e6b)
1*ae5de77eSEmmanuel Vadot// SPDX-License-Identifier: BSD-3-Clause
2*ae5de77eSEmmanuel Vadot/*
3*ae5de77eSEmmanuel Vadot * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
4*ae5de77eSEmmanuel Vadot */
5*ae5de77eSEmmanuel Vadot
6*ae5de77eSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
7*ae5de77eSEmmanuel Vadot#include <dt-bindings/input/gpio-keys.h>
8*ae5de77eSEmmanuel Vadot#include <dt-bindings/input/input.h>
9*ae5de77eSEmmanuel Vadot#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
10*ae5de77eSEmmanuel Vadot#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
11*ae5de77eSEmmanuel Vadot
12*ae5de77eSEmmanuel Vadot#include "x1e80100-pmics.dtsi"
13*ae5de77eSEmmanuel Vadot
14*ae5de77eSEmmanuel Vadot/ {
15*ae5de77eSEmmanuel Vadot	model = "Qualcomm Technologies, Inc. X1E80100 CRD";
16*ae5de77eSEmmanuel Vadot	compatible = "qcom,x1e80100-crd", "qcom,x1e80100";
17*ae5de77eSEmmanuel Vadot
18*ae5de77eSEmmanuel Vadot	aliases {
19*ae5de77eSEmmanuel Vadot		serial0 = &uart21;
20*ae5de77eSEmmanuel Vadot	};
21*ae5de77eSEmmanuel Vadot
22*ae5de77eSEmmanuel Vadot	wcd938x: audio-codec {
23*ae5de77eSEmmanuel Vadot		compatible = "qcom,wcd9385-codec";
24*ae5de77eSEmmanuel Vadot
25*ae5de77eSEmmanuel Vadot		pinctrl-names = "default";
26*ae5de77eSEmmanuel Vadot		pinctrl-0 = <&wcd_default>;
27*ae5de77eSEmmanuel Vadot
28*ae5de77eSEmmanuel Vadot		qcom,micbias1-microvolt = <1800000>;
29*ae5de77eSEmmanuel Vadot		qcom,micbias2-microvolt = <1800000>;
30*ae5de77eSEmmanuel Vadot		qcom,micbias3-microvolt = <1800000>;
31*ae5de77eSEmmanuel Vadot		qcom,micbias4-microvolt = <1800000>;
32*ae5de77eSEmmanuel Vadot		qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>;
33*ae5de77eSEmmanuel Vadot		qcom,mbhc-headset-vthreshold-microvolt = <1700000>;
34*ae5de77eSEmmanuel Vadot		qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
35*ae5de77eSEmmanuel Vadot		qcom,rx-device = <&wcd_rx>;
36*ae5de77eSEmmanuel Vadot		qcom,tx-device = <&wcd_tx>;
37*ae5de77eSEmmanuel Vadot
38*ae5de77eSEmmanuel Vadot		reset-gpios = <&tlmm 191 GPIO_ACTIVE_LOW>;
39*ae5de77eSEmmanuel Vadot
40*ae5de77eSEmmanuel Vadot		vdd-buck-supply = <&vreg_l15b_1p8>;
41*ae5de77eSEmmanuel Vadot		vdd-rxtx-supply = <&vreg_l15b_1p8>;
42*ae5de77eSEmmanuel Vadot		vdd-io-supply = <&vreg_l15b_1p8>;
43*ae5de77eSEmmanuel Vadot		vdd-mic-bias-supply = <&vreg_bob1>;
44*ae5de77eSEmmanuel Vadot
45*ae5de77eSEmmanuel Vadot		#sound-dai-cells = <1>;
46*ae5de77eSEmmanuel Vadot	};
47*ae5de77eSEmmanuel Vadot
48*ae5de77eSEmmanuel Vadot	chosen {
49*ae5de77eSEmmanuel Vadot		stdout-path = "serial0:115200n8";
50*ae5de77eSEmmanuel Vadot	};
51*ae5de77eSEmmanuel Vadot
52*ae5de77eSEmmanuel Vadot	gpio-keys {
53*ae5de77eSEmmanuel Vadot		compatible = "gpio-keys";
54*ae5de77eSEmmanuel Vadot
55*ae5de77eSEmmanuel Vadot		pinctrl-0 = <&hall_int_n_default>, <&kypd_vol_up_n>;
56*ae5de77eSEmmanuel Vadot		pinctrl-names = "default";
57*ae5de77eSEmmanuel Vadot
58*ae5de77eSEmmanuel Vadot		key-vol-up {
59*ae5de77eSEmmanuel Vadot			label = "volume_up";
60*ae5de77eSEmmanuel Vadot			gpios = <&pm8550_gpios 6 GPIO_ACTIVE_LOW>;
61*ae5de77eSEmmanuel Vadot			linux,code = <KEY_VOLUMEUP>;
62*ae5de77eSEmmanuel Vadot			wakeup-source;
63*ae5de77eSEmmanuel Vadot		};
64*ae5de77eSEmmanuel Vadot
65*ae5de77eSEmmanuel Vadot		switch-lid {
66*ae5de77eSEmmanuel Vadot			label = "lid";
67*ae5de77eSEmmanuel Vadot			gpios = <&tlmm 92 GPIO_ACTIVE_LOW>;
68*ae5de77eSEmmanuel Vadot			linux,input-type = <EV_SW>;
69*ae5de77eSEmmanuel Vadot			linux,code = <SW_LID>;
70*ae5de77eSEmmanuel Vadot			wakeup-source;
71*ae5de77eSEmmanuel Vadot			wakeup-event-action = <EV_ACT_DEASSERTED>;
72*ae5de77eSEmmanuel Vadot		};
73*ae5de77eSEmmanuel Vadot	};
74*ae5de77eSEmmanuel Vadot
75*ae5de77eSEmmanuel Vadot	pmic-glink {
76*ae5de77eSEmmanuel Vadot		compatible = "qcom,x1e80100-pmic-glink",
77*ae5de77eSEmmanuel Vadot			     "qcom,sm8550-pmic-glink",
78*ae5de77eSEmmanuel Vadot			     "qcom,pmic-glink";
79*ae5de77eSEmmanuel Vadot		#address-cells = <1>;
80*ae5de77eSEmmanuel Vadot		#size-cells = <0>;
81*ae5de77eSEmmanuel Vadot		orientation-gpios = <&tlmm 121 GPIO_ACTIVE_HIGH>,
82*ae5de77eSEmmanuel Vadot				    <&tlmm 123 GPIO_ACTIVE_HIGH>,
83*ae5de77eSEmmanuel Vadot				    <&tlmm 125 GPIO_ACTIVE_HIGH>;
84*ae5de77eSEmmanuel Vadot
85*ae5de77eSEmmanuel Vadot		/* Left-side rear port */
86*ae5de77eSEmmanuel Vadot		connector@0 {
87*ae5de77eSEmmanuel Vadot			compatible = "usb-c-connector";
88*ae5de77eSEmmanuel Vadot			reg = <0>;
89*ae5de77eSEmmanuel Vadot			power-role = "dual";
90*ae5de77eSEmmanuel Vadot			data-role = "dual";
91*ae5de77eSEmmanuel Vadot
92*ae5de77eSEmmanuel Vadot			ports {
93*ae5de77eSEmmanuel Vadot				#address-cells = <1>;
94*ae5de77eSEmmanuel Vadot				#size-cells = <0>;
95*ae5de77eSEmmanuel Vadot
96*ae5de77eSEmmanuel Vadot				port@0 {
97*ae5de77eSEmmanuel Vadot					reg = <0>;
98*ae5de77eSEmmanuel Vadot
99*ae5de77eSEmmanuel Vadot					pmic_glink_ss0_hs_in: endpoint {
100*ae5de77eSEmmanuel Vadot						remote-endpoint = <&usb_1_ss0_dwc3_hs>;
101*ae5de77eSEmmanuel Vadot					};
102*ae5de77eSEmmanuel Vadot				};
103*ae5de77eSEmmanuel Vadot
104*ae5de77eSEmmanuel Vadot				port@1 {
105*ae5de77eSEmmanuel Vadot					reg = <1>;
106*ae5de77eSEmmanuel Vadot
107*ae5de77eSEmmanuel Vadot					pmic_glink_ss0_ss_in: endpoint {
108*ae5de77eSEmmanuel Vadot						remote-endpoint = <&retimer_ss0_ss_out>;
109*ae5de77eSEmmanuel Vadot					};
110*ae5de77eSEmmanuel Vadot				};
111*ae5de77eSEmmanuel Vadot
112*ae5de77eSEmmanuel Vadot				port@2 {
113*ae5de77eSEmmanuel Vadot					reg = <2>;
114*ae5de77eSEmmanuel Vadot
115*ae5de77eSEmmanuel Vadot					pmic_glink_ss0_con_sbu_in: endpoint {
116*ae5de77eSEmmanuel Vadot						remote-endpoint = <&retimer_ss0_con_sbu_out>;
117*ae5de77eSEmmanuel Vadot					};
118*ae5de77eSEmmanuel Vadot				};
119*ae5de77eSEmmanuel Vadot			};
120*ae5de77eSEmmanuel Vadot		};
121*ae5de77eSEmmanuel Vadot
122*ae5de77eSEmmanuel Vadot		/* Left-side front port */
123*ae5de77eSEmmanuel Vadot		connector@1 {
124*ae5de77eSEmmanuel Vadot			compatible = "usb-c-connector";
125*ae5de77eSEmmanuel Vadot			reg = <1>;
126*ae5de77eSEmmanuel Vadot			power-role = "dual";
127*ae5de77eSEmmanuel Vadot			data-role = "dual";
128*ae5de77eSEmmanuel Vadot
129*ae5de77eSEmmanuel Vadot			ports {
130*ae5de77eSEmmanuel Vadot				#address-cells = <1>;
131*ae5de77eSEmmanuel Vadot				#size-cells = <0>;
132*ae5de77eSEmmanuel Vadot
133*ae5de77eSEmmanuel Vadot				port@0 {
134*ae5de77eSEmmanuel Vadot					reg = <0>;
135*ae5de77eSEmmanuel Vadot
136*ae5de77eSEmmanuel Vadot					pmic_glink_ss1_hs_in: endpoint {
137*ae5de77eSEmmanuel Vadot						remote-endpoint = <&usb_1_ss1_dwc3_hs>;
138*ae5de77eSEmmanuel Vadot					};
139*ae5de77eSEmmanuel Vadot				};
140*ae5de77eSEmmanuel Vadot
141*ae5de77eSEmmanuel Vadot				port@1 {
142*ae5de77eSEmmanuel Vadot					reg = <1>;
143*ae5de77eSEmmanuel Vadot
144*ae5de77eSEmmanuel Vadot					pmic_glink_ss1_ss_in: endpoint {
145*ae5de77eSEmmanuel Vadot						remote-endpoint = <&retimer_ss1_ss_out>;
146*ae5de77eSEmmanuel Vadot					};
147*ae5de77eSEmmanuel Vadot				};
148*ae5de77eSEmmanuel Vadot
149*ae5de77eSEmmanuel Vadot				port@2 {
150*ae5de77eSEmmanuel Vadot					reg = <2>;
151*ae5de77eSEmmanuel Vadot
152*ae5de77eSEmmanuel Vadot					pmic_glink_ss1_con_sbu_in: endpoint {
153*ae5de77eSEmmanuel Vadot						remote-endpoint = <&retimer_ss1_con_sbu_out>;
154*ae5de77eSEmmanuel Vadot					};
155*ae5de77eSEmmanuel Vadot				};
156*ae5de77eSEmmanuel Vadot			};
157*ae5de77eSEmmanuel Vadot		};
158*ae5de77eSEmmanuel Vadot
159*ae5de77eSEmmanuel Vadot		/* Right-side port */
160*ae5de77eSEmmanuel Vadot		connector@2 {
161*ae5de77eSEmmanuel Vadot			compatible = "usb-c-connector";
162*ae5de77eSEmmanuel Vadot			reg = <2>;
163*ae5de77eSEmmanuel Vadot			power-role = "dual";
164*ae5de77eSEmmanuel Vadot			data-role = "dual";
165*ae5de77eSEmmanuel Vadot
166*ae5de77eSEmmanuel Vadot			ports {
167*ae5de77eSEmmanuel Vadot				#address-cells = <1>;
168*ae5de77eSEmmanuel Vadot				#size-cells = <0>;
169*ae5de77eSEmmanuel Vadot
170*ae5de77eSEmmanuel Vadot				port@0 {
171*ae5de77eSEmmanuel Vadot					reg = <0>;
172*ae5de77eSEmmanuel Vadot
173*ae5de77eSEmmanuel Vadot					pmic_glink_ss2_hs_in: endpoint {
174*ae5de77eSEmmanuel Vadot						remote-endpoint = <&usb_1_ss2_dwc3_hs>;
175*ae5de77eSEmmanuel Vadot					};
176*ae5de77eSEmmanuel Vadot				};
177*ae5de77eSEmmanuel Vadot
178*ae5de77eSEmmanuel Vadot				port@1 {
179*ae5de77eSEmmanuel Vadot					reg = <1>;
180*ae5de77eSEmmanuel Vadot
181*ae5de77eSEmmanuel Vadot					pmic_glink_ss2_ss_in: endpoint {
182*ae5de77eSEmmanuel Vadot						remote-endpoint = <&retimer_ss2_ss_out>;
183*ae5de77eSEmmanuel Vadot					};
184*ae5de77eSEmmanuel Vadot				};
185*ae5de77eSEmmanuel Vadot
186*ae5de77eSEmmanuel Vadot				port@2 {
187*ae5de77eSEmmanuel Vadot					reg = <2>;
188*ae5de77eSEmmanuel Vadot
189*ae5de77eSEmmanuel Vadot					pmic_glink_ss2_con_sbu_in: endpoint {
190*ae5de77eSEmmanuel Vadot						remote-endpoint = <&retimer_ss2_con_sbu_out>;
191*ae5de77eSEmmanuel Vadot					};
192*ae5de77eSEmmanuel Vadot				};
193*ae5de77eSEmmanuel Vadot			};
194*ae5de77eSEmmanuel Vadot		};
195*ae5de77eSEmmanuel Vadot	};
196*ae5de77eSEmmanuel Vadot
197*ae5de77eSEmmanuel Vadot	reserved-memory {
198*ae5de77eSEmmanuel Vadot		linux,cma {
199*ae5de77eSEmmanuel Vadot			compatible = "shared-dma-pool";
200*ae5de77eSEmmanuel Vadot			size = <0x0 0x8000000>;
201*ae5de77eSEmmanuel Vadot			reusable;
202*ae5de77eSEmmanuel Vadot			linux,cma-default;
203*ae5de77eSEmmanuel Vadot		};
204*ae5de77eSEmmanuel Vadot	};
205*ae5de77eSEmmanuel Vadot
206*ae5de77eSEmmanuel Vadot	sound {
207*ae5de77eSEmmanuel Vadot		compatible = "qcom,x1e80100-sndcard";
208*ae5de77eSEmmanuel Vadot		model = "X1E80100-CRD";
209*ae5de77eSEmmanuel Vadot		audio-routing = "WooferLeft IN", "WSA WSA_SPK1 OUT",
210*ae5de77eSEmmanuel Vadot				"TweeterLeft IN", "WSA WSA_SPK2 OUT",
211*ae5de77eSEmmanuel Vadot				"WooferRight IN", "WSA2 WSA_SPK2 OUT",
212*ae5de77eSEmmanuel Vadot				"TweeterRight IN", "WSA2 WSA_SPK2 OUT",
213*ae5de77eSEmmanuel Vadot				"IN1_HPHL", "HPHL_OUT",
214*ae5de77eSEmmanuel Vadot				"IN2_HPHR", "HPHR_OUT",
215*ae5de77eSEmmanuel Vadot				"AMIC2", "MIC BIAS2",
216*ae5de77eSEmmanuel Vadot				"VA DMIC0", "MIC BIAS3",
217*ae5de77eSEmmanuel Vadot				"VA DMIC1", "MIC BIAS3",
218*ae5de77eSEmmanuel Vadot				"VA DMIC2", "MIC BIAS1",
219*ae5de77eSEmmanuel Vadot				"VA DMIC3", "MIC BIAS1",
220*ae5de77eSEmmanuel Vadot				"TX SWR_INPUT1", "ADC2_OUTPUT";
221*ae5de77eSEmmanuel Vadot
222*ae5de77eSEmmanuel Vadot		wcd-playback-dai-link {
223*ae5de77eSEmmanuel Vadot			link-name = "WCD Playback";
224*ae5de77eSEmmanuel Vadot
225*ae5de77eSEmmanuel Vadot			cpu {
226*ae5de77eSEmmanuel Vadot				sound-dai = <&q6apmbedai RX_CODEC_DMA_RX_0>;
227*ae5de77eSEmmanuel Vadot			};
228*ae5de77eSEmmanuel Vadot
229*ae5de77eSEmmanuel Vadot			codec {
230*ae5de77eSEmmanuel Vadot				sound-dai = <&wcd938x 0>, <&swr1 0>, <&lpass_rxmacro 0>;
231*ae5de77eSEmmanuel Vadot			};
232*ae5de77eSEmmanuel Vadot
233*ae5de77eSEmmanuel Vadot			platform {
234*ae5de77eSEmmanuel Vadot				sound-dai = <&q6apm>;
235*ae5de77eSEmmanuel Vadot			};
236*ae5de77eSEmmanuel Vadot		};
237*ae5de77eSEmmanuel Vadot
238*ae5de77eSEmmanuel Vadot		wcd-capture-dai-link {
239*ae5de77eSEmmanuel Vadot			link-name = "WCD Capture";
240*ae5de77eSEmmanuel Vadot
241*ae5de77eSEmmanuel Vadot			cpu {
242*ae5de77eSEmmanuel Vadot				sound-dai = <&q6apmbedai TX_CODEC_DMA_TX_3>;
243*ae5de77eSEmmanuel Vadot			};
244*ae5de77eSEmmanuel Vadot
245*ae5de77eSEmmanuel Vadot			codec {
246*ae5de77eSEmmanuel Vadot				sound-dai = <&wcd938x 1>, <&swr2 1>, <&lpass_txmacro 0>;
247*ae5de77eSEmmanuel Vadot			};
248*ae5de77eSEmmanuel Vadot
249*ae5de77eSEmmanuel Vadot			platform {
250*ae5de77eSEmmanuel Vadot				sound-dai = <&q6apm>;
251*ae5de77eSEmmanuel Vadot			};
252*ae5de77eSEmmanuel Vadot		};
253*ae5de77eSEmmanuel Vadot
254*ae5de77eSEmmanuel Vadot		wsa-dai-link {
255*ae5de77eSEmmanuel Vadot			link-name = "WSA Playback";
256*ae5de77eSEmmanuel Vadot
257*ae5de77eSEmmanuel Vadot			cpu {
258*ae5de77eSEmmanuel Vadot				sound-dai = <&q6apmbedai WSA_CODEC_DMA_RX_0>;
259*ae5de77eSEmmanuel Vadot			};
260*ae5de77eSEmmanuel Vadot
261*ae5de77eSEmmanuel Vadot			codec {
262*ae5de77eSEmmanuel Vadot				sound-dai = <&left_woofer>, <&left_tweeter>,
263*ae5de77eSEmmanuel Vadot					    <&swr0 0>, <&lpass_wsamacro 0>,
264*ae5de77eSEmmanuel Vadot					    <&right_woofer>, <&right_tweeter>,
265*ae5de77eSEmmanuel Vadot					    <&swr3 0>, <&lpass_wsa2macro 0>;
266*ae5de77eSEmmanuel Vadot			};
267*ae5de77eSEmmanuel Vadot
268*ae5de77eSEmmanuel Vadot			platform {
269*ae5de77eSEmmanuel Vadot				sound-dai = <&q6apm>;
270*ae5de77eSEmmanuel Vadot			};
271*ae5de77eSEmmanuel Vadot		};
272*ae5de77eSEmmanuel Vadot
273*ae5de77eSEmmanuel Vadot		va-dai-link {
274*ae5de77eSEmmanuel Vadot			link-name = "VA Capture";
275*ae5de77eSEmmanuel Vadot
276*ae5de77eSEmmanuel Vadot			cpu {
277*ae5de77eSEmmanuel Vadot				sound-dai = <&q6apmbedai VA_CODEC_DMA_TX_0>;
278*ae5de77eSEmmanuel Vadot			};
279*ae5de77eSEmmanuel Vadot
280*ae5de77eSEmmanuel Vadot			codec {
281*ae5de77eSEmmanuel Vadot				sound-dai = <&lpass_vamacro 0>;
282*ae5de77eSEmmanuel Vadot			};
283*ae5de77eSEmmanuel Vadot
284*ae5de77eSEmmanuel Vadot			platform {
285*ae5de77eSEmmanuel Vadot				sound-dai = <&q6apm>;
286*ae5de77eSEmmanuel Vadot			};
287*ae5de77eSEmmanuel Vadot		};
288*ae5de77eSEmmanuel Vadot	};
289*ae5de77eSEmmanuel Vadot
290*ae5de77eSEmmanuel Vadot	vreg_edp_3p3: regulator-edp-3p3 {
291*ae5de77eSEmmanuel Vadot		compatible = "regulator-fixed";
292*ae5de77eSEmmanuel Vadot
293*ae5de77eSEmmanuel Vadot		regulator-name = "VREG_EDP_3P3";
294*ae5de77eSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
295*ae5de77eSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
296*ae5de77eSEmmanuel Vadot
297*ae5de77eSEmmanuel Vadot		gpio = <&tlmm 70 GPIO_ACTIVE_HIGH>;
298*ae5de77eSEmmanuel Vadot		enable-active-high;
299*ae5de77eSEmmanuel Vadot
300*ae5de77eSEmmanuel Vadot		pinctrl-0 = <&edp_reg_en>;
301*ae5de77eSEmmanuel Vadot		pinctrl-names = "default";
302*ae5de77eSEmmanuel Vadot
303*ae5de77eSEmmanuel Vadot		regulator-boot-on;
304*ae5de77eSEmmanuel Vadot	};
305*ae5de77eSEmmanuel Vadot
306*ae5de77eSEmmanuel Vadot	vreg_misc_3p3: regulator-misc-3p3 {
307*ae5de77eSEmmanuel Vadot		compatible = "regulator-fixed";
308*ae5de77eSEmmanuel Vadot
309*ae5de77eSEmmanuel Vadot		regulator-name = "VREG_MISC_3P3";
310*ae5de77eSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
311*ae5de77eSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
312*ae5de77eSEmmanuel Vadot
313*ae5de77eSEmmanuel Vadot		gpio = <&pm8550ve_8_gpios 6 GPIO_ACTIVE_HIGH>;
314*ae5de77eSEmmanuel Vadot		enable-active-high;
315*ae5de77eSEmmanuel Vadot
316*ae5de77eSEmmanuel Vadot		pinctrl-names = "default";
317*ae5de77eSEmmanuel Vadot		pinctrl-0 = <&misc_3p3_reg_en>;
318*ae5de77eSEmmanuel Vadot
319*ae5de77eSEmmanuel Vadot		regulator-boot-on;
320*ae5de77eSEmmanuel Vadot		regulator-always-on;
321*ae5de77eSEmmanuel Vadot	};
322*ae5de77eSEmmanuel Vadot
323*ae5de77eSEmmanuel Vadot	vreg_nvme: regulator-nvme {
324*ae5de77eSEmmanuel Vadot		compatible = "regulator-fixed";
325*ae5de77eSEmmanuel Vadot
326*ae5de77eSEmmanuel Vadot		regulator-name = "VREG_NVME_3P3";
327*ae5de77eSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
328*ae5de77eSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
329*ae5de77eSEmmanuel Vadot
330*ae5de77eSEmmanuel Vadot		gpio = <&tlmm 18 GPIO_ACTIVE_HIGH>;
331*ae5de77eSEmmanuel Vadot		enable-active-high;
332*ae5de77eSEmmanuel Vadot
333*ae5de77eSEmmanuel Vadot		pinctrl-names = "default";
334*ae5de77eSEmmanuel Vadot		pinctrl-0 = <&nvme_reg_en>;
335*ae5de77eSEmmanuel Vadot
336*ae5de77eSEmmanuel Vadot		regulator-boot-on;
337*ae5de77eSEmmanuel Vadot	};
338*ae5de77eSEmmanuel Vadot
339*ae5de77eSEmmanuel Vadot	vreg_rtmr0_1p15: regulator-rtmr0-1p15 {
340*ae5de77eSEmmanuel Vadot		compatible = "regulator-fixed";
341*ae5de77eSEmmanuel Vadot
342*ae5de77eSEmmanuel Vadot		regulator-name = "VREG_RTMR0_1P15";
343*ae5de77eSEmmanuel Vadot		regulator-min-microvolt = <1150000>;
344*ae5de77eSEmmanuel Vadot		regulator-max-microvolt = <1150000>;
345*ae5de77eSEmmanuel Vadot
346*ae5de77eSEmmanuel Vadot		gpio = <&pmc8380_5_gpios 8 GPIO_ACTIVE_HIGH>;
347*ae5de77eSEmmanuel Vadot		enable-active-high;
348*ae5de77eSEmmanuel Vadot
349*ae5de77eSEmmanuel Vadot		pinctrl-0 = <&usb0_pwr_1p15_reg_en>;
350*ae5de77eSEmmanuel Vadot		pinctrl-names = "default";
351*ae5de77eSEmmanuel Vadot
352*ae5de77eSEmmanuel Vadot		regulator-boot-on;
353*ae5de77eSEmmanuel Vadot	};
354*ae5de77eSEmmanuel Vadot
355*ae5de77eSEmmanuel Vadot	vreg_rtmr0_1p8: regulator-rtmr0-1p8 {
356*ae5de77eSEmmanuel Vadot		compatible = "regulator-fixed";
357*ae5de77eSEmmanuel Vadot
358*ae5de77eSEmmanuel Vadot		regulator-name = "VREG_RTMR0_1P8";
359*ae5de77eSEmmanuel Vadot		regulator-min-microvolt = <1800000>;
360*ae5de77eSEmmanuel Vadot		regulator-max-microvolt = <1800000>;
361*ae5de77eSEmmanuel Vadot
362*ae5de77eSEmmanuel Vadot		gpio = <&pm8550ve_9_gpios 8 GPIO_ACTIVE_HIGH>;
363*ae5de77eSEmmanuel Vadot		enable-active-high;
364*ae5de77eSEmmanuel Vadot
365*ae5de77eSEmmanuel Vadot		pinctrl-0 = <&usb0_1p8_reg_en>;
366*ae5de77eSEmmanuel Vadot		pinctrl-names = "default";
367*ae5de77eSEmmanuel Vadot
368*ae5de77eSEmmanuel Vadot		regulator-boot-on;
369*ae5de77eSEmmanuel Vadot	};
370*ae5de77eSEmmanuel Vadot
371*ae5de77eSEmmanuel Vadot	vreg_rtmr0_3p3: regulator-rtmr0-3p3 {
372*ae5de77eSEmmanuel Vadot		compatible = "regulator-fixed";
373*ae5de77eSEmmanuel Vadot
374*ae5de77eSEmmanuel Vadot		regulator-name = "VREG_RTMR0_3P3";
375*ae5de77eSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
376*ae5de77eSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
377*ae5de77eSEmmanuel Vadot
378*ae5de77eSEmmanuel Vadot		gpio = <&pm8550_gpios 11 GPIO_ACTIVE_HIGH>;
379*ae5de77eSEmmanuel Vadot		enable-active-high;
380*ae5de77eSEmmanuel Vadot
381*ae5de77eSEmmanuel Vadot		pinctrl-0 = <&usb0_3p3_reg_en>;
382*ae5de77eSEmmanuel Vadot		pinctrl-names = "default";
383*ae5de77eSEmmanuel Vadot
384*ae5de77eSEmmanuel Vadot		regulator-boot-on;
385*ae5de77eSEmmanuel Vadot	};
386*ae5de77eSEmmanuel Vadot
387*ae5de77eSEmmanuel Vadot	vreg_rtmr1_1p15: regulator-rtmr1-1p15 {
388*ae5de77eSEmmanuel Vadot		compatible = "regulator-fixed";
389*ae5de77eSEmmanuel Vadot
390*ae5de77eSEmmanuel Vadot		regulator-name = "VREG_RTMR1_1P15";
391*ae5de77eSEmmanuel Vadot		regulator-min-microvolt = <1150000>;
392*ae5de77eSEmmanuel Vadot		regulator-max-microvolt = <1150000>;
393*ae5de77eSEmmanuel Vadot
394*ae5de77eSEmmanuel Vadot		gpio = <&tlmm 188 GPIO_ACTIVE_HIGH>;
395*ae5de77eSEmmanuel Vadot		enable-active-high;
396*ae5de77eSEmmanuel Vadot
397*ae5de77eSEmmanuel Vadot		pinctrl-0 = <&usb1_pwr_1p15_reg_en>;
398*ae5de77eSEmmanuel Vadot		pinctrl-names = "default";
399*ae5de77eSEmmanuel Vadot
400*ae5de77eSEmmanuel Vadot		regulator-boot-on;
401*ae5de77eSEmmanuel Vadot	};
402*ae5de77eSEmmanuel Vadot
403*ae5de77eSEmmanuel Vadot	vreg_rtmr1_1p8: regulator-rtmr1-1p8 {
404*ae5de77eSEmmanuel Vadot		compatible = "regulator-fixed";
405*ae5de77eSEmmanuel Vadot
406*ae5de77eSEmmanuel Vadot		regulator-name = "VREG_RTMR1_1P8";
407*ae5de77eSEmmanuel Vadot		regulator-min-microvolt = <1800000>;
408*ae5de77eSEmmanuel Vadot		regulator-max-microvolt = <1800000>;
409*ae5de77eSEmmanuel Vadot
410*ae5de77eSEmmanuel Vadot		gpio = <&tlmm 175 GPIO_ACTIVE_HIGH>;
411*ae5de77eSEmmanuel Vadot		enable-active-high;
412*ae5de77eSEmmanuel Vadot
413*ae5de77eSEmmanuel Vadot		pinctrl-0 = <&usb1_pwr_1p8_reg_en>;
414*ae5de77eSEmmanuel Vadot		pinctrl-names = "default";
415*ae5de77eSEmmanuel Vadot
416*ae5de77eSEmmanuel Vadot		regulator-boot-on;
417*ae5de77eSEmmanuel Vadot	};
418*ae5de77eSEmmanuel Vadot
419*ae5de77eSEmmanuel Vadot	vreg_rtmr1_3p3: regulator-rtmr1-3p3 {
420*ae5de77eSEmmanuel Vadot		compatible = "regulator-fixed";
421*ae5de77eSEmmanuel Vadot
422*ae5de77eSEmmanuel Vadot		regulator-name = "VREG_RTMR1_3P3";
423*ae5de77eSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
424*ae5de77eSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
425*ae5de77eSEmmanuel Vadot
426*ae5de77eSEmmanuel Vadot		gpio = <&tlmm 186 GPIO_ACTIVE_HIGH>;
427*ae5de77eSEmmanuel Vadot		enable-active-high;
428*ae5de77eSEmmanuel Vadot
429*ae5de77eSEmmanuel Vadot		pinctrl-0 = <&usb1_pwr_3p3_reg_en>;
430*ae5de77eSEmmanuel Vadot		pinctrl-names = "default";
431*ae5de77eSEmmanuel Vadot
432*ae5de77eSEmmanuel Vadot		regulator-boot-on;
433*ae5de77eSEmmanuel Vadot	};
434*ae5de77eSEmmanuel Vadot
435*ae5de77eSEmmanuel Vadot	vreg_rtmr2_1p15: regulator-rtmr2-1p15 {
436*ae5de77eSEmmanuel Vadot		compatible = "regulator-fixed";
437*ae5de77eSEmmanuel Vadot
438*ae5de77eSEmmanuel Vadot		regulator-name = "VREG_RTMR2_1P15";
439*ae5de77eSEmmanuel Vadot		regulator-min-microvolt = <1150000>;
440*ae5de77eSEmmanuel Vadot		regulator-max-microvolt = <1150000>;
441*ae5de77eSEmmanuel Vadot
442*ae5de77eSEmmanuel Vadot		gpio = <&tlmm 189 GPIO_ACTIVE_HIGH>;
443*ae5de77eSEmmanuel Vadot		enable-active-high;
444*ae5de77eSEmmanuel Vadot
445*ae5de77eSEmmanuel Vadot		pinctrl-0 = <&usb2_pwr_1p15_reg_en>;
446*ae5de77eSEmmanuel Vadot		pinctrl-names = "default";
447*ae5de77eSEmmanuel Vadot
448*ae5de77eSEmmanuel Vadot		regulator-boot-on;
449*ae5de77eSEmmanuel Vadot	};
450*ae5de77eSEmmanuel Vadot
451*ae5de77eSEmmanuel Vadot	vreg_rtmr2_1p8: regulator-rtmr2-1p8 {
452*ae5de77eSEmmanuel Vadot		compatible = "regulator-fixed";
453*ae5de77eSEmmanuel Vadot
454*ae5de77eSEmmanuel Vadot		regulator-name = "VREG_RTMR2_1P8";
455*ae5de77eSEmmanuel Vadot		regulator-min-microvolt = <1800000>;
456*ae5de77eSEmmanuel Vadot		regulator-max-microvolt = <1800000>;
457*ae5de77eSEmmanuel Vadot
458*ae5de77eSEmmanuel Vadot		gpio = <&tlmm 126 GPIO_ACTIVE_HIGH>;
459*ae5de77eSEmmanuel Vadot		enable-active-high;
460*ae5de77eSEmmanuel Vadot
461*ae5de77eSEmmanuel Vadot		pinctrl-0 = <&usb2_pwr_1p8_reg_en>;
462*ae5de77eSEmmanuel Vadot		pinctrl-names = "default";
463*ae5de77eSEmmanuel Vadot
464*ae5de77eSEmmanuel Vadot		regulator-boot-on;
465*ae5de77eSEmmanuel Vadot	};
466*ae5de77eSEmmanuel Vadot
467*ae5de77eSEmmanuel Vadot	vreg_rtmr2_3p3: regulator-rtmr2-3p3 {
468*ae5de77eSEmmanuel Vadot		compatible = "regulator-fixed";
469*ae5de77eSEmmanuel Vadot
470*ae5de77eSEmmanuel Vadot		regulator-name = "VREG_RTMR2_3P3";
471*ae5de77eSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
472*ae5de77eSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
473*ae5de77eSEmmanuel Vadot
474*ae5de77eSEmmanuel Vadot		gpio = <&tlmm 187 GPIO_ACTIVE_HIGH>;
475*ae5de77eSEmmanuel Vadot		enable-active-high;
476*ae5de77eSEmmanuel Vadot
477*ae5de77eSEmmanuel Vadot		pinctrl-0 = <&usb2_pwr_3p3_reg_en>;
478*ae5de77eSEmmanuel Vadot		pinctrl-names = "default";
479*ae5de77eSEmmanuel Vadot
480*ae5de77eSEmmanuel Vadot		regulator-boot-on;
481*ae5de77eSEmmanuel Vadot	};
482*ae5de77eSEmmanuel Vadot
483*ae5de77eSEmmanuel Vadot	vph_pwr: regulator-vph-pwr {
484*ae5de77eSEmmanuel Vadot		compatible = "regulator-fixed";
485*ae5de77eSEmmanuel Vadot
486*ae5de77eSEmmanuel Vadot		regulator-name = "vph_pwr";
487*ae5de77eSEmmanuel Vadot		regulator-min-microvolt = <3700000>;
488*ae5de77eSEmmanuel Vadot		regulator-max-microvolt = <3700000>;
489*ae5de77eSEmmanuel Vadot
490*ae5de77eSEmmanuel Vadot		regulator-always-on;
491*ae5de77eSEmmanuel Vadot		regulator-boot-on;
492*ae5de77eSEmmanuel Vadot	};
493*ae5de77eSEmmanuel Vadot
494*ae5de77eSEmmanuel Vadot	vreg_wwan: regulator-wwan {
495*ae5de77eSEmmanuel Vadot		compatible = "regulator-fixed";
496*ae5de77eSEmmanuel Vadot
497*ae5de77eSEmmanuel Vadot		regulator-name = "SDX_VPH_PWR";
498*ae5de77eSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
499*ae5de77eSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
500*ae5de77eSEmmanuel Vadot
501*ae5de77eSEmmanuel Vadot		gpio = <&tlmm 221 GPIO_ACTIVE_HIGH>;
502*ae5de77eSEmmanuel Vadot		enable-active-high;
503*ae5de77eSEmmanuel Vadot
504*ae5de77eSEmmanuel Vadot		pinctrl-0 = <&wwan_sw_en>;
505*ae5de77eSEmmanuel Vadot		pinctrl-names = "default";
506*ae5de77eSEmmanuel Vadot
507*ae5de77eSEmmanuel Vadot		regulator-boot-on;
508*ae5de77eSEmmanuel Vadot	};
509*ae5de77eSEmmanuel Vadot};
510*ae5de77eSEmmanuel Vadot
511*ae5de77eSEmmanuel Vadot&apps_rsc {
512*ae5de77eSEmmanuel Vadot	regulators-0 {
513*ae5de77eSEmmanuel Vadot		compatible = "qcom,pm8550-rpmh-regulators";
514*ae5de77eSEmmanuel Vadot		qcom,pmic-id = "b";
515*ae5de77eSEmmanuel Vadot
516*ae5de77eSEmmanuel Vadot		vdd-bob1-supply = <&vph_pwr>;
517*ae5de77eSEmmanuel Vadot		vdd-bob2-supply = <&vph_pwr>;
518*ae5de77eSEmmanuel Vadot		vdd-l1-l4-l10-supply = <&vreg_s4c_1p8>;
519*ae5de77eSEmmanuel Vadot		vdd-l2-l13-l14-supply = <&vreg_bob1>;
520*ae5de77eSEmmanuel Vadot		vdd-l5-l16-supply = <&vreg_bob1>;
521*ae5de77eSEmmanuel Vadot		vdd-l6-l7-supply = <&vreg_bob2>;
522*ae5de77eSEmmanuel Vadot		vdd-l8-l9-supply = <&vreg_bob1>;
523*ae5de77eSEmmanuel Vadot		vdd-l12-supply = <&vreg_s5j_1p2>;
524*ae5de77eSEmmanuel Vadot		vdd-l15-supply = <&vreg_s4c_1p8>;
525*ae5de77eSEmmanuel Vadot		vdd-l17-supply = <&vreg_bob2>;
526*ae5de77eSEmmanuel Vadot
527*ae5de77eSEmmanuel Vadot		vreg_bob1: bob1 {
528*ae5de77eSEmmanuel Vadot			regulator-name = "vreg_bob1";
529*ae5de77eSEmmanuel Vadot			regulator-min-microvolt = <3008000>;
530*ae5de77eSEmmanuel Vadot			regulator-max-microvolt = <3960000>;
531*ae5de77eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
532*ae5de77eSEmmanuel Vadot		};
533*ae5de77eSEmmanuel Vadot
534*ae5de77eSEmmanuel Vadot		vreg_bob2: bob2 {
535*ae5de77eSEmmanuel Vadot			regulator-name = "vreg_bob2";
536*ae5de77eSEmmanuel Vadot			regulator-min-microvolt = <2504000>;
537*ae5de77eSEmmanuel Vadot			regulator-max-microvolt = <3008000>;
538*ae5de77eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
539*ae5de77eSEmmanuel Vadot		};
540*ae5de77eSEmmanuel Vadot
541*ae5de77eSEmmanuel Vadot		vreg_l1b_1p8: ldo1 {
542*ae5de77eSEmmanuel Vadot			regulator-name = "vreg_l1b_1p8";
543*ae5de77eSEmmanuel Vadot			regulator-min-microvolt = <1800000>;
544*ae5de77eSEmmanuel Vadot			regulator-max-microvolt = <1800000>;
545*ae5de77eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
546*ae5de77eSEmmanuel Vadot		};
547*ae5de77eSEmmanuel Vadot
548*ae5de77eSEmmanuel Vadot		vreg_l2b_3p0: ldo2 {
549*ae5de77eSEmmanuel Vadot			regulator-name = "vreg_l2b_3p0";
550*ae5de77eSEmmanuel Vadot			regulator-min-microvolt = <3072000>;
551*ae5de77eSEmmanuel Vadot			regulator-max-microvolt = <3100000>;
552*ae5de77eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
553*ae5de77eSEmmanuel Vadot		};
554*ae5de77eSEmmanuel Vadot
555*ae5de77eSEmmanuel Vadot		vreg_l4b_1p8: ldo4 {
556*ae5de77eSEmmanuel Vadot			regulator-name = "vreg_l4b_1p8";
557*ae5de77eSEmmanuel Vadot			regulator-min-microvolt = <1800000>;
558*ae5de77eSEmmanuel Vadot			regulator-max-microvolt = <1800000>;
559*ae5de77eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
560*ae5de77eSEmmanuel Vadot		};
561*ae5de77eSEmmanuel Vadot
562*ae5de77eSEmmanuel Vadot		vreg_l5b_3p0: ldo5 {
563*ae5de77eSEmmanuel Vadot			regulator-name = "vreg_l5b_3p0";
564*ae5de77eSEmmanuel Vadot			regulator-min-microvolt = <3000000>;
565*ae5de77eSEmmanuel Vadot			regulator-max-microvolt = <3000000>;
566*ae5de77eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
567*ae5de77eSEmmanuel Vadot		};
568*ae5de77eSEmmanuel Vadot
569*ae5de77eSEmmanuel Vadot		vreg_l6b_1p8: ldo6 {
570*ae5de77eSEmmanuel Vadot			regulator-name = "vreg_l6b_1p8";
571*ae5de77eSEmmanuel Vadot			regulator-min-microvolt = <1800000>;
572*ae5de77eSEmmanuel Vadot			regulator-max-microvolt = <2960000>;
573*ae5de77eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
574*ae5de77eSEmmanuel Vadot		};
575*ae5de77eSEmmanuel Vadot
576*ae5de77eSEmmanuel Vadot		vreg_l7b_2p8: ldo7 {
577*ae5de77eSEmmanuel Vadot			regulator-name = "vreg_l7b_2p8";
578*ae5de77eSEmmanuel Vadot			regulator-min-microvolt = <2800000>;
579*ae5de77eSEmmanuel Vadot			regulator-max-microvolt = <2800000>;
580*ae5de77eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
581*ae5de77eSEmmanuel Vadot		};
582*ae5de77eSEmmanuel Vadot
583*ae5de77eSEmmanuel Vadot		vreg_l8b_3p0: ldo8 {
584*ae5de77eSEmmanuel Vadot			regulator-name = "vreg_l8b_3p0";
585*ae5de77eSEmmanuel Vadot			regulator-min-microvolt = <3072000>;
586*ae5de77eSEmmanuel Vadot			regulator-max-microvolt = <3072000>;
587*ae5de77eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
588*ae5de77eSEmmanuel Vadot		};
589*ae5de77eSEmmanuel Vadot
590*ae5de77eSEmmanuel Vadot		vreg_l9b_2p9: ldo9 {
591*ae5de77eSEmmanuel Vadot			regulator-name = "vreg_l9b_2p9";
592*ae5de77eSEmmanuel Vadot			regulator-min-microvolt = <2960000>;
593*ae5de77eSEmmanuel Vadot			regulator-max-microvolt = <2960000>;
594*ae5de77eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
595*ae5de77eSEmmanuel Vadot		};
596*ae5de77eSEmmanuel Vadot
597*ae5de77eSEmmanuel Vadot		vreg_l10b_1p8: ldo10 {
598*ae5de77eSEmmanuel Vadot			regulator-name = "vreg_l10b_1p8";
599*ae5de77eSEmmanuel Vadot			regulator-min-microvolt = <1800000>;
600*ae5de77eSEmmanuel Vadot			regulator-max-microvolt = <1800000>;
601*ae5de77eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
602*ae5de77eSEmmanuel Vadot		};
603*ae5de77eSEmmanuel Vadot
604*ae5de77eSEmmanuel Vadot		vreg_l12b_1p2: ldo12 {
605*ae5de77eSEmmanuel Vadot			regulator-name = "vreg_l12b_1p2";
606*ae5de77eSEmmanuel Vadot			regulator-min-microvolt = <1200000>;
607*ae5de77eSEmmanuel Vadot			regulator-max-microvolt = <1200000>;
608*ae5de77eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
609*ae5de77eSEmmanuel Vadot			regulator-always-on;
610*ae5de77eSEmmanuel Vadot		};
611*ae5de77eSEmmanuel Vadot
612*ae5de77eSEmmanuel Vadot		vreg_l13b_3p0: ldo13 {
613*ae5de77eSEmmanuel Vadot			regulator-name = "vreg_l13b_3p0";
614*ae5de77eSEmmanuel Vadot			regulator-min-microvolt = <3072000>;
615*ae5de77eSEmmanuel Vadot			regulator-max-microvolt = <3100000>;
616*ae5de77eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
617*ae5de77eSEmmanuel Vadot		};
618*ae5de77eSEmmanuel Vadot
619*ae5de77eSEmmanuel Vadot		vreg_l14b_3p0: ldo14 {
620*ae5de77eSEmmanuel Vadot			regulator-name = "vreg_l14b_3p0";
621*ae5de77eSEmmanuel Vadot			regulator-min-microvolt = <3072000>;
622*ae5de77eSEmmanuel Vadot			regulator-max-microvolt = <3072000>;
623*ae5de77eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
624*ae5de77eSEmmanuel Vadot		};
625*ae5de77eSEmmanuel Vadot
626*ae5de77eSEmmanuel Vadot		vreg_l15b_1p8: ldo15 {
627*ae5de77eSEmmanuel Vadot			regulator-name = "vreg_l15b_1p8";
628*ae5de77eSEmmanuel Vadot			regulator-min-microvolt = <1800000>;
629*ae5de77eSEmmanuel Vadot			regulator-max-microvolt = <1800000>;
630*ae5de77eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
631*ae5de77eSEmmanuel Vadot			regulator-always-on;
632*ae5de77eSEmmanuel Vadot		};
633*ae5de77eSEmmanuel Vadot
634*ae5de77eSEmmanuel Vadot		vreg_l16b_2p9: ldo16 {
635*ae5de77eSEmmanuel Vadot			regulator-name = "vreg_l16b_2p9";
636*ae5de77eSEmmanuel Vadot			regulator-min-microvolt = <2912000>;
637*ae5de77eSEmmanuel Vadot			regulator-max-microvolt = <2912000>;
638*ae5de77eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
639*ae5de77eSEmmanuel Vadot		};
640*ae5de77eSEmmanuel Vadot
641*ae5de77eSEmmanuel Vadot		vreg_l17b_2p5: ldo17 {
642*ae5de77eSEmmanuel Vadot			regulator-name = "vreg_l17b_2p5";
643*ae5de77eSEmmanuel Vadot			regulator-min-microvolt = <2504000>;
644*ae5de77eSEmmanuel Vadot			regulator-max-microvolt = <2504000>;
645*ae5de77eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
646*ae5de77eSEmmanuel Vadot		};
647*ae5de77eSEmmanuel Vadot	};
648*ae5de77eSEmmanuel Vadot
649*ae5de77eSEmmanuel Vadot	regulators-1 {
650*ae5de77eSEmmanuel Vadot		compatible = "qcom,pm8550ve-rpmh-regulators";
651*ae5de77eSEmmanuel Vadot		qcom,pmic-id = "c";
652*ae5de77eSEmmanuel Vadot
653*ae5de77eSEmmanuel Vadot		vdd-l1-supply = <&vreg_s5j_1p2>;
654*ae5de77eSEmmanuel Vadot		vdd-l2-supply = <&vreg_s1f_0p7>;
655*ae5de77eSEmmanuel Vadot		vdd-l3-supply = <&vreg_s1f_0p7>;
656*ae5de77eSEmmanuel Vadot		vdd-s4-supply = <&vph_pwr>;
657*ae5de77eSEmmanuel Vadot
658*ae5de77eSEmmanuel Vadot		vreg_s4c_1p8: smps4 {
659*ae5de77eSEmmanuel Vadot			regulator-name = "vreg_s4c_1p8";
660*ae5de77eSEmmanuel Vadot			regulator-min-microvolt = <1856000>;
661*ae5de77eSEmmanuel Vadot			regulator-max-microvolt = <2000000>;
662*ae5de77eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
663*ae5de77eSEmmanuel Vadot		};
664*ae5de77eSEmmanuel Vadot
665*ae5de77eSEmmanuel Vadot		vreg_l1c_1p2: ldo1 {
666*ae5de77eSEmmanuel Vadot			regulator-name = "vreg_l1c_1p2";
667*ae5de77eSEmmanuel Vadot			regulator-min-microvolt = <1200000>;
668*ae5de77eSEmmanuel Vadot			regulator-max-microvolt = <1200000>;
669*ae5de77eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
670*ae5de77eSEmmanuel Vadot		};
671*ae5de77eSEmmanuel Vadot
672*ae5de77eSEmmanuel Vadot		vreg_l2c_0p8: ldo2 {
673*ae5de77eSEmmanuel Vadot			regulator-name = "vreg_l2c_0p8";
674*ae5de77eSEmmanuel Vadot			regulator-min-microvolt = <880000>;
675*ae5de77eSEmmanuel Vadot			regulator-max-microvolt = <920000>;
676*ae5de77eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
677*ae5de77eSEmmanuel Vadot		};
678*ae5de77eSEmmanuel Vadot
679*ae5de77eSEmmanuel Vadot		vreg_l3c_0p8: ldo3 {
680*ae5de77eSEmmanuel Vadot			regulator-name = "vreg_l3c_0p8";
681*ae5de77eSEmmanuel Vadot			regulator-min-microvolt = <880000>;
682*ae5de77eSEmmanuel Vadot			regulator-max-microvolt = <920000>;
683*ae5de77eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
684*ae5de77eSEmmanuel Vadot		};
685*ae5de77eSEmmanuel Vadot	};
686*ae5de77eSEmmanuel Vadot
687*ae5de77eSEmmanuel Vadot	regulators-2 {
688*ae5de77eSEmmanuel Vadot		compatible = "qcom,pmc8380-rpmh-regulators";
689*ae5de77eSEmmanuel Vadot		qcom,pmic-id = "d";
690*ae5de77eSEmmanuel Vadot
691*ae5de77eSEmmanuel Vadot		vdd-l1-supply = <&vreg_s1f_0p7>;
692*ae5de77eSEmmanuel Vadot		vdd-l2-supply = <&vreg_s1f_0p7>;
693*ae5de77eSEmmanuel Vadot		vdd-l3-supply = <&vreg_s4c_1p8>;
694*ae5de77eSEmmanuel Vadot		vdd-s1-supply = <&vph_pwr>;
695*ae5de77eSEmmanuel Vadot
696*ae5de77eSEmmanuel Vadot		vreg_l1d_0p8: ldo1 {
697*ae5de77eSEmmanuel Vadot			regulator-name = "vreg_l1d_0p8";
698*ae5de77eSEmmanuel Vadot			regulator-min-microvolt = <880000>;
699*ae5de77eSEmmanuel Vadot			regulator-max-microvolt = <920000>;
700*ae5de77eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
701*ae5de77eSEmmanuel Vadot		};
702*ae5de77eSEmmanuel Vadot
703*ae5de77eSEmmanuel Vadot		vreg_l2d_0p9: ldo2 {
704*ae5de77eSEmmanuel Vadot			regulator-name = "vreg_l2d_0p9";
705*ae5de77eSEmmanuel Vadot			regulator-min-microvolt = <912000>;
706*ae5de77eSEmmanuel Vadot			regulator-max-microvolt = <920000>;
707*ae5de77eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
708*ae5de77eSEmmanuel Vadot		};
709*ae5de77eSEmmanuel Vadot
710*ae5de77eSEmmanuel Vadot		vreg_l3d_1p8: ldo3 {
711*ae5de77eSEmmanuel Vadot			regulator-name = "vreg_l3d_1p8";
712*ae5de77eSEmmanuel Vadot			regulator-min-microvolt = <1800000>;
713*ae5de77eSEmmanuel Vadot			regulator-max-microvolt = <1800000>;
714*ae5de77eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
715*ae5de77eSEmmanuel Vadot		};
716*ae5de77eSEmmanuel Vadot	};
717*ae5de77eSEmmanuel Vadot
718*ae5de77eSEmmanuel Vadot	regulators-3 {
719*ae5de77eSEmmanuel Vadot		compatible = "qcom,pmc8380-rpmh-regulators";
720*ae5de77eSEmmanuel Vadot		qcom,pmic-id = "e";
721*ae5de77eSEmmanuel Vadot
722*ae5de77eSEmmanuel Vadot		vdd-l2-supply = <&vreg_s1f_0p7>;
723*ae5de77eSEmmanuel Vadot		vdd-l3-supply = <&vreg_s5j_1p2>;
724*ae5de77eSEmmanuel Vadot
725*ae5de77eSEmmanuel Vadot		vreg_l2e_0p8: ldo2 {
726*ae5de77eSEmmanuel Vadot			regulator-name = "vreg_l2e_0p8";
727*ae5de77eSEmmanuel Vadot			regulator-min-microvolt = <880000>;
728*ae5de77eSEmmanuel Vadot			regulator-max-microvolt = <920000>;
729*ae5de77eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
730*ae5de77eSEmmanuel Vadot		};
731*ae5de77eSEmmanuel Vadot
732*ae5de77eSEmmanuel Vadot		vreg_l3e_1p2: ldo3 {
733*ae5de77eSEmmanuel Vadot			regulator-name = "vreg_l3e_1p2";
734*ae5de77eSEmmanuel Vadot			regulator-min-microvolt = <1200000>;
735*ae5de77eSEmmanuel Vadot			regulator-max-microvolt = <1200000>;
736*ae5de77eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
737*ae5de77eSEmmanuel Vadot		};
738*ae5de77eSEmmanuel Vadot	};
739*ae5de77eSEmmanuel Vadot
740*ae5de77eSEmmanuel Vadot	regulators-4 {
741*ae5de77eSEmmanuel Vadot		compatible = "qcom,pmc8380-rpmh-regulators";
742*ae5de77eSEmmanuel Vadot		qcom,pmic-id = "f";
743*ae5de77eSEmmanuel Vadot
744*ae5de77eSEmmanuel Vadot		vdd-l1-supply = <&vreg_s5j_1p2>;
745*ae5de77eSEmmanuel Vadot		vdd-l2-supply = <&vreg_s5j_1p2>;
746*ae5de77eSEmmanuel Vadot		vdd-l3-supply = <&vreg_s5j_1p2>;
747*ae5de77eSEmmanuel Vadot		vdd-s1-supply = <&vph_pwr>;
748*ae5de77eSEmmanuel Vadot
749*ae5de77eSEmmanuel Vadot		vreg_s1f_0p7: smps1 {
750*ae5de77eSEmmanuel Vadot			regulator-name = "vreg_s1f_0p7";
751*ae5de77eSEmmanuel Vadot			regulator-min-microvolt = <700000>;
752*ae5de77eSEmmanuel Vadot			regulator-max-microvolt = <1100000>;
753*ae5de77eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
754*ae5de77eSEmmanuel Vadot		};
755*ae5de77eSEmmanuel Vadot
756*ae5de77eSEmmanuel Vadot		vreg_l1f_1p0: ldo1 {
757*ae5de77eSEmmanuel Vadot			regulator-name = "vreg_l1f_1p0";
758*ae5de77eSEmmanuel Vadot			regulator-min-microvolt = <1024000>;
759*ae5de77eSEmmanuel Vadot			regulator-max-microvolt = <1024000>;
760*ae5de77eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
761*ae5de77eSEmmanuel Vadot		};
762*ae5de77eSEmmanuel Vadot
763*ae5de77eSEmmanuel Vadot		vreg_l2f_1p0: ldo2 {
764*ae5de77eSEmmanuel Vadot			regulator-name = "vreg_l2f_1p0";
765*ae5de77eSEmmanuel Vadot			regulator-min-microvolt = <1024000>;
766*ae5de77eSEmmanuel Vadot			regulator-max-microvolt = <1024000>;
767*ae5de77eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
768*ae5de77eSEmmanuel Vadot		};
769*ae5de77eSEmmanuel Vadot
770*ae5de77eSEmmanuel Vadot		vreg_l3f_1p0: ldo3 {
771*ae5de77eSEmmanuel Vadot			regulator-name = "vreg_l3f_1p0";
772*ae5de77eSEmmanuel Vadot			regulator-min-microvolt = <1024000>;
773*ae5de77eSEmmanuel Vadot			regulator-max-microvolt = <1024000>;
774*ae5de77eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
775*ae5de77eSEmmanuel Vadot		};
776*ae5de77eSEmmanuel Vadot	};
777*ae5de77eSEmmanuel Vadot
778*ae5de77eSEmmanuel Vadot	regulators-6 {
779*ae5de77eSEmmanuel Vadot		compatible = "qcom,pm8550ve-rpmh-regulators";
780*ae5de77eSEmmanuel Vadot		qcom,pmic-id = "i";
781*ae5de77eSEmmanuel Vadot
782*ae5de77eSEmmanuel Vadot		vdd-l1-supply = <&vreg_s4c_1p8>;
783*ae5de77eSEmmanuel Vadot		vdd-l2-supply = <&vreg_s5j_1p2>;
784*ae5de77eSEmmanuel Vadot		vdd-l3-supply = <&vreg_s1f_0p7>;
785*ae5de77eSEmmanuel Vadot		vdd-s1-supply = <&vph_pwr>;
786*ae5de77eSEmmanuel Vadot		vdd-s2-supply = <&vph_pwr>;
787*ae5de77eSEmmanuel Vadot
788*ae5de77eSEmmanuel Vadot		vreg_s1i_0p9: smps1 {
789*ae5de77eSEmmanuel Vadot			regulator-name = "vreg_s1i_0p9";
790*ae5de77eSEmmanuel Vadot			regulator-min-microvolt = <900000>;
791*ae5de77eSEmmanuel Vadot			regulator-max-microvolt = <920000>;
792*ae5de77eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
793*ae5de77eSEmmanuel Vadot		};
794*ae5de77eSEmmanuel Vadot
795*ae5de77eSEmmanuel Vadot		vreg_s2i_1p0: smps2 {
796*ae5de77eSEmmanuel Vadot			regulator-name = "vreg_s2i_1p0";
797*ae5de77eSEmmanuel Vadot			regulator-min-microvolt = <1000000>;
798*ae5de77eSEmmanuel Vadot			regulator-max-microvolt = <1100000>;
799*ae5de77eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
800*ae5de77eSEmmanuel Vadot		};
801*ae5de77eSEmmanuel Vadot
802*ae5de77eSEmmanuel Vadot		vreg_l1i_1p8: ldo1 {
803*ae5de77eSEmmanuel Vadot			regulator-name = "vreg_l1i_1p8";
804*ae5de77eSEmmanuel Vadot			regulator-min-microvolt = <1800000>;
805*ae5de77eSEmmanuel Vadot			regulator-max-microvolt = <1800000>;
806*ae5de77eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
807*ae5de77eSEmmanuel Vadot		};
808*ae5de77eSEmmanuel Vadot
809*ae5de77eSEmmanuel Vadot		vreg_l2i_1p2: ldo2 {
810*ae5de77eSEmmanuel Vadot			regulator-name = "vreg_l2i_1p2";
811*ae5de77eSEmmanuel Vadot			regulator-min-microvolt = <1200000>;
812*ae5de77eSEmmanuel Vadot			regulator-max-microvolt = <1200000>;
813*ae5de77eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
814*ae5de77eSEmmanuel Vadot		};
815*ae5de77eSEmmanuel Vadot
816*ae5de77eSEmmanuel Vadot		vreg_l3i_0p8: ldo3 {
817*ae5de77eSEmmanuel Vadot			regulator-name = "vreg_l3i_0p8";
818*ae5de77eSEmmanuel Vadot			regulator-min-microvolt = <880000>;
819*ae5de77eSEmmanuel Vadot			regulator-max-microvolt = <920000>;
820*ae5de77eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
821*ae5de77eSEmmanuel Vadot		};
822*ae5de77eSEmmanuel Vadot	};
823*ae5de77eSEmmanuel Vadot
824*ae5de77eSEmmanuel Vadot	regulators-7 {
825*ae5de77eSEmmanuel Vadot		compatible = "qcom,pm8550ve-rpmh-regulators";
826*ae5de77eSEmmanuel Vadot		qcom,pmic-id = "j";
827*ae5de77eSEmmanuel Vadot
828*ae5de77eSEmmanuel Vadot		vdd-l1-supply = <&vreg_s1f_0p7>;
829*ae5de77eSEmmanuel Vadot		vdd-l2-supply = <&vreg_s5j_1p2>;
830*ae5de77eSEmmanuel Vadot		vdd-l3-supply = <&vreg_s1f_0p7>;
831*ae5de77eSEmmanuel Vadot		vdd-s5-supply = <&vph_pwr>;
832*ae5de77eSEmmanuel Vadot
833*ae5de77eSEmmanuel Vadot		vreg_s5j_1p2: smps5 {
834*ae5de77eSEmmanuel Vadot			regulator-name = "vreg_s5j_1p2";
835*ae5de77eSEmmanuel Vadot			regulator-min-microvolt = <1256000>;
836*ae5de77eSEmmanuel Vadot			regulator-max-microvolt = <1304000>;
837*ae5de77eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
838*ae5de77eSEmmanuel Vadot		};
839*ae5de77eSEmmanuel Vadot
840*ae5de77eSEmmanuel Vadot		vreg_l1j_0p8: ldo1 {
841*ae5de77eSEmmanuel Vadot			regulator-name = "vreg_l1j_0p8";
842*ae5de77eSEmmanuel Vadot			regulator-min-microvolt = <880000>;
843*ae5de77eSEmmanuel Vadot			regulator-max-microvolt = <920000>;
844*ae5de77eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
845*ae5de77eSEmmanuel Vadot		};
846*ae5de77eSEmmanuel Vadot
847*ae5de77eSEmmanuel Vadot		vreg_l2j_1p2: ldo2 {
848*ae5de77eSEmmanuel Vadot			regulator-name = "vreg_l2j_1p2";
849*ae5de77eSEmmanuel Vadot			regulator-min-microvolt = <1256000>;
850*ae5de77eSEmmanuel Vadot			regulator-max-microvolt = <1256000>;
851*ae5de77eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
852*ae5de77eSEmmanuel Vadot		};
853*ae5de77eSEmmanuel Vadot
854*ae5de77eSEmmanuel Vadot		vreg_l3j_0p8: ldo3 {
855*ae5de77eSEmmanuel Vadot			regulator-name = "vreg_l3j_0p8";
856*ae5de77eSEmmanuel Vadot			regulator-min-microvolt = <880000>;
857*ae5de77eSEmmanuel Vadot			regulator-max-microvolt = <920000>;
858*ae5de77eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
859*ae5de77eSEmmanuel Vadot		};
860*ae5de77eSEmmanuel Vadot	};
861*ae5de77eSEmmanuel Vadot};
862*ae5de77eSEmmanuel Vadot
863*ae5de77eSEmmanuel Vadot&gpu {
864*ae5de77eSEmmanuel Vadot	status = "okay";
865*ae5de77eSEmmanuel Vadot};
866*ae5de77eSEmmanuel Vadot
867*ae5de77eSEmmanuel Vadot&i2c0 {
868*ae5de77eSEmmanuel Vadot	clock-frequency = <400000>;
869*ae5de77eSEmmanuel Vadot
870*ae5de77eSEmmanuel Vadot	status = "okay";
871*ae5de77eSEmmanuel Vadot
872*ae5de77eSEmmanuel Vadot	touchpad@15 {
873*ae5de77eSEmmanuel Vadot		compatible = "hid-over-i2c";
874*ae5de77eSEmmanuel Vadot		reg = <0x15>;
875*ae5de77eSEmmanuel Vadot
876*ae5de77eSEmmanuel Vadot		hid-descr-addr = <0x1>;
877*ae5de77eSEmmanuel Vadot		interrupts-extended = <&tlmm 3 IRQ_TYPE_LEVEL_LOW>;
878*ae5de77eSEmmanuel Vadot
879*ae5de77eSEmmanuel Vadot		vdd-supply = <&vreg_misc_3p3>;
880*ae5de77eSEmmanuel Vadot		vddl-supply = <&vreg_l12b_1p2>;
881*ae5de77eSEmmanuel Vadot
882*ae5de77eSEmmanuel Vadot		pinctrl-0 = <&tpad_default>;
883*ae5de77eSEmmanuel Vadot		pinctrl-names = "default";
884*ae5de77eSEmmanuel Vadot
885*ae5de77eSEmmanuel Vadot		wakeup-source;
886*ae5de77eSEmmanuel Vadot	};
887*ae5de77eSEmmanuel Vadot
888*ae5de77eSEmmanuel Vadot	keyboard@3a {
889*ae5de77eSEmmanuel Vadot		compatible = "hid-over-i2c";
890*ae5de77eSEmmanuel Vadot		reg = <0x3a>;
891*ae5de77eSEmmanuel Vadot
892*ae5de77eSEmmanuel Vadot		hid-descr-addr = <0x1>;
893*ae5de77eSEmmanuel Vadot		interrupts-extended = <&tlmm 67 IRQ_TYPE_LEVEL_LOW>;
894*ae5de77eSEmmanuel Vadot
895*ae5de77eSEmmanuel Vadot		vdd-supply = <&vreg_misc_3p3>;
896*ae5de77eSEmmanuel Vadot		vddl-supply = <&vreg_l12b_1p2>;
897*ae5de77eSEmmanuel Vadot
898*ae5de77eSEmmanuel Vadot		pinctrl-0 = <&kybd_default>;
899*ae5de77eSEmmanuel Vadot		pinctrl-names = "default";
900*ae5de77eSEmmanuel Vadot
901*ae5de77eSEmmanuel Vadot		wakeup-source;
902*ae5de77eSEmmanuel Vadot	};
903*ae5de77eSEmmanuel Vadot};
904*ae5de77eSEmmanuel Vadot
905*ae5de77eSEmmanuel Vadot&i2c1 {
906*ae5de77eSEmmanuel Vadot	clock-frequency = <400000>;
907*ae5de77eSEmmanuel Vadot
908*ae5de77eSEmmanuel Vadot	status = "okay";
909*ae5de77eSEmmanuel Vadot
910*ae5de77eSEmmanuel Vadot	typec-mux@8 {
911*ae5de77eSEmmanuel Vadot		compatible = "parade,ps8830";
912*ae5de77eSEmmanuel Vadot		reg = <0x08>;
913*ae5de77eSEmmanuel Vadot
914*ae5de77eSEmmanuel Vadot		clocks = <&rpmhcc RPMH_RF_CLK5>;
915*ae5de77eSEmmanuel Vadot
916*ae5de77eSEmmanuel Vadot		vdd-supply = <&vreg_rtmr2_1p15>;
917*ae5de77eSEmmanuel Vadot		vdd33-supply = <&vreg_rtmr2_3p3>;
918*ae5de77eSEmmanuel Vadot		vdd33-cap-supply = <&vreg_rtmr2_3p3>;
919*ae5de77eSEmmanuel Vadot		vddar-supply = <&vreg_rtmr2_1p15>;
920*ae5de77eSEmmanuel Vadot		vddat-supply = <&vreg_rtmr2_1p15>;
921*ae5de77eSEmmanuel Vadot		vddio-supply = <&vreg_rtmr2_1p8>;
922*ae5de77eSEmmanuel Vadot
923*ae5de77eSEmmanuel Vadot		reset-gpios = <&tlmm 185 GPIO_ACTIVE_LOW>;
924*ae5de77eSEmmanuel Vadot
925*ae5de77eSEmmanuel Vadot		pinctrl-0 = <&rtmr2_default>;
926*ae5de77eSEmmanuel Vadot		pinctrl-names = "default";
927*ae5de77eSEmmanuel Vadot
928*ae5de77eSEmmanuel Vadot		orientation-switch;
929*ae5de77eSEmmanuel Vadot		retimer-switch;
930*ae5de77eSEmmanuel Vadot
931*ae5de77eSEmmanuel Vadot		ports {
932*ae5de77eSEmmanuel Vadot			#address-cells = <1>;
933*ae5de77eSEmmanuel Vadot			#size-cells = <0>;
934*ae5de77eSEmmanuel Vadot
935*ae5de77eSEmmanuel Vadot			port@0 {
936*ae5de77eSEmmanuel Vadot				reg = <0>;
937*ae5de77eSEmmanuel Vadot
938*ae5de77eSEmmanuel Vadot				retimer_ss2_ss_out: endpoint {
939*ae5de77eSEmmanuel Vadot					remote-endpoint = <&pmic_glink_ss2_ss_in>;
940*ae5de77eSEmmanuel Vadot				};
941*ae5de77eSEmmanuel Vadot			};
942*ae5de77eSEmmanuel Vadot
943*ae5de77eSEmmanuel Vadot			port@1 {
944*ae5de77eSEmmanuel Vadot				reg = <1>;
945*ae5de77eSEmmanuel Vadot
946*ae5de77eSEmmanuel Vadot				retimer_ss2_ss_in: endpoint {
947*ae5de77eSEmmanuel Vadot					remote-endpoint = <&usb_1_ss2_qmpphy_out>;
948*ae5de77eSEmmanuel Vadot				};
949*ae5de77eSEmmanuel Vadot			};
950*ae5de77eSEmmanuel Vadot
951*ae5de77eSEmmanuel Vadot			port@2 {
952*ae5de77eSEmmanuel Vadot				reg = <2>;
953*ae5de77eSEmmanuel Vadot
954*ae5de77eSEmmanuel Vadot				retimer_ss2_con_sbu_out: endpoint {
955*ae5de77eSEmmanuel Vadot					remote-endpoint = <&pmic_glink_ss2_con_sbu_in>;
956*ae5de77eSEmmanuel Vadot				};
957*ae5de77eSEmmanuel Vadot			};
958*ae5de77eSEmmanuel Vadot		};
959*ae5de77eSEmmanuel Vadot	};
960*ae5de77eSEmmanuel Vadot};
961*ae5de77eSEmmanuel Vadot
962*ae5de77eSEmmanuel Vadot&i2c3 {
963*ae5de77eSEmmanuel Vadot	clock-frequency = <400000>;
964*ae5de77eSEmmanuel Vadot
965*ae5de77eSEmmanuel Vadot	status = "okay";
966*ae5de77eSEmmanuel Vadot
967*ae5de77eSEmmanuel Vadot	typec-mux@8 {
968*ae5de77eSEmmanuel Vadot		compatible = "parade,ps8830";
969*ae5de77eSEmmanuel Vadot		reg = <0x08>;
970*ae5de77eSEmmanuel Vadot
971*ae5de77eSEmmanuel Vadot		clocks = <&rpmhcc RPMH_RF_CLK3>;
972*ae5de77eSEmmanuel Vadot
973*ae5de77eSEmmanuel Vadot		vdd-supply = <&vreg_rtmr0_1p15>;
974*ae5de77eSEmmanuel Vadot		vdd33-supply = <&vreg_rtmr0_3p3>;
975*ae5de77eSEmmanuel Vadot		vdd33-cap-supply = <&vreg_rtmr0_3p3>;
976*ae5de77eSEmmanuel Vadot		vddar-supply = <&vreg_rtmr0_1p15>;
977*ae5de77eSEmmanuel Vadot		vddat-supply = <&vreg_rtmr0_1p15>;
978*ae5de77eSEmmanuel Vadot		vddio-supply = <&vreg_rtmr0_1p8>;
979*ae5de77eSEmmanuel Vadot
980*ae5de77eSEmmanuel Vadot		reset-gpios = <&pm8550_gpios 10 GPIO_ACTIVE_LOW>;
981*ae5de77eSEmmanuel Vadot
982*ae5de77eSEmmanuel Vadot		pinctrl-0 = <&rtmr0_default>;
983*ae5de77eSEmmanuel Vadot		pinctrl-names = "default";
984*ae5de77eSEmmanuel Vadot
985*ae5de77eSEmmanuel Vadot		retimer-switch;
986*ae5de77eSEmmanuel Vadot		orientation-switch;
987*ae5de77eSEmmanuel Vadot
988*ae5de77eSEmmanuel Vadot		ports {
989*ae5de77eSEmmanuel Vadot			#address-cells = <1>;
990*ae5de77eSEmmanuel Vadot			#size-cells = <0>;
991*ae5de77eSEmmanuel Vadot
992*ae5de77eSEmmanuel Vadot			port@0 {
993*ae5de77eSEmmanuel Vadot				reg = <0>;
994*ae5de77eSEmmanuel Vadot
995*ae5de77eSEmmanuel Vadot				retimer_ss0_ss_out: endpoint {
996*ae5de77eSEmmanuel Vadot					remote-endpoint = <&pmic_glink_ss0_ss_in>;
997*ae5de77eSEmmanuel Vadot				};
998*ae5de77eSEmmanuel Vadot			};
999*ae5de77eSEmmanuel Vadot
1000*ae5de77eSEmmanuel Vadot			port@1 {
1001*ae5de77eSEmmanuel Vadot				reg = <1>;
1002*ae5de77eSEmmanuel Vadot
1003*ae5de77eSEmmanuel Vadot				retimer_ss0_ss_in: endpoint {
1004*ae5de77eSEmmanuel Vadot					remote-endpoint = <&usb_1_ss0_qmpphy_out>;
1005*ae5de77eSEmmanuel Vadot				};
1006*ae5de77eSEmmanuel Vadot			};
1007*ae5de77eSEmmanuel Vadot
1008*ae5de77eSEmmanuel Vadot			port@2 {
1009*ae5de77eSEmmanuel Vadot				reg = <2>;
1010*ae5de77eSEmmanuel Vadot
1011*ae5de77eSEmmanuel Vadot				retimer_ss0_con_sbu_out: endpoint {
1012*ae5de77eSEmmanuel Vadot					remote-endpoint = <&pmic_glink_ss0_con_sbu_in>;
1013*ae5de77eSEmmanuel Vadot				};
1014*ae5de77eSEmmanuel Vadot			};
1015*ae5de77eSEmmanuel Vadot		};
1016*ae5de77eSEmmanuel Vadot	};
1017*ae5de77eSEmmanuel Vadot};
1018*ae5de77eSEmmanuel Vadot
1019*ae5de77eSEmmanuel Vadot&i2c7 {
1020*ae5de77eSEmmanuel Vadot	clock-frequency = <400000>;
1021*ae5de77eSEmmanuel Vadot
1022*ae5de77eSEmmanuel Vadot	status = "okay";
1023*ae5de77eSEmmanuel Vadot
1024*ae5de77eSEmmanuel Vadot	typec-mux@8 {
1025*ae5de77eSEmmanuel Vadot		compatible = "parade,ps8830";
1026*ae5de77eSEmmanuel Vadot		reg = <0x8>;
1027*ae5de77eSEmmanuel Vadot
1028*ae5de77eSEmmanuel Vadot		clocks = <&rpmhcc RPMH_RF_CLK4>;
1029*ae5de77eSEmmanuel Vadot
1030*ae5de77eSEmmanuel Vadot		vdd-supply = <&vreg_rtmr1_1p15>;
1031*ae5de77eSEmmanuel Vadot		vdd33-supply = <&vreg_rtmr1_3p3>;
1032*ae5de77eSEmmanuel Vadot		vdd33-cap-supply = <&vreg_rtmr1_3p3>;
1033*ae5de77eSEmmanuel Vadot		vddar-supply = <&vreg_rtmr1_1p15>;
1034*ae5de77eSEmmanuel Vadot		vddat-supply = <&vreg_rtmr1_1p15>;
1035*ae5de77eSEmmanuel Vadot		vddio-supply = <&vreg_rtmr1_1p8>;
1036*ae5de77eSEmmanuel Vadot
1037*ae5de77eSEmmanuel Vadot		reset-gpios = <&tlmm 176 GPIO_ACTIVE_LOW>;
1038*ae5de77eSEmmanuel Vadot
1039*ae5de77eSEmmanuel Vadot		pinctrl-0 = <&rtmr1_default>;
1040*ae5de77eSEmmanuel Vadot		pinctrl-names = "default";
1041*ae5de77eSEmmanuel Vadot
1042*ae5de77eSEmmanuel Vadot		retimer-switch;
1043*ae5de77eSEmmanuel Vadot		orientation-switch;
1044*ae5de77eSEmmanuel Vadot
1045*ae5de77eSEmmanuel Vadot		ports {
1046*ae5de77eSEmmanuel Vadot			#address-cells = <1>;
1047*ae5de77eSEmmanuel Vadot			#size-cells = <0>;
1048*ae5de77eSEmmanuel Vadot
1049*ae5de77eSEmmanuel Vadot			port@0 {
1050*ae5de77eSEmmanuel Vadot				reg = <0>;
1051*ae5de77eSEmmanuel Vadot
1052*ae5de77eSEmmanuel Vadot				retimer_ss1_ss_out: endpoint {
1053*ae5de77eSEmmanuel Vadot					remote-endpoint = <&pmic_glink_ss1_ss_in>;
1054*ae5de77eSEmmanuel Vadot				};
1055*ae5de77eSEmmanuel Vadot			};
1056*ae5de77eSEmmanuel Vadot
1057*ae5de77eSEmmanuel Vadot			port@1 {
1058*ae5de77eSEmmanuel Vadot				reg = <1>;
1059*ae5de77eSEmmanuel Vadot
1060*ae5de77eSEmmanuel Vadot				retimer_ss1_ss_in: endpoint {
1061*ae5de77eSEmmanuel Vadot					remote-endpoint = <&usb_1_ss1_qmpphy_out>;
1062*ae5de77eSEmmanuel Vadot				};
1063*ae5de77eSEmmanuel Vadot			};
1064*ae5de77eSEmmanuel Vadot
1065*ae5de77eSEmmanuel Vadot			port@2 {
1066*ae5de77eSEmmanuel Vadot				reg = <2>;
1067*ae5de77eSEmmanuel Vadot
1068*ae5de77eSEmmanuel Vadot				retimer_ss1_con_sbu_out: endpoint {
1069*ae5de77eSEmmanuel Vadot					remote-endpoint = <&pmic_glink_ss1_con_sbu_in>;
1070*ae5de77eSEmmanuel Vadot				};
1071*ae5de77eSEmmanuel Vadot			};
1072*ae5de77eSEmmanuel Vadot		};
1073*ae5de77eSEmmanuel Vadot	};
1074*ae5de77eSEmmanuel Vadot};
1075*ae5de77eSEmmanuel Vadot
1076*ae5de77eSEmmanuel Vadot&i2c8 {
1077*ae5de77eSEmmanuel Vadot	clock-frequency = <400000>;
1078*ae5de77eSEmmanuel Vadot
1079*ae5de77eSEmmanuel Vadot	status = "okay";
1080*ae5de77eSEmmanuel Vadot
1081*ae5de77eSEmmanuel Vadot	touchscreen@10 {
1082*ae5de77eSEmmanuel Vadot		compatible = "hid-over-i2c";
1083*ae5de77eSEmmanuel Vadot		reg = <0x10>;
1084*ae5de77eSEmmanuel Vadot
1085*ae5de77eSEmmanuel Vadot		hid-descr-addr = <0x1>;
1086*ae5de77eSEmmanuel Vadot		interrupts-extended = <&tlmm 51 IRQ_TYPE_LEVEL_LOW>;
1087*ae5de77eSEmmanuel Vadot
1088*ae5de77eSEmmanuel Vadot		vdd-supply = <&vreg_misc_3p3>;
1089*ae5de77eSEmmanuel Vadot		vddl-supply = <&vreg_l15b_1p8>;
1090*ae5de77eSEmmanuel Vadot
1091*ae5de77eSEmmanuel Vadot		pinctrl-0 = <&ts0_default>;
1092*ae5de77eSEmmanuel Vadot		pinctrl-names = "default";
1093*ae5de77eSEmmanuel Vadot	};
1094*ae5de77eSEmmanuel Vadot};
1095*ae5de77eSEmmanuel Vadot
1096*ae5de77eSEmmanuel Vadot&lpass_tlmm {
1097*ae5de77eSEmmanuel Vadot	spkr_01_sd_n_active: spkr-01-sd-n-active-state {
1098*ae5de77eSEmmanuel Vadot		pins = "gpio12";
1099*ae5de77eSEmmanuel Vadot		function = "gpio";
1100*ae5de77eSEmmanuel Vadot		drive-strength = <16>;
1101*ae5de77eSEmmanuel Vadot		bias-disable;
1102*ae5de77eSEmmanuel Vadot		output-low;
1103*ae5de77eSEmmanuel Vadot	};
1104*ae5de77eSEmmanuel Vadot
1105*ae5de77eSEmmanuel Vadot	spkr_23_sd_n_active: spkr-23-sd-n-active-state {
1106*ae5de77eSEmmanuel Vadot		pins = "gpio13";
1107*ae5de77eSEmmanuel Vadot		function = "gpio";
1108*ae5de77eSEmmanuel Vadot		drive-strength = <16>;
1109*ae5de77eSEmmanuel Vadot		bias-disable;
1110*ae5de77eSEmmanuel Vadot		output-low;
1111*ae5de77eSEmmanuel Vadot	};
1112*ae5de77eSEmmanuel Vadot};
1113*ae5de77eSEmmanuel Vadot
1114*ae5de77eSEmmanuel Vadot&lpass_vamacro {
1115*ae5de77eSEmmanuel Vadot	pinctrl-0 = <&dmic01_default>, <&dmic23_default>;
1116*ae5de77eSEmmanuel Vadot	pinctrl-names = "default";
1117*ae5de77eSEmmanuel Vadot
1118*ae5de77eSEmmanuel Vadot	vdd-micb-supply = <&vreg_l1b_1p8>;
1119*ae5de77eSEmmanuel Vadot	qcom,dmic-sample-rate = <4800000>;
1120*ae5de77eSEmmanuel Vadot};
1121*ae5de77eSEmmanuel Vadot
1122*ae5de77eSEmmanuel Vadot&mdss {
1123*ae5de77eSEmmanuel Vadot	status = "okay";
1124*ae5de77eSEmmanuel Vadot};
1125*ae5de77eSEmmanuel Vadot
1126*ae5de77eSEmmanuel Vadot&mdss_dp0 {
1127*ae5de77eSEmmanuel Vadot	status = "okay";
1128*ae5de77eSEmmanuel Vadot};
1129*ae5de77eSEmmanuel Vadot
1130*ae5de77eSEmmanuel Vadot&mdss_dp0_out {
1131*ae5de77eSEmmanuel Vadot	data-lanes = <0 1>;
1132*ae5de77eSEmmanuel Vadot};
1133*ae5de77eSEmmanuel Vadot
1134*ae5de77eSEmmanuel Vadot&mdss_dp1 {
1135*ae5de77eSEmmanuel Vadot	status = "okay";
1136*ae5de77eSEmmanuel Vadot};
1137*ae5de77eSEmmanuel Vadot
1138*ae5de77eSEmmanuel Vadot&mdss_dp1_out {
1139*ae5de77eSEmmanuel Vadot	data-lanes = <0 1>;
1140*ae5de77eSEmmanuel Vadot};
1141*ae5de77eSEmmanuel Vadot
1142*ae5de77eSEmmanuel Vadot&mdss_dp2 {
1143*ae5de77eSEmmanuel Vadot	status = "okay";
1144*ae5de77eSEmmanuel Vadot};
1145*ae5de77eSEmmanuel Vadot
1146*ae5de77eSEmmanuel Vadot&mdss_dp2_out {
1147*ae5de77eSEmmanuel Vadot	data-lanes = <0 1>;
1148*ae5de77eSEmmanuel Vadot};
1149*ae5de77eSEmmanuel Vadot
1150*ae5de77eSEmmanuel Vadot&mdss_dp3 {
1151*ae5de77eSEmmanuel Vadot	/delete-property/ #sound-dai-cells;
1152*ae5de77eSEmmanuel Vadot
1153*ae5de77eSEmmanuel Vadot	status = "okay";
1154*ae5de77eSEmmanuel Vadot
1155*ae5de77eSEmmanuel Vadot	aux-bus {
1156*ae5de77eSEmmanuel Vadot		panel {
1157*ae5de77eSEmmanuel Vadot			compatible = "samsung,atna45af01", "samsung,atna33xc20";
1158*ae5de77eSEmmanuel Vadot			enable-gpios = <&pmc8380_3_gpios 4 GPIO_ACTIVE_HIGH>;
1159*ae5de77eSEmmanuel Vadot			power-supply = <&vreg_edp_3p3>;
1160*ae5de77eSEmmanuel Vadot
1161*ae5de77eSEmmanuel Vadot			pinctrl-0 = <&edp_bl_en>;
1162*ae5de77eSEmmanuel Vadot			pinctrl-names = "default";
1163*ae5de77eSEmmanuel Vadot
1164*ae5de77eSEmmanuel Vadot			port {
1165*ae5de77eSEmmanuel Vadot				edp_panel_in: endpoint {
1166*ae5de77eSEmmanuel Vadot					remote-endpoint = <&mdss_dp3_out>;
1167*ae5de77eSEmmanuel Vadot				};
1168*ae5de77eSEmmanuel Vadot			};
1169*ae5de77eSEmmanuel Vadot		};
1170*ae5de77eSEmmanuel Vadot	};
1171*ae5de77eSEmmanuel Vadot
1172*ae5de77eSEmmanuel Vadot	ports {
1173*ae5de77eSEmmanuel Vadot		port@1 {
1174*ae5de77eSEmmanuel Vadot			reg = <1>;
1175*ae5de77eSEmmanuel Vadot			mdss_dp3_out: endpoint {
1176*ae5de77eSEmmanuel Vadot				data-lanes = <0 1 2 3>;
1177*ae5de77eSEmmanuel Vadot				link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
1178*ae5de77eSEmmanuel Vadot
1179*ae5de77eSEmmanuel Vadot				remote-endpoint = <&edp_panel_in>;
1180*ae5de77eSEmmanuel Vadot			};
1181*ae5de77eSEmmanuel Vadot		};
1182*ae5de77eSEmmanuel Vadot	};
1183*ae5de77eSEmmanuel Vadot};
1184*ae5de77eSEmmanuel Vadot
1185*ae5de77eSEmmanuel Vadot&mdss_dp3_phy {
1186*ae5de77eSEmmanuel Vadot	vdda-phy-supply = <&vreg_l3j_0p8>;
1187*ae5de77eSEmmanuel Vadot	vdda-pll-supply = <&vreg_l2j_1p2>;
1188*ae5de77eSEmmanuel Vadot
1189*ae5de77eSEmmanuel Vadot	status = "okay";
1190*ae5de77eSEmmanuel Vadot};
1191*ae5de77eSEmmanuel Vadot
1192*ae5de77eSEmmanuel Vadot&pcie4 {
1193*ae5de77eSEmmanuel Vadot	perst-gpios = <&tlmm 146 GPIO_ACTIVE_LOW>;
1194*ae5de77eSEmmanuel Vadot	wake-gpios = <&tlmm 148 GPIO_ACTIVE_LOW>;
1195*ae5de77eSEmmanuel Vadot
1196*ae5de77eSEmmanuel Vadot	pinctrl-0 = <&pcie4_default>;
1197*ae5de77eSEmmanuel Vadot	pinctrl-names = "default";
1198*ae5de77eSEmmanuel Vadot
1199*ae5de77eSEmmanuel Vadot	status = "okay";
1200*ae5de77eSEmmanuel Vadot};
1201*ae5de77eSEmmanuel Vadot
1202*ae5de77eSEmmanuel Vadot&pcie4_phy {
1203*ae5de77eSEmmanuel Vadot	vdda-phy-supply = <&vreg_l3i_0p8>;
1204*ae5de77eSEmmanuel Vadot	vdda-pll-supply = <&vreg_l3e_1p2>;
1205*ae5de77eSEmmanuel Vadot
1206*ae5de77eSEmmanuel Vadot	status = "okay";
1207*ae5de77eSEmmanuel Vadot};
1208*ae5de77eSEmmanuel Vadot
1209*ae5de77eSEmmanuel Vadot&pcie5 {
1210*ae5de77eSEmmanuel Vadot	perst-gpios = <&tlmm 149 GPIO_ACTIVE_LOW>;
1211*ae5de77eSEmmanuel Vadot	wake-gpios = <&tlmm 151 GPIO_ACTIVE_LOW>;
1212*ae5de77eSEmmanuel Vadot
1213*ae5de77eSEmmanuel Vadot	vddpe-3v3-supply = <&vreg_wwan>;
1214*ae5de77eSEmmanuel Vadot
1215*ae5de77eSEmmanuel Vadot	pinctrl-0 = <&pcie5_default>;
1216*ae5de77eSEmmanuel Vadot	pinctrl-names = "default";
1217*ae5de77eSEmmanuel Vadot
1218*ae5de77eSEmmanuel Vadot	status = "okay";
1219*ae5de77eSEmmanuel Vadot};
1220*ae5de77eSEmmanuel Vadot
1221*ae5de77eSEmmanuel Vadot&pcie5_phy {
1222*ae5de77eSEmmanuel Vadot	vdda-phy-supply = <&vreg_l3i_0p8>;
1223*ae5de77eSEmmanuel Vadot	vdda-pll-supply = <&vreg_l3e_1p2>;
1224*ae5de77eSEmmanuel Vadot
1225*ae5de77eSEmmanuel Vadot	status = "okay";
1226*ae5de77eSEmmanuel Vadot};
1227*ae5de77eSEmmanuel Vadot
1228*ae5de77eSEmmanuel Vadot&pcie6a {
1229*ae5de77eSEmmanuel Vadot	perst-gpios = <&tlmm 152 GPIO_ACTIVE_LOW>;
1230*ae5de77eSEmmanuel Vadot	wake-gpios = <&tlmm 154 GPIO_ACTIVE_LOW>;
1231*ae5de77eSEmmanuel Vadot
1232*ae5de77eSEmmanuel Vadot	vddpe-3v3-supply = <&vreg_nvme>;
1233*ae5de77eSEmmanuel Vadot
1234*ae5de77eSEmmanuel Vadot	pinctrl-names = "default";
1235*ae5de77eSEmmanuel Vadot	pinctrl-0 = <&pcie6a_default>;
1236*ae5de77eSEmmanuel Vadot
1237*ae5de77eSEmmanuel Vadot	status = "okay";
1238*ae5de77eSEmmanuel Vadot};
1239*ae5de77eSEmmanuel Vadot
1240*ae5de77eSEmmanuel Vadot&pcie6a_phy {
1241*ae5de77eSEmmanuel Vadot	vdda-phy-supply = <&vreg_l1d_0p8>;
1242*ae5de77eSEmmanuel Vadot	vdda-pll-supply = <&vreg_l2j_1p2>;
1243*ae5de77eSEmmanuel Vadot
1244*ae5de77eSEmmanuel Vadot	status = "okay";
1245*ae5de77eSEmmanuel Vadot};
1246*ae5de77eSEmmanuel Vadot
1247*ae5de77eSEmmanuel Vadot&pm8550_gpios {
1248*ae5de77eSEmmanuel Vadot	kypd_vol_up_n: kypd-vol-up-n-state {
1249*ae5de77eSEmmanuel Vadot		pins = "gpio6";
1250*ae5de77eSEmmanuel Vadot		function = "normal";
1251*ae5de77eSEmmanuel Vadot		power-source = <1>; /* 1.8 V */
1252*ae5de77eSEmmanuel Vadot		bias-pull-up;
1253*ae5de77eSEmmanuel Vadot		input-enable;
1254*ae5de77eSEmmanuel Vadot	};
1255*ae5de77eSEmmanuel Vadot
1256*ae5de77eSEmmanuel Vadot	rtmr0_default: rtmr0-reset-n-active-state {
1257*ae5de77eSEmmanuel Vadot		pins = "gpio10";
1258*ae5de77eSEmmanuel Vadot		function = "normal";
1259*ae5de77eSEmmanuel Vadot		power-source = <1>; /* 1.8V */
1260*ae5de77eSEmmanuel Vadot		bias-disable;
1261*ae5de77eSEmmanuel Vadot		input-disable;
1262*ae5de77eSEmmanuel Vadot		output-enable;
1263*ae5de77eSEmmanuel Vadot	};
1264*ae5de77eSEmmanuel Vadot
1265*ae5de77eSEmmanuel Vadot	usb0_3p3_reg_en: usb0-3p3-reg-en-state {
1266*ae5de77eSEmmanuel Vadot		pins = "gpio11";
1267*ae5de77eSEmmanuel Vadot		function = "normal";
1268*ae5de77eSEmmanuel Vadot		power-source = <1>; /* 1.8V */
1269*ae5de77eSEmmanuel Vadot		bias-disable;
1270*ae5de77eSEmmanuel Vadot		input-disable;
1271*ae5de77eSEmmanuel Vadot		output-enable;
1272*ae5de77eSEmmanuel Vadot	};
1273*ae5de77eSEmmanuel Vadot};
1274*ae5de77eSEmmanuel Vadot
1275*ae5de77eSEmmanuel Vadot&pm8550ve_8_gpios {
1276*ae5de77eSEmmanuel Vadot	misc_3p3_reg_en: misc-3p3-reg-en-state {
1277*ae5de77eSEmmanuel Vadot		pins = "gpio6";
1278*ae5de77eSEmmanuel Vadot		function = "normal";
1279*ae5de77eSEmmanuel Vadot		bias-disable;
1280*ae5de77eSEmmanuel Vadot		input-disable;
1281*ae5de77eSEmmanuel Vadot		output-enable;
1282*ae5de77eSEmmanuel Vadot		drive-push-pull;
1283*ae5de77eSEmmanuel Vadot		power-source = <1>; /* 1.8 V */
1284*ae5de77eSEmmanuel Vadot		qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
1285*ae5de77eSEmmanuel Vadot	};
1286*ae5de77eSEmmanuel Vadot};
1287*ae5de77eSEmmanuel Vadot
1288*ae5de77eSEmmanuel Vadot&pm8550ve_9_gpios {
1289*ae5de77eSEmmanuel Vadot	usb0_1p8_reg_en: usb0-1p8-reg-en-state {
1290*ae5de77eSEmmanuel Vadot		pins = "gpio8";
1291*ae5de77eSEmmanuel Vadot		function = "normal";
1292*ae5de77eSEmmanuel Vadot		power-source = <1>; /* 1.8V */
1293*ae5de77eSEmmanuel Vadot		bias-disable;
1294*ae5de77eSEmmanuel Vadot		input-disable;
1295*ae5de77eSEmmanuel Vadot		output-enable;
1296*ae5de77eSEmmanuel Vadot	};
1297*ae5de77eSEmmanuel Vadot};
1298*ae5de77eSEmmanuel Vadot
1299*ae5de77eSEmmanuel Vadot&pmc8380_3_gpios {
1300*ae5de77eSEmmanuel Vadot	edp_bl_en: edp-bl-en-state {
1301*ae5de77eSEmmanuel Vadot		pins = "gpio4";
1302*ae5de77eSEmmanuel Vadot		function = "normal";
1303*ae5de77eSEmmanuel Vadot		power-source = <1>; /* 1.8V */
1304*ae5de77eSEmmanuel Vadot		input-disable;
1305*ae5de77eSEmmanuel Vadot		output-enable;
1306*ae5de77eSEmmanuel Vadot	};
1307*ae5de77eSEmmanuel Vadot};
1308*ae5de77eSEmmanuel Vadot
1309*ae5de77eSEmmanuel Vadot&pmc8380_5_gpios {
1310*ae5de77eSEmmanuel Vadot	usb0_pwr_1p15_reg_en: usb0-pwr-1p15-reg-en-state {
1311*ae5de77eSEmmanuel Vadot		pins = "gpio8";
1312*ae5de77eSEmmanuel Vadot		function = "normal";
1313*ae5de77eSEmmanuel Vadot		power-source = <1>; /* 1.8V */
1314*ae5de77eSEmmanuel Vadot		bias-disable;
1315*ae5de77eSEmmanuel Vadot		input-disable;
1316*ae5de77eSEmmanuel Vadot		output-enable;
1317*ae5de77eSEmmanuel Vadot	};
1318*ae5de77eSEmmanuel Vadot};
1319*ae5de77eSEmmanuel Vadot
1320*ae5de77eSEmmanuel Vadot&qupv3_0 {
1321*ae5de77eSEmmanuel Vadot	status = "okay";
1322*ae5de77eSEmmanuel Vadot};
1323*ae5de77eSEmmanuel Vadot
1324*ae5de77eSEmmanuel Vadot&qupv3_1 {
1325*ae5de77eSEmmanuel Vadot	status = "okay";
1326*ae5de77eSEmmanuel Vadot};
1327*ae5de77eSEmmanuel Vadot
1328*ae5de77eSEmmanuel Vadot&qupv3_2 {
1329*ae5de77eSEmmanuel Vadot	status = "okay";
1330*ae5de77eSEmmanuel Vadot};
1331*ae5de77eSEmmanuel Vadot
1332*ae5de77eSEmmanuel Vadot&remoteproc_adsp {
1333*ae5de77eSEmmanuel Vadot	firmware-name = "qcom/x1e80100/adsp.mbn",
1334*ae5de77eSEmmanuel Vadot			"qcom/x1e80100/adsp_dtb.mbn";
1335*ae5de77eSEmmanuel Vadot
1336*ae5de77eSEmmanuel Vadot	status = "okay";
1337*ae5de77eSEmmanuel Vadot};
1338*ae5de77eSEmmanuel Vadot
1339*ae5de77eSEmmanuel Vadot&remoteproc_cdsp {
1340*ae5de77eSEmmanuel Vadot	firmware-name = "qcom/x1e80100/cdsp.mbn",
1341*ae5de77eSEmmanuel Vadot			"qcom/x1e80100/cdsp_dtb.mbn";
1342*ae5de77eSEmmanuel Vadot
1343*ae5de77eSEmmanuel Vadot	status = "okay";
1344*ae5de77eSEmmanuel Vadot};
1345*ae5de77eSEmmanuel Vadot
1346*ae5de77eSEmmanuel Vadot&smb2360_0 {
1347*ae5de77eSEmmanuel Vadot	status = "okay";
1348*ae5de77eSEmmanuel Vadot};
1349*ae5de77eSEmmanuel Vadot
1350*ae5de77eSEmmanuel Vadot&smb2360_0_eusb2_repeater {
1351*ae5de77eSEmmanuel Vadot	vdd18-supply = <&vreg_l3d_1p8>;
1352*ae5de77eSEmmanuel Vadot	vdd3-supply = <&vreg_l2b_3p0>;
1353*ae5de77eSEmmanuel Vadot};
1354*ae5de77eSEmmanuel Vadot
1355*ae5de77eSEmmanuel Vadot&smb2360_1 {
1356*ae5de77eSEmmanuel Vadot	status = "okay";
1357*ae5de77eSEmmanuel Vadot};
1358*ae5de77eSEmmanuel Vadot
1359*ae5de77eSEmmanuel Vadot&smb2360_1_eusb2_repeater {
1360*ae5de77eSEmmanuel Vadot	vdd18-supply = <&vreg_l3d_1p8>;
1361*ae5de77eSEmmanuel Vadot	vdd3-supply = <&vreg_l14b_3p0>;
1362*ae5de77eSEmmanuel Vadot};
1363*ae5de77eSEmmanuel Vadot
1364*ae5de77eSEmmanuel Vadot&smb2360_2 {
1365*ae5de77eSEmmanuel Vadot	status = "okay";
1366*ae5de77eSEmmanuel Vadot};
1367*ae5de77eSEmmanuel Vadot
1368*ae5de77eSEmmanuel Vadot&smb2360_2_eusb2_repeater {
1369*ae5de77eSEmmanuel Vadot	vdd18-supply = <&vreg_l3d_1p8>;
1370*ae5de77eSEmmanuel Vadot	vdd3-supply = <&vreg_l8b_3p0>;
1371*ae5de77eSEmmanuel Vadot};
1372*ae5de77eSEmmanuel Vadot
1373*ae5de77eSEmmanuel Vadot&swr0 {
1374*ae5de77eSEmmanuel Vadot	status = "okay";
1375*ae5de77eSEmmanuel Vadot
1376*ae5de77eSEmmanuel Vadot	pinctrl-0 = <&wsa_swr_active>, <&spkr_01_sd_n_active>;
1377*ae5de77eSEmmanuel Vadot	pinctrl-names = "default";
1378*ae5de77eSEmmanuel Vadot
1379*ae5de77eSEmmanuel Vadot	/* WSA8845, Left Woofer */
1380*ae5de77eSEmmanuel Vadot	left_woofer: speaker@0,0 {
1381*ae5de77eSEmmanuel Vadot		compatible = "sdw20217020400";
1382*ae5de77eSEmmanuel Vadot		reg = <0 0>;
1383*ae5de77eSEmmanuel Vadot		reset-gpios = <&lpass_tlmm 12 GPIO_ACTIVE_LOW>;
1384*ae5de77eSEmmanuel Vadot		#sound-dai-cells = <0>;
1385*ae5de77eSEmmanuel Vadot		sound-name-prefix = "WooferLeft";
1386*ae5de77eSEmmanuel Vadot		vdd-1p8-supply = <&vreg_l15b_1p8>;
1387*ae5de77eSEmmanuel Vadot		vdd-io-supply = <&vreg_l12b_1p2>;
1388*ae5de77eSEmmanuel Vadot		qcom,port-mapping = <1 2 3 7 10 13>;
1389*ae5de77eSEmmanuel Vadot	};
1390*ae5de77eSEmmanuel Vadot
1391*ae5de77eSEmmanuel Vadot	/* WSA8845, Left Tweeter */
1392*ae5de77eSEmmanuel Vadot	left_tweeter: speaker@0,1 {
1393*ae5de77eSEmmanuel Vadot		compatible = "sdw20217020400";
1394*ae5de77eSEmmanuel Vadot		reg = <0 1>;
1395*ae5de77eSEmmanuel Vadot		reset-gpios = <&lpass_tlmm 12 GPIO_ACTIVE_LOW>;
1396*ae5de77eSEmmanuel Vadot		#sound-dai-cells = <0>;
1397*ae5de77eSEmmanuel Vadot		sound-name-prefix = "TweeterLeft";
1398*ae5de77eSEmmanuel Vadot		vdd-1p8-supply = <&vreg_l15b_1p8>;
1399*ae5de77eSEmmanuel Vadot		vdd-io-supply = <&vreg_l12b_1p2>;
1400*ae5de77eSEmmanuel Vadot		qcom,port-mapping = <4 5 6 7 11 13>;
1401*ae5de77eSEmmanuel Vadot	};
1402*ae5de77eSEmmanuel Vadot};
1403*ae5de77eSEmmanuel Vadot
1404*ae5de77eSEmmanuel Vadot&swr1 {
1405*ae5de77eSEmmanuel Vadot	status = "okay";
1406*ae5de77eSEmmanuel Vadot
1407*ae5de77eSEmmanuel Vadot	/* WCD9385 RX */
1408*ae5de77eSEmmanuel Vadot	wcd_rx: codec@0,4 {
1409*ae5de77eSEmmanuel Vadot		compatible = "sdw20217010d00";
1410*ae5de77eSEmmanuel Vadot		reg = <0 4>;
1411*ae5de77eSEmmanuel Vadot		qcom,rx-port-mapping = <1 2 3 4 5>;
1412*ae5de77eSEmmanuel Vadot	};
1413*ae5de77eSEmmanuel Vadot};
1414*ae5de77eSEmmanuel Vadot
1415*ae5de77eSEmmanuel Vadot&swr2 {
1416*ae5de77eSEmmanuel Vadot	status = "okay";
1417*ae5de77eSEmmanuel Vadot
1418*ae5de77eSEmmanuel Vadot	/* WCD9385 TX */
1419*ae5de77eSEmmanuel Vadot	wcd_tx: codec@0,3 {
1420*ae5de77eSEmmanuel Vadot		compatible = "sdw20217010d00";
1421*ae5de77eSEmmanuel Vadot		reg = <0 3>;
1422*ae5de77eSEmmanuel Vadot		qcom,tx-port-mapping = <2 2 3 4>;
1423*ae5de77eSEmmanuel Vadot	};
1424*ae5de77eSEmmanuel Vadot};
1425*ae5de77eSEmmanuel Vadot
1426*ae5de77eSEmmanuel Vadot&swr3 {
1427*ae5de77eSEmmanuel Vadot	status = "okay";
1428*ae5de77eSEmmanuel Vadot
1429*ae5de77eSEmmanuel Vadot	pinctrl-0 = <&wsa2_swr_active>, <&spkr_23_sd_n_active>;
1430*ae5de77eSEmmanuel Vadot	pinctrl-names = "default";
1431*ae5de77eSEmmanuel Vadot
1432*ae5de77eSEmmanuel Vadot	/* WSA8845, Right Woofer */
1433*ae5de77eSEmmanuel Vadot	right_woofer: speaker@0,0 {
1434*ae5de77eSEmmanuel Vadot		compatible = "sdw20217020400";
1435*ae5de77eSEmmanuel Vadot		reg = <0 0>;
1436*ae5de77eSEmmanuel Vadot		reset-gpios = <&lpass_tlmm 13 GPIO_ACTIVE_LOW>;
1437*ae5de77eSEmmanuel Vadot		#sound-dai-cells = <0>;
1438*ae5de77eSEmmanuel Vadot		sound-name-prefix = "WooferRight";
1439*ae5de77eSEmmanuel Vadot		vdd-1p8-supply = <&vreg_l15b_1p8>;
1440*ae5de77eSEmmanuel Vadot		vdd-io-supply = <&vreg_l12b_1p2>;
1441*ae5de77eSEmmanuel Vadot		qcom,port-mapping = <1 2 3 7 10 13>;
1442*ae5de77eSEmmanuel Vadot	};
1443*ae5de77eSEmmanuel Vadot
1444*ae5de77eSEmmanuel Vadot	/* WSA8845, Right Tweeter */
1445*ae5de77eSEmmanuel Vadot	right_tweeter: speaker@0,1 {
1446*ae5de77eSEmmanuel Vadot		compatible = "sdw20217020400";
1447*ae5de77eSEmmanuel Vadot		reg = <0 1>;
1448*ae5de77eSEmmanuel Vadot		reset-gpios = <&lpass_tlmm 13 GPIO_ACTIVE_LOW>;
1449*ae5de77eSEmmanuel Vadot		#sound-dai-cells = <0>;
1450*ae5de77eSEmmanuel Vadot		sound-name-prefix = "TweeterRight";
1451*ae5de77eSEmmanuel Vadot		vdd-1p8-supply = <&vreg_l15b_1p8>;
1452*ae5de77eSEmmanuel Vadot		vdd-io-supply = <&vreg_l12b_1p2>;
1453*ae5de77eSEmmanuel Vadot		qcom,port-mapping = <4 5 6 7 11 13>;
1454*ae5de77eSEmmanuel Vadot	};
1455*ae5de77eSEmmanuel Vadot};
1456*ae5de77eSEmmanuel Vadot
1457*ae5de77eSEmmanuel Vadot&tlmm {
1458*ae5de77eSEmmanuel Vadot	gpio-reserved-ranges = <34 2>, /* Unused */
1459*ae5de77eSEmmanuel Vadot			       <44 4>, /* SPI (TPM) */
1460*ae5de77eSEmmanuel Vadot			       <238 1>; /* UFS Reset */
1461*ae5de77eSEmmanuel Vadot
1462*ae5de77eSEmmanuel Vadot	edp_reg_en: edp-reg-en-state {
1463*ae5de77eSEmmanuel Vadot		pins = "gpio70";
1464*ae5de77eSEmmanuel Vadot		function = "gpio";
1465*ae5de77eSEmmanuel Vadot		drive-strength = <16>;
1466*ae5de77eSEmmanuel Vadot		bias-disable;
1467*ae5de77eSEmmanuel Vadot	};
1468*ae5de77eSEmmanuel Vadot
1469*ae5de77eSEmmanuel Vadot	hall_int_n_default: hall-int-n-state {
1470*ae5de77eSEmmanuel Vadot		pins = "gpio92";
1471*ae5de77eSEmmanuel Vadot		function = "gpio";
1472*ae5de77eSEmmanuel Vadot		bias-disable;
1473*ae5de77eSEmmanuel Vadot	};
1474*ae5de77eSEmmanuel Vadot
1475*ae5de77eSEmmanuel Vadot	kybd_default: kybd-default-state {
1476*ae5de77eSEmmanuel Vadot		pins = "gpio67";
1477*ae5de77eSEmmanuel Vadot		function = "gpio";
1478*ae5de77eSEmmanuel Vadot		bias-disable;
1479*ae5de77eSEmmanuel Vadot	};
1480*ae5de77eSEmmanuel Vadot
1481*ae5de77eSEmmanuel Vadot	nvme_reg_en: nvme-reg-en-state {
1482*ae5de77eSEmmanuel Vadot		pins = "gpio18";
1483*ae5de77eSEmmanuel Vadot		function = "gpio";
1484*ae5de77eSEmmanuel Vadot		drive-strength = <2>;
1485*ae5de77eSEmmanuel Vadot		bias-disable;
1486*ae5de77eSEmmanuel Vadot	};
1487*ae5de77eSEmmanuel Vadot
1488*ae5de77eSEmmanuel Vadot	pcie4_default: pcie4-default-state {
1489*ae5de77eSEmmanuel Vadot		clkreq-n-pins {
1490*ae5de77eSEmmanuel Vadot			pins = "gpio147";
1491*ae5de77eSEmmanuel Vadot			function = "pcie4_clk";
1492*ae5de77eSEmmanuel Vadot			drive-strength = <2>;
1493*ae5de77eSEmmanuel Vadot			bias-pull-up;
1494*ae5de77eSEmmanuel Vadot		};
1495*ae5de77eSEmmanuel Vadot
1496*ae5de77eSEmmanuel Vadot		perst-n-pins {
1497*ae5de77eSEmmanuel Vadot			pins = "gpio146";
1498*ae5de77eSEmmanuel Vadot			function = "gpio";
1499*ae5de77eSEmmanuel Vadot			drive-strength = <2>;
1500*ae5de77eSEmmanuel Vadot			bias-disable;
1501*ae5de77eSEmmanuel Vadot		};
1502*ae5de77eSEmmanuel Vadot
1503*ae5de77eSEmmanuel Vadot		wake-n-pins {
1504*ae5de77eSEmmanuel Vadot			pins = "gpio148";
1505*ae5de77eSEmmanuel Vadot			function = "gpio";
1506*ae5de77eSEmmanuel Vadot			drive-strength = <2>;
1507*ae5de77eSEmmanuel Vadot			bias-pull-up;
1508*ae5de77eSEmmanuel Vadot		};
1509*ae5de77eSEmmanuel Vadot	};
1510*ae5de77eSEmmanuel Vadot
1511*ae5de77eSEmmanuel Vadot	pcie5_default: pcie5-default-state {
1512*ae5de77eSEmmanuel Vadot		clkreq-n-pins {
1513*ae5de77eSEmmanuel Vadot			pins = "gpio150";
1514*ae5de77eSEmmanuel Vadot			function = "pcie5_clk";
1515*ae5de77eSEmmanuel Vadot			drive-strength = <2>;
1516*ae5de77eSEmmanuel Vadot			bias-pull-up;
1517*ae5de77eSEmmanuel Vadot		};
1518*ae5de77eSEmmanuel Vadot
1519*ae5de77eSEmmanuel Vadot		perst-n-pins {
1520*ae5de77eSEmmanuel Vadot			pins = "gpio149";
1521*ae5de77eSEmmanuel Vadot			function = "gpio";
1522*ae5de77eSEmmanuel Vadot			drive-strength = <2>;
1523*ae5de77eSEmmanuel Vadot			bias-disable;
1524*ae5de77eSEmmanuel Vadot		};
1525*ae5de77eSEmmanuel Vadot
1526*ae5de77eSEmmanuel Vadot		wake-n-pins {
1527*ae5de77eSEmmanuel Vadot			pins = "gpio151";
1528*ae5de77eSEmmanuel Vadot			function = "gpio";
1529*ae5de77eSEmmanuel Vadot			drive-strength = <2>;
1530*ae5de77eSEmmanuel Vadot			bias-pull-up;
1531*ae5de77eSEmmanuel Vadot		};
1532*ae5de77eSEmmanuel Vadot	};
1533*ae5de77eSEmmanuel Vadot
1534*ae5de77eSEmmanuel Vadot	pcie6a_default: pcie6a-default-state {
1535*ae5de77eSEmmanuel Vadot		clkreq-n-pins {
1536*ae5de77eSEmmanuel Vadot			pins = "gpio153";
1537*ae5de77eSEmmanuel Vadot			function = "pcie6a_clk";
1538*ae5de77eSEmmanuel Vadot			drive-strength = <2>;
1539*ae5de77eSEmmanuel Vadot			bias-pull-up;
1540*ae5de77eSEmmanuel Vadot		};
1541*ae5de77eSEmmanuel Vadot
1542*ae5de77eSEmmanuel Vadot		perst-n-pins {
1543*ae5de77eSEmmanuel Vadot			pins = "gpio152";
1544*ae5de77eSEmmanuel Vadot			function = "gpio";
1545*ae5de77eSEmmanuel Vadot			drive-strength = <2>;
1546*ae5de77eSEmmanuel Vadot			bias-disable;
1547*ae5de77eSEmmanuel Vadot		};
1548*ae5de77eSEmmanuel Vadot
1549*ae5de77eSEmmanuel Vadot		wake-n-pins {
1550*ae5de77eSEmmanuel Vadot			pins = "gpio154";
1551*ae5de77eSEmmanuel Vadot			function = "gpio";
1552*ae5de77eSEmmanuel Vadot			drive-strength = <2>;
1553*ae5de77eSEmmanuel Vadot			bias-pull-up;
1554*ae5de77eSEmmanuel Vadot		};
1555*ae5de77eSEmmanuel Vadot	};
1556*ae5de77eSEmmanuel Vadot
1557*ae5de77eSEmmanuel Vadot	rtmr1_default: rtmr1-reset-n-active-state {
1558*ae5de77eSEmmanuel Vadot		pins = "gpio176";
1559*ae5de77eSEmmanuel Vadot		function = "gpio";
1560*ae5de77eSEmmanuel Vadot		drive-strength = <2>;
1561*ae5de77eSEmmanuel Vadot		bias-disable;
1562*ae5de77eSEmmanuel Vadot	};
1563*ae5de77eSEmmanuel Vadot
1564*ae5de77eSEmmanuel Vadot	rtmr2_default: rtmr2-reset-n-active-state {
1565*ae5de77eSEmmanuel Vadot		pins = "gpio185";
1566*ae5de77eSEmmanuel Vadot		function = "gpio";
1567*ae5de77eSEmmanuel Vadot		drive-strength = <2>;
1568*ae5de77eSEmmanuel Vadot		bias-disable;
1569*ae5de77eSEmmanuel Vadot	};
1570*ae5de77eSEmmanuel Vadot
1571*ae5de77eSEmmanuel Vadot	tpad_default: tpad-default-state {
1572*ae5de77eSEmmanuel Vadot		pins = "gpio3";
1573*ae5de77eSEmmanuel Vadot		function = "gpio";
1574*ae5de77eSEmmanuel Vadot		bias-disable;
1575*ae5de77eSEmmanuel Vadot	};
1576*ae5de77eSEmmanuel Vadot
1577*ae5de77eSEmmanuel Vadot	ts0_default: ts0-default-state {
1578*ae5de77eSEmmanuel Vadot		int-n-pins {
1579*ae5de77eSEmmanuel Vadot			pins = "gpio51";
1580*ae5de77eSEmmanuel Vadot			function = "gpio";
1581*ae5de77eSEmmanuel Vadot			bias-disable;
1582*ae5de77eSEmmanuel Vadot		};
1583*ae5de77eSEmmanuel Vadot
1584*ae5de77eSEmmanuel Vadot		reset-n-pins {
1585*ae5de77eSEmmanuel Vadot			pins = "gpio48";
1586*ae5de77eSEmmanuel Vadot			function = "gpio";
1587*ae5de77eSEmmanuel Vadot			output-high;
1588*ae5de77eSEmmanuel Vadot			drive-strength = <16>;
1589*ae5de77eSEmmanuel Vadot		};
1590*ae5de77eSEmmanuel Vadot	};
1591*ae5de77eSEmmanuel Vadot
1592*ae5de77eSEmmanuel Vadot	usb1_pwr_1p15_reg_en: usb1-pwr-1p15-reg-en-state {
1593*ae5de77eSEmmanuel Vadot		pins = "gpio188";
1594*ae5de77eSEmmanuel Vadot		function = "gpio";
1595*ae5de77eSEmmanuel Vadot		drive-strength = <2>;
1596*ae5de77eSEmmanuel Vadot		bias-disable;
1597*ae5de77eSEmmanuel Vadot	};
1598*ae5de77eSEmmanuel Vadot
1599*ae5de77eSEmmanuel Vadot	usb1_pwr_1p8_reg_en: usb1-pwr-1p8-reg-en-state {
1600*ae5de77eSEmmanuel Vadot		pins = "gpio175";
1601*ae5de77eSEmmanuel Vadot		function = "gpio";
1602*ae5de77eSEmmanuel Vadot		drive-strength = <2>;
1603*ae5de77eSEmmanuel Vadot		bias-disable;
1604*ae5de77eSEmmanuel Vadot	};
1605*ae5de77eSEmmanuel Vadot
1606*ae5de77eSEmmanuel Vadot	usb1_pwr_3p3_reg_en: usb1-pwr-3p3-reg-en-state {
1607*ae5de77eSEmmanuel Vadot		pins = "gpio186";
1608*ae5de77eSEmmanuel Vadot		function = "gpio";
1609*ae5de77eSEmmanuel Vadot		drive-strength = <2>;
1610*ae5de77eSEmmanuel Vadot		bias-disable;
1611*ae5de77eSEmmanuel Vadot	};
1612*ae5de77eSEmmanuel Vadot
1613*ae5de77eSEmmanuel Vadot	usb2_pwr_1p15_reg_en: usb2-pwr-1p15-reg-en-state {
1614*ae5de77eSEmmanuel Vadot		pins = "gpio189";
1615*ae5de77eSEmmanuel Vadot		function = "gpio";
1616*ae5de77eSEmmanuel Vadot		drive-strength = <2>;
1617*ae5de77eSEmmanuel Vadot		bias-disable;
1618*ae5de77eSEmmanuel Vadot	};
1619*ae5de77eSEmmanuel Vadot
1620*ae5de77eSEmmanuel Vadot	usb2_pwr_1p8_reg_en: usb2-pwr-1p8-reg-en-state {
1621*ae5de77eSEmmanuel Vadot		pins = "gpio126";
1622*ae5de77eSEmmanuel Vadot		function = "gpio";
1623*ae5de77eSEmmanuel Vadot		drive-strength = <2>;
1624*ae5de77eSEmmanuel Vadot		bias-disable;
1625*ae5de77eSEmmanuel Vadot	};
1626*ae5de77eSEmmanuel Vadot
1627*ae5de77eSEmmanuel Vadot	usb2_pwr_3p3_reg_en: usb2-pwr-3p3-reg-en-state {
1628*ae5de77eSEmmanuel Vadot		pins = "gpio187";
1629*ae5de77eSEmmanuel Vadot		function = "gpio";
1630*ae5de77eSEmmanuel Vadot		drive-strength = <2>;
1631*ae5de77eSEmmanuel Vadot		bias-disable;
1632*ae5de77eSEmmanuel Vadot	};
1633*ae5de77eSEmmanuel Vadot
1634*ae5de77eSEmmanuel Vadot	wcd_default: wcd-reset-n-active-state {
1635*ae5de77eSEmmanuel Vadot		pins = "gpio191";
1636*ae5de77eSEmmanuel Vadot		function = "gpio";
1637*ae5de77eSEmmanuel Vadot		drive-strength = <16>;
1638*ae5de77eSEmmanuel Vadot		bias-disable;
1639*ae5de77eSEmmanuel Vadot		output-low;
1640*ae5de77eSEmmanuel Vadot	};
1641*ae5de77eSEmmanuel Vadot
1642*ae5de77eSEmmanuel Vadot	wwan_sw_en: wwan-sw-en-state {
1643*ae5de77eSEmmanuel Vadot		pins = "gpio221";
1644*ae5de77eSEmmanuel Vadot		function = "gpio";
1645*ae5de77eSEmmanuel Vadot		drive-strength = <4>;
1646*ae5de77eSEmmanuel Vadot		bias-disable;
1647*ae5de77eSEmmanuel Vadot	};
1648*ae5de77eSEmmanuel Vadot};
1649*ae5de77eSEmmanuel Vadot
1650*ae5de77eSEmmanuel Vadot&uart21 {
1651*ae5de77eSEmmanuel Vadot	compatible = "qcom,geni-debug-uart";
1652*ae5de77eSEmmanuel Vadot	status = "okay";
1653*ae5de77eSEmmanuel Vadot};
1654*ae5de77eSEmmanuel Vadot
1655*ae5de77eSEmmanuel Vadot&usb_1_ss0_hsphy {
1656*ae5de77eSEmmanuel Vadot	vdd-supply = <&vreg_l3j_0p8>;
1657*ae5de77eSEmmanuel Vadot	vdda12-supply = <&vreg_l2j_1p2>;
1658*ae5de77eSEmmanuel Vadot
1659*ae5de77eSEmmanuel Vadot	phys = <&smb2360_0_eusb2_repeater>;
1660*ae5de77eSEmmanuel Vadot
1661*ae5de77eSEmmanuel Vadot	status = "okay";
1662*ae5de77eSEmmanuel Vadot};
1663*ae5de77eSEmmanuel Vadot
1664*ae5de77eSEmmanuel Vadot&usb_1_ss0_qmpphy {
1665*ae5de77eSEmmanuel Vadot	vdda-phy-supply = <&vreg_l2j_1p2>;
1666*ae5de77eSEmmanuel Vadot	vdda-pll-supply = <&vreg_l1j_0p8>;
1667*ae5de77eSEmmanuel Vadot
1668*ae5de77eSEmmanuel Vadot	status = "okay";
1669*ae5de77eSEmmanuel Vadot};
1670*ae5de77eSEmmanuel Vadot
1671*ae5de77eSEmmanuel Vadot&usb_1_ss0 {
1672*ae5de77eSEmmanuel Vadot	status = "okay";
1673*ae5de77eSEmmanuel Vadot};
1674*ae5de77eSEmmanuel Vadot
1675*ae5de77eSEmmanuel Vadot&usb_1_ss0_dwc3 {
1676*ae5de77eSEmmanuel Vadot	dr_mode = "host";
1677*ae5de77eSEmmanuel Vadot};
1678*ae5de77eSEmmanuel Vadot
1679*ae5de77eSEmmanuel Vadot&usb_1_ss0_dwc3_hs {
1680*ae5de77eSEmmanuel Vadot	remote-endpoint = <&pmic_glink_ss0_hs_in>;
1681*ae5de77eSEmmanuel Vadot};
1682*ae5de77eSEmmanuel Vadot
1683*ae5de77eSEmmanuel Vadot&usb_1_ss0_qmpphy_out {
1684*ae5de77eSEmmanuel Vadot	remote-endpoint = <&retimer_ss0_ss_in>;
1685*ae5de77eSEmmanuel Vadot};
1686*ae5de77eSEmmanuel Vadot
1687*ae5de77eSEmmanuel Vadot&usb_1_ss1_hsphy {
1688*ae5de77eSEmmanuel Vadot	vdd-supply = <&vreg_l3j_0p8>;
1689*ae5de77eSEmmanuel Vadot	vdda12-supply = <&vreg_l2j_1p2>;
1690*ae5de77eSEmmanuel Vadot
1691*ae5de77eSEmmanuel Vadot	phys = <&smb2360_1_eusb2_repeater>;
1692*ae5de77eSEmmanuel Vadot
1693*ae5de77eSEmmanuel Vadot	status = "okay";
1694*ae5de77eSEmmanuel Vadot};
1695*ae5de77eSEmmanuel Vadot
1696*ae5de77eSEmmanuel Vadot&usb_1_ss1_qmpphy {
1697*ae5de77eSEmmanuel Vadot	vdda-phy-supply = <&vreg_l2j_1p2>;
1698*ae5de77eSEmmanuel Vadot	vdda-pll-supply = <&vreg_l2d_0p9>;
1699*ae5de77eSEmmanuel Vadot
1700*ae5de77eSEmmanuel Vadot	status = "okay";
1701*ae5de77eSEmmanuel Vadot};
1702*ae5de77eSEmmanuel Vadot
1703*ae5de77eSEmmanuel Vadot&usb_1_ss1 {
1704*ae5de77eSEmmanuel Vadot	status = "okay";
1705*ae5de77eSEmmanuel Vadot};
1706*ae5de77eSEmmanuel Vadot
1707*ae5de77eSEmmanuel Vadot&usb_1_ss1_dwc3 {
1708*ae5de77eSEmmanuel Vadot	dr_mode = "host";
1709*ae5de77eSEmmanuel Vadot};
1710*ae5de77eSEmmanuel Vadot
1711*ae5de77eSEmmanuel Vadot&usb_1_ss1_dwc3_hs {
1712*ae5de77eSEmmanuel Vadot	remote-endpoint = <&pmic_glink_ss1_hs_in>;
1713*ae5de77eSEmmanuel Vadot};
1714*ae5de77eSEmmanuel Vadot
1715*ae5de77eSEmmanuel Vadot&usb_1_ss1_qmpphy_out {
1716*ae5de77eSEmmanuel Vadot	remote-endpoint = <&retimer_ss1_ss_in>;
1717*ae5de77eSEmmanuel Vadot};
1718*ae5de77eSEmmanuel Vadot
1719*ae5de77eSEmmanuel Vadot&usb_1_ss2_hsphy {
1720*ae5de77eSEmmanuel Vadot	vdd-supply = <&vreg_l3j_0p8>;
1721*ae5de77eSEmmanuel Vadot	vdda12-supply = <&vreg_l2j_1p2>;
1722*ae5de77eSEmmanuel Vadot
1723*ae5de77eSEmmanuel Vadot	phys = <&smb2360_2_eusb2_repeater>;
1724*ae5de77eSEmmanuel Vadot
1725*ae5de77eSEmmanuel Vadot	status = "okay";
1726*ae5de77eSEmmanuel Vadot};
1727*ae5de77eSEmmanuel Vadot
1728*ae5de77eSEmmanuel Vadot&usb_1_ss2_qmpphy {
1729*ae5de77eSEmmanuel Vadot	vdda-phy-supply = <&vreg_l2j_1p2>;
1730*ae5de77eSEmmanuel Vadot	vdda-pll-supply = <&vreg_l2d_0p9>;
1731*ae5de77eSEmmanuel Vadot
1732*ae5de77eSEmmanuel Vadot	status = "okay";
1733*ae5de77eSEmmanuel Vadot};
1734*ae5de77eSEmmanuel Vadot
1735*ae5de77eSEmmanuel Vadot&usb_1_ss2 {
1736*ae5de77eSEmmanuel Vadot	status = "okay";
1737*ae5de77eSEmmanuel Vadot};
1738*ae5de77eSEmmanuel Vadot
1739*ae5de77eSEmmanuel Vadot&usb_1_ss2_dwc3 {
1740*ae5de77eSEmmanuel Vadot	dr_mode = "host";
1741*ae5de77eSEmmanuel Vadot};
1742*ae5de77eSEmmanuel Vadot
1743*ae5de77eSEmmanuel Vadot&usb_1_ss2_dwc3_hs {
1744*ae5de77eSEmmanuel Vadot	remote-endpoint = <&pmic_glink_ss2_hs_in>;
1745*ae5de77eSEmmanuel Vadot};
1746*ae5de77eSEmmanuel Vadot
1747*ae5de77eSEmmanuel Vadot&usb_1_ss2_qmpphy_out {
1748*ae5de77eSEmmanuel Vadot	remote-endpoint = <&retimer_ss2_ss_in>;
1749*ae5de77eSEmmanuel Vadot};
1750