Lines Matching +full:headset +full:- +full:mic +full:- +full:bias +full:- +full:supply

1 // SPDX-License-Identifier: BSD-3-Clause
7 /dts-v1/;
9 #include <dt-bindings/iio/qcom,spmi-adc7-pm8350.h>
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/gpio-keys.h>
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/leds/common.h>
14 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
17 #include "sc8280xp-pmics.dtsi"
21 compatible = "lenovo,thinkpad-x13s", "qcom,sc8280xp";
29 wcd938x: audio-codec {
30 compatible = "qcom,wcd9380-codec";
32 pinctrl-names = "default";
33 pinctrl-0 = <&wcd_default>;
35 reset-gpios = <&tlmm 106 GPIO_ACTIVE_LOW>;
37 vdd-buck-supply = <&vreg_s10b>;
38 vdd-rxtx-supply = <&vreg_s10b>;
39 vdd-io-supply = <&vreg_s10b>;
40 vdd-mic-bias-supply = <&vreg_bob>;
42 qcom,micbias1-microvolt = <1800000>;
43 qcom,micbias2-microvolt = <1800000>;
44 qcom,micbias3-microvolt = <1800000>;
45 qcom,micbias4-microvolt = <1800000>;
46 qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>;
47 qcom,mbhc-headset-vthreshold-microvolt = <1700000>;
48 qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
49 qcom,rx-device = <&wcd_rx>;
50 qcom,tx-device = <&wcd_tx>;
52 #sound-dai-cells = <1>;
56 compatible = "pwm-backlight";
58 enable-gpios = <&pmc8280_1_gpios 8 GPIO_ACTIVE_HIGH>;
59 power-supply = <&vreg_edp_bl>;
61 pinctrl-names = "default";
62 pinctrl-0 = <&edp_bl_en>, <&edp_bl_pwm>;
65 gpio-keys {
66 compatible = "gpio-keys";
68 pinctrl-names = "default";
69 pinctrl-0 = <&hall_int_n_default>;
71 switch-lid {
73 linux,input-type = <EV_SW>;
75 wakeup-source;
76 wakeup-event-action = <EV_ACT_DEASSERTED>;
81 compatible = "gpio-leds";
83 pinctrl-names = "default";
84 pinctrl-0 = <&cam_indicator_en>;
86 led-camera-indicator {
87 label = "white:camera-indicator";
91 linux,default-trigger = "none";
92 default-state = "off";
94 panic-indicator;
98 pmic-glink {
99 compatible = "qcom,sc8280xp-pmic-glink", "qcom,pmic-glink";
101 #address-cells = <1>;
102 #size-cells = <0>;
103 orientation-gpios = <&tlmm 166 GPIO_ACTIVE_HIGH>,
107 compatible = "usb-c-connector";
109 power-role = "dual";
110 data-role = "dual";
113 #address-cells = <1>;
114 #size-cells = <0>;
120 remote-endpoint = <&usb_0_dwc3_hs>;
128 remote-endpoint = <&usb_0_qmpphy_out>;
136 remote-endpoint = <&usb0_sbu_mux>;
143 compatible = "usb-c-connector";
145 power-role = "dual";
146 data-role = "dual";
149 #address-cells = <1>;
150 #size-cells = <0>;
155 remote-endpoint = <&usb_1_dwc3_hs>;
163 remote-endpoint = <&usb_1_qmpphy_out>;
171 remote-endpoint = <&usb1_sbu_mux>;
178 vreg_edp_3p3: regulator-edp-3p3 {
179 compatible = "regulator-fixed";
181 regulator-name = "VCC3LCD";
182 regulator-min-microvolt = <3300000>;
183 regulator-max-microvolt = <3300000>;
186 enable-active-high;
188 pinctrl-names = "default";
189 pinctrl-0 = <&edp_reg_en>;
191 regulator-boot-on;
194 vreg_edp_bl: regulator-edp-bl {
195 compatible = "regulator-fixed";
197 regulator-name = "VBL9";
198 regulator-min-microvolt = <3600000>;
199 regulator-max-microvolt = <3600000>;
202 enable-active-high;
204 pinctrl-names = "default";
205 pinctrl-0 = <&edp_bl_reg_en>;
207 regulator-boot-on;
210 vreg_misc_3p3: regulator-misc-3p3 {
211 compatible = "regulator-fixed";
213 regulator-name = "VCC3B";
214 regulator-min-microvolt = <3300000>;
215 regulator-max-microvolt = <3300000>;
218 enable-active-high;
220 pinctrl-names = "default";
221 pinctrl-0 = <&misc_3p3_reg_en>;
223 regulator-boot-on;
224 regulator-always-on;
227 vreg_nvme: regulator-nvme {
228 compatible = "regulator-fixed";
230 regulator-name = "VCC3_SSD";
231 regulator-min-microvolt = <3300000>;
232 regulator-max-microvolt = <3300000>;
235 enable-active-high;
237 pinctrl-names = "default";
238 pinctrl-0 = <&nvme_reg_en>;
240 regulator-boot-on;
243 vreg_vph_pwr: regulator-vph-pwr {
244 compatible = "regulator-fixed";
246 regulator-name = "VPH_VCC3R9";
247 regulator-min-microvolt = <3900000>;
248 regulator-max-microvolt = <3900000>;
250 regulator-always-on;
253 vreg_wlan: regulator-wlan {
254 compatible = "regulator-fixed";
256 regulator-name = "VCC_WLAN_3R9";
257 regulator-min-microvolt = <3900000>;
258 regulator-max-microvolt = <3900000>;
261 enable-active-high;
263 pinctrl-names = "default";
264 pinctrl-0 = <&hastings_reg_en>;
266 regulator-boot-on;
269 vreg_wwan: regulator-wwan {
270 compatible = "regulator-fixed";
272 regulator-name = "VCC3B_WAN";
273 regulator-min-microvolt = <3300000>;
274 regulator-max-microvolt = <3300000>;
277 enable-active-high;
279 pinctrl-names = "default";
280 pinctrl-0 = <&wwan_sw_en>;
282 regulator-boot-on;
285 reserved-memory {
286 gpu_mem: gpu-mem@8bf00000 {
288 no-map;
292 compatible = "shared-dma-pool";
295 linux,cma-default;
299 thermal-zones {
300 pm8008-thermal {
301 polling-delay-passive = <100>;
302 polling-delay = <0>;
304 thermal-sensors = <&pm8008>;
321 skin-temp-thermal {
322 polling-delay-passive = <250>;
324 thermal-sensors = <&pmk8280_adc_tm 5>;
327 skin_temp_alert0: trip-point0 {
333 skin_temp_alert1: trip-point1 {
339 skin-temp-crit {
346 cooling-maps {
349 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
357 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
366 usb0-sbu-mux {
367 compatible = "pericom,pi3usb102", "gpio-sbu-mux";
369 enable-gpios = <&tlmm 101 GPIO_ACTIVE_LOW>;
370 select-gpios = <&tlmm 164 GPIO_ACTIVE_HIGH>;
372 pinctrl-names = "default";
373 pinctrl-0 = <&usb0_sbu_default>;
375 mode-switch;
376 orientation-switch;
380 remote-endpoint = <&pmic_glink_con0_sbu>;
385 usb1-sbu-mux {
386 compatible = "pericom,pi3usb102", "gpio-sbu-mux";
388 enable-gpios = <&tlmm 48 GPIO_ACTIVE_LOW>;
389 select-gpios = <&tlmm 47 GPIO_ACTIVE_HIGH>;
391 pinctrl-names = "default";
392 pinctrl-0 = <&usb1_sbu_default>;
394 mode-switch;
395 orientation-switch;
399 remote-endpoint = <&pmic_glink_con1_sbu>;
406 regulators-0 {
407 compatible = "qcom,pm8350-rpmh-regulators";
408 qcom,pmic-id = "b";
410 vdd-l1-l4-supply = <&vreg_s12b>;
411 vdd-l2-l7-supply = <&vreg_bob>;
412 vdd-l3-l5-supply = <&vreg_s11b>;
413 vdd-l6-l9-l10-supply = <&vreg_s12b>;
414 vdd-l8-supply = <&vreg_s12b>;
417 regulator-name = "vreg_s10b";
418 regulator-min-microvolt = <1800000>;
419 regulator-max-microvolt = <1800000>;
420 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
421 regulator-always-on;
425 regulator-name = "vreg_s11b";
426 regulator-min-microvolt = <1272000>;
427 regulator-max-microvolt = <1272000>;
428 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
429 regulator-always-on;
433 regulator-name = "vreg_s12b";
434 regulator-min-microvolt = <984000>;
435 regulator-max-microvolt = <984000>;
436 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
437 regulator-always-on;
441 regulator-name = "vreg_l1b";
442 regulator-min-microvolt = <912000>;
443 regulator-max-microvolt = <912000>;
444 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
448 regulator-name = "vreg_l3b";
449 regulator-min-microvolt = <1200000>;
450 regulator-max-microvolt = <1200000>;
451 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
452 regulator-boot-on;
456 regulator-name = "vreg_l4b";
457 regulator-min-microvolt = <912000>;
458 regulator-max-microvolt = <912000>;
459 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
463 regulator-name = "vreg_l6b";
464 regulator-min-microvolt = <880000>;
465 regulator-max-microvolt = <880000>;
466 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
467 regulator-boot-on;
471 regulators-1 {
472 compatible = "qcom,pm8350c-rpmh-regulators";
473 qcom,pmic-id = "c";
475 vdd-bob-supply = <&vreg_vph_pwr>;
476 vdd-l1-l12-supply = <&vreg_s1c>;
477 vdd-l2-l8-supply = <&vreg_s1c>;
478 vdd-l3-l4-l5-l7-l13-supply = <&vreg_bob>;
479 vdd-l6-l9-l11-supply = <&vreg_bob>;
480 vdd-l10-supply = <&vreg_s11b>;
483 regulator-name = "vreg_s1c";
484 regulator-min-microvolt = <1880000>;
485 regulator-max-microvolt = <1900000>;
486 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
487 regulator-always-on;
491 regulator-name = "vreg_l1c";
492 regulator-min-microvolt = <1800000>;
493 regulator-max-microvolt = <1800000>;
494 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
498 regulator-name = "vreg_l8c";
499 regulator-min-microvolt = <1800000>;
500 regulator-max-microvolt = <1800000>;
501 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
505 regulator-name = "vreg_l12c";
506 regulator-min-microvolt = <1800000>;
507 regulator-max-microvolt = <1800000>;
508 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
512 regulator-name = "vreg_l13c";
513 regulator-min-microvolt = <3072000>;
514 regulator-max-microvolt = <3072000>;
515 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
519 regulator-name = "vreg_bob";
520 regulator-min-microvolt = <3008000>;
521 regulator-max-microvolt = <3960000>;
522 regulator-initial-mode = <RPMH_REGULATOR_MODE_AUTO>;
523 regulator-always-on;
527 regulators-2 {
528 compatible = "qcom,pm8350-rpmh-regulators";
529 qcom,pmic-id = "d";
531 vdd-l1-l4-supply = <&vreg_s11b>;
532 vdd-l2-l7-supply = <&vreg_bob>;
533 vdd-l3-l5-supply = <&vreg_s11b>;
534 vdd-l6-l9-l10-supply = <&vreg_s12b>;
535 vdd-l8-supply = <&vreg_s12b>;
538 regulator-name = "vreg_l2d";
539 regulator-min-microvolt = <3072000>;
540 regulator-max-microvolt = <3072000>;
541 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
545 regulator-name = "vreg_l3d";
546 regulator-min-microvolt = <1200000>;
547 regulator-max-microvolt = <1200000>;
548 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
552 regulator-name = "vreg_l4d";
553 regulator-min-microvolt = <1200000>;
554 regulator-max-microvolt = <1200000>;
555 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
559 regulator-name = "vreg_l6d";
560 regulator-min-microvolt = <880000>;
561 regulator-max-microvolt = <880000>;
562 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
566 regulator-name = "vreg_l7d";
567 regulator-min-microvolt = <3072000>;
568 regulator-max-microvolt = <3072000>;
569 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
573 regulator-name = "vreg_l8d";
574 regulator-min-microvolt = <912000>;
575 regulator-max-microvolt = <912000>;
576 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
580 regulator-name = "vreg_l9d";
581 regulator-min-microvolt = <912000>;
582 regulator-max-microvolt = <912000>;
583 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
587 regulator-name = "vreg_l10d";
588 regulator-min-microvolt = <912000>;
589 regulator-max-microvolt = <912000>;
590 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
596 vdda-phy-supply = <&vreg_l6d>;
597 vdda-pll-supply = <&vreg_l4d>;
605 clock-lanes = <7>;
606 data-lanes = <0 1>;
607 remote-endpoint = <&ov5675_ep>;
622 reset-gpios = <&tlmm 15 GPIO_ACTIVE_LOW>;
623 pinctrl-names = "default";
624 pinctrl-0 = <&cam_rgb_default>;
630 avdd-supply = <&vreg_l6q>;
631 dvdd-supply = <&vreg_l2q>;
632 dovdd-supply = <&vreg_l7q>;
636 clock-lanes = <0>;
637 data-lanes = <1 2>;
638 link-frequencies = /bits/ 64 <450000000>;
639 remote-endpoint = <&csiphy0_lanes01_ep>;
653 zap-shader {
654 memory-region = <&gpu_mem>;
655 firmware-name = "qcom/sc8280xp/LENOVO/21BX/qcdxkmsuc8280.mbn";
668 data-lanes = <0 1>;
669 remote-endpoint = <&usb_0_qmpphy_dp_in>;
677 data-lanes = <0 1>;
678 remote-endpoint = <&usb_1_qmpphy_dp_in>;
682 compatible = "qcom,sc8280xp-edp";
683 /delete-property/ #sound-dai-cells;
685 data-lanes = <0 1 2 3>;
689 aux-bus {
691 compatible = "edp-panel";
694 power-supply = <&vreg_edp_3p3>;
698 remote-endpoint = <&mdss0_dp3_out>;
708 remote-endpoint = <&edp_panel_in>;
715 compatible = "qcom,sc8280xp-edp-phy";
716 vdda-phy-supply = <&vreg_l6b>;
717 vdda-pll-supply = <&vreg_l3b>;
723 clock-frequency = <400000>;
725 pinctrl-names = "default";
726 pinctrl-0 = <&i2c4_default>;
734 interrupts-extended = <&tlmm 175 IRQ_TYPE_LEVEL_LOW>;
735 reset-gpios = <&tlmm 99 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>;
736 no-reset-on-power-off;
738 vcc33-supply = <&vreg_misc_3p3>;
739 vccio-supply = <&vreg_misc_3p3>;
741 pinctrl-names = "default";
742 pinctrl-0 = <&ts0_default>;
747 clock-frequency = <400000>;
749 pinctrl-names = "default";
750 pinctrl-0 = <&i2c11_default>;
758 interrupts-extended = <&tlmm 41 IRQ_TYPE_EDGE_RISING>;
759 reset-gpios = <&tlmm 42 GPIO_ACTIVE_LOW>;
761 vdd-l1-l2-supply = <&vreg_s11b>;
762 vdd-l3-l4-supply = <&vreg_bob>;
763 vdd-l5-supply = <&vreg_bob>;
764 vdd-l6-supply = <&vreg_bob>;
765 vdd-l7-supply = <&vreg_bob>;
767 pinctrl-names = "default";
768 pinctrl-0 = <&pm8008_default>;
770 gpio-controller;
771 #gpio-cells = <2>;
772 gpio-ranges = <&pm8008 0 0 2>;
774 interrupt-controller;
775 #interrupt-cells = <2>;
777 #thermal-sensor-cells = <0>;
781 regulator-name = "vreg_l1q";
782 regulator-min-microvolt = <1200000>;
783 regulator-max-microvolt = <1200000>;
787 regulator-name = "vreg_l2q";
788 regulator-min-microvolt = <1200000>;
789 regulator-max-microvolt = <1200000>;
793 regulator-name = "vreg_l3q";
794 regulator-min-microvolt = <2800000>;
795 regulator-max-microvolt = <2800000>;
799 regulator-name = "vreg_l4q";
800 regulator-min-microvolt = <2800000>;
801 regulator-max-microvolt = <2800000>;
805 regulator-name = "vreg_l5q";
806 regulator-min-microvolt = <1800000>;
807 regulator-max-microvolt = <1800000>;
811 regulator-name = "vreg_l6q";
812 regulator-min-microvolt = <1800000>;
813 regulator-max-microvolt = <1800000>;
817 regulator-name = "vreg_l7q";
818 regulator-min-microvolt = <2800000>;
819 regulator-max-microvolt = <2800000>;
826 clock-frequency = <400000>;
828 pinctrl-names = "default";
829 pinctrl-0 = <&i2c21_default>, <&tpad_default>;
834 compatible = "hid-over-i2c";
837 hid-descr-addr = <0x1>;
838 interrupts-extended = <&tlmm 182 IRQ_TYPE_LEVEL_LOW>;
839 vdd-supply = <&vreg_misc_3p3>;
840 vddl-supply = <&vreg_s10b>;
842 wakeup-source;
846 compatible = "hid-over-i2c";
849 hid-descr-addr = <0x20>;
850 interrupts-extended = <&tlmm 182 IRQ_TYPE_LEVEL_LOW>;
851 vdd-supply = <&vreg_misc_3p3>;
852 vddl-supply = <&vreg_s10b>;
854 wakeup-source;
858 compatible = "hid-over-i2c";
861 hid-descr-addr = <0x1>;
862 interrupts-extended = <&tlmm 104 IRQ_TYPE_LEVEL_LOW>;
863 vdd-supply = <&vreg_misc_3p3>;
864 vddl-supply = <&vreg_s10b>;
866 pinctrl-names = "default";
867 pinctrl-0 = <&kybd_default>;
869 wakeup-source;
874 perst-gpios = <&tlmm 143 GPIO_ACTIVE_LOW>;
875 wake-gpios = <&tlmm 145 GPIO_ACTIVE_LOW>;
877 vddpe-3v3-supply = <&vreg_nvme>;
879 pinctrl-names = "default";
880 pinctrl-0 = <&pcie2a_default>;
886 vdda-phy-supply = <&vreg_l6d>;
887 vdda-pll-supply = <&vreg_l4d>;
893 perst-gpios = <&tlmm 151 GPIO_ACTIVE_LOW>;
894 wake-gpios = <&tlmm 148 GPIO_ACTIVE_LOW>;
896 vddpe-3v3-supply = <&vreg_wwan>;
898 pinctrl-names = "default";
899 pinctrl-0 = <&pcie3a_default>;
905 vdda-phy-supply = <&vreg_l6d>;
906 vdda-pll-supply = <&vreg_l4d>;
912 max-link-speed = <2>;
914 perst-gpios = <&tlmm 141 GPIO_ACTIVE_LOW>;
915 wake-gpios = <&tlmm 139 GPIO_ACTIVE_LOW>;
917 vddpe-3v3-supply = <&vreg_wlan>;
919 pinctrl-names = "default";
920 pinctrl-0 = <&pcie4_default>;
930 qcom,ath11k-calibration-variant = "LE_X13S";
935 vdda-phy-supply = <&vreg_l6d>;
936 vdda-pll-supply = <&vreg_l4d>;
948 sys-therm@0 {
950 io-channels = <&pmk8280_vadc PM8350_ADC7_AMUX_THM1_100K_PU(1)>;
951 qcom,hw-settle-time-us = <200>;
952 qcom,avg-samples = <2>;
956 sys-therm@1 {
958 io-channels = <&pmk8280_vadc PM8350_ADC7_AMUX_THM2_100K_PU(1)>;
959 qcom,hw-settle-time-us = <200>;
960 qcom,avg-samples = <2>;
964 sys-therm@2 {
966 io-channels = <&pmk8280_vadc PM8350_ADC7_AMUX_THM3_100K_PU(1)>;
967 qcom,hw-settle-time-us = <200>;
968 qcom,avg-samples = <2>;
972 sys-therm@3 {
974 io-channels = <&pmk8280_vadc PM8350_ADC7_AMUX_THM4_100K_PU(1)>;
975 qcom,hw-settle-time-us = <200>;
976 qcom,avg-samples = <2>;
980 sys-therm@4 {
982 io-channels = <&pmk8280_vadc PM8350_ADC7_AMUX_THM1_100K_PU(3)>;
983 qcom,hw-settle-time-us = <200>;
984 qcom,avg-samples = <2>;
988 sys-therm@5 {
990 io-channels = <&pmk8280_vadc PM8350_ADC7_AMUX_THM2_100K_PU(3)>;
991 qcom,hw-settle-time-us = <200>;
992 qcom,avg-samples = <2>;
996 sys-therm@6 {
998 io-channels = <&pmk8280_vadc PM8350_ADC7_AMUX_THM3_100K_PU(3)>;
999 qcom,hw-settle-time-us = <200>;
1000 qcom,avg-samples = <2>;
1004 sys-therm@7 {
1006 io-channels = <&pmk8280_vadc PM8350_ADC7_AMUX_THM4_100K_PU(3)>;
1007 qcom,hw-settle-time-us = <200>;
1008 qcom,avg-samples = <2>;
1022 nvmem-cells = <&rtc_offset>;
1023 nvmem-cell-names = "offset";
1031 rtc_offset: rtc-offset@bc {
1039 qcom,hw-settle-time = <200>;
1046 qcom,hw-settle-time = <200>;
1053 qcom,hw-settle-time = <200>;
1060 qcom,hw-settle-time = <200>;
1067 qcom,hw-settle-time = <200>;
1074 qcom,hw-settle-time = <200>;
1081 qcom,hw-settle-time = <200>;
1088 qcom,hw-settle-time = <200>;
1107 firmware-name = "qcom/sc8280xp/LENOVO/21BX/qcadsp8280.mbn";
1113 firmware-name = "qcom/sc8280xp/LENOVO/21BX/qccdsp8280.mbn";
1123 compatible = "qcom,sc8280xp-sndcard";
1124 model = "SC8280XP-LENOVO-X13S";
1125 audio-routing =
1130 "AMIC2", "MIC BIAS2",
1131 "VA DMIC0", "MIC BIAS1",
1132 "VA DMIC1", "MIC BIAS1",
1133 "VA DMIC2", "MIC BIAS3",
1134 "VA DMIC0", "VA MIC BIAS1",
1135 "VA DMIC1", "VA MIC BIAS1",
1136 "VA DMIC2", "VA MIC BIAS3",
1139 wcd-playback-dai-link {
1140 link-name = "WCD Playback";
1142 sound-dai = <&q6apmbedai RX_CODEC_DMA_RX_0>;
1146 sound-dai = <&wcd938x 0>, <&swr1 0>, <&rxmacro 0>;
1150 sound-dai = <&q6apm>;
1154 wcd-capture-dai-link {
1155 link-name = "WCD Capture";
1157 sound-dai = <&q6apmbedai TX_CODEC_DMA_TX_3>;
1161 sound-dai = <&wcd938x 1>, <&swr2 0>, <&txmacro 0>;
1165 sound-dai = <&q6apm>;
1169 wsa-dai-link {
1170 link-name = "WSA Playback";
1172 sound-dai = <&q6apmbedai WSA_CODEC_DMA_RX_0>;
1176 sound-dai = <&left_spkr>, <&right_spkr>, <&swr0 0>, <&wsamacro 0>;
1180 sound-dai = <&q6apm>;
1184 va-dai-link {
1185 link-name = "VA Capture";
1187 sound-dai = <&q6apmbedai VA_CODEC_DMA_TX_0>;
1191 sound-dai = <&q6apm>;
1195 sound-dai = <&vamacro 0>;
1203 left_spkr: wsa8830-left@0,1 {
1206 pinctrl-names = "default";
1207 pinctrl-0 = <&spkr_1_sd_n_default>;
1208 powerdown-gpios = <&tlmm 178 GPIO_ACTIVE_LOW>;
1209 #thermal-sensor-cells = <0>;
1210 sound-name-prefix = "SpkrLeft";
1211 #sound-dai-cells = <0>;
1212 vdd-supply = <&vreg_s10b>;
1215 right_spkr: wsa8830-right@0,2 {
1218 pinctrl-names = "default";
1219 pinctrl-0 = <&spkr_2_sd_n_default>;
1220 powerdown-gpios = <&tlmm 179 GPIO_ACTIVE_LOW>;
1221 #thermal-sensor-cells = <0>;
1222 sound-name-prefix = "SpkrRight";
1223 #sound-dai-cells = <0>;
1224 vdd-supply = <&vreg_s10b>;
1231 wcd_rx: wcd9380-rx@0,4 {
1234 qcom,rx-port-mapping = <1 2 3 4 5>;
1241 wcd_tx: wcd9380-tx@0,3 {
1244 qcom,tx-port-mapping = <1 1 2 3>;
1253 pinctrl-0 = <&uart2_default>;
1254 pinctrl-names = "default";
1259 compatible = "qcom,wcn6855-bt";
1261 vddio-supply = <&vreg_s10b>;
1262 vddbtcxmx-supply = <&vreg_s12b>;
1263 vddrfacmn-supply = <&vreg_s12b>;
1264 vddrfa0p8-supply = <&vreg_s12b>;
1265 vddrfa1p2-supply = <&vreg_s11b>;
1266 vddrfa1p7-supply = <&vreg_s1c>;
1268 max-speed = <3200000>;
1270 enable-gpios = <&tlmm 133 GPIO_ACTIVE_HIGH>;
1271 swctrl-gpios = <&tlmm 132 GPIO_ACTIVE_HIGH>;
1273 pinctrl-0 = <&bt_default>;
1274 pinctrl-names = "default";
1287 remote-endpoint = <&pmic_glink_con0_hs>;
1291 vdda-pll-supply = <&vreg_l9d>;
1292 vdda18-supply = <&vreg_l1c>;
1293 vdda33-supply = <&vreg_l7d>;
1299 vdda-phy-supply = <&vreg_l9d>;
1300 vdda-pll-supply = <&vreg_l4d>;
1302 orientation-switch;
1308 remote-endpoint = <&mdss0_dp0_out>;
1312 remote-endpoint = <&pmic_glink_con0_ss>;
1324 remote-endpoint = <&pmic_glink_con1_hs>;
1328 vdda-pll-supply = <&vreg_l4b>;
1329 vdda18-supply = <&vreg_l1c>;
1330 vdda33-supply = <&vreg_l13c>;
1336 vdda-phy-supply = <&vreg_l4b>;
1337 vdda-pll-supply = <&vreg_l3b>;
1339 orientation-switch;
1345 remote-endpoint = <&mdss0_dp1_out>;
1349 remote-endpoint = <&pmic_glink_con1_ss>;
1357 vdda-pll-supply = <&vreg_l1b>;
1358 vdda18-supply = <&vreg_l1c>;
1359 vdda33-supply = <&vreg_l7d>;
1365 vdda-pll-supply = <&vreg_l8d>;
1366 vdda18-supply = <&vreg_l1c>;
1367 vdda33-supply = <&vreg_l7d>;
1373 vdda-pll-supply = <&vreg_l10d>;
1374 vdda18-supply = <&vreg_l8c>;
1375 vdda33-supply = <&vreg_l2d>;
1381 vdda-pll-supply = <&vreg_l10d>;
1382 vdda18-supply = <&vreg_l8c>;
1383 vdda33-supply = <&vreg_l2d>;
1389 vdda-phy-supply = <&vreg_l1b>;
1390 vdda-pll-supply = <&vreg_l4d>;
1396 vdda-phy-supply = <&vreg_l8d>;
1397 vdda-pll-supply = <&vreg_l4d>;
1403 pinctrl-0 = <&dmic01_default>, <&dmic23_default>;
1404 pinctrl-names = "default";
1406 vdd-micb-supply = <&vreg_s10b>;
1408 qcom,dmic-sample-rate = <4800000>;
1418 clock-frequency = <38400000>;
1428 edp_bl_en: edp-bl-en-state {
1433 edp_bl_reg_en: edp-bl-reg-en-state {
1438 misc_3p3_reg_en: misc-3p3-reg-en-state {
1445 wwan_sw_en: wwan-sw-en-state {
1452 edp_bl_pwm: edp-bl-pwm-state {
1459 hastings_reg_en: hastings-reg-en-state {
1466 gpio-reserved-ranges = <70 2>, <74 6>, <125 2>, <128 2>, <154 4>;
1468 bt_default: bt-default-state {
1469 hstp-bt-en-pins {
1472 drive-strength = <16>;
1473 bias-disable;
1476 hstp-sw-ctrl-pins {
1479 bias-pull-down;
1483 cam_indicator_en: cam-indicator-en-state {
1486 drive-strength = <2>;
1487 bias-disable;
1490 cam_rgb_default: cam-rgb-default-state {
1491 mclk-pins {
1494 drive-strength = <16>;
1495 bias-disable;
1498 sc-rgb-xshut-n-pins {
1501 drive-strength = <2>;
1502 bias-disable;
1506 edp_reg_en: edp-reg-en-state {
1509 drive-strength = <16>;
1510 bias-disable;
1513 hall_int_n_default: hall-int-n-state {
1516 bias-disable;
1519 i2c4_default: i2c4-default-state {
1522 drive-strength = <16>;
1523 bias-disable;
1526 i2c11_default: i2c11-default-state {
1529 drive-strength = <16>;
1530 bias-disable;
1533 i2c21_default: i2c21-default-state {
1536 drive-strength = <16>;
1537 bias-disable;
1540 kybd_default: kybd-default-state {
1541 disable-pins {
1544 output-low;
1547 int-n-pins {
1550 bias-disable;
1553 reset-pins {
1556 bias-disable;
1560 nvme_reg_en: nvme-reg-en-state {
1563 drive-strength = <2>;
1564 bias-disable;
1567 pcie2a_default: pcie2a-default-state {
1568 clkreq-n-pins {
1571 drive-strength = <2>;
1572 bias-pull-up;
1575 perst-n-pins {
1578 drive-strength = <2>;
1579 bias-disable;
1582 wake-n-pins {
1585 drive-strength = <2>;
1586 bias-pull-up;
1590 pcie3a_default: pcie3a-default-state {
1591 clkreq-n-pins {
1594 drive-strength = <2>;
1595 bias-pull-up;
1598 perst-n-pins {
1601 drive-strength = <2>;
1602 bias-disable;
1605 wake-n-pins {
1608 drive-strength = <2>;
1609 bias-pull-up;
1613 pcie4_default: pcie4-default-state {
1614 clkreq-n-pins {
1617 drive-strength = <2>;
1618 bias-pull-up;
1621 perst-n-pins {
1624 drive-strength = <2>;
1625 bias-disable;
1628 wake-n-pins {
1631 drive-strength = <2>;
1632 bias-pull-up;
1636 pm8008_default: pm8008-default-state {
1637 int-pins {
1640 drive-strength = <2>;
1641 bias-pull-down;
1644 reset-n-pins {
1647 drive-strength = <2>;
1648 bias-disable;
1652 spkr_1_sd_n_default: spkr-1-sd-n-default-state {
1653 perst-n-pins {
1656 drive-strength = <16>;
1657 bias-disable;
1658 output-high;
1662 spkr_2_sd_n_default: spkr-2-sd-n-default-state {
1663 perst-n-pins {
1666 drive-strength = <16>;
1667 bias-disable;
1668 output-high;
1672 tpad_default: tpad-default-state {
1673 int-n-pins {
1676 bias-disable;
1680 ts0_default: ts0-default-state {
1681 int-n-pins {
1684 bias-disable;
1687 reset-n-pins {
1690 drive-strength = <2>;
1691 bias-disable;
1695 uart2_default: uart2-default-state {
1696 cts-pins {
1699 bias-bus-hold;
1702 rts-pins {
1705 drive-strength = <2>;
1706 bias-disable;
1709 rx-pins {
1712 bias-pull-up;
1715 tx-pins {
1718 drive-strength = <2>;
1719 bias-disable;
1723 usb0_sbu_default: usb0-sbu-state {
1724 oe-n-pins {
1727 bias-disable;
1728 drive-strength = <16>;
1729 output-high;
1732 sel-pins {
1735 bias-disable;
1736 drive-strength = <16>;
1740 usb1_sbu_default: usb1-sbu-state {
1741 oe-n-pins {
1744 bias-disable;
1745 drive-strength = <16>;
1746 output-high;
1749 sel-pins {
1752 bias-disable;
1753 drive-strength = <16>;
1757 wcd_default: wcd-default-state {
1758 reset-pins {
1761 bias-disable;