Debian Codegraph @

scripts/dtc/include-prefixes/arm64/qcom/sc8280xp-microsoft-arcata.dts

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