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