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