xref: /freebsd/sys/contrib/device-tree/src/arm64/qcom/sm8650-hdk.dts (revision 0e8011faf58b743cc652e3b2ad0f7671227610df)
1*0e8011faSEmmanuel Vadot// SPDX-License-Identifier: BSD-3-Clause
2*0e8011faSEmmanuel Vadot/*
3*0e8011faSEmmanuel Vadot * Copyright (c) 2024, Linaro Limited
4*0e8011faSEmmanuel Vadot */
5*0e8011faSEmmanuel Vadot
6*0e8011faSEmmanuel Vadot/dts-v1/;
7*0e8011faSEmmanuel Vadot
8*0e8011faSEmmanuel Vadot#include <dt-bindings/leds/common.h>
9*0e8011faSEmmanuel Vadot#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
10*0e8011faSEmmanuel Vadot#include "sm8650.dtsi"
11*0e8011faSEmmanuel Vadot#include "pm8010.dtsi"
12*0e8011faSEmmanuel Vadot#include "pm8550.dtsi"
13*0e8011faSEmmanuel Vadot#include "pm8550b.dtsi"
14*0e8011faSEmmanuel Vadot#define PMK8550VE_SID 8
15*0e8011faSEmmanuel Vadot#include "pm8550ve.dtsi"
16*0e8011faSEmmanuel Vadot#include "pm8550vs.dtsi"
17*0e8011faSEmmanuel Vadot#include "pmk8550.dtsi"
18*0e8011faSEmmanuel Vadot
19*0e8011faSEmmanuel Vadot/ {
20*0e8011faSEmmanuel Vadot	model = "Qualcomm Technologies, Inc. SM8650 HDK";
21*0e8011faSEmmanuel Vadot	compatible = "qcom,sm8650-hdk", "qcom,sm8650";
22*0e8011faSEmmanuel Vadot	chassis-type = "embedded";
23*0e8011faSEmmanuel Vadot
24*0e8011faSEmmanuel Vadot	aliases {
25*0e8011faSEmmanuel Vadot		serial0 = &uart15;
26*0e8011faSEmmanuel Vadot		serial1 = &uart14;
27*0e8011faSEmmanuel Vadot	};
28*0e8011faSEmmanuel Vadot
29*0e8011faSEmmanuel Vadot	chosen {
30*0e8011faSEmmanuel Vadot		stdout-path = "serial0:115200n8";
31*0e8011faSEmmanuel Vadot	};
32*0e8011faSEmmanuel Vadot
33*0e8011faSEmmanuel Vadot	hdmi-out {
34*0e8011faSEmmanuel Vadot		compatible = "hdmi-connector";
35*0e8011faSEmmanuel Vadot		type = "a";
36*0e8011faSEmmanuel Vadot
37*0e8011faSEmmanuel Vadot		port {
38*0e8011faSEmmanuel Vadot			hdmi_connector_out: endpoint {
39*0e8011faSEmmanuel Vadot				remote-endpoint = <&lt9611_out>;
40*0e8011faSEmmanuel Vadot			};
41*0e8011faSEmmanuel Vadot		};
42*0e8011faSEmmanuel Vadot	};
43*0e8011faSEmmanuel Vadot
44*0e8011faSEmmanuel Vadot	gpio-keys {
45*0e8011faSEmmanuel Vadot		compatible = "gpio-keys";
46*0e8011faSEmmanuel Vadot
47*0e8011faSEmmanuel Vadot		pinctrl-0 = <&volume_up_n>;
48*0e8011faSEmmanuel Vadot		pinctrl-names = "default";
49*0e8011faSEmmanuel Vadot
50*0e8011faSEmmanuel Vadot		key-volume-up {
51*0e8011faSEmmanuel Vadot			label = "Volume Up";
52*0e8011faSEmmanuel Vadot			linux,code = <KEY_VOLUMEUP>;
53*0e8011faSEmmanuel Vadot			gpios = <&pm8550_gpios 6 GPIO_ACTIVE_LOW>;
54*0e8011faSEmmanuel Vadot			debounce-interval = <15>;
55*0e8011faSEmmanuel Vadot			linux,can-disable;
56*0e8011faSEmmanuel Vadot			wakeup-source;
57*0e8011faSEmmanuel Vadot		};
58*0e8011faSEmmanuel Vadot	};
59*0e8011faSEmmanuel Vadot
60*0e8011faSEmmanuel Vadot	leds {
61*0e8011faSEmmanuel Vadot		compatible = "gpio-leds";
62*0e8011faSEmmanuel Vadot
63*0e8011faSEmmanuel Vadot		led-0 {
64*0e8011faSEmmanuel Vadot			function = LED_FUNCTION_BLUETOOTH;
65*0e8011faSEmmanuel Vadot			color = <LED_COLOR_ID_BLUE>;
66*0e8011faSEmmanuel Vadot			gpios = <&pm8550_gpios 11 GPIO_ACTIVE_HIGH>;
67*0e8011faSEmmanuel Vadot			linux,default-trigger = "bluetooth-power";
68*0e8011faSEmmanuel Vadot			default-state = "off";
69*0e8011faSEmmanuel Vadot		};
70*0e8011faSEmmanuel Vadot
71*0e8011faSEmmanuel Vadot		led-1 {
72*0e8011faSEmmanuel Vadot			function = LED_FUNCTION_INDICATOR;
73*0e8011faSEmmanuel Vadot			color = <LED_COLOR_ID_GREEN>;
74*0e8011faSEmmanuel Vadot			gpios = <&pm8550b_gpios 9 GPIO_ACTIVE_HIGH>;
75*0e8011faSEmmanuel Vadot			default-state = "off";
76*0e8011faSEmmanuel Vadot			panic-indicator;
77*0e8011faSEmmanuel Vadot		};
78*0e8011faSEmmanuel Vadot
79*0e8011faSEmmanuel Vadot		led-2 {
80*0e8011faSEmmanuel Vadot			function = LED_FUNCTION_WLAN;
81*0e8011faSEmmanuel Vadot			color = <LED_COLOR_ID_ORANGE>;
82*0e8011faSEmmanuel Vadot			gpios = <&pm8550b_gpios 10 GPIO_ACTIVE_HIGH>;
83*0e8011faSEmmanuel Vadot			linux,default-trigger = "phy0tx";
84*0e8011faSEmmanuel Vadot			default-state = "off";
85*0e8011faSEmmanuel Vadot		};
86*0e8011faSEmmanuel Vadot	};
87*0e8011faSEmmanuel Vadot
88*0e8011faSEmmanuel Vadot	pmic-glink {
89*0e8011faSEmmanuel Vadot		compatible = "qcom,sm8650-pmic-glink",
90*0e8011faSEmmanuel Vadot			     "qcom,sm8550-pmic-glink",
91*0e8011faSEmmanuel Vadot			     "qcom,pmic-glink";
92*0e8011faSEmmanuel Vadot		#address-cells = <1>;
93*0e8011faSEmmanuel Vadot		#size-cells = <0>;
94*0e8011faSEmmanuel Vadot		orientation-gpios = <&tlmm 29 GPIO_ACTIVE_HIGH>;
95*0e8011faSEmmanuel Vadot
96*0e8011faSEmmanuel Vadot		connector@0 {
97*0e8011faSEmmanuel Vadot			compatible = "usb-c-connector";
98*0e8011faSEmmanuel Vadot			reg = <0>;
99*0e8011faSEmmanuel Vadot
100*0e8011faSEmmanuel Vadot			power-role = "dual";
101*0e8011faSEmmanuel Vadot			data-role = "dual";
102*0e8011faSEmmanuel Vadot
103*0e8011faSEmmanuel Vadot			ports {
104*0e8011faSEmmanuel Vadot				#address-cells = <1>;
105*0e8011faSEmmanuel Vadot				#size-cells = <0>;
106*0e8011faSEmmanuel Vadot
107*0e8011faSEmmanuel Vadot				port@0 {
108*0e8011faSEmmanuel Vadot					reg = <0>;
109*0e8011faSEmmanuel Vadot
110*0e8011faSEmmanuel Vadot					pmic_glink_hs_in: endpoint {
111*0e8011faSEmmanuel Vadot						remote-endpoint = <&usb_1_dwc3_hs>;
112*0e8011faSEmmanuel Vadot					};
113*0e8011faSEmmanuel Vadot				};
114*0e8011faSEmmanuel Vadot
115*0e8011faSEmmanuel Vadot				port@1 {
116*0e8011faSEmmanuel Vadot					reg = <1>;
117*0e8011faSEmmanuel Vadot
118*0e8011faSEmmanuel Vadot					pmic_glink_ss_in: endpoint {
119*0e8011faSEmmanuel Vadot						remote-endpoint = <&usb_dp_qmpphy_out>;
120*0e8011faSEmmanuel Vadot					};
121*0e8011faSEmmanuel Vadot				};
122*0e8011faSEmmanuel Vadot
123*0e8011faSEmmanuel Vadot				port@2 {
124*0e8011faSEmmanuel Vadot					reg = <2>;
125*0e8011faSEmmanuel Vadot
126*0e8011faSEmmanuel Vadot					pmic_glink_sbu: endpoint {
127*0e8011faSEmmanuel Vadot						remote-endpoint = <&wcd_usbss_sbu_mux>;
128*0e8011faSEmmanuel Vadot				    };
129*0e8011faSEmmanuel Vadot				};
130*0e8011faSEmmanuel Vadot			};
131*0e8011faSEmmanuel Vadot		};
132*0e8011faSEmmanuel Vadot	};
133*0e8011faSEmmanuel Vadot
134*0e8011faSEmmanuel Vadot	lt9611_1v2: regulator-lt9611-1v2 {
135*0e8011faSEmmanuel Vadot		compatible = "regulator-fixed";
136*0e8011faSEmmanuel Vadot
137*0e8011faSEmmanuel Vadot		regulator-name = "LT9611_1V2";
138*0e8011faSEmmanuel Vadot		regulator-min-microvolt = <1200000>;
139*0e8011faSEmmanuel Vadot		regulator-max-microvolt = <1200000>;
140*0e8011faSEmmanuel Vadot
141*0e8011faSEmmanuel Vadot		vin-supply = <&vph_pwr>;
142*0e8011faSEmmanuel Vadot		gpio = <&tlmm 79 GPIO_ACTIVE_HIGH>;
143*0e8011faSEmmanuel Vadot
144*0e8011faSEmmanuel Vadot		enable-active-high;
145*0e8011faSEmmanuel Vadot	};
146*0e8011faSEmmanuel Vadot
147*0e8011faSEmmanuel Vadot	lt9611_3v3: regulator-lt9611-3v3 {
148*0e8011faSEmmanuel Vadot		compatible = "regulator-fixed";
149*0e8011faSEmmanuel Vadot
150*0e8011faSEmmanuel Vadot		regulator-name = "LT9611_3V3";
151*0e8011faSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
152*0e8011faSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
153*0e8011faSEmmanuel Vadot
154*0e8011faSEmmanuel Vadot		vin-supply = <&vreg_bob_3v3>;
155*0e8011faSEmmanuel Vadot		gpio = <&tlmm 78 GPIO_ACTIVE_HIGH>;
156*0e8011faSEmmanuel Vadot
157*0e8011faSEmmanuel Vadot		enable-active-high;
158*0e8011faSEmmanuel Vadot	};
159*0e8011faSEmmanuel Vadot
160*0e8011faSEmmanuel Vadot	sound {
161*0e8011faSEmmanuel Vadot		compatible = "qcom,sm8650-sndcard", "qcom,sm8450-sndcard";
162*0e8011faSEmmanuel Vadot		model = "SM8650-HDK";
163*0e8011faSEmmanuel Vadot		audio-routing = "SpkrLeft IN", "WSA_SPK1 OUT",
164*0e8011faSEmmanuel Vadot				"SpkrRight IN", "WSA_SPK2 OUT",
165*0e8011faSEmmanuel Vadot				"IN1_HPHL", "HPHL_OUT",
166*0e8011faSEmmanuel Vadot				"IN2_HPHR", "HPHR_OUT",
167*0e8011faSEmmanuel Vadot				"AMIC1", "MIC BIAS1",
168*0e8011faSEmmanuel Vadot				"AMIC2", "MIC BIAS2",
169*0e8011faSEmmanuel Vadot				"AMIC5", "MIC BIAS4",
170*0e8011faSEmmanuel Vadot				"TX SWR_INPUT0", "ADC1_OUTPUT",
171*0e8011faSEmmanuel Vadot				"TX SWR_INPUT1", "ADC2_OUTPUT",
172*0e8011faSEmmanuel Vadot				"TX SWR_INPUT3", "ADC4_OUTPUT";
173*0e8011faSEmmanuel Vadot
174*0e8011faSEmmanuel Vadot		wcd-playback-dai-link {
175*0e8011faSEmmanuel Vadot			link-name = "WCD Playback";
176*0e8011faSEmmanuel Vadot
177*0e8011faSEmmanuel Vadot			cpu {
178*0e8011faSEmmanuel Vadot				sound-dai = <&q6apmbedai RX_CODEC_DMA_RX_0>;
179*0e8011faSEmmanuel Vadot			};
180*0e8011faSEmmanuel Vadot
181*0e8011faSEmmanuel Vadot			codec {
182*0e8011faSEmmanuel Vadot				sound-dai = <&wcd939x 0>, <&swr1 0>, <&lpass_rxmacro 0>;
183*0e8011faSEmmanuel Vadot			};
184*0e8011faSEmmanuel Vadot
185*0e8011faSEmmanuel Vadot			platform {
186*0e8011faSEmmanuel Vadot				sound-dai = <&q6apm>;
187*0e8011faSEmmanuel Vadot			};
188*0e8011faSEmmanuel Vadot		};
189*0e8011faSEmmanuel Vadot
190*0e8011faSEmmanuel Vadot		wcd-capture-dai-link {
191*0e8011faSEmmanuel Vadot			link-name = "WCD Capture";
192*0e8011faSEmmanuel Vadot
193*0e8011faSEmmanuel Vadot			cpu {
194*0e8011faSEmmanuel Vadot				sound-dai = <&q6apmbedai TX_CODEC_DMA_TX_3>;
195*0e8011faSEmmanuel Vadot			};
196*0e8011faSEmmanuel Vadot
197*0e8011faSEmmanuel Vadot			codec {
198*0e8011faSEmmanuel Vadot				sound-dai = <&wcd939x 1>, <&swr2 0>, <&lpass_txmacro 0>;
199*0e8011faSEmmanuel Vadot			};
200*0e8011faSEmmanuel Vadot
201*0e8011faSEmmanuel Vadot			platform {
202*0e8011faSEmmanuel Vadot				sound-dai = <&q6apm>;
203*0e8011faSEmmanuel Vadot			};
204*0e8011faSEmmanuel Vadot		};
205*0e8011faSEmmanuel Vadot
206*0e8011faSEmmanuel Vadot		wsa-dai-link {
207*0e8011faSEmmanuel Vadot			link-name = "WSA Playback";
208*0e8011faSEmmanuel Vadot
209*0e8011faSEmmanuel Vadot			cpu {
210*0e8011faSEmmanuel Vadot				sound-dai = <&q6apmbedai WSA_CODEC_DMA_RX_0>;
211*0e8011faSEmmanuel Vadot			};
212*0e8011faSEmmanuel Vadot
213*0e8011faSEmmanuel Vadot			codec {
214*0e8011faSEmmanuel Vadot				sound-dai = <&north_spkr>, <&south_spkr>, <&swr0 0>, <&lpass_wsamacro 0>;
215*0e8011faSEmmanuel Vadot			};
216*0e8011faSEmmanuel Vadot
217*0e8011faSEmmanuel Vadot			platform {
218*0e8011faSEmmanuel Vadot				sound-dai = <&q6apm>;
219*0e8011faSEmmanuel Vadot			};
220*0e8011faSEmmanuel Vadot		};
221*0e8011faSEmmanuel Vadot	};
222*0e8011faSEmmanuel Vadot
223*0e8011faSEmmanuel Vadot	vph_pwr: regulator-vph-pwr {
224*0e8011faSEmmanuel Vadot		compatible = "regulator-fixed";
225*0e8011faSEmmanuel Vadot
226*0e8011faSEmmanuel Vadot		regulator-name = "vph_pwr";
227*0e8011faSEmmanuel Vadot		regulator-min-microvolt = <3700000>;
228*0e8011faSEmmanuel Vadot		regulator-max-microvolt = <3700000>;
229*0e8011faSEmmanuel Vadot
230*0e8011faSEmmanuel Vadot		regulator-always-on;
231*0e8011faSEmmanuel Vadot		regulator-boot-on;
232*0e8011faSEmmanuel Vadot	};
233*0e8011faSEmmanuel Vadot
234*0e8011faSEmmanuel Vadot	vreg_bob_3v3: regulator-vreg-bob-3v3 {
235*0e8011faSEmmanuel Vadot		compatible = "regulator-fixed";
236*0e8011faSEmmanuel Vadot
237*0e8011faSEmmanuel Vadot		regulator-name = "VREG_BOB_3P3";
238*0e8011faSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
239*0e8011faSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
240*0e8011faSEmmanuel Vadot
241*0e8011faSEmmanuel Vadot		vin-supply = <&vph_pwr>;
242*0e8011faSEmmanuel Vadot	};
243*0e8011faSEmmanuel Vadot
244*0e8011faSEmmanuel Vadot	wcd939x: audio-codec {
245*0e8011faSEmmanuel Vadot		compatible = "qcom,wcd9395-codec", "qcom,wcd9390-codec";
246*0e8011faSEmmanuel Vadot
247*0e8011faSEmmanuel Vadot		pinctrl-0 = <&wcd_default>;
248*0e8011faSEmmanuel Vadot		pinctrl-names = "default";
249*0e8011faSEmmanuel Vadot
250*0e8011faSEmmanuel Vadot		qcom,micbias1-microvolt = <1800000>;
251*0e8011faSEmmanuel Vadot		qcom,micbias2-microvolt = <1800000>;
252*0e8011faSEmmanuel Vadot		qcom,micbias3-microvolt = <1800000>;
253*0e8011faSEmmanuel Vadot		qcom,micbias4-microvolt = <1800000>;
254*0e8011faSEmmanuel Vadot		qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>;
255*0e8011faSEmmanuel Vadot		qcom,mbhc-headset-vthreshold-microvolt = <1700000>;
256*0e8011faSEmmanuel Vadot		qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
257*0e8011faSEmmanuel Vadot		qcom,rx-device = <&wcd_rx>;
258*0e8011faSEmmanuel Vadot		qcom,tx-device = <&wcd_tx>;
259*0e8011faSEmmanuel Vadot
260*0e8011faSEmmanuel Vadot		reset-gpios = <&tlmm 107 GPIO_ACTIVE_LOW>;
261*0e8011faSEmmanuel Vadot
262*0e8011faSEmmanuel Vadot		vdd-buck-supply = <&vreg_l15b_1p8>;
263*0e8011faSEmmanuel Vadot		vdd-rxtx-supply = <&vreg_l15b_1p8>;
264*0e8011faSEmmanuel Vadot		vdd-io-supply = <&vreg_l15b_1p8>;
265*0e8011faSEmmanuel Vadot		vdd-mic-bias-supply = <&vreg_bob1>;
266*0e8011faSEmmanuel Vadot
267*0e8011faSEmmanuel Vadot		#sound-dai-cells = <1>;
268*0e8011faSEmmanuel Vadot	};
269*0e8011faSEmmanuel Vadot
270*0e8011faSEmmanuel Vadot	wcn7850-pmu {
271*0e8011faSEmmanuel Vadot		compatible = "qcom,wcn7850-pmu";
272*0e8011faSEmmanuel Vadot
273*0e8011faSEmmanuel Vadot		pinctrl-names = "default";
274*0e8011faSEmmanuel Vadot		pinctrl-0 = <&wlan_en>;
275*0e8011faSEmmanuel Vadot
276*0e8011faSEmmanuel Vadot		wlan-enable-gpios = <&tlmm 16 GPIO_ACTIVE_HIGH>;
277*0e8011faSEmmanuel Vadot		/*
278*0e8011faSEmmanuel Vadot		 * TODO Add bt-enable-gpios once the Bluetooth driver is
279*0e8011faSEmmanuel Vadot		 * converted to using the power sequencer.
280*0e8011faSEmmanuel Vadot		 */
281*0e8011faSEmmanuel Vadot
282*0e8011faSEmmanuel Vadot		vdd-supply = <&vreg_s4i_0p85>;
283*0e8011faSEmmanuel Vadot		vddio-supply = <&vreg_l15b_1p8>;
284*0e8011faSEmmanuel Vadot		vddio1p2-supply = <&vreg_l3c_1p2>;
285*0e8011faSEmmanuel Vadot		vddaon-supply = <&vreg_s2c_0p8>;
286*0e8011faSEmmanuel Vadot		vdddig-supply = <&vreg_s3c_0p9>;
287*0e8011faSEmmanuel Vadot		vddrfa1p2-supply = <&vreg_s1c_1p2>;
288*0e8011faSEmmanuel Vadot		vddrfa1p8-supply = <&vreg_s6c_1p8>;
289*0e8011faSEmmanuel Vadot
290*0e8011faSEmmanuel Vadot		clocks = <&rpmhcc RPMH_RF_CLK1>;
291*0e8011faSEmmanuel Vadot
292*0e8011faSEmmanuel Vadot		regulators {
293*0e8011faSEmmanuel Vadot			vreg_pmu_rfa_cmn: ldo0 {
294*0e8011faSEmmanuel Vadot				regulator-name = "vreg_pmu_rfa_cmn";
295*0e8011faSEmmanuel Vadot			};
296*0e8011faSEmmanuel Vadot
297*0e8011faSEmmanuel Vadot			vreg_pmu_aon_0p59: ldo1 {
298*0e8011faSEmmanuel Vadot				regulator-name = "vreg_pmu_aon_0p59";
299*0e8011faSEmmanuel Vadot			};
300*0e8011faSEmmanuel Vadot
301*0e8011faSEmmanuel Vadot			vreg_pmu_wlcx_0p8: ldo2 {
302*0e8011faSEmmanuel Vadot				regulator-name = "vreg_pmu_wlcx_0p8";
303*0e8011faSEmmanuel Vadot			};
304*0e8011faSEmmanuel Vadot
305*0e8011faSEmmanuel Vadot			vreg_pmu_wlmx_0p85: ldo3 {
306*0e8011faSEmmanuel Vadot				regulator-name = "vreg_pmu_wlmx_0p85";
307*0e8011faSEmmanuel Vadot			};
308*0e8011faSEmmanuel Vadot
309*0e8011faSEmmanuel Vadot			vreg_pmu_btcmx_0p85: ldo4 {
310*0e8011faSEmmanuel Vadot				regulator-name = "vreg_pmu_btcmx_0p85";
311*0e8011faSEmmanuel Vadot			};
312*0e8011faSEmmanuel Vadot
313*0e8011faSEmmanuel Vadot			vreg_pmu_rfa_0p8: ldo5 {
314*0e8011faSEmmanuel Vadot				regulator-name = "vreg_pmu_rfa_0p8";
315*0e8011faSEmmanuel Vadot			};
316*0e8011faSEmmanuel Vadot
317*0e8011faSEmmanuel Vadot			vreg_pmu_rfa_1p2: ldo6 {
318*0e8011faSEmmanuel Vadot				regulator-name = "vreg_pmu_rfa_1p2";
319*0e8011faSEmmanuel Vadot			};
320*0e8011faSEmmanuel Vadot
321*0e8011faSEmmanuel Vadot			vreg_pmu_rfa_1p8: ldo7 {
322*0e8011faSEmmanuel Vadot				regulator-name = "vreg_pmu_rfa_1p8";
323*0e8011faSEmmanuel Vadot			};
324*0e8011faSEmmanuel Vadot
325*0e8011faSEmmanuel Vadot			vreg_pmu_pcie_0p9: ldo8 {
326*0e8011faSEmmanuel Vadot				regulator-name = "vreg_pmu_pcie_0p9";
327*0e8011faSEmmanuel Vadot			};
328*0e8011faSEmmanuel Vadot
329*0e8011faSEmmanuel Vadot			vreg_pmu_pcie_1p8: ldo9 {
330*0e8011faSEmmanuel Vadot				regulator-name = "vreg_pmu_pcie_1p8";
331*0e8011faSEmmanuel Vadot			};
332*0e8011faSEmmanuel Vadot		};
333*0e8011faSEmmanuel Vadot	};
334*0e8011faSEmmanuel Vadot};
335*0e8011faSEmmanuel Vadot
336*0e8011faSEmmanuel Vadot&apps_rsc {
337*0e8011faSEmmanuel Vadot	regulators-0 {
338*0e8011faSEmmanuel Vadot		compatible = "qcom,pm8550-rpmh-regulators";
339*0e8011faSEmmanuel Vadot
340*0e8011faSEmmanuel Vadot		vdd-bob1-supply = <&vph_pwr>;
341*0e8011faSEmmanuel Vadot		vdd-bob2-supply = <&vph_pwr>;
342*0e8011faSEmmanuel Vadot		vdd-l2-l13-l14-supply = <&vreg_bob1>;
343*0e8011faSEmmanuel Vadot		vdd-l3-supply = <&vreg_s1c_1p2>;
344*0e8011faSEmmanuel Vadot		vdd-l5-l16-supply = <&vreg_bob1>;
345*0e8011faSEmmanuel Vadot		vdd-l6-l7-supply = <&vreg_bob1>;
346*0e8011faSEmmanuel Vadot		vdd-l8-l9-supply = <&vreg_bob1>;
347*0e8011faSEmmanuel Vadot		vdd-l11-supply = <&vreg_s1c_1p2>;
348*0e8011faSEmmanuel Vadot		vdd-l12-supply = <&vreg_s6c_1p8>;
349*0e8011faSEmmanuel Vadot		vdd-l15-supply = <&vreg_s6c_1p8>;
350*0e8011faSEmmanuel Vadot		vdd-l17-supply = <&vreg_bob2>;
351*0e8011faSEmmanuel Vadot
352*0e8011faSEmmanuel Vadot		qcom,pmic-id = "b";
353*0e8011faSEmmanuel Vadot
354*0e8011faSEmmanuel Vadot		vreg_bob1: bob1 {
355*0e8011faSEmmanuel Vadot			regulator-name = "vreg_bob1";
356*0e8011faSEmmanuel Vadot			regulator-min-microvolt = <3296000>;
357*0e8011faSEmmanuel Vadot			regulator-max-microvolt = <3960000>;
358*0e8011faSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
359*0e8011faSEmmanuel Vadot		};
360*0e8011faSEmmanuel Vadot
361*0e8011faSEmmanuel Vadot		vreg_bob2: bob2 {
362*0e8011faSEmmanuel Vadot			regulator-name = "vreg_bob2";
363*0e8011faSEmmanuel Vadot			regulator-min-microvolt = <2720000>;
364*0e8011faSEmmanuel Vadot			regulator-max-microvolt = <3008000>;
365*0e8011faSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
366*0e8011faSEmmanuel Vadot		};
367*0e8011faSEmmanuel Vadot
368*0e8011faSEmmanuel Vadot		vreg_l2b_3p0: ldo2 {
369*0e8011faSEmmanuel Vadot			regulator-name = "vreg_l2b_3p0";
370*0e8011faSEmmanuel Vadot			regulator-min-microvolt = <3008000>;
371*0e8011faSEmmanuel Vadot			regulator-max-microvolt = <3008000>;
372*0e8011faSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
373*0e8011faSEmmanuel Vadot			regulator-allow-set-load;
374*0e8011faSEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
375*0e8011faSEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
376*0e8011faSEmmanuel Vadot		};
377*0e8011faSEmmanuel Vadot
378*0e8011faSEmmanuel Vadot		vreg_l5b_3p1: ldo5 {
379*0e8011faSEmmanuel Vadot			regulator-name = "vreg_l5b_3p1";
380*0e8011faSEmmanuel Vadot			regulator-min-microvolt = <3104000>;
381*0e8011faSEmmanuel Vadot			regulator-max-microvolt = <3104000>;
382*0e8011faSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
383*0e8011faSEmmanuel Vadot			regulator-allow-set-load;
384*0e8011faSEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
385*0e8011faSEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
386*0e8011faSEmmanuel Vadot		};
387*0e8011faSEmmanuel Vadot
388*0e8011faSEmmanuel Vadot		vreg_l6b_1p8: ldo6 {
389*0e8011faSEmmanuel Vadot			regulator-name = "vreg_l6b_1p8";
390*0e8011faSEmmanuel Vadot			regulator-min-microvolt = <1800000>;
391*0e8011faSEmmanuel Vadot			regulator-max-microvolt = <3008000>;
392*0e8011faSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
393*0e8011faSEmmanuel Vadot			regulator-allow-set-load;
394*0e8011faSEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
395*0e8011faSEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
396*0e8011faSEmmanuel Vadot		};
397*0e8011faSEmmanuel Vadot
398*0e8011faSEmmanuel Vadot		vreg_l7b_1p8: ldo7 {
399*0e8011faSEmmanuel Vadot			regulator-name = "vreg_l7b_1p8";
400*0e8011faSEmmanuel Vadot			regulator-min-microvolt = <1800000>;
401*0e8011faSEmmanuel Vadot			regulator-max-microvolt = <3008000>;
402*0e8011faSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
403*0e8011faSEmmanuel Vadot		};
404*0e8011faSEmmanuel Vadot
405*0e8011faSEmmanuel Vadot		vreg_l8b_1p8: ldo8 {
406*0e8011faSEmmanuel Vadot			regulator-name = "vreg_l8b_1p8";
407*0e8011faSEmmanuel Vadot			regulator-min-microvolt = <1800000>;
408*0e8011faSEmmanuel Vadot			regulator-max-microvolt = <3008000>;
409*0e8011faSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
410*0e8011faSEmmanuel Vadot			regulator-allow-set-load;
411*0e8011faSEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
412*0e8011faSEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
413*0e8011faSEmmanuel Vadot		};
414*0e8011faSEmmanuel Vadot
415*0e8011faSEmmanuel Vadot		vreg_l9b_2p9: ldo9 {
416*0e8011faSEmmanuel Vadot			regulator-name = "vreg_l9b_2p9";
417*0e8011faSEmmanuel Vadot			regulator-min-microvolt = <2960000>;
418*0e8011faSEmmanuel Vadot			regulator-max-microvolt = <3008000>;
419*0e8011faSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
420*0e8011faSEmmanuel Vadot			regulator-allow-set-load;
421*0e8011faSEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
422*0e8011faSEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
423*0e8011faSEmmanuel Vadot		};
424*0e8011faSEmmanuel Vadot
425*0e8011faSEmmanuel Vadot		vreg_l11b_1p2: ldo11 {
426*0e8011faSEmmanuel Vadot			regulator-name = "vreg_l11b_1p2";
427*0e8011faSEmmanuel Vadot			regulator-min-microvolt = <1200000>;
428*0e8011faSEmmanuel Vadot			regulator-max-microvolt = <1504000>;
429*0e8011faSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
430*0e8011faSEmmanuel Vadot			regulator-allow-set-load;
431*0e8011faSEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
432*0e8011faSEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
433*0e8011faSEmmanuel Vadot		};
434*0e8011faSEmmanuel Vadot
435*0e8011faSEmmanuel Vadot		vreg_l12b_1p8: ldo12 {
436*0e8011faSEmmanuel Vadot			regulator-name = "vreg_l12b_1p8";
437*0e8011faSEmmanuel Vadot			regulator-min-microvolt = <1800000>;
438*0e8011faSEmmanuel Vadot			regulator-max-microvolt = <1800000>;
439*0e8011faSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
440*0e8011faSEmmanuel Vadot			regulator-allow-set-load;
441*0e8011faSEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
442*0e8011faSEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
443*0e8011faSEmmanuel Vadot		};
444*0e8011faSEmmanuel Vadot
445*0e8011faSEmmanuel Vadot		vreg_l13b_3p0: ldo13 {
446*0e8011faSEmmanuel Vadot			regulator-name = "vreg_l13b_3p0";
447*0e8011faSEmmanuel Vadot			regulator-min-microvolt = <3000000>;
448*0e8011faSEmmanuel Vadot			regulator-max-microvolt = <3000000>;
449*0e8011faSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
450*0e8011faSEmmanuel Vadot			regulator-allow-set-load;
451*0e8011faSEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
452*0e8011faSEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
453*0e8011faSEmmanuel Vadot		};
454*0e8011faSEmmanuel Vadot
455*0e8011faSEmmanuel Vadot		vreg_l14b_3p2: ldo14 {
456*0e8011faSEmmanuel Vadot			regulator-name = "vreg_l14b_3p2";
457*0e8011faSEmmanuel Vadot			regulator-min-microvolt = <3200000>;
458*0e8011faSEmmanuel Vadot			regulator-max-microvolt = <3200000>;
459*0e8011faSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
460*0e8011faSEmmanuel Vadot			regulator-allow-set-load;
461*0e8011faSEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
462*0e8011faSEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
463*0e8011faSEmmanuel Vadot		};
464*0e8011faSEmmanuel Vadot
465*0e8011faSEmmanuel Vadot		vreg_l15b_1p8: ldo15 {
466*0e8011faSEmmanuel Vadot			regulator-name = "vreg_l15b_1p8";
467*0e8011faSEmmanuel Vadot			regulator-min-microvolt = <1800000>;
468*0e8011faSEmmanuel Vadot			regulator-max-microvolt = <1800000>;
469*0e8011faSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
470*0e8011faSEmmanuel Vadot			regulator-allow-set-load;
471*0e8011faSEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
472*0e8011faSEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
473*0e8011faSEmmanuel Vadot		};
474*0e8011faSEmmanuel Vadot
475*0e8011faSEmmanuel Vadot		vreg_l16b_2p8: ldo16 {
476*0e8011faSEmmanuel Vadot			regulator-name = "vreg_l16b_2p8";
477*0e8011faSEmmanuel Vadot			regulator-min-microvolt = <2800000>;
478*0e8011faSEmmanuel Vadot			regulator-max-microvolt = <2800000>;
479*0e8011faSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
480*0e8011faSEmmanuel Vadot			regulator-allow-set-load;
481*0e8011faSEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
482*0e8011faSEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
483*0e8011faSEmmanuel Vadot		};
484*0e8011faSEmmanuel Vadot
485*0e8011faSEmmanuel Vadot		vreg_l17b_2p5: ldo17 {
486*0e8011faSEmmanuel Vadot			regulator-name = "vreg_l17b_2p5";
487*0e8011faSEmmanuel Vadot			regulator-min-microvolt = <2504000>;
488*0e8011faSEmmanuel Vadot			regulator-max-microvolt = <2504000>;
489*0e8011faSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
490*0e8011faSEmmanuel Vadot			regulator-allow-set-load;
491*0e8011faSEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
492*0e8011faSEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
493*0e8011faSEmmanuel Vadot		};
494*0e8011faSEmmanuel Vadot	};
495*0e8011faSEmmanuel Vadot
496*0e8011faSEmmanuel Vadot	regulators-1 {
497*0e8011faSEmmanuel Vadot		compatible = "qcom,pm8550vs-rpmh-regulators";
498*0e8011faSEmmanuel Vadot
499*0e8011faSEmmanuel Vadot		vdd-l1-supply = <&vreg_s1c_1p2>;
500*0e8011faSEmmanuel Vadot		vdd-l2-supply = <&vreg_s1c_1p2>;
501*0e8011faSEmmanuel Vadot		vdd-l3-supply = <&vreg_s1c_1p2>;
502*0e8011faSEmmanuel Vadot		vdd-s1-supply = <&vph_pwr>;
503*0e8011faSEmmanuel Vadot		vdd-s2-supply = <&vph_pwr>;
504*0e8011faSEmmanuel Vadot		vdd-s3-supply = <&vph_pwr>;
505*0e8011faSEmmanuel Vadot		vdd-s4-supply = <&vph_pwr>;
506*0e8011faSEmmanuel Vadot		vdd-s5-supply = <&vph_pwr>;
507*0e8011faSEmmanuel Vadot		vdd-s6-supply = <&vph_pwr>;
508*0e8011faSEmmanuel Vadot
509*0e8011faSEmmanuel Vadot		qcom,pmic-id = "c";
510*0e8011faSEmmanuel Vadot
511*0e8011faSEmmanuel Vadot		vreg_s1c_1p2: smps1 {
512*0e8011faSEmmanuel Vadot			regulator-name = "vreg_s1c_1p2";
513*0e8011faSEmmanuel Vadot			regulator-min-microvolt = <1256000>;
514*0e8011faSEmmanuel Vadot			regulator-max-microvolt = <1348000>;
515*0e8011faSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
516*0e8011faSEmmanuel Vadot		};
517*0e8011faSEmmanuel Vadot
518*0e8011faSEmmanuel Vadot		vreg_s2c_0p8: smps2 {
519*0e8011faSEmmanuel Vadot			regulator-name = "vreg_s2c_0p8";
520*0e8011faSEmmanuel Vadot			regulator-min-microvolt = <852000>;
521*0e8011faSEmmanuel Vadot			regulator-max-microvolt = <1036000>;
522*0e8011faSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
523*0e8011faSEmmanuel Vadot		};
524*0e8011faSEmmanuel Vadot
525*0e8011faSEmmanuel Vadot		vreg_s3c_0p9: smps3 {
526*0e8011faSEmmanuel Vadot			regulator-name = "vreg_s3c_0p9";
527*0e8011faSEmmanuel Vadot			regulator-min-microvolt = <976000>;
528*0e8011faSEmmanuel Vadot			regulator-max-microvolt = <1064000>;
529*0e8011faSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
530*0e8011faSEmmanuel Vadot		};
531*0e8011faSEmmanuel Vadot
532*0e8011faSEmmanuel Vadot		vreg_s4c_1p2: smps4 {
533*0e8011faSEmmanuel Vadot			regulator-name = "vreg_s4c_1p2";
534*0e8011faSEmmanuel Vadot			regulator-min-microvolt = <1224000>;
535*0e8011faSEmmanuel Vadot			regulator-max-microvolt = <1280000>;
536*0e8011faSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
537*0e8011faSEmmanuel Vadot		};
538*0e8011faSEmmanuel Vadot
539*0e8011faSEmmanuel Vadot		vreg_s5c_0p7: smps5 {
540*0e8011faSEmmanuel Vadot			regulator-name = "vreg_s5c_0p7";
541*0e8011faSEmmanuel Vadot			regulator-min-microvolt = <752000>;
542*0e8011faSEmmanuel Vadot			regulator-max-microvolt = <900000>;
543*0e8011faSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
544*0e8011faSEmmanuel Vadot		};
545*0e8011faSEmmanuel Vadot
546*0e8011faSEmmanuel Vadot		vreg_s6c_1p8: smps6 {
547*0e8011faSEmmanuel Vadot			regulator-name = "vreg_s6c_1p8";
548*0e8011faSEmmanuel Vadot			regulator-min-microvolt = <1856000>;
549*0e8011faSEmmanuel Vadot			regulator-max-microvolt = <2000000>;
550*0e8011faSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
551*0e8011faSEmmanuel Vadot		};
552*0e8011faSEmmanuel Vadot
553*0e8011faSEmmanuel Vadot		vreg_l1c_1p2: ldo1 {
554*0e8011faSEmmanuel Vadot			regulator-name = "vreg_l1c_1p2";
555*0e8011faSEmmanuel Vadot			regulator-min-microvolt = <1200000>;
556*0e8011faSEmmanuel Vadot			regulator-max-microvolt = <1200000>;
557*0e8011faSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
558*0e8011faSEmmanuel Vadot			regulator-allow-set-load;
559*0e8011faSEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
560*0e8011faSEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
561*0e8011faSEmmanuel Vadot		};
562*0e8011faSEmmanuel Vadot
563*0e8011faSEmmanuel Vadot		vreg_l3c_1p2: ldo3 {
564*0e8011faSEmmanuel Vadot			regulator-name = "vreg_l3c_1p2";
565*0e8011faSEmmanuel Vadot			regulator-min-microvolt = <1200000>;
566*0e8011faSEmmanuel Vadot			regulator-max-microvolt = <1200000>;
567*0e8011faSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
568*0e8011faSEmmanuel Vadot			regulator-allow-set-load;
569*0e8011faSEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
570*0e8011faSEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
571*0e8011faSEmmanuel Vadot		};
572*0e8011faSEmmanuel Vadot	};
573*0e8011faSEmmanuel Vadot
574*0e8011faSEmmanuel Vadot	regulators-2 {
575*0e8011faSEmmanuel Vadot		compatible = "qcom,pm8550vs-rpmh-regulators";
576*0e8011faSEmmanuel Vadot
577*0e8011faSEmmanuel Vadot		vdd-l1-supply = <&vreg_s3c_0p9>;
578*0e8011faSEmmanuel Vadot
579*0e8011faSEmmanuel Vadot		qcom,pmic-id = "d";
580*0e8011faSEmmanuel Vadot
581*0e8011faSEmmanuel Vadot		vreg_l1d_0p88: ldo1 {
582*0e8011faSEmmanuel Vadot			regulator-name = "vreg_l1d_0p88";
583*0e8011faSEmmanuel Vadot			regulator-min-microvolt = <912000>;
584*0e8011faSEmmanuel Vadot			regulator-max-microvolt = <920000>;
585*0e8011faSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
586*0e8011faSEmmanuel Vadot			regulator-allow-set-load;
587*0e8011faSEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
588*0e8011faSEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
589*0e8011faSEmmanuel Vadot		};
590*0e8011faSEmmanuel Vadot	};
591*0e8011faSEmmanuel Vadot
592*0e8011faSEmmanuel Vadot	regulators-3 {
593*0e8011faSEmmanuel Vadot		compatible = "qcom,pm8550vs-rpmh-regulators";
594*0e8011faSEmmanuel Vadot
595*0e8011faSEmmanuel Vadot		vdd-l3-supply = <&vreg_s3c_0p9>;
596*0e8011faSEmmanuel Vadot
597*0e8011faSEmmanuel Vadot		qcom,pmic-id = "e";
598*0e8011faSEmmanuel Vadot
599*0e8011faSEmmanuel Vadot		vreg_l3e_0p9: ldo3 {
600*0e8011faSEmmanuel Vadot			regulator-name = "vreg_l3e_0p9";
601*0e8011faSEmmanuel Vadot			regulator-min-microvolt = <880000>;
602*0e8011faSEmmanuel Vadot			regulator-max-microvolt = <920000>;
603*0e8011faSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
604*0e8011faSEmmanuel Vadot			regulator-allow-set-load;
605*0e8011faSEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
606*0e8011faSEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
607*0e8011faSEmmanuel Vadot		};
608*0e8011faSEmmanuel Vadot	};
609*0e8011faSEmmanuel Vadot
610*0e8011faSEmmanuel Vadot	regulators-4 {
611*0e8011faSEmmanuel Vadot		compatible = "qcom,pm8550vs-rpmh-regulators";
612*0e8011faSEmmanuel Vadot
613*0e8011faSEmmanuel Vadot		vdd-l1-supply = <&vreg_s3c_0p9>;
614*0e8011faSEmmanuel Vadot		vdd-l3-supply = <&vreg_s3c_0p9>;
615*0e8011faSEmmanuel Vadot
616*0e8011faSEmmanuel Vadot		qcom,pmic-id = "g";
617*0e8011faSEmmanuel Vadot
618*0e8011faSEmmanuel Vadot		vreg_l1g_0p91: ldo1 {
619*0e8011faSEmmanuel Vadot			regulator-name = "vreg_l1g_0p91";
620*0e8011faSEmmanuel Vadot			regulator-min-microvolt = <912000>;
621*0e8011faSEmmanuel Vadot			regulator-max-microvolt = <920000>;
622*0e8011faSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
623*0e8011faSEmmanuel Vadot			regulator-allow-set-load;
624*0e8011faSEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
625*0e8011faSEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
626*0e8011faSEmmanuel Vadot		};
627*0e8011faSEmmanuel Vadot
628*0e8011faSEmmanuel Vadot		vreg_l3g_0p91: ldo3 {
629*0e8011faSEmmanuel Vadot			regulator-name = "vreg_l3g_0p91";
630*0e8011faSEmmanuel Vadot			regulator-min-microvolt = <880000>;
631*0e8011faSEmmanuel Vadot			regulator-max-microvolt = <912000>;
632*0e8011faSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
633*0e8011faSEmmanuel Vadot			regulator-allow-set-load;
634*0e8011faSEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
635*0e8011faSEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
636*0e8011faSEmmanuel Vadot		};
637*0e8011faSEmmanuel Vadot	};
638*0e8011faSEmmanuel Vadot
639*0e8011faSEmmanuel Vadot	regulators-5 {
640*0e8011faSEmmanuel Vadot		compatible = "qcom,pm8550ve-rpmh-regulators";
641*0e8011faSEmmanuel Vadot
642*0e8011faSEmmanuel Vadot		vdd-l1-supply = <&vreg_s3c_0p9>;
643*0e8011faSEmmanuel Vadot		vdd-l2-supply = <&vreg_s3c_0p9>;
644*0e8011faSEmmanuel Vadot		vdd-l3-supply = <&vreg_s1c_1p2>;
645*0e8011faSEmmanuel Vadot		vdd-s4-supply = <&vph_pwr>;
646*0e8011faSEmmanuel Vadot
647*0e8011faSEmmanuel Vadot		qcom,pmic-id = "i";
648*0e8011faSEmmanuel Vadot
649*0e8011faSEmmanuel Vadot		vreg_s4i_0p85: smps4 {
650*0e8011faSEmmanuel Vadot			regulator-name = "vreg_s4i_0p85";
651*0e8011faSEmmanuel Vadot			regulator-min-microvolt = <852000>;
652*0e8011faSEmmanuel Vadot			regulator-max-microvolt = <1004000>;
653*0e8011faSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
654*0e8011faSEmmanuel Vadot		};
655*0e8011faSEmmanuel Vadot
656*0e8011faSEmmanuel Vadot		vreg_l1i_0p88: ldo1 {
657*0e8011faSEmmanuel Vadot			regulator-name = "vreg_l1i_0p88";
658*0e8011faSEmmanuel Vadot			regulator-min-microvolt = <880000>;
659*0e8011faSEmmanuel Vadot			regulator-max-microvolt = <912000>;
660*0e8011faSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
661*0e8011faSEmmanuel Vadot			regulator-allow-set-load;
662*0e8011faSEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
663*0e8011faSEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
664*0e8011faSEmmanuel Vadot		};
665*0e8011faSEmmanuel Vadot
666*0e8011faSEmmanuel Vadot		vreg_l2i_0p88: ldo2 {
667*0e8011faSEmmanuel Vadot			regulator-name = "vreg_l2i_0p88";
668*0e8011faSEmmanuel Vadot			regulator-min-microvolt = <880000>;
669*0e8011faSEmmanuel Vadot			regulator-max-microvolt = <912000>;
670*0e8011faSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
671*0e8011faSEmmanuel Vadot			regulator-allow-set-load;
672*0e8011faSEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
673*0e8011faSEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
674*0e8011faSEmmanuel Vadot		};
675*0e8011faSEmmanuel Vadot
676*0e8011faSEmmanuel Vadot		vreg_l3i_1p2: ldo3 {
677*0e8011faSEmmanuel Vadot			regulator-name = "vreg_l3i_0p91";
678*0e8011faSEmmanuel Vadot			regulator-min-microvolt = <1200000>;
679*0e8011faSEmmanuel Vadot			regulator-max-microvolt = <1200000>;
680*0e8011faSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
681*0e8011faSEmmanuel Vadot			regulator-allow-set-load;
682*0e8011faSEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
683*0e8011faSEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
684*0e8011faSEmmanuel Vadot		};
685*0e8011faSEmmanuel Vadot	};
686*0e8011faSEmmanuel Vadot
687*0e8011faSEmmanuel Vadot	regulators-6 {
688*0e8011faSEmmanuel Vadot		compatible = "qcom,pm8010-rpmh-regulators";
689*0e8011faSEmmanuel Vadot		qcom,pmic-id = "m";
690*0e8011faSEmmanuel Vadot
691*0e8011faSEmmanuel Vadot		vdd-l1-l2-supply = <&vreg_s1c_1p2>;
692*0e8011faSEmmanuel Vadot		vdd-l3-l4-supply = <&vreg_bob2>;
693*0e8011faSEmmanuel Vadot		vdd-l5-supply = <&vreg_s6c_1p8>;
694*0e8011faSEmmanuel Vadot		vdd-l6-supply = <&vreg_bob1>;
695*0e8011faSEmmanuel Vadot		vdd-l7-supply = <&vreg_bob1>;
696*0e8011faSEmmanuel Vadot
697*0e8011faSEmmanuel Vadot		vreg_l1m_1p1: ldo1 {
698*0e8011faSEmmanuel Vadot			regulator-name = "vreg_l1m_1p1";
699*0e8011faSEmmanuel Vadot			regulator-min-microvolt = <1104000>;
700*0e8011faSEmmanuel Vadot			regulator-max-microvolt = <1104000>;
701*0e8011faSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
702*0e8011faSEmmanuel Vadot			regulator-allow-set-load;
703*0e8011faSEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
704*0e8011faSEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
705*0e8011faSEmmanuel Vadot		};
706*0e8011faSEmmanuel Vadot
707*0e8011faSEmmanuel Vadot		vreg_l2m_1p056: ldo2 {
708*0e8011faSEmmanuel Vadot			regulator-name = "vreg_l2m_1p056";
709*0e8011faSEmmanuel Vadot			regulator-min-microvolt = <1056000>;
710*0e8011faSEmmanuel Vadot			regulator-max-microvolt = <1056000>;
711*0e8011faSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
712*0e8011faSEmmanuel Vadot			regulator-allow-set-load;
713*0e8011faSEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
714*0e8011faSEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
715*0e8011faSEmmanuel Vadot		};
716*0e8011faSEmmanuel Vadot
717*0e8011faSEmmanuel Vadot		vreg_l3m_2p8: ldo3 {
718*0e8011faSEmmanuel Vadot			regulator-name = "vreg_l3m_2p8";
719*0e8011faSEmmanuel Vadot			regulator-min-microvolt = <2800000>;
720*0e8011faSEmmanuel Vadot			regulator-max-microvolt = <2800000>;
721*0e8011faSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
722*0e8011faSEmmanuel Vadot		};
723*0e8011faSEmmanuel Vadot
724*0e8011faSEmmanuel Vadot		vreg_l4m_2p8: ldo4 {
725*0e8011faSEmmanuel Vadot			regulator-name = "vreg_l4m_2p8";
726*0e8011faSEmmanuel Vadot			regulator-min-microvolt = <2800000>;
727*0e8011faSEmmanuel Vadot			regulator-max-microvolt = <2800000>;
728*0e8011faSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
729*0e8011faSEmmanuel Vadot		};
730*0e8011faSEmmanuel Vadot
731*0e8011faSEmmanuel Vadot		vreg_l5m_1p8: ldo5 {
732*0e8011faSEmmanuel Vadot			regulator-name = "vreg_l5m_1p8";
733*0e8011faSEmmanuel Vadot			regulator-min-microvolt = <1800000>;
734*0e8011faSEmmanuel Vadot			regulator-max-microvolt = <1800000>;
735*0e8011faSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
736*0e8011faSEmmanuel Vadot		};
737*0e8011faSEmmanuel Vadot
738*0e8011faSEmmanuel Vadot		vreg_l6m_2p8: ldo6 {
739*0e8011faSEmmanuel Vadot			regulator-name = "vreg_l6m_2p8";
740*0e8011faSEmmanuel Vadot			regulator-min-microvolt = <2800000>;
741*0e8011faSEmmanuel Vadot			regulator-max-microvolt = <2800000>;
742*0e8011faSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
743*0e8011faSEmmanuel Vadot		};
744*0e8011faSEmmanuel Vadot
745*0e8011faSEmmanuel Vadot		vreg_l7m_2p96: ldo7 {
746*0e8011faSEmmanuel Vadot			regulator-name = "vreg_l7m_2p96";
747*0e8011faSEmmanuel Vadot			regulator-min-microvolt = <2960000>;
748*0e8011faSEmmanuel Vadot			regulator-max-microvolt = <2960000>;
749*0e8011faSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
750*0e8011faSEmmanuel Vadot		};
751*0e8011faSEmmanuel Vadot	};
752*0e8011faSEmmanuel Vadot
753*0e8011faSEmmanuel Vadot	regulators-7 {
754*0e8011faSEmmanuel Vadot		compatible = "qcom,pm8010-rpmh-regulators";
755*0e8011faSEmmanuel Vadot		qcom,pmic-id = "n";
756*0e8011faSEmmanuel Vadot
757*0e8011faSEmmanuel Vadot		vdd-l1-l2-supply = <&vreg_s1c_1p2>;
758*0e8011faSEmmanuel Vadot		vdd-l3-l4-supply = <&vreg_s6c_1p8>;
759*0e8011faSEmmanuel Vadot		vdd-l5-supply = <&vreg_bob2>;
760*0e8011faSEmmanuel Vadot		vdd-l6-supply = <&vreg_bob2>;
761*0e8011faSEmmanuel Vadot		vdd-l7-supply = <&vreg_bob1>;
762*0e8011faSEmmanuel Vadot
763*0e8011faSEmmanuel Vadot		vreg_l1n_1p1: ldo1 {
764*0e8011faSEmmanuel Vadot			regulator-name = "vreg_l1n_1p1";
765*0e8011faSEmmanuel Vadot			regulator-min-microvolt = <1104000>;
766*0e8011faSEmmanuel Vadot			regulator-max-microvolt = <1104000>;
767*0e8011faSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
768*0e8011faSEmmanuel Vadot			regulator-allow-set-load;
769*0e8011faSEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
770*0e8011faSEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
771*0e8011faSEmmanuel Vadot		};
772*0e8011faSEmmanuel Vadot
773*0e8011faSEmmanuel Vadot		vreg_l2n_1p056: ldo2 {
774*0e8011faSEmmanuel Vadot			regulator-name = "vreg_l2n_1p056";
775*0e8011faSEmmanuel Vadot			regulator-min-microvolt = <1056000>;
776*0e8011faSEmmanuel Vadot			regulator-max-microvolt = <1056000>;
777*0e8011faSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
778*0e8011faSEmmanuel Vadot			regulator-allow-set-load;
779*0e8011faSEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
780*0e8011faSEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
781*0e8011faSEmmanuel Vadot		};
782*0e8011faSEmmanuel Vadot
783*0e8011faSEmmanuel Vadot		vreg_l3n_1p8: ldo3 {
784*0e8011faSEmmanuel Vadot			regulator-name = "vreg_l3n_1p8";
785*0e8011faSEmmanuel Vadot			regulator-min-microvolt = <1800000>;
786*0e8011faSEmmanuel Vadot			regulator-max-microvolt = <1800000>;
787*0e8011faSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
788*0e8011faSEmmanuel Vadot		};
789*0e8011faSEmmanuel Vadot
790*0e8011faSEmmanuel Vadot		vreg_l4n_1p8: ldo4 {
791*0e8011faSEmmanuel Vadot			regulator-name = "vreg_l4n_1p8";
792*0e8011faSEmmanuel Vadot			regulator-min-microvolt = <1800000>;
793*0e8011faSEmmanuel Vadot			regulator-max-microvolt = <1800000>;
794*0e8011faSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
795*0e8011faSEmmanuel Vadot		};
796*0e8011faSEmmanuel Vadot
797*0e8011faSEmmanuel Vadot		vreg_l5n_2p8: ldo5 {
798*0e8011faSEmmanuel Vadot			regulator-name = "vreg_l5n_2p8";
799*0e8011faSEmmanuel Vadot			regulator-min-microvolt = <2800000>;
800*0e8011faSEmmanuel Vadot			regulator-max-microvolt = <2800000>;
801*0e8011faSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
802*0e8011faSEmmanuel Vadot		};
803*0e8011faSEmmanuel Vadot
804*0e8011faSEmmanuel Vadot		vreg_l6n_2p8: ldo6 {
805*0e8011faSEmmanuel Vadot			regulator-name = "vreg_l6n_2p8";
806*0e8011faSEmmanuel Vadot			regulator-min-microvolt = <2800000>;
807*0e8011faSEmmanuel Vadot			regulator-max-microvolt = <2800000>;
808*0e8011faSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
809*0e8011faSEmmanuel Vadot		};
810*0e8011faSEmmanuel Vadot
811*0e8011faSEmmanuel Vadot		vreg_l7n_3p3: ldo7 {
812*0e8011faSEmmanuel Vadot			regulator-name = "vreg_l7n_3p3";
813*0e8011faSEmmanuel Vadot			regulator-min-microvolt = <3304000>;
814*0e8011faSEmmanuel Vadot			regulator-max-microvolt = <3304000>;
815*0e8011faSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
816*0e8011faSEmmanuel Vadot		};
817*0e8011faSEmmanuel Vadot	};
818*0e8011faSEmmanuel Vadot};
819*0e8011faSEmmanuel Vadot
820*0e8011faSEmmanuel Vadot&dispcc {
821*0e8011faSEmmanuel Vadot	status = "okay";
822*0e8011faSEmmanuel Vadot};
823*0e8011faSEmmanuel Vadot
824*0e8011faSEmmanuel Vadot&gpi_dma1 {
825*0e8011faSEmmanuel Vadot	status = "okay";
826*0e8011faSEmmanuel Vadot};
827*0e8011faSEmmanuel Vadot
828*0e8011faSEmmanuel Vadot&i2c3 {
829*0e8011faSEmmanuel Vadot       status = "okay";
830*0e8011faSEmmanuel Vadot
831*0e8011faSEmmanuel Vadot       wcd_usbss: typec-mux@e {
832*0e8011faSEmmanuel Vadot		compatible = "qcom,wcd9395-usbss", "qcom,wcd9390-usbss";
833*0e8011faSEmmanuel Vadot		reg = <0xe>;
834*0e8011faSEmmanuel Vadot
835*0e8011faSEmmanuel Vadot		vdd-supply = <&vreg_l15b_1p8>;
836*0e8011faSEmmanuel Vadot		reset-gpios = <&tlmm 152 GPIO_ACTIVE_HIGH>;
837*0e8011faSEmmanuel Vadot
838*0e8011faSEmmanuel Vadot		mode-switch;
839*0e8011faSEmmanuel Vadot		orientation-switch;
840*0e8011faSEmmanuel Vadot
841*0e8011faSEmmanuel Vadot		ports {
842*0e8011faSEmmanuel Vadot			#address-cells = <1>;
843*0e8011faSEmmanuel Vadot			#size-cells = <0>;
844*0e8011faSEmmanuel Vadot
845*0e8011faSEmmanuel Vadot			port@0 {
846*0e8011faSEmmanuel Vadot				reg = <0>;
847*0e8011faSEmmanuel Vadot
848*0e8011faSEmmanuel Vadot				wcd_usbss_sbu_mux: endpoint {
849*0e8011faSEmmanuel Vadot					remote-endpoint = <&pmic_glink_sbu>;
850*0e8011faSEmmanuel Vadot				};
851*0e8011faSEmmanuel Vadot			};
852*0e8011faSEmmanuel Vadot		};
853*0e8011faSEmmanuel Vadot       };
854*0e8011faSEmmanuel Vadot};
855*0e8011faSEmmanuel Vadot
856*0e8011faSEmmanuel Vadot&i2c6 {
857*0e8011faSEmmanuel Vadot	clock-frequency = <400000>;
858*0e8011faSEmmanuel Vadot	status = "okay";
859*0e8011faSEmmanuel Vadot
860*0e8011faSEmmanuel Vadot	lt9611_codec: hdmi-bridge@2b {
861*0e8011faSEmmanuel Vadot		compatible = "lontium,lt9611uxc";
862*0e8011faSEmmanuel Vadot		reg = <0x2b>;
863*0e8011faSEmmanuel Vadot
864*0e8011faSEmmanuel Vadot		interrupts-extended = <&tlmm 85 IRQ_TYPE_EDGE_FALLING>;
865*0e8011faSEmmanuel Vadot
866*0e8011faSEmmanuel Vadot		reset-gpios = <&tlmm 28 GPIO_ACTIVE_HIGH>;
867*0e8011faSEmmanuel Vadot
868*0e8011faSEmmanuel Vadot		vdd-supply = <&lt9611_1v2>;
869*0e8011faSEmmanuel Vadot		vcc-supply = <&lt9611_3v3>;
870*0e8011faSEmmanuel Vadot
871*0e8011faSEmmanuel Vadot		pinctrl-0 = <&lt9611_irq_pin>, <&lt9611_rst_pin>;
872*0e8011faSEmmanuel Vadot		pinctrl-names = "default";
873*0e8011faSEmmanuel Vadot
874*0e8011faSEmmanuel Vadot		ports {
875*0e8011faSEmmanuel Vadot			#address-cells = <1>;
876*0e8011faSEmmanuel Vadot			#size-cells = <0>;
877*0e8011faSEmmanuel Vadot
878*0e8011faSEmmanuel Vadot			port@0 {
879*0e8011faSEmmanuel Vadot				reg = <0>;
880*0e8011faSEmmanuel Vadot
881*0e8011faSEmmanuel Vadot				lt9611_a: endpoint {
882*0e8011faSEmmanuel Vadot					remote-endpoint = <&mdss_dsi0_out>;
883*0e8011faSEmmanuel Vadot				};
884*0e8011faSEmmanuel Vadot			};
885*0e8011faSEmmanuel Vadot
886*0e8011faSEmmanuel Vadot			port@2 {
887*0e8011faSEmmanuel Vadot				reg = <2>;
888*0e8011faSEmmanuel Vadot
889*0e8011faSEmmanuel Vadot				lt9611_out: endpoint {
890*0e8011faSEmmanuel Vadot					remote-endpoint = <&hdmi_connector_out>;
891*0e8011faSEmmanuel Vadot				};
892*0e8011faSEmmanuel Vadot			};
893*0e8011faSEmmanuel Vadot		};
894*0e8011faSEmmanuel Vadot	};
895*0e8011faSEmmanuel Vadot};
896*0e8011faSEmmanuel Vadot
897*0e8011faSEmmanuel Vadot&ipa {
898*0e8011faSEmmanuel Vadot	qcom,gsi-loader = "self";
899*0e8011faSEmmanuel Vadot	memory-region = <&ipa_fw_mem>;
900*0e8011faSEmmanuel Vadot	firmware-name = "qcom/sm8650/ipa_fws.mbn";
901*0e8011faSEmmanuel Vadot	status = "okay";
902*0e8011faSEmmanuel Vadot};
903*0e8011faSEmmanuel Vadot
904*0e8011faSEmmanuel Vadot&gpu {
905*0e8011faSEmmanuel Vadot	status = "okay";
906*0e8011faSEmmanuel Vadot
907*0e8011faSEmmanuel Vadot	zap-shader {
908*0e8011faSEmmanuel Vadot		firmware-name = "qcom/sm8650/gen70900_zap.mbn";
909*0e8011faSEmmanuel Vadot	};
910*0e8011faSEmmanuel Vadot};
911*0e8011faSEmmanuel Vadot
912*0e8011faSEmmanuel Vadot&lpass_tlmm {
913*0e8011faSEmmanuel Vadot	spkr_1_sd_n_active: spkr-1-sd-n-active-state {
914*0e8011faSEmmanuel Vadot		pins = "gpio21";
915*0e8011faSEmmanuel Vadot		function = "gpio";
916*0e8011faSEmmanuel Vadot		drive-strength = <16>;
917*0e8011faSEmmanuel Vadot		bias-disable;
918*0e8011faSEmmanuel Vadot		output-low;
919*0e8011faSEmmanuel Vadot	};
920*0e8011faSEmmanuel Vadot};
921*0e8011faSEmmanuel Vadot
922*0e8011faSEmmanuel Vadot&mdss {
923*0e8011faSEmmanuel Vadot	status = "okay";
924*0e8011faSEmmanuel Vadot};
925*0e8011faSEmmanuel Vadot
926*0e8011faSEmmanuel Vadot&mdss_dsi0 {
927*0e8011faSEmmanuel Vadot	vdda-supply = <&vreg_l3i_1p2>;
928*0e8011faSEmmanuel Vadot
929*0e8011faSEmmanuel Vadot	status = "okay";
930*0e8011faSEmmanuel Vadot};
931*0e8011faSEmmanuel Vadot
932*0e8011faSEmmanuel Vadot&mdss_dsi0_out {
933*0e8011faSEmmanuel Vadot	remote-endpoint = <&lt9611_a>;
934*0e8011faSEmmanuel Vadot	data-lanes = <0 1 2 3>;
935*0e8011faSEmmanuel Vadot};
936*0e8011faSEmmanuel Vadot
937*0e8011faSEmmanuel Vadot&mdss_dsi0_phy {
938*0e8011faSEmmanuel Vadot	vdds-supply = <&vreg_l1i_0p88>;
939*0e8011faSEmmanuel Vadot
940*0e8011faSEmmanuel Vadot	status = "okay";
941*0e8011faSEmmanuel Vadot};
942*0e8011faSEmmanuel Vadot
943*0e8011faSEmmanuel Vadot&mdss_dp0 {
944*0e8011faSEmmanuel Vadot	status = "okay";
945*0e8011faSEmmanuel Vadot};
946*0e8011faSEmmanuel Vadot
947*0e8011faSEmmanuel Vadot&mdss_dp0_out {
948*0e8011faSEmmanuel Vadot	data-lanes = <0 1>;
949*0e8011faSEmmanuel Vadot};
950*0e8011faSEmmanuel Vadot
951*0e8011faSEmmanuel Vadot&pcie0 {
952*0e8011faSEmmanuel Vadot	wake-gpios = <&tlmm 96 GPIO_ACTIVE_HIGH>;
953*0e8011faSEmmanuel Vadot	perst-gpios = <&tlmm 94 GPIO_ACTIVE_LOW>;
954*0e8011faSEmmanuel Vadot
955*0e8011faSEmmanuel Vadot	pinctrl-0 = <&pcie0_default_state>;
956*0e8011faSEmmanuel Vadot	pinctrl-names = "default";
957*0e8011faSEmmanuel Vadot
958*0e8011faSEmmanuel Vadot	status = "okay";
959*0e8011faSEmmanuel Vadot};
960*0e8011faSEmmanuel Vadot
961*0e8011faSEmmanuel Vadot&pcieport0 {
962*0e8011faSEmmanuel Vadot	wifi@0 {
963*0e8011faSEmmanuel Vadot		compatible = "pci17cb,1107";
964*0e8011faSEmmanuel Vadot		reg = <0x10000 0x0 0x0 0x0 0x0>;
965*0e8011faSEmmanuel Vadot
966*0e8011faSEmmanuel Vadot		vddrfacmn-supply = <&vreg_pmu_rfa_cmn>;
967*0e8011faSEmmanuel Vadot		vddaon-supply = <&vreg_pmu_aon_0p59>;
968*0e8011faSEmmanuel Vadot		vddwlcx-supply = <&vreg_pmu_wlcx_0p8>;
969*0e8011faSEmmanuel Vadot		vddwlmx-supply = <&vreg_pmu_wlmx_0p85>;
970*0e8011faSEmmanuel Vadot		vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>;
971*0e8011faSEmmanuel Vadot		vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>;
972*0e8011faSEmmanuel Vadot		vddrfa1p8-supply = <&vreg_pmu_rfa_1p8>;
973*0e8011faSEmmanuel Vadot		vddpcie0p9-supply = <&vreg_pmu_pcie_0p9>;
974*0e8011faSEmmanuel Vadot		vddpcie1p8-supply = <&vreg_pmu_pcie_1p8>;
975*0e8011faSEmmanuel Vadot	};
976*0e8011faSEmmanuel Vadot};
977*0e8011faSEmmanuel Vadot
978*0e8011faSEmmanuel Vadot&pcie0_phy {
979*0e8011faSEmmanuel Vadot	vdda-phy-supply = <&vreg_l1i_0p88>;
980*0e8011faSEmmanuel Vadot	vdda-pll-supply = <&vreg_l3i_1p2>;
981*0e8011faSEmmanuel Vadot
982*0e8011faSEmmanuel Vadot	status = "okay";
983*0e8011faSEmmanuel Vadot};
984*0e8011faSEmmanuel Vadot
985*0e8011faSEmmanuel Vadot&pcie1 {
986*0e8011faSEmmanuel Vadot	wake-gpios = <&tlmm 99 GPIO_ACTIVE_HIGH>;
987*0e8011faSEmmanuel Vadot	perst-gpios = <&tlmm 97 GPIO_ACTIVE_LOW>;
988*0e8011faSEmmanuel Vadot
989*0e8011faSEmmanuel Vadot	pinctrl-0 = <&pcie1_default_state>;
990*0e8011faSEmmanuel Vadot	pinctrl-names = "default";
991*0e8011faSEmmanuel Vadot
992*0e8011faSEmmanuel Vadot	status = "okay";
993*0e8011faSEmmanuel Vadot};
994*0e8011faSEmmanuel Vadot
995*0e8011faSEmmanuel Vadot&pcie1_phy {
996*0e8011faSEmmanuel Vadot	vdda-phy-supply = <&vreg_l3e_0p9>;
997*0e8011faSEmmanuel Vadot	vdda-pll-supply = <&vreg_l3i_1p2>;
998*0e8011faSEmmanuel Vadot	vdda-qref-supply = <&vreg_l1i_0p88>;
999*0e8011faSEmmanuel Vadot
1000*0e8011faSEmmanuel Vadot	status = "okay";
1001*0e8011faSEmmanuel Vadot};
1002*0e8011faSEmmanuel Vadot
1003*0e8011faSEmmanuel Vadot&pm8550_gpios {
1004*0e8011faSEmmanuel Vadot	sdc2_card_det_n: sdc2-card-det-state {
1005*0e8011faSEmmanuel Vadot		pins = "gpio12";
1006*0e8011faSEmmanuel Vadot		function = "normal";
1007*0e8011faSEmmanuel Vadot		bias-pull-up;
1008*0e8011faSEmmanuel Vadot		input-enable;
1009*0e8011faSEmmanuel Vadot		output-disable;
1010*0e8011faSEmmanuel Vadot		power-source = <1>; /* 1.8 V */
1011*0e8011faSEmmanuel Vadot	};
1012*0e8011faSEmmanuel Vadot
1013*0e8011faSEmmanuel Vadot	volume_up_n: volume-up-n-state {
1014*0e8011faSEmmanuel Vadot		pins = "gpio6";
1015*0e8011faSEmmanuel Vadot		function = "normal";
1016*0e8011faSEmmanuel Vadot		bias-pull-up;
1017*0e8011faSEmmanuel Vadot		input-enable;
1018*0e8011faSEmmanuel Vadot		power-source = <1>;
1019*0e8011faSEmmanuel Vadot	};
1020*0e8011faSEmmanuel Vadot};
1021*0e8011faSEmmanuel Vadot
1022*0e8011faSEmmanuel Vadot/* The RGB signals are routed to 3 separate LEDs on the HDK8650 */
1023*0e8011faSEmmanuel Vadot&pm8550_pwm {
1024*0e8011faSEmmanuel Vadot	#address-cells = <1>;
1025*0e8011faSEmmanuel Vadot	#size-cells = <0>;
1026*0e8011faSEmmanuel Vadot
1027*0e8011faSEmmanuel Vadot	status = "okay";
1028*0e8011faSEmmanuel Vadot
1029*0e8011faSEmmanuel Vadot	led@1 {
1030*0e8011faSEmmanuel Vadot		reg = <1>;
1031*0e8011faSEmmanuel Vadot		function = LED_FUNCTION_STATUS;
1032*0e8011faSEmmanuel Vadot		color = <LED_COLOR_ID_RED>;
1033*0e8011faSEmmanuel Vadot		default-state = "off";
1034*0e8011faSEmmanuel Vadot	};
1035*0e8011faSEmmanuel Vadot
1036*0e8011faSEmmanuel Vadot	led@2 {
1037*0e8011faSEmmanuel Vadot		reg = <2>;
1038*0e8011faSEmmanuel Vadot		function = LED_FUNCTION_STATUS;
1039*0e8011faSEmmanuel Vadot		color = <LED_COLOR_ID_GREEN>;
1040*0e8011faSEmmanuel Vadot		default-state = "off";
1041*0e8011faSEmmanuel Vadot	};
1042*0e8011faSEmmanuel Vadot
1043*0e8011faSEmmanuel Vadot	led@3 {
1044*0e8011faSEmmanuel Vadot		reg = <3>;
1045*0e8011faSEmmanuel Vadot		function = LED_FUNCTION_STATUS;
1046*0e8011faSEmmanuel Vadot		color = <LED_COLOR_ID_BLUE>;
1047*0e8011faSEmmanuel Vadot		default-state = "off";
1048*0e8011faSEmmanuel Vadot	};
1049*0e8011faSEmmanuel Vadot};
1050*0e8011faSEmmanuel Vadot
1051*0e8011faSEmmanuel Vadot&pm8550b_eusb2_repeater {
1052*0e8011faSEmmanuel Vadot	vdd18-supply = <&vreg_l15b_1p8>;
1053*0e8011faSEmmanuel Vadot	vdd3-supply = <&vreg_l5b_3p1>;
1054*0e8011faSEmmanuel Vadot};
1055*0e8011faSEmmanuel Vadot
1056*0e8011faSEmmanuel Vadot&pmk8550_rtc {
1057*0e8011faSEmmanuel Vadot	status = "okay";
1058*0e8011faSEmmanuel Vadot};
1059*0e8011faSEmmanuel Vadot
1060*0e8011faSEmmanuel Vadot&pon_pwrkey {
1061*0e8011faSEmmanuel Vadot	status = "okay";
1062*0e8011faSEmmanuel Vadot};
1063*0e8011faSEmmanuel Vadot
1064*0e8011faSEmmanuel Vadot&pon_resin {
1065*0e8011faSEmmanuel Vadot	linux,code = <KEY_VOLUMEDOWN>;
1066*0e8011faSEmmanuel Vadot
1067*0e8011faSEmmanuel Vadot	status = "okay";
1068*0e8011faSEmmanuel Vadot};
1069*0e8011faSEmmanuel Vadot
1070*0e8011faSEmmanuel Vadot&qup_i2c3_data_clk {
1071*0e8011faSEmmanuel Vadot	/* Use internal I2C pull-up */
1072*0e8011faSEmmanuel Vadot	bias-pull-up = <2200>;
1073*0e8011faSEmmanuel Vadot};
1074*0e8011faSEmmanuel Vadot
1075*0e8011faSEmmanuel Vadot&qupv3_id_0 {
1076*0e8011faSEmmanuel Vadot	iommus = <&apps_smmu 0xa3 0x3>;
1077*0e8011faSEmmanuel Vadot
1078*0e8011faSEmmanuel Vadot	status = "okay";
1079*0e8011faSEmmanuel Vadot};
1080*0e8011faSEmmanuel Vadot
1081*0e8011faSEmmanuel Vadot&qupv3_id_1 {
1082*0e8011faSEmmanuel Vadot	status = "okay";
1083*0e8011faSEmmanuel Vadot};
1084*0e8011faSEmmanuel Vadot
1085*0e8011faSEmmanuel Vadot&remoteproc_adsp {
1086*0e8011faSEmmanuel Vadot	firmware-name = "qcom/sm8650/adsp.mbn",
1087*0e8011faSEmmanuel Vadot			"qcom/sm8650/adsp_dtb.mbn";
1088*0e8011faSEmmanuel Vadot
1089*0e8011faSEmmanuel Vadot	status = "okay";
1090*0e8011faSEmmanuel Vadot};
1091*0e8011faSEmmanuel Vadot
1092*0e8011faSEmmanuel Vadot&remoteproc_cdsp {
1093*0e8011faSEmmanuel Vadot	firmware-name = "qcom/sm8650/cdsp.mbn",
1094*0e8011faSEmmanuel Vadot			"qcom/sm8650/cdsp_dtb.mbn";
1095*0e8011faSEmmanuel Vadot
1096*0e8011faSEmmanuel Vadot	status = "okay";
1097*0e8011faSEmmanuel Vadot};
1098*0e8011faSEmmanuel Vadot
1099*0e8011faSEmmanuel Vadot&remoteproc_mpss {
1100*0e8011faSEmmanuel Vadot	firmware-name = "qcom/sm8650/modem.mbn",
1101*0e8011faSEmmanuel Vadot			"qcom/sm8650/modem_dtb.mbn";
1102*0e8011faSEmmanuel Vadot
1103*0e8011faSEmmanuel Vadot	status = "okay";
1104*0e8011faSEmmanuel Vadot};
1105*0e8011faSEmmanuel Vadot
1106*0e8011faSEmmanuel Vadot&sdhc_2 {
1107*0e8011faSEmmanuel Vadot	cd-gpios = <&pm8550_gpios 12 GPIO_ACTIVE_HIGH>;
1108*0e8011faSEmmanuel Vadot
1109*0e8011faSEmmanuel Vadot	vmmc-supply = <&vreg_l9b_2p9>;
1110*0e8011faSEmmanuel Vadot	vqmmc-supply = <&vreg_l8b_1p8>;
1111*0e8011faSEmmanuel Vadot	bus-width = <4>;
1112*0e8011faSEmmanuel Vadot	no-sdio;
1113*0e8011faSEmmanuel Vadot	no-mmc;
1114*0e8011faSEmmanuel Vadot
1115*0e8011faSEmmanuel Vadot	pinctrl-0 = <&sdc2_default>, <&sdc2_card_det_n>;
1116*0e8011faSEmmanuel Vadot	pinctrl-1 = <&sdc2_sleep>, <&sdc2_card_det_n>;
1117*0e8011faSEmmanuel Vadot	pinctrl-names = "default", "sleep";
1118*0e8011faSEmmanuel Vadot
1119*0e8011faSEmmanuel Vadot	status = "okay";
1120*0e8011faSEmmanuel Vadot};
1121*0e8011faSEmmanuel Vadot
1122*0e8011faSEmmanuel Vadot&sleep_clk {
1123*0e8011faSEmmanuel Vadot	clock-frequency = <32000>;
1124*0e8011faSEmmanuel Vadot};
1125*0e8011faSEmmanuel Vadot
1126*0e8011faSEmmanuel Vadot&swr0 {
1127*0e8011faSEmmanuel Vadot	status = "okay";
1128*0e8011faSEmmanuel Vadot
1129*0e8011faSEmmanuel Vadot	/* WSA8845, Speaker North */
1130*0e8011faSEmmanuel Vadot	north_spkr: speaker@0,0 {
1131*0e8011faSEmmanuel Vadot		compatible = "sdw20217020400";
1132*0e8011faSEmmanuel Vadot		reg = <0 0>;
1133*0e8011faSEmmanuel Vadot		pinctrl-0 = <&spkr_1_sd_n_active>;
1134*0e8011faSEmmanuel Vadot		pinctrl-names = "default";
1135*0e8011faSEmmanuel Vadot		powerdown-gpios = <&lpass_tlmm 21 GPIO_ACTIVE_LOW>;
1136*0e8011faSEmmanuel Vadot		#sound-dai-cells = <0>;
1137*0e8011faSEmmanuel Vadot		sound-name-prefix = "SpkrLeft";
1138*0e8011faSEmmanuel Vadot		vdd-1p8-supply = <&vreg_l15b_1p8>;
1139*0e8011faSEmmanuel Vadot		vdd-io-supply = <&vreg_l3c_1p2>;
1140*0e8011faSEmmanuel Vadot
1141*0e8011faSEmmanuel Vadot		/*
1142*0e8011faSEmmanuel Vadot		 * WSA8845 Port 1 (DAC)     <=> SWR0 Port 1 (SPKR_L)
1143*0e8011faSEmmanuel Vadot		 * WSA8845 Port 2 (COMP)    <=> SWR0 Port 2 (SPKR_L_COMP)
1144*0e8011faSEmmanuel Vadot		 * WSA8845 Port 3 (BOOST)   <=> SWR0 Port 3 (SPKR_L_BOOST)
1145*0e8011faSEmmanuel Vadot		 * WSA8845 Port 4 (PBR)     <=> SWR0 Port 7 (PBR)
1146*0e8011faSEmmanuel Vadot		 * WSA8845 Port 5 (VISENSE) <=> SWR0 Port 10 (SPKR_L_VI)
1147*0e8011faSEmmanuel Vadot		 * WSA8845 Port 6 (CPS)     <=> SWR0 Port 13 (CPS)
1148*0e8011faSEmmanuel Vadot		 */
1149*0e8011faSEmmanuel Vadot		qcom,port-mapping = <1 2 3 7 10 13>;
1150*0e8011faSEmmanuel Vadot	};
1151*0e8011faSEmmanuel Vadot
1152*0e8011faSEmmanuel Vadot	/* WSA8845, Speaker South */
1153*0e8011faSEmmanuel Vadot	south_spkr: speaker@0,1 {
1154*0e8011faSEmmanuel Vadot		compatible = "sdw20217020400";
1155*0e8011faSEmmanuel Vadot		reg = <0 1>;
1156*0e8011faSEmmanuel Vadot		pinctrl-0 = <&spkr_2_sd_n_active>;
1157*0e8011faSEmmanuel Vadot		pinctrl-names = "default";
1158*0e8011faSEmmanuel Vadot		powerdown-gpios = <&tlmm 77 GPIO_ACTIVE_LOW>;
1159*0e8011faSEmmanuel Vadot		#sound-dai-cells = <0>;
1160*0e8011faSEmmanuel Vadot		sound-name-prefix = "SpkrRight";
1161*0e8011faSEmmanuel Vadot		vdd-1p8-supply = <&vreg_l15b_1p8>;
1162*0e8011faSEmmanuel Vadot		vdd-io-supply = <&vreg_l3c_1p2>;
1163*0e8011faSEmmanuel Vadot
1164*0e8011faSEmmanuel Vadot		/*
1165*0e8011faSEmmanuel Vadot		 * WSA8845 Port 1 (DAC)     <=> SWR0 Port 4 (SPKR_R)
1166*0e8011faSEmmanuel Vadot		 * WSA8845 Port 2 (COMP)    <=> SWR0 Port 5 (SPKR_R_COMP)
1167*0e8011faSEmmanuel Vadot		 * WSA8845 Port 3 (BOOST)   <=> SWR0 Port 6 (SPKR_R_BOOST)
1168*0e8011faSEmmanuel Vadot		 * WSA8845 Port 4 (PBR)     <=> SWR0 Port 7 (PBR)
1169*0e8011faSEmmanuel Vadot		 * WSA8845 Port 5 (VISENSE) <=> SWR0 Port 11 (SPKR_R_VI)
1170*0e8011faSEmmanuel Vadot		 * WSA8845 Port 6 (CPS)     <=> SWR0 Port 13 (CPS)
1171*0e8011faSEmmanuel Vadot		 */
1172*0e8011faSEmmanuel Vadot		qcom,port-mapping = <4 5 6 7 11 13>;
1173*0e8011faSEmmanuel Vadot	};
1174*0e8011faSEmmanuel Vadot};
1175*0e8011faSEmmanuel Vadot
1176*0e8011faSEmmanuel Vadot&swr1 {
1177*0e8011faSEmmanuel Vadot	status = "okay";
1178*0e8011faSEmmanuel Vadot
1179*0e8011faSEmmanuel Vadot	/* WCD9395 RX */
1180*0e8011faSEmmanuel Vadot	wcd_rx: codec@0,4 {
1181*0e8011faSEmmanuel Vadot		compatible = "sdw20217010e00";
1182*0e8011faSEmmanuel Vadot		reg = <0 4>;
1183*0e8011faSEmmanuel Vadot
1184*0e8011faSEmmanuel Vadot		/*
1185*0e8011faSEmmanuel Vadot		 * WCD9395 RX Port 1 (HPH_L/R)      <=> SWR1 Port 1 (HPH_L/R)
1186*0e8011faSEmmanuel Vadot		 * WCD9395 RX Port 2 (CLSH)         <=> SWR1 Port 2 (CLSH)
1187*0e8011faSEmmanuel Vadot		 * WCD9395 RX Port 3 (COMP_L/R)     <=> SWR1 Port 3 (COMP_L/R)
1188*0e8011faSEmmanuel Vadot		 * WCD9395 RX Port 4 (LO)           <=> SWR1 Port 4 (LO)
1189*0e8011faSEmmanuel Vadot		 * WCD9395 RX Port 5 (DSD_L/R)      <=> SWR1 Port 5 (DSD_L/R)
1190*0e8011faSEmmanuel Vadot		 * WCD9395 RX Port 6 (HIFI_PCM_L/R) <=> SWR1 Port 9 (HIFI_PCM_L/R)
1191*0e8011faSEmmanuel Vadot		 */
1192*0e8011faSEmmanuel Vadot		qcom,rx-port-mapping = <1 2 3 4 5 9>;
1193*0e8011faSEmmanuel Vadot	};
1194*0e8011faSEmmanuel Vadot};
1195*0e8011faSEmmanuel Vadot
1196*0e8011faSEmmanuel Vadot&swr2 {
1197*0e8011faSEmmanuel Vadot	status = "okay";
1198*0e8011faSEmmanuel Vadot
1199*0e8011faSEmmanuel Vadot	/* WCD9395 TX */
1200*0e8011faSEmmanuel Vadot	wcd_tx: codec@0,3 {
1201*0e8011faSEmmanuel Vadot		compatible = "sdw20217010e00";
1202*0e8011faSEmmanuel Vadot		reg = <0 3>;
1203*0e8011faSEmmanuel Vadot
1204*0e8011faSEmmanuel Vadot		/*
1205*0e8011faSEmmanuel Vadot		 * WCD9395 TX Port 1 (ADC1,2,3,4)         <=> SWR2 Port 2 (TX SWR_INPUT 0,1,2,3)
1206*0e8011faSEmmanuel Vadot		 * WCD9395 TX Port 2 (ADC3,4 & DMIC0,1)   <=> SWR2 Port 2 (TX SWR_INPUT 0,1,2,3)
1207*0e8011faSEmmanuel Vadot		 * WCD9395 TX Port 3 (DMIC0,1,2,3 & MBHC) <=> SWR2 Port 3 (TX SWR_INPUT 4,5,6,7)
1208*0e8011faSEmmanuel Vadot		 * WCD9395 TX Port 4 (DMIC4,5,6,7)        <=> SWR2 Port 4 (TX SWR_INPUT 8,9,10,11)
1209*0e8011faSEmmanuel Vadot		 */
1210*0e8011faSEmmanuel Vadot		qcom,tx-port-mapping = <2 2 3 4>;
1211*0e8011faSEmmanuel Vadot	};
1212*0e8011faSEmmanuel Vadot};
1213*0e8011faSEmmanuel Vadot
1214*0e8011faSEmmanuel Vadot&tlmm {
1215*0e8011faSEmmanuel Vadot	/* Reserved I/Os for NFC */
1216*0e8011faSEmmanuel Vadot	gpio-reserved-ranges = <32 8>, <74 1>;
1217*0e8011faSEmmanuel Vadot
1218*0e8011faSEmmanuel Vadot	bt_default: bt-default-state {
1219*0e8011faSEmmanuel Vadot		bt-en-pins {
1220*0e8011faSEmmanuel Vadot			pins = "gpio17";
1221*0e8011faSEmmanuel Vadot			function = "gpio";
1222*0e8011faSEmmanuel Vadot			drive-strength = <16>;
1223*0e8011faSEmmanuel Vadot			bias-disable;
1224*0e8011faSEmmanuel Vadot		};
1225*0e8011faSEmmanuel Vadot
1226*0e8011faSEmmanuel Vadot		sw-ctrl-pins {
1227*0e8011faSEmmanuel Vadot			pins = "gpio18";
1228*0e8011faSEmmanuel Vadot			function = "gpio";
1229*0e8011faSEmmanuel Vadot			bias-pull-down;
1230*0e8011faSEmmanuel Vadot		};
1231*0e8011faSEmmanuel Vadot	};
1232*0e8011faSEmmanuel Vadot
1233*0e8011faSEmmanuel Vadot	lt9611_irq_pin: lt9611-irq-state {
1234*0e8011faSEmmanuel Vadot		pins = "gpio85";
1235*0e8011faSEmmanuel Vadot		function = "gpio";
1236*0e8011faSEmmanuel Vadot		bias-disable;
1237*0e8011faSEmmanuel Vadot	};
1238*0e8011faSEmmanuel Vadot
1239*0e8011faSEmmanuel Vadot	lt9611_rst_pin: lt9611-rst-state {
1240*0e8011faSEmmanuel Vadot		pins = "gpio28";
1241*0e8011faSEmmanuel Vadot		function = "gpio";
1242*0e8011faSEmmanuel Vadot		output-high;
1243*0e8011faSEmmanuel Vadot	};
1244*0e8011faSEmmanuel Vadot
1245*0e8011faSEmmanuel Vadot	spkr_2_sd_n_active: spkr-2-sd-n-active-state {
1246*0e8011faSEmmanuel Vadot		pins = "gpio77";
1247*0e8011faSEmmanuel Vadot		function = "gpio";
1248*0e8011faSEmmanuel Vadot		drive-strength = <16>;
1249*0e8011faSEmmanuel Vadot		bias-disable;
1250*0e8011faSEmmanuel Vadot		output-low;
1251*0e8011faSEmmanuel Vadot	};
1252*0e8011faSEmmanuel Vadot
1253*0e8011faSEmmanuel Vadot	wcd_default: wcd-reset-n-active-state {
1254*0e8011faSEmmanuel Vadot		pins = "gpio107";
1255*0e8011faSEmmanuel Vadot		function = "gpio";
1256*0e8011faSEmmanuel Vadot		drive-strength = <16>;
1257*0e8011faSEmmanuel Vadot		bias-disable;
1258*0e8011faSEmmanuel Vadot		output-low;
1259*0e8011faSEmmanuel Vadot	};
1260*0e8011faSEmmanuel Vadot
1261*0e8011faSEmmanuel Vadot	wlan_en: wlan-en-state {
1262*0e8011faSEmmanuel Vadot		pins = "gpio16";
1263*0e8011faSEmmanuel Vadot		function = "gpio";
1264*0e8011faSEmmanuel Vadot		drive-strength = <8>;
1265*0e8011faSEmmanuel Vadot		bias-pull-down;
1266*0e8011faSEmmanuel Vadot	};
1267*0e8011faSEmmanuel Vadot};
1268*0e8011faSEmmanuel Vadot
1269*0e8011faSEmmanuel Vadot&uart14 {
1270*0e8011faSEmmanuel Vadot	status = "okay";
1271*0e8011faSEmmanuel Vadot
1272*0e8011faSEmmanuel Vadot	bluetooth {
1273*0e8011faSEmmanuel Vadot		compatible = "qcom,wcn7850-bt";
1274*0e8011faSEmmanuel Vadot
1275*0e8011faSEmmanuel Vadot		vddio-supply = <&vreg_l3c_1p2>;
1276*0e8011faSEmmanuel Vadot		vddaon-supply = <&vreg_l15b_1p8>;
1277*0e8011faSEmmanuel Vadot		vdddig-supply = <&vreg_s3c_0p9>;
1278*0e8011faSEmmanuel Vadot		vddrfa0p8-supply = <&vreg_s3c_0p9>;
1279*0e8011faSEmmanuel Vadot		vddrfa1p2-supply = <&vreg_s1c_1p2>;
1280*0e8011faSEmmanuel Vadot		vddrfa1p9-supply = <&vreg_s6c_1p8>;
1281*0e8011faSEmmanuel Vadot
1282*0e8011faSEmmanuel Vadot		max-speed = <3200000>;
1283*0e8011faSEmmanuel Vadot
1284*0e8011faSEmmanuel Vadot		enable-gpios = <&tlmm 17 GPIO_ACTIVE_HIGH>;
1285*0e8011faSEmmanuel Vadot		swctrl-gpios = <&tlmm 18 GPIO_ACTIVE_HIGH>;
1286*0e8011faSEmmanuel Vadot
1287*0e8011faSEmmanuel Vadot		pinctrl-0 = <&bt_default>;
1288*0e8011faSEmmanuel Vadot		pinctrl-names = "default";
1289*0e8011faSEmmanuel Vadot	};
1290*0e8011faSEmmanuel Vadot};
1291*0e8011faSEmmanuel Vadot
1292*0e8011faSEmmanuel Vadot&uart15 {
1293*0e8011faSEmmanuel Vadot	status = "okay";
1294*0e8011faSEmmanuel Vadot};
1295*0e8011faSEmmanuel Vadot
1296*0e8011faSEmmanuel Vadot&ufs_mem_hc {
1297*0e8011faSEmmanuel Vadot	reset-gpios = <&tlmm 210 GPIO_ACTIVE_LOW>;
1298*0e8011faSEmmanuel Vadot
1299*0e8011faSEmmanuel Vadot	vcc-supply = <&vreg_l17b_2p5>;
1300*0e8011faSEmmanuel Vadot	vcc-max-microamp = <1300000>;
1301*0e8011faSEmmanuel Vadot	vccq-supply = <&vreg_l1c_1p2>;
1302*0e8011faSEmmanuel Vadot	vccq-max-microamp = <1200000>;
1303*0e8011faSEmmanuel Vadot
1304*0e8011faSEmmanuel Vadot	status = "okay";
1305*0e8011faSEmmanuel Vadot};
1306*0e8011faSEmmanuel Vadot
1307*0e8011faSEmmanuel Vadot&ufs_mem_phy {
1308*0e8011faSEmmanuel Vadot	vdda-phy-supply = <&vreg_l1d_0p88>;
1309*0e8011faSEmmanuel Vadot	vdda-pll-supply = <&vreg_l3i_1p2>;
1310*0e8011faSEmmanuel Vadot
1311*0e8011faSEmmanuel Vadot	status = "okay";
1312*0e8011faSEmmanuel Vadot};
1313*0e8011faSEmmanuel Vadot
1314*0e8011faSEmmanuel Vadot/*
1315*0e8011faSEmmanuel Vadot * DPAUX -> WCD9395 -> USB_SBU -> USB-C
1316*0e8011faSEmmanuel Vadot * eUSB2 DP/DM -> PM85550HS -> eUSB2 DP/DM -> WCD9395 -> USB-C
1317*0e8011faSEmmanuel Vadot * USB SS -> USB-C
1318*0e8011faSEmmanuel Vadot */
1319*0e8011faSEmmanuel Vadot
1320*0e8011faSEmmanuel Vadot&usb_1 {
1321*0e8011faSEmmanuel Vadot	status = "okay";
1322*0e8011faSEmmanuel Vadot};
1323*0e8011faSEmmanuel Vadot
1324*0e8011faSEmmanuel Vadot&usb_1_dwc3 {
1325*0e8011faSEmmanuel Vadot	dr_mode = "otg";
1326*0e8011faSEmmanuel Vadot	usb-role-switch;
1327*0e8011faSEmmanuel Vadot};
1328*0e8011faSEmmanuel Vadot
1329*0e8011faSEmmanuel Vadot&usb_1_dwc3_hs {
1330*0e8011faSEmmanuel Vadot	remote-endpoint = <&pmic_glink_hs_in>;
1331*0e8011faSEmmanuel Vadot};
1332*0e8011faSEmmanuel Vadot
1333*0e8011faSEmmanuel Vadot&usb_1_hsphy {
1334*0e8011faSEmmanuel Vadot	vdd-supply = <&vreg_l1i_0p88>;
1335*0e8011faSEmmanuel Vadot	vdda12-supply = <&vreg_l3i_1p2>;
1336*0e8011faSEmmanuel Vadot
1337*0e8011faSEmmanuel Vadot	phys = <&pm8550b_eusb2_repeater>;
1338*0e8011faSEmmanuel Vadot
1339*0e8011faSEmmanuel Vadot	status = "okay";
1340*0e8011faSEmmanuel Vadot};
1341*0e8011faSEmmanuel Vadot
1342*0e8011faSEmmanuel Vadot&usb_dp_qmpphy {
1343*0e8011faSEmmanuel Vadot	vdda-phy-supply = <&vreg_l3i_1p2>;
1344*0e8011faSEmmanuel Vadot	vdda-pll-supply = <&vreg_l3g_0p91>;
1345*0e8011faSEmmanuel Vadot
1346*0e8011faSEmmanuel Vadot	status = "okay";
1347*0e8011faSEmmanuel Vadot};
1348*0e8011faSEmmanuel Vadot
1349*0e8011faSEmmanuel Vadot&usb_dp_qmpphy_out {
1350*0e8011faSEmmanuel Vadot	remote-endpoint = <&pmic_glink_ss_in>;
1351*0e8011faSEmmanuel Vadot};
1352*0e8011faSEmmanuel Vadot
1353*0e8011faSEmmanuel Vadot&xo_board {
1354*0e8011faSEmmanuel Vadot	clock-frequency = <76800000>;
1355*0e8011faSEmmanuel Vadot};
1356