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