Lines Matching +full:va +full:- +full:dai +full:- +full:link
1 // SPDX-License-Identifier: BSD-3-Clause
6 /dts-v1/;
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
12 #include "sc8280xp-pmics.dtsi"
23 wcd938x: audio-codec {
24 compatible = "qcom,wcd9380-codec";
26 pinctrl-0 = <&wcd_default>;
27 pinctrl-names = "default";
29 reset-gpios = <&tlmm 106 GPIO_ACTIVE_LOW>;
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>;
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>;
46 #sound-dai-cells = <1>;
49 pmic-glink {
50 compatible = "qcom,sc8280xp-pmic-glink", "qcom,pmic-glink";
52 #address-cells = <1>;
53 #size-cells = <0>;
55 /* Left-side top port */
57 compatible = "usb-c-connector";
59 power-role = "dual";
60 data-role = "dual";
63 #address-cells = <1>;
64 #size-cells = <0>;
70 remote-endpoint = <&usb_0_dwc3_hs>;
78 remote-endpoint = <&usb_0_qmpphy_out>;
86 remote-endpoint = <&usb0_sbu_mux>;
92 /* Left-side bottom port */
94 compatible = "usb-c-connector";
96 power-role = "dual";
97 data-role = "dual";
100 #address-cells = <1>;
101 #size-cells = <0>;
107 remote-endpoint = <&usb_1_dwc3_hs>;
115 remote-endpoint = <&usb_1_qmpphy_out>;
123 remote-endpoint = <&usb1_sbu_mux>;
130 vreg_nvme: regulator-nvme {
131 compatible = "regulator-fixed";
133 regulator-name = "VCC3_SSD";
134 regulator-min-microvolt = <3300000>;
135 regulator-max-microvolt = <3300000>;
138 enable-active-high;
140 pinctrl-0 = <&nvme_reg_en>;
141 pinctrl-names = "default";
143 regulator-boot-on;
146 vreg_vph_pwr: regulator-vph-pwr {
147 compatible = "regulator-fixed";
149 regulator-name = "VPH_VCC3R9";
150 regulator-min-microvolt = <3900000>;
151 regulator-max-microvolt = <3900000>;
153 regulator-always-on;
156 vreg_wlan: regulator-wlan {
157 compatible = "regulator-fixed";
159 regulator-name = "VCC_WLAN_3R9";
160 regulator-min-microvolt = <3900000>;
161 regulator-max-microvolt = <3900000>;
164 enable-active-high;
166 pinctrl-0 = <&hastings_reg_en>;
167 pinctrl-names = "default";
169 regulator-boot-on;
172 vreg_wwan: regulator-wwan {
173 compatible = "regulator-fixed";
175 regulator-name = "VCC3B_WAN";
176 regulator-min-microvolt = <3300000>;
177 regulator-max-microvolt = <3300000>;
180 enable-active-high;
182 pinctrl-0 = <&wwan_sw_en>;
183 pinctrl-names = "default";
185 regulator-boot-on;
188 reserved-memory {
189 gpu_mem: gpu-mem@8bf00000 {
191 no-map;
195 compatible = "shared-dma-pool";
198 linux,cma-default;
202 thermal-zones {
203 skin-temp-thermal {
204 polling-delay-passive = <250>;
206 thermal-sensors = <&pmk8280_adc_tm 5>;
209 skin_temp_alert0: trip-point0 {
215 skin_temp_alert1: trip-point1 {
221 skin-temp-crit {
228 cooling-maps {
231 cooling-device = <&cpu4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
239 cooling-device = <&cpu4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
248 usb0-sbu-mux {
249 compatible = "pericom,pi3usb102", "gpio-sbu-mux";
251 enable-gpios = <&tlmm 101 GPIO_ACTIVE_LOW>;
252 select-gpios = <&tlmm 164 GPIO_ACTIVE_HIGH>;
254 pinctrl-0 = <&usb0_sbu_default>;
255 pinctrl-names = "default";
257 mode-switch;
258 orientation-switch;
262 remote-endpoint = <&pmic_glink_con0_sbu>;
267 usb1-sbu-mux {
268 compatible = "pericom,pi3usb102", "gpio-sbu-mux";
270 enable-gpios = <&tlmm 48 GPIO_ACTIVE_LOW>;
271 select-gpios = <&tlmm 47 GPIO_ACTIVE_HIGH>;
273 pinctrl-0 = <&usb1_sbu_default>;
274 pinctrl-names = "default";
276 mode-switch;
277 orientation-switch;
281 remote-endpoint = <&pmic_glink_con1_sbu>;
288 regulators-0 {
289 compatible = "qcom,pm8350-rpmh-regulators";
290 qcom,pmic-id = "b";
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>;
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;
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;
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;
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;
331 regulator-name = "vreg_l4b";
332 regulator-min-microvolt = <912000>;
333 regulator-max-microvolt = <912000>;
334 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
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
347 regulators-1 {
348 compatible = "qcom,pm8350c-rpmh-regulators";
349 qcom,pmic-id = "c";
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>;
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;
367 regulator-name = "vreg_l1c";
368 regulator-min-microvolt = <1800000>;
369 regulator-max-microvolt = <1800000>;
370 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
374 regulator-name = "vreg_l12c";
375 regulator-min-microvolt = <1800000>;
376 regulator-max-microvolt = <1800000>;
377 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
381 regulator-name = "vreg_l13c";
382 regulator-min-microvolt = <3072000>;
383 regulator-max-microvolt = <3072000>;
384 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
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;
396 regulators-2 {
397 compatible = "qcom,pm8350-rpmh-regulators";
398 qcom,pmic-id = "d";
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>;
407 regulator-name = "vreg_l3d";
408 regulator-min-microvolt = <1200000>;
409 regulator-max-microvolt = <1200000>;
410 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
414 regulator-name = "vreg_l4d";
415 regulator-min-microvolt = <1200000>;
416 regulator-max-microvolt = <1200000>;
417 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
421 regulator-name = "vreg_l6d";
422 regulator-min-microvolt = <880000>;
423 regulator-max-microvolt = <880000>;
424 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
428 regulator-name = "vreg_l7d";
429 regulator-min-microvolt = <3072000>;
430 regulator-max-microvolt = <3072000>;
431 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
435 regulator-name = "vreg_l9d";
436 regulator-min-microvolt = <912000>;
437 regulator-max-microvolt = <912000>;
438 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
454 zap-shader {
455 memory-region = <&gpu_mem>;
456 firmware-name = "qcom/sc8280xp/MICROSOFT/SurfacePro9/qcdxkmsuc8280.mbn";
469 data-lanes = <0 1>;
470 remote-endpoint = <&usb_0_qmpphy_dp_in>;
478 data-lanes = <0 1>;
479 remote-endpoint = <&usb_1_qmpphy_dp_in>;
483 perst-gpios = <&tlmm 143 GPIO_ACTIVE_LOW>;
484 wake-gpios = <&tlmm 145 GPIO_ACTIVE_LOW>;
486 vddpe-3v3-supply = <&vreg_nvme>;
488 pinctrl-0 = <&pcie2a_default>;
489 pinctrl-names = "default";
495 vdda-phy-supply = <&vreg_l6d>;
496 vdda-pll-supply = <&vreg_l4d>;
502 perst-gpios = <&tlmm 151 GPIO_ACTIVE_LOW>;
503 wake-gpios = <&tlmm 148 GPIO_ACTIVE_LOW>;
505 vddpe-3v3-supply = <&vreg_wwan>;
507 pinctrl-0 = <&pcie3a_default>;
508 pinctrl-names = "default";
514 vdda-phy-supply = <&vreg_l6d>;
515 vdda-pll-supply = <&vreg_l4d>;
521 max-link-speed = <2>;
523 perst-gpios = <&tlmm 141 GPIO_ACTIVE_LOW>;
524 wake-gpios = <&tlmm 139 GPIO_ACTIVE_LOW>;
526 vddpe-3v3-supply = <&vreg_wlan>;
528 pinctrl-0 = <&pcie4_default>;
529 pinctrl-names = "default";
539 qcom,ath11k-calibration-variant = "MS_SP9_5G";
544 vdda-phy-supply = <&vreg_l6d>;
545 vdda-pll-supply = <&vreg_l4d>;
559 nvmem-cells = <&rtc_offset>;
560 nvmem-cell-names = "offset";
568 rtc_offset: rtc-offset@bc {
586 firmware-name = "qcom/sc8280xp/MICROSOFT/SurfacePro9/qcadsp8280.mbn";
592 firmware-name = "qcom/sc8280xp/MICROSOFT/SurfacePro9/qccdsp8280.mbn";
602 compatible = "qcom,sc8280xp-sndcard";
603 model = "SC8280XP-MICROSOFT-SURFACE-PRO-9-5G";
604 audio-routing = "SpkrLeft IN", "WSA_SPK1 OUT",
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",
617 wcd-playback-dai-link {
618 link-name = "WCD Playback";
621 sound-dai = <&q6apmbedai RX_CODEC_DMA_RX_0>;
625 sound-dai = <&wcd938x 0>, <&swr1 0>, <&rxmacro 0>;
629 sound-dai = <&q6apm>;
633 wcd-capture-dai-link {
634 link-name = "WCD Capture";
637 sound-dai = <&q6apmbedai TX_CODEC_DMA_TX_3>;
641 sound-dai = <&wcd938x 1>, <&swr2 0>, <&txmacro 0>;
645 sound-dai = <&q6apm>;
649 wsa-dai-link {
650 link-name = "WSA Playback";
653 sound-dai = <&q6apmbedai WSA_CODEC_DMA_RX_0>;
657 sound-dai = <&swr0 0>, <&wsamacro 0>;
661 sound-dai = <&q6apm>;
665 va-dai-link {
666 link-name = "VA Capture";
669 sound-dai = <&q6apmbedai VA_CODEC_DMA_TX_0>;
673 sound-dai = <&q6apm>;
677 sound-dai = <&vamacro 0>;
692 qcom,rx-port-mapping = <1 2 3 4 5>;
702 qcom,tx-port-mapping = <1 1 2 3>;
711 pinctrl-0 = <&uart2_default>;
712 pinctrl-names = "default";
717 compatible = "qcom,wcn6855-bt";
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>;
726 max-speed = <3200000>;
728 enable-gpios = <&tlmm 133 GPIO_ACTIVE_HIGH>;
729 swctrl-gpios = <&tlmm 132 GPIO_ACTIVE_HIGH>;
731 pinctrl-0 = <&bt_default>;
732 pinctrl-names = "default";
739 embedded-controller {
740 compatible = "microsoft,surface-sam";
742 interrupts-extended = <&tlmm 85 IRQ_TYPE_EDGE_RISING>;
744 current-speed = <4000000>;
746 pinctrl-0 = <&ssam_state>;
747 pinctrl-names = "default";
760 remote-endpoint = <&pmic_glink_con0_hs>;
764 vdda-pll-supply = <&vreg_l9d>;
765 vdda18-supply = <&vreg_l1c>;
766 vdda33-supply = <&vreg_l7d>;
772 vdda-phy-supply = <&vreg_l9d>;
773 vdda-pll-supply = <&vreg_l4d>;
775 orientation-switch;
781 remote-endpoint = <&mdss0_dp0_out>;
785 remote-endpoint = <&pmic_glink_con0_ss>;
797 remote-endpoint = <&pmic_glink_con1_hs>;
801 vdda-pll-supply = <&vreg_l4b>;
802 vdda18-supply = <&vreg_l1c>;
803 vdda33-supply = <&vreg_l13c>;
809 vdda-phy-supply = <&vreg_l4b>;
810 vdda-pll-supply = <&vreg_l3b>;
812 orientation-switch;
818 remote-endpoint = <&mdss0_dp1_out>;
822 remote-endpoint = <&pmic_glink_con1_ss>;
826 pinctrl-0 = <&dmic01_default>, <&dmic23_default>;
827 pinctrl-names = "default";
829 vdd-micb-supply = <&vreg_s10b>;
831 qcom,dmic-sample-rate = <4800000>;
841 clock-frequency = <38400000>;
851 wwan_sw_en: wwan-sw-en-state {
858 hastings_reg_en: hastings-reg-en-state {
865 bt_default: bt-default-state {
866 hstp-bt-en-pins {
869 drive-strength = <16>;
870 bias-disable;
873 hstp-sw-ctrl-pins {
876 bias-pull-down;
880 nvme_reg_en: nvme-reg-en-state {
883 drive-strength = <2>;
884 bias-disable;
887 pcie2a_default: pcie2a-default-state {
888 clkreq-n-pins {
891 drive-strength = <2>;
892 bias-pull-up;
895 perst-n-pins {
898 drive-strength = <2>;
899 bias-disable;
902 wake-n-pins {
905 drive-strength = <2>;
906 bias-pull-up;
910 pcie3a_default: pcie3a-default-state {
911 clkreq-n-pins {
914 drive-strength = <2>;
915 bias-pull-up;
918 perst-n-pins {
921 drive-strength = <2>;
922 bias-disable;
925 wake-n-pins {
928 drive-strength = <2>;
929 bias-pull-up;
933 pcie4_default: pcie4-default-state {
934 clkreq-n-pins {
937 drive-strength = <2>;
938 bias-pull-up;
941 perst-n-pins {
944 drive-strength = <2>;
945 bias-disable;
948 wake-n-pins {
951 drive-strength = <2>;
952 bias-pull-up;
957 ssam_state: ssam-state-state {
960 bias-disable;
963 uart2_default: uart2-default-state {
964 cts-pins {
967 bias-bus-hold;
970 rts-pins {
973 drive-strength = <2>;
974 bias-disable;
977 rx-pins {
980 bias-pull-up;
983 tx-pins {
986 drive-strength = <2>;
987 bias-disable;
991 usb0_sbu_default: usb0-sbu-state {
992 oe-n-pins {
995 bias-disable;
996 drive-strength = <16>;
997 output-high;
1000 sel-pins {
1003 bias-disable;
1004 drive-strength = <16>;
1008 usb1_sbu_default: usb1-sbu-state {
1009 oe-n-pins {
1012 bias-disable;
1013 drive-strength = <16>;
1014 output-high;
1017 sel-pins {
1020 bias-disable;
1021 drive-strength = <16>;
1025 wcd_default: wcd-default-state {
1026 reset-pins {
1029 bias-disable;