blob: ae5daeac8fe284bbec86622c10e6831d60a25297 [file] [log] [blame]
Tom Rini844493d2025-01-26 16:17:47 -06001// SPDX-License-Identifier: BSD-3-Clause
2/*
3 * Copyright (c) 2024, Jérôme de Bretagne <jerome.debretagne@gmail.com>
4 */
5
6/dts-v1/;
7
8#include <dt-bindings/gpio/gpio.h>
9#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
10
11#include "sc8280xp.dtsi"
12#include "sc8280xp-pmics.dtsi"
13
14/ {
15 model = "Microsoft Surface Pro 9 5G";
16 compatible = "microsoft,arcata", "qcom,sc8280xp";
17
18 aliases {
19 serial0 = &uart18;
20 serial1 = &uart2;
21 };
22
23 wcd938x: audio-codec {
24 compatible = "qcom,wcd9380-codec";
25
26 pinctrl-0 = <&wcd_default>;
27 pinctrl-names = "default";
28
29 reset-gpios = <&tlmm 106 GPIO_ACTIVE_LOW>;
30
31 vdd-buck-supply = <&vreg_s10b>;
32 vdd-rxtx-supply = <&vreg_s10b>;
33 vdd-io-supply = <&vreg_s10b>;
34 vdd-mic-bias-supply = <&vreg_bob>;
35
36 qcom,micbias1-microvolt = <1800000>;
37 qcom,micbias2-microvolt = <1800000>;
38 qcom,micbias3-microvolt = <1800000>;
39 qcom,micbias4-microvolt = <1800000>;
40 qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>;
41 qcom,mbhc-headset-vthreshold-microvolt = <1700000>;
42 qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
43 qcom,rx-device = <&wcd_rx>;
44 qcom,tx-device = <&wcd_tx>;
45
46 #sound-dai-cells = <1>;
47 };
48
49 pmic-glink {
50 compatible = "qcom,sc8280xp-pmic-glink", "qcom,pmic-glink";
51
52 #address-cells = <1>;
53 #size-cells = <0>;
54
55 /* Left-side top port */
56 connector@0 {
57 compatible = "usb-c-connector";
58 reg = <0>;
59 power-role = "dual";
60 data-role = "dual";
61
62 ports {
63 #address-cells = <1>;
64 #size-cells = <0>;
65
66 port@0 {
67 reg = <0>;
68
69 pmic_glink_con0_hs: endpoint {
70 remote-endpoint = <&usb_0_dwc3_hs>;
71 };
72 };
73
74 port@1 {
75 reg = <1>;
76
77 pmic_glink_con0_ss: endpoint {
78 remote-endpoint = <&usb_0_qmpphy_out>;
79 };
80 };
81
82 port@2 {
83 reg = <2>;
84
85 pmic_glink_con0_sbu: endpoint {
86 remote-endpoint = <&usb0_sbu_mux>;
87 };
88 };
89 };
90 };
91
92 /* Left-side bottom port */
93 connector@1 {
94 compatible = "usb-c-connector";
95 reg = <1>;
96 power-role = "dual";
97 data-role = "dual";
98
99 ports {
100 #address-cells = <1>;
101 #size-cells = <0>;
102
103 port@0 {
104 reg = <0>;
105
106 pmic_glink_con1_hs: endpoint {
107 remote-endpoint = <&usb_1_dwc3_hs>;
108 };
109 };
110
111 port@1 {
112 reg = <1>;
113
114 pmic_glink_con1_ss: endpoint {
115 remote-endpoint = <&usb_1_qmpphy_out>;
116 };
117 };
118
119 port@2 {
120 reg = <2>;
121
122 pmic_glink_con1_sbu: endpoint {
123 remote-endpoint = <&usb1_sbu_mux>;
124 };
125 };
126 };
127 };
128 };
129
130 vreg_nvme: regulator-nvme {
131 compatible = "regulator-fixed";
132
133 regulator-name = "VCC3_SSD";
134 regulator-min-microvolt = <3300000>;
135 regulator-max-microvolt = <3300000>;
136
137 gpio = <&tlmm 135 GPIO_ACTIVE_HIGH>;
138 enable-active-high;
139
140 pinctrl-0 = <&nvme_reg_en>;
141 pinctrl-names = "default";
142
143 regulator-boot-on;
144 };
145
146 vreg_vph_pwr: regulator-vph-pwr {
147 compatible = "regulator-fixed";
148
149 regulator-name = "VPH_VCC3R9";
150 regulator-min-microvolt = <3900000>;
151 regulator-max-microvolt = <3900000>;
152
153 regulator-always-on;
154 };
155
156 vreg_wlan: regulator-wlan {
157 compatible = "regulator-fixed";
158
159 regulator-name = "VCC_WLAN_3R9";
160 regulator-min-microvolt = <3900000>;
161 regulator-max-microvolt = <3900000>;
162
163 gpio = <&pmr735a_gpios 1 GPIO_ACTIVE_HIGH>;
164 enable-active-high;
165
166 pinctrl-0 = <&hastings_reg_en>;
167 pinctrl-names = "default";
168
169 regulator-boot-on;
170 };
171
172 vreg_wwan: regulator-wwan {
173 compatible = "regulator-fixed";
174
175 regulator-name = "VCC3B_WAN";
176 regulator-min-microvolt = <3300000>;
177 regulator-max-microvolt = <3300000>;
178
179 gpio = <&pmc8280_2_gpios 1 GPIO_ACTIVE_HIGH>;
180 enable-active-high;
181
182 pinctrl-0 = <&wwan_sw_en>;
183 pinctrl-names = "default";
184
185 regulator-boot-on;
186 };
187
188 reserved-memory {
189 gpu_mem: gpu-mem@8bf00000 {
190 reg = <0 0x8bf00000 0 0x2000>;
191 no-map;
192 };
193
194 linux,cma {
195 compatible = "shared-dma-pool";
196 size = <0x0 0x8000000>;
197 reusable;
198 linux,cma-default;
199 };
200 };
201
202 thermal-zones {
203 skin-temp-thermal {
204 polling-delay-passive = <250>;
205
206 thermal-sensors = <&pmk8280_adc_tm 5>;
207
208 trips {
209 skin_temp_alert0: trip-point0 {
210 temperature = <55000>;
211 hysteresis = <1000>;
212 type = "passive";
213 };
214
215 skin_temp_alert1: trip-point1 {
216 temperature = <58000>;
217 hysteresis = <1000>;
218 type = "passive";
219 };
220
221 skin-temp-crit {
222 temperature = <73000>;
223 hysteresis = <1000>;
224 type = "critical";
225 };
226 };
227
228 cooling-maps {
229 map0 {
230 trip = <&skin_temp_alert0>;
231 cooling-device = <&cpu4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
232 <&cpu5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
233 <&cpu6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
234 <&cpu7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
235 };
236
237 map1 {
238 trip = <&skin_temp_alert1>;
239 cooling-device = <&cpu4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
240 <&cpu5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
241 <&cpu6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
242 <&cpu7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
243 };
244 };
245 };
246 };
247
248 usb0-sbu-mux {
249 compatible = "pericom,pi3usb102", "gpio-sbu-mux";
250
251 enable-gpios = <&tlmm 101 GPIO_ACTIVE_LOW>;
252 select-gpios = <&tlmm 164 GPIO_ACTIVE_HIGH>;
253
254 pinctrl-0 = <&usb0_sbu_default>;
255 pinctrl-names = "default";
256
257 mode-switch;
258 orientation-switch;
259
260 port {
261 usb0_sbu_mux: endpoint {
262 remote-endpoint = <&pmic_glink_con0_sbu>;
263 };
264 };
265 };
266
267 usb1-sbu-mux {
268 compatible = "pericom,pi3usb102", "gpio-sbu-mux";
269
270 enable-gpios = <&tlmm 48 GPIO_ACTIVE_LOW>;
271 select-gpios = <&tlmm 47 GPIO_ACTIVE_HIGH>;
272
273 pinctrl-0 = <&usb1_sbu_default>;
274 pinctrl-names = "default";
275
276 mode-switch;
277 orientation-switch;
278
279 port {
280 usb1_sbu_mux: endpoint {
281 remote-endpoint = <&pmic_glink_con1_sbu>;
282 };
283 };
284 };
285};
286
287&apps_rsc {
288 regulators-0 {
289 compatible = "qcom,pm8350-rpmh-regulators";
290 qcom,pmic-id = "b";
291
292 vdd-l1-l4-supply = <&vreg_s12b>;
293 vdd-l2-l7-supply = <&vreg_bob>;
294 vdd-l3-l5-supply = <&vreg_s11b>;
295 vdd-l6-l9-l10-supply = <&vreg_s12b>;
296 vdd-l8-supply = <&vreg_s12b>;
297
298 vreg_s10b: smps10 {
299 regulator-name = "vreg_s10b";
300 regulator-min-microvolt = <1800000>;
301 regulator-max-microvolt = <1800000>;
302 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
303 regulator-always-on;
304 };
305
306 vreg_s11b: smps11 {
307 regulator-name = "vreg_s11b";
308 regulator-min-microvolt = <1272000>;
309 regulator-max-microvolt = <1272000>;
310 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
311 regulator-always-on;
312 };
313
314 vreg_s12b: smps12 {
315 regulator-name = "vreg_s12b";
316 regulator-min-microvolt = <984000>;
317 regulator-max-microvolt = <984000>;
318 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
319 regulator-always-on;
320 };
321
322 vreg_l3b: ldo3 {
323 regulator-name = "vreg_l3b";
324 regulator-min-microvolt = <1200000>;
325 regulator-max-microvolt = <1200000>;
326 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
327 regulator-boot-on;
328 };
329
330 vreg_l4b: ldo4 {
331 regulator-name = "vreg_l4b";
332 regulator-min-microvolt = <912000>;
333 regulator-max-microvolt = <912000>;
334 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
335 };
336
337 vreg_l6b: ldo6 {
338 regulator-name = "vreg_l6b";
339 regulator-min-microvolt = <880000>;
340 regulator-max-microvolt = <880000>;
341 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
342 regulator-boot-on;
343 regulator-always-on; // FIXME: VDD_A_EDP_0_0P9
344 };
345 };
346
347 regulators-1 {
348 compatible = "qcom,pm8350c-rpmh-regulators";
349 qcom,pmic-id = "c";
350
351 vdd-bob-supply = <&vreg_vph_pwr>;
352 vdd-l1-l12-supply = <&vreg_s1c>;
353 vdd-l2-l8-supply = <&vreg_s1c>;
354 vdd-l3-l4-l5-l7-l13-supply = <&vreg_bob>;
355 vdd-l6-l9-l11-supply = <&vreg_bob>;
356 vdd-l10-supply = <&vreg_s11b>;
357
358 vreg_s1c: smps1 {
359 regulator-name = "vreg_s1c";
360 regulator-min-microvolt = <1880000>;
361 regulator-max-microvolt = <1900000>;
362 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
363 regulator-always-on;
364 };
365
366 vreg_l1c: ldo1 {
367 regulator-name = "vreg_l1c";
368 regulator-min-microvolt = <1800000>;
369 regulator-max-microvolt = <1800000>;
370 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
371 };
372
373 vreg_l12c: ldo12 {
374 regulator-name = "vreg_l12c";
375 regulator-min-microvolt = <1800000>;
376 regulator-max-microvolt = <1800000>;
377 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
378 };
379
380 vreg_l13c: ldo13 {
381 regulator-name = "vreg_l13c";
382 regulator-min-microvolt = <3072000>;
383 regulator-max-microvolt = <3072000>;
384 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
385 };
386
387 vreg_bob: bob {
388 regulator-name = "vreg_bob";
389 regulator-min-microvolt = <3008000>;
390 regulator-max-microvolt = <3960000>;
391 regulator-initial-mode = <RPMH_REGULATOR_MODE_AUTO>;
392 regulator-always-on;
393 };
394 };
395
396 regulators-2 {
397 compatible = "qcom,pm8350-rpmh-regulators";
398 qcom,pmic-id = "d";
399
400 vdd-l1-l4-supply = <&vreg_s11b>;
401 vdd-l2-l7-supply = <&vreg_bob>;
402 vdd-l3-l5-supply = <&vreg_s11b>;
403 vdd-l6-l9-l10-supply = <&vreg_s12b>;
404 vdd-l8-supply = <&vreg_s12b>;
405
406 vreg_l3d: ldo3 {
407 regulator-name = "vreg_l3d";
408 regulator-min-microvolt = <1200000>;
409 regulator-max-microvolt = <1200000>;
410 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
411 };
412
413 vreg_l4d: ldo4 {
414 regulator-name = "vreg_l4d";
415 regulator-min-microvolt = <1200000>;
416 regulator-max-microvolt = <1200000>;
417 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
418 };
419
420 vreg_l6d: ldo6 {
421 regulator-name = "vreg_l6d";
422 regulator-min-microvolt = <880000>;
423 regulator-max-microvolt = <880000>;
424 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
425 };
426
427 vreg_l7d: ldo7 {
428 regulator-name = "vreg_l7d";
429 regulator-min-microvolt = <3072000>;
430 regulator-max-microvolt = <3072000>;
431 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
432 };
433
434 vreg_l9d: ldo9 {
435 regulator-name = "vreg_l9d";
436 regulator-min-microvolt = <912000>;
437 regulator-max-microvolt = <912000>;
438 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
439 };
440 };
441};
442
443&dispcc0 {
444 status = "okay";
445};
446
447&dispcc1 {
448 status = "okay";
449};
450
451&gpu {
452 status = "okay";
453
454 zap-shader {
455 memory-region = <&gpu_mem>;
456 firmware-name = "qcom/sc8280xp/MICROSOFT/SurfacePro9/qcdxkmsuc8280.mbn";
457 };
458};
459
460&mdss0 {
461 status = "okay";
462};
463
464&mdss0_dp0 {
465 status = "okay";
466};
467
468&mdss0_dp0_out {
469 data-lanes = <0 1>;
470 remote-endpoint = <&usb_0_qmpphy_dp_in>;
471};
472
473&mdss0_dp1 {
474 status = "okay";
475};
476
477&mdss0_dp1_out {
478 data-lanes = <0 1>;
479 remote-endpoint = <&usb_1_qmpphy_dp_in>;
480};
481
482&pcie2a {
483 perst-gpios = <&tlmm 143 GPIO_ACTIVE_LOW>;
484 wake-gpios = <&tlmm 145 GPIO_ACTIVE_LOW>;
485
486 vddpe-3v3-supply = <&vreg_nvme>;
487
488 pinctrl-0 = <&pcie2a_default>;
489 pinctrl-names = "default";
490
491 status = "okay";
492};
493
494&pcie2a_phy {
495 vdda-phy-supply = <&vreg_l6d>;
496 vdda-pll-supply = <&vreg_l4d>;
497
498 status = "okay";
499};
500
501&pcie3a {
502 perst-gpios = <&tlmm 151 GPIO_ACTIVE_LOW>;
503 wake-gpios = <&tlmm 148 GPIO_ACTIVE_LOW>;
504
505 vddpe-3v3-supply = <&vreg_wwan>;
506
507 pinctrl-0 = <&pcie3a_default>;
508 pinctrl-names = "default";
509
510 status = "okay";
511};
512
513&pcie3a_phy {
514 vdda-phy-supply = <&vreg_l6d>;
515 vdda-pll-supply = <&vreg_l4d>;
516
517 status = "okay";
518};
519
520&pcie4 {
521 max-link-speed = <2>;
522
523 perst-gpios = <&tlmm 141 GPIO_ACTIVE_LOW>;
524 wake-gpios = <&tlmm 139 GPIO_ACTIVE_LOW>;
525
526 vddpe-3v3-supply = <&vreg_wlan>;
527
528 pinctrl-0 = <&pcie4_default>;
529 pinctrl-names = "default";
530
531 status = "okay";
532};
533
534&pcie4_port0 {
535 wifi@0 {
536 compatible = "pci17cb,1103";
537 reg = <0x10000 0x0 0x0 0x0 0x0>;
538
539 qcom,ath11k-calibration-variant = "MS_SP9_5G";
540 };
541};
542
543&pcie4_phy {
544 vdda-phy-supply = <&vreg_l6d>;
545 vdda-pll-supply = <&vreg_l4d>;
546
547 status = "okay";
548};
549
550&pmk8280_pon_pwrkey {
551 status = "okay";
552};
553
554&pmk8280_pon_resin {
555 status = "okay";
556};
557
558&pmk8280_rtc {
559 nvmem-cells = <&rtc_offset>;
560 nvmem-cell-names = "offset";
561
562 status = "okay";
563};
564
565&pmk8280_sdam_6 {
566 status = "okay";
567
568 rtc_offset: rtc-offset@bc {
569 reg = <0xbc 0x4>;
570 };
571};
572
573&qup0 {
574 status = "okay";
575};
576
577&qup1 {
578 status = "okay";
579};
580
581&qup2 {
582 status = "okay";
583};
584
585&remoteproc_adsp {
586 firmware-name = "qcom/sc8280xp/MICROSOFT/SurfacePro9/qcadsp8280.mbn";
587
588 status = "okay";
589};
590
591&remoteproc_nsp0 {
592 firmware-name = "qcom/sc8280xp/MICROSOFT/SurfacePro9/qccdsp8280.mbn";
593
594 status = "okay";
595};
596
597&rxmacro {
598 status = "okay";
599};
600
601&sound {
602 compatible = "qcom,sc8280xp-sndcard";
603 model = "SC8280XP-MICROSOFT-SURFACE-PRO-9-5G";
604 audio-routing = "SpkrLeft IN", "WSA_SPK1 OUT",
605 "SpkrRight IN", "WSA_SPK2 OUT",
606 "IN1_HPHL", "HPHL_OUT",
607 "IN2_HPHR", "HPHR_OUT",
608 "AMIC2", "MIC BIAS2",
609 "VA DMIC0", "MIC BIAS1",
610 "VA DMIC1", "MIC BIAS1",
611 "VA DMIC2", "MIC BIAS3",
612 "VA DMIC0", "VA MIC BIAS1",
613 "VA DMIC1", "VA MIC BIAS1",
614 "VA DMIC2", "VA MIC BIAS3",
615 "TX SWR_ADC1", "ADC2_OUTPUT";
616
617 wcd-playback-dai-link {
618 link-name = "WCD Playback";
619
620 cpu {
621 sound-dai = <&q6apmbedai RX_CODEC_DMA_RX_0>;
622 };
623
624 codec {
625 sound-dai = <&wcd938x 0>, <&swr1 0>, <&rxmacro 0>;
626 };
627
628 platform {
629 sound-dai = <&q6apm>;
630 };
631 };
632
633 wcd-capture-dai-link {
634 link-name = "WCD Capture";
635
636 cpu {
637 sound-dai = <&q6apmbedai TX_CODEC_DMA_TX_3>;
638 };
639
640 codec {
641 sound-dai = <&wcd938x 1>, <&swr2 0>, <&txmacro 0>;
642 };
643
644 platform {
645 sound-dai = <&q6apm>;
646 };
647 };
648
649 wsa-dai-link {
650 link-name = "WSA Playback";
651
652 cpu {
653 sound-dai = <&q6apmbedai WSA_CODEC_DMA_RX_0>;
654 };
655
656 codec {
657 sound-dai = <&swr0 0>, <&wsamacro 0>;
658 };
659
660 platform {
661 sound-dai = <&q6apm>;
662 };
663 };
664
665 va-dai-link {
666 link-name = "VA Capture";
667
668 cpu {
669 sound-dai = <&q6apmbedai VA_CODEC_DMA_TX_0>;
670 };
671
672 platform {
673 sound-dai = <&q6apm>;
674 };
675
676 codec {
677 sound-dai = <&vamacro 0>;
678 };
679 };
680};
681
682&swr0 {
683 status = "okay";
684};
685
686&swr1 {
687 status = "okay";
688
689 wcd_rx: codec@0,4 {
690 compatible = "sdw20217010d00";
691 reg = <0 4>;
692 qcom,rx-port-mapping = <1 2 3 4 5>;
693 };
694};
695
696&swr2 {
697 status = "okay";
698
699 wcd_tx: codec@0,3 {
700 compatible = "sdw20217010d00";
701 reg = <0 3>;
702 qcom,tx-port-mapping = <1 1 2 3>;
703 };
704};
705
706&txmacro {
707 status = "okay";
708};
709
710&uart2 {
711 pinctrl-0 = <&uart2_default>;
712 pinctrl-names = "default";
713
714 status = "okay";
715
716 bluetooth {
717 compatible = "qcom,wcn6855-bt";
718
719 vddio-supply = <&vreg_s10b>;
720 vddbtcxmx-supply = <&vreg_s12b>;
721 vddrfacmn-supply = <&vreg_s12b>;
722 vddrfa0p8-supply = <&vreg_s12b>;
723 vddrfa1p2-supply = <&vreg_s11b>;
724 vddrfa1p7-supply = <&vreg_s1c>;
725
726 max-speed = <3200000>;
727
728 enable-gpios = <&tlmm 133 GPIO_ACTIVE_HIGH>;
729 swctrl-gpios = <&tlmm 132 GPIO_ACTIVE_HIGH>;
730
731 pinctrl-0 = <&bt_default>;
732 pinctrl-names = "default";
733 };
734};
735
736&uart18 {
737 status = "okay";
738
739 embedded-controller {
740 compatible = "microsoft,surface-sam";
741
742 interrupts-extended = <&tlmm 85 IRQ_TYPE_EDGE_RISING>;
743
744 current-speed = <4000000>;
745
746 pinctrl-0 = <&ssam_state>;
747 pinctrl-names = "default";
748 };
749};
750
751&usb_0 {
752 status = "okay";
753};
754
755&usb_0_dwc3 {
756 dr_mode = "host";
757};
758
759&usb_0_dwc3_hs {
760 remote-endpoint = <&pmic_glink_con0_hs>;
761};
762
763&usb_0_hsphy {
764 vdda-pll-supply = <&vreg_l9d>;
765 vdda18-supply = <&vreg_l1c>;
766 vdda33-supply = <&vreg_l7d>;
767
768 status = "okay";
769};
770
771&usb_0_qmpphy {
772 vdda-phy-supply = <&vreg_l9d>;
773 vdda-pll-supply = <&vreg_l4d>;
774
775 orientation-switch;
776
777 status = "okay";
778};
779
780&usb_0_qmpphy_dp_in {
781 remote-endpoint = <&mdss0_dp0_out>;
782};
783
784&usb_0_qmpphy_out {
785 remote-endpoint = <&pmic_glink_con0_ss>;
786};
787
788&usb_1 {
789 status = "okay";
790};
791
792&usb_1_dwc3 {
793 dr_mode = "host";
794};
795
796&usb_1_dwc3_hs {
797 remote-endpoint = <&pmic_glink_con1_hs>;
798};
799
800&usb_1_hsphy {
801 vdda-pll-supply = <&vreg_l4b>;
802 vdda18-supply = <&vreg_l1c>;
803 vdda33-supply = <&vreg_l13c>;
804
805 status = "okay";
806};
807
808&usb_1_qmpphy {
809 vdda-phy-supply = <&vreg_l4b>;
810 vdda-pll-supply = <&vreg_l3b>;
811
812 orientation-switch;
813
814 status = "okay";
815};
816
817&usb_1_qmpphy_dp_in {
818 remote-endpoint = <&mdss0_dp1_out>;
819};
820
821&usb_1_qmpphy_out {
822 remote-endpoint = <&pmic_glink_con1_ss>;
823};
824
825&vamacro {
826 pinctrl-0 = <&dmic01_default>, <&dmic23_default>;
827 pinctrl-names = "default";
828
829 vdd-micb-supply = <&vreg_s10b>;
830
831 qcom,dmic-sample-rate = <4800000>;
832
833 status = "okay";
834};
835
836&wsamacro {
837 status = "okay";
838};
839
840&xo_board_clk {
841 clock-frequency = <38400000>;
842};
843
844/* PINCTRL */
845
846&lpass_tlmm {
847 status = "okay";
848};
849
850&pmc8280_2_gpios {
851 wwan_sw_en: wwan-sw-en-state {
852 pins = "gpio1";
853 function = "normal";
854 };
855};
856
857&pmr735a_gpios {
858 hastings_reg_en: hastings-reg-en-state {
859 pins = "gpio1";
860 function = "normal";
861 };
862};
863
864&tlmm {
865 bt_default: bt-default-state {
866 hstp-bt-en-pins {
867 pins = "gpio133";
868 function = "gpio";
869 drive-strength = <16>;
870 bias-disable;
871 };
872
873 hstp-sw-ctrl-pins {
874 pins = "gpio132";
875 function = "gpio";
876 bias-pull-down;
877 };
878 };
879
880 nvme_reg_en: nvme-reg-en-state {
881 pins = "gpio135";
882 function = "gpio";
883 drive-strength = <2>;
884 bias-disable;
885 };
886
887 pcie2a_default: pcie2a-default-state {
888 clkreq-n-pins {
889 pins = "gpio142";
890 function = "pcie2a_clkreq";
891 drive-strength = <2>;
892 bias-pull-up;
893 };
894
895 perst-n-pins {
896 pins = "gpio143";
897 function = "gpio";
898 drive-strength = <2>;
899 bias-disable;
900 };
901
902 wake-n-pins {
903 pins = "gpio145";
904 function = "gpio";
905 drive-strength = <2>;
906 bias-pull-up;
907 };
908 };
909
910 pcie3a_default: pcie3a-default-state {
911 clkreq-n-pins {
912 pins = "gpio150";
913 function = "pcie3a_clkreq";
914 drive-strength = <2>;
915 bias-pull-up;
916 };
917
918 perst-n-pins {
919 pins = "gpio151";
920 function = "gpio";
921 drive-strength = <2>;
922 bias-disable;
923 };
924
925 wake-n-pins {
926 pins = "gpio148";
927 function = "gpio";
928 drive-strength = <2>;
929 bias-pull-up;
930 };
931 };
932
933 pcie4_default: pcie4-default-state {
934 clkreq-n-pins {
935 pins = "gpio140";
936 function = "pcie4_clkreq";
937 drive-strength = <2>;
938 bias-pull-up;
939 };
940
941 perst-n-pins {
942 pins = "gpio141";
943 function = "gpio";
944 drive-strength = <2>;
945 bias-disable;
946 };
947
948 wake-n-pins {
949 pins = "gpio139";
950 function = "gpio";
951 drive-strength = <2>;
952 bias-pull-up;
953 };
954 };
955
956
957 ssam_state: ssam-state-state {
958 pins = "gpio85";
959 function = "gpio";
960 bias-disable;
961 };
962
963 uart2_default: uart2-default-state {
964 cts-pins {
965 pins = "gpio121";
966 function = "qup2";
967 bias-bus-hold;
968 };
969
970 rts-pins {
971 pins = "gpio122";
972 function = "qup2";
973 drive-strength = <2>;
974 bias-disable;
975 };
976
977 rx-pins {
978 pins = "gpio124";
979 function = "qup2";
980 bias-pull-up;
981 };
982
983 tx-pins {
984 pins = "gpio123";
985 function = "qup2";
986 drive-strength = <2>;
987 bias-disable;
988 };
989 };
990
991 usb0_sbu_default: usb0-sbu-state {
992 oe-n-pins {
993 pins = "gpio101";
994 function = "gpio";
995 bias-disable;
996 drive-strength = <16>;
997 output-high;
998 };
999
1000 sel-pins {
1001 pins = "gpio164";
1002 function = "gpio";
1003 bias-disable;
1004 drive-strength = <16>;
1005 };
1006 };
1007
1008 usb1_sbu_default: usb1-sbu-state {
1009 oe-n-pins {
1010 pins = "gpio48";
1011 function = "gpio";
1012 bias-disable;
1013 drive-strength = <16>;
1014 output-high;
1015 };
1016
1017 sel-pins {
1018 pins = "gpio47";
1019 function = "gpio";
1020 bias-disable;
1021 drive-strength = <16>;
1022 };
1023 };
1024
1025 wcd_default: wcd-default-state {
1026 reset-pins {
1027 pins = "gpio106";
1028 function = "gpio";
1029 bias-disable;
1030 };
1031 };
1032};