Lines Matching +full:va +full:- +full:dai +full:- +full:link
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>;
404 wcn6855-pmu {
405 compatible = "qcom,wcn6855-pmu";
407 pinctrl-0 = <&bt_default>, <&wlan_en>;
408 pinctrl-names = "default";
410 wlan-enable-gpios = <&tlmm 134 GPIO_ACTIVE_HIGH>;
411 bt-enable-gpios = <&tlmm 133 GPIO_ACTIVE_HIGH>;
412 swctrl-gpios = <&tlmm 132 GPIO_ACTIVE_HIGH>;
414 vddio-supply = <&vreg_s10b>;
415 vddaon-supply = <&vreg_s12b>;
416 vddpmu-supply = <&vreg_s12b>;
417 vddpmumx-supply = <&vreg_s12b>;
418 vddpmucx-supply = <&vreg_s12b>;
419 vddrfa0p95-supply = <&vreg_s12b>;
420 vddrfa1p3-supply = <&vreg_s11b>;
421 vddrfa1p9-supply = <&vreg_s1c>;
422 vddpcie1p3-supply = <&vreg_s11b>;
423 vddpcie1p9-supply = <&vreg_s1c>;
427 regulator-name = "vreg_pmu_rfa_cmn_0p8";
431 regulator-name = "vreg_pmu_aon_0p8";
435 regulator-name = "vreg_pmu_wlcx_0p8";
439 regulator-name = "vreg_pmu_wlmx_0p8";
443 regulator-name = "vreg_pmu_btcmx_0p8";
447 regulator-name = "vreg_pmu_pcie_1p8";
451 regulator-name = "vreg_pmu_pcie_0p9";
455 regulator-name = "vreg_pmu_rfa_0p8";
459 regulator-name = "vreg_pmu_rfa_1p2";
463 regulator-name = "vreg_pmu_rfa_1p7";
470 regulators-0 {
471 compatible = "qcom,pm8350-rpmh-regulators";
472 qcom,pmic-id = "b";
474 vdd-l1-l4-supply = <&vreg_s12b>;
475 vdd-l2-l7-supply = <&vreg_bob>;
476 vdd-l3-l5-supply = <&vreg_s11b>;
477 vdd-l6-l9-l10-supply = <&vreg_s12b>;
478 vdd-l8-supply = <&vreg_s12b>;
481 regulator-name = "vreg_s10b";
482 regulator-min-microvolt = <1800000>;
483 regulator-max-microvolt = <1800000>;
484 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
485 regulator-always-on;
489 regulator-name = "vreg_s11b";
490 regulator-min-microvolt = <1272000>;
491 regulator-max-microvolt = <1272000>;
492 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
496 regulator-name = "vreg_s12b";
497 regulator-min-microvolt = <984000>;
498 regulator-max-microvolt = <984000>;
499 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
503 regulator-name = "vreg_l1b";
504 regulator-min-microvolt = <912000>;
505 regulator-max-microvolt = <912000>;
506 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
510 regulator-name = "vreg_l3b";
511 regulator-min-microvolt = <1200000>;
512 regulator-max-microvolt = <1200000>;
513 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
514 regulator-boot-on;
518 regulator-name = "vreg_l4b";
519 regulator-min-microvolt = <912000>;
520 regulator-max-microvolt = <912000>;
521 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
525 regulator-name = "vreg_l6b";
526 regulator-min-microvolt = <880000>;
527 regulator-max-microvolt = <880000>;
528 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
529 regulator-boot-on;
533 regulators-1 {
534 compatible = "qcom,pm8350c-rpmh-regulators";
535 qcom,pmic-id = "c";
537 vdd-bob-supply = <&vreg_vph_pwr>;
538 vdd-l1-l12-supply = <&vreg_s1c>;
539 vdd-l2-l8-supply = <&vreg_s1c>;
540 vdd-l3-l4-l5-l7-l13-supply = <&vreg_bob>;
541 vdd-l6-l9-l11-supply = <&vreg_bob>;
542 vdd-l10-supply = <&vreg_s11b>;
545 regulator-name = "vreg_s1c";
546 regulator-min-microvolt = <1880000>;
547 regulator-max-microvolt = <1900000>;
548 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
549 regulator-always-on;
553 regulator-name = "vreg_l1c";
554 regulator-min-microvolt = <1800000>;
555 regulator-max-microvolt = <1800000>;
556 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
560 regulator-name = "vreg_l8c";
561 regulator-min-microvolt = <1800000>;
562 regulator-max-microvolt = <1800000>;
563 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
567 regulator-name = "vreg_l12c";
568 regulator-min-microvolt = <1800000>;
569 regulator-max-microvolt = <1800000>;
570 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
574 regulator-name = "vreg_l13c";
575 regulator-min-microvolt = <3072000>;
576 regulator-max-microvolt = <3072000>;
577 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
581 regulator-name = "vreg_bob";
582 regulator-min-microvolt = <3008000>;
583 regulator-max-microvolt = <3960000>;
584 regulator-initial-mode = <RPMH_REGULATOR_MODE_AUTO>;
585 regulator-always-on;
589 regulators-2 {
590 compatible = "qcom,pm8350-rpmh-regulators";
591 qcom,pmic-id = "d";
593 vdd-l1-l4-supply = <&vreg_s11b>;
594 vdd-l2-l7-supply = <&vreg_bob>;
595 vdd-l3-l5-supply = <&vreg_s11b>;
596 vdd-l6-l9-l10-supply = <&vreg_s12b>;
597 vdd-l8-supply = <&vreg_s12b>;
600 regulator-name = "vreg_l2d";
601 regulator-min-microvolt = <3072000>;
602 regulator-max-microvolt = <3072000>;
603 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
607 regulator-name = "vreg_l3d";
608 regulator-min-microvolt = <1200000>;
609 regulator-max-microvolt = <1200000>;
610 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
614 regulator-name = "vreg_l4d";
615 regulator-min-microvolt = <1200000>;
616 regulator-max-microvolt = <1200000>;
617 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
621 regulator-name = "vreg_l6d";
622 regulator-min-microvolt = <880000>;
623 regulator-max-microvolt = <880000>;
624 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
628 regulator-name = "vreg_l7d";
629 regulator-min-microvolt = <3072000>;
630 regulator-max-microvolt = <3072000>;
631 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
635 regulator-name = "vreg_l8d";
636 regulator-min-microvolt = <912000>;
637 regulator-max-microvolt = <912000>;
638 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
642 regulator-name = "vreg_l9d";
643 regulator-min-microvolt = <912000>;
644 regulator-max-microvolt = <912000>;
645 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
649 regulator-name = "vreg_l10d";
650 regulator-min-microvolt = <912000>;
651 regulator-max-microvolt = <912000>;
652 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
658 vdda-phy-supply = <&vreg_l6d>;
659 vdda-pll-supply = <&vreg_l4d>;
667 clock-lanes = <7>;
668 data-lanes = <0 1>;
669 remote-endpoint = <&ov5675_ep>;
684 reset-gpios = <&tlmm 15 GPIO_ACTIVE_LOW>;
685 pinctrl-names = "default";
686 pinctrl-0 = <&cam_rgb_default>;
692 avdd-supply = <&vreg_l6q>;
693 dvdd-supply = <&vreg_l2q>;
694 dovdd-supply = <&vreg_l7q>;
698 data-lanes = <1 2>;
699 link-frequencies = /bits/ 64 <450000000>;
700 remote-endpoint = <&csiphy0_lanes01_ep>;
714 zap-shader {
715 memory-region = <&gpu_mem>;
716 firmware-name = "qcom/sc8280xp/LENOVO/21BX/qcdxkmsuc8280.mbn";
729 data-lanes = <0 1>;
730 remote-endpoint = <&usb_0_qmpphy_dp_in>;
738 data-lanes = <0 1>;
739 remote-endpoint = <&usb_1_qmpphy_dp_in>;
743 compatible = "qcom,sc8280xp-edp";
744 /delete-property/ #sound-dai-cells;
746 data-lanes = <0 1 2 3>;
750 aux-bus {
752 compatible = "edp-panel";
755 power-supply = <&vreg_edp_3p3>;
759 remote-endpoint = <&mdss0_dp3_out>;
769 remote-endpoint = <&edp_panel_in>;
776 compatible = "qcom,sc8280xp-edp-phy";
777 vdda-phy-supply = <&vreg_l6b>;
778 vdda-pll-supply = <&vreg_l3b>;
784 clock-frequency = <400000>;
786 pinctrl-names = "default";
787 pinctrl-0 = <&i2c4_default>;
795 interrupts-extended = <&tlmm 175 IRQ_TYPE_LEVEL_LOW>;
796 reset-gpios = <&tlmm 99 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>;
797 no-reset-on-power-off;
799 vcc33-supply = <&vreg_misc_3p3>;
800 vccio-supply = <&vreg_misc_3p3>;
802 pinctrl-names = "default";
803 pinctrl-0 = <&ts0_default>;
808 clock-frequency = <400000>;
810 pinctrl-names = "default";
811 pinctrl-0 = <&i2c11_default>;
819 interrupts-extended = <&tlmm 41 IRQ_TYPE_EDGE_RISING>;
820 reset-gpios = <&tlmm 42 GPIO_ACTIVE_LOW>;
822 vdd-l1-l2-supply = <&vreg_s11b>;
823 vdd-l3-l4-supply = <&vreg_bob>;
824 vdd-l5-supply = <&vreg_bob>;
825 vdd-l6-supply = <&vreg_bob>;
826 vdd-l7-supply = <&vreg_bob>;
828 pinctrl-names = "default";
829 pinctrl-0 = <&pm8008_default>;
831 gpio-controller;
832 #gpio-cells = <2>;
833 gpio-ranges = <&pm8008 0 0 2>;
835 interrupt-controller;
836 #interrupt-cells = <2>;
838 #thermal-sensor-cells = <0>;
842 regulator-name = "vreg_l1q";
843 regulator-min-microvolt = <1200000>;
844 regulator-max-microvolt = <1200000>;
848 regulator-name = "vreg_l2q";
849 regulator-min-microvolt = <1200000>;
850 regulator-max-microvolt = <1200000>;
854 regulator-name = "vreg_l3q";
855 regulator-min-microvolt = <2800000>;
856 regulator-max-microvolt = <2800000>;
860 regulator-name = "vreg_l4q";
861 regulator-min-microvolt = <2800000>;
862 regulator-max-microvolt = <2800000>;
866 regulator-name = "vreg_l5q";
867 regulator-min-microvolt = <1800000>;
868 regulator-max-microvolt = <1800000>;
872 regulator-name = "vreg_l6q";
873 regulator-min-microvolt = <1800000>;
874 regulator-max-microvolt = <1800000>;
878 regulator-name = "vreg_l7q";
879 regulator-min-microvolt = <2800000>;
880 regulator-max-microvolt = <2800000>;
887 clock-frequency = <400000>;
889 pinctrl-names = "default";
890 pinctrl-0 = <&i2c21_default>, <&tpad_default>;
895 compatible = "hid-over-i2c";
898 hid-descr-addr = <0x1>;
899 interrupts-extended = <&tlmm 182 IRQ_TYPE_LEVEL_LOW>;
900 vdd-supply = <&vreg_misc_3p3>;
901 vddl-supply = <&vreg_s10b>;
903 wakeup-source;
907 compatible = "hid-over-i2c";
910 hid-descr-addr = <0x20>;
911 interrupts-extended = <&tlmm 182 IRQ_TYPE_LEVEL_LOW>;
912 vdd-supply = <&vreg_misc_3p3>;
913 vddl-supply = <&vreg_s10b>;
915 wakeup-source;
919 compatible = "hid-over-i2c";
922 hid-descr-addr = <0x1>;
923 interrupts-extended = <&tlmm 104 IRQ_TYPE_LEVEL_LOW>;
924 vdd-supply = <&vreg_misc_3p3>;
925 vddl-supply = <&vreg_s10b>;
927 pinctrl-names = "default";
928 pinctrl-0 = <&kybd_default>;
930 wakeup-source;
935 perst-gpios = <&tlmm 143 GPIO_ACTIVE_LOW>;
936 wake-gpios = <&tlmm 145 GPIO_ACTIVE_LOW>;
938 vddpe-3v3-supply = <&vreg_nvme>;
940 pinctrl-names = "default";
941 pinctrl-0 = <&pcie2a_default>;
947 vdda-phy-supply = <&vreg_l6d>;
948 vdda-pll-supply = <&vreg_l4d>;
954 perst-gpios = <&tlmm 151 GPIO_ACTIVE_LOW>;
955 wake-gpios = <&tlmm 148 GPIO_ACTIVE_LOW>;
957 vddpe-3v3-supply = <&vreg_wwan>;
959 pinctrl-names = "default";
960 pinctrl-0 = <&pcie3a_default>;
966 vdda-phy-supply = <&vreg_l6d>;
967 vdda-pll-supply = <&vreg_l4d>;
973 max-link-speed = <2>;
975 perst-gpios = <&tlmm 141 GPIO_ACTIVE_LOW>;
976 wake-gpios = <&tlmm 139 GPIO_ACTIVE_LOW>;
978 vddpe-3v3-supply = <&vreg_wlan>;
980 pinctrl-names = "default";
981 pinctrl-0 = <&pcie4_default>;
991 vddrfacmn-supply = <&vreg_pmu_rfa_cmn_0p8>;
992 vddaon-supply = <&vreg_pmu_aon_0p8>;
993 vddwlcx-supply = <&vreg_pmu_wlcx_0p8>;
994 vddwlmx-supply = <&vreg_pmu_wlmx_0p8>;
995 vddpcie1p8-supply = <&vreg_pmu_pcie_1p8>;
996 vddpcie0p9-supply = <&vreg_pmu_pcie_0p9>;
997 vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>;
998 vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>;
999 vddrfa1p8-supply = <&vreg_pmu_rfa_1p7>;
1001 qcom,ath11k-calibration-variant = "LE_X13S";
1006 vdda-phy-supply = <&vreg_l6d>;
1007 vdda-pll-supply = <&vreg_l4d>;
1019 sys-therm@0 {
1021 io-channels = <&pmk8280_vadc PM8350_ADC7_AMUX_THM1_100K_PU(1)>;
1022 qcom,hw-settle-time-us = <200>;
1023 qcom,avg-samples = <2>;
1027 sys-therm@1 {
1029 io-channels = <&pmk8280_vadc PM8350_ADC7_AMUX_THM2_100K_PU(1)>;
1030 qcom,hw-settle-time-us = <200>;
1031 qcom,avg-samples = <2>;
1035 sys-therm@2 {
1037 io-channels = <&pmk8280_vadc PM8350_ADC7_AMUX_THM3_100K_PU(1)>;
1038 qcom,hw-settle-time-us = <200>;
1039 qcom,avg-samples = <2>;
1043 sys-therm@3 {
1045 io-channels = <&pmk8280_vadc PM8350_ADC7_AMUX_THM4_100K_PU(1)>;
1046 qcom,hw-settle-time-us = <200>;
1047 qcom,avg-samples = <2>;
1051 sys-therm@4 {
1053 io-channels = <&pmk8280_vadc PM8350_ADC7_AMUX_THM1_100K_PU(3)>;
1054 qcom,hw-settle-time-us = <200>;
1055 qcom,avg-samples = <2>;
1059 sys-therm@5 {
1061 io-channels = <&pmk8280_vadc PM8350_ADC7_AMUX_THM2_100K_PU(3)>;
1062 qcom,hw-settle-time-us = <200>;
1063 qcom,avg-samples = <2>;
1067 sys-therm@6 {
1069 io-channels = <&pmk8280_vadc PM8350_ADC7_AMUX_THM3_100K_PU(3)>;
1070 qcom,hw-settle-time-us = <200>;
1071 qcom,avg-samples = <2>;
1075 sys-therm@7 {
1077 io-channels = <&pmk8280_vadc PM8350_ADC7_AMUX_THM4_100K_PU(3)>;
1078 qcom,hw-settle-time-us = <200>;
1079 qcom,avg-samples = <2>;
1093 nvmem-cells = <&rtc_offset>;
1094 nvmem-cell-names = "offset";
1102 rtc_offset: rtc-offset@bc {
1110 qcom,hw-settle-time = <200>;
1117 qcom,hw-settle-time = <200>;
1124 qcom,hw-settle-time = <200>;
1131 qcom,hw-settle-time = <200>;
1138 qcom,hw-settle-time = <200>;
1145 qcom,hw-settle-time = <200>;
1152 qcom,hw-settle-time = <200>;
1159 qcom,hw-settle-time = <200>;
1178 firmware-name = "qcom/sc8280xp/LENOVO/21BX/qcadsp8280.mbn";
1184 firmware-name = "qcom/sc8280xp/LENOVO/21BX/qccdsp8280.mbn";
1194 compatible = "qcom,sc8280xp-sndcard";
1195 model = "SC8280XP-LENOVO-X13S";
1196 audio-routing =
1202 "VA DMIC0", "MIC BIAS1",
1203 "VA DMIC1", "MIC BIAS1",
1204 "VA DMIC2", "MIC BIAS3",
1205 "VA DMIC0", "VA MIC BIAS1",
1206 "VA DMIC1", "VA MIC BIAS1",
1207 "VA DMIC2", "VA MIC BIAS3",
1210 wcd-playback-dai-link {
1211 link-name = "WCD Playback";
1213 sound-dai = <&q6apmbedai RX_CODEC_DMA_RX_0>;
1217 sound-dai = <&wcd938x 0>, <&swr1 0>, <&rxmacro 0>;
1221 sound-dai = <&q6apm>;
1225 wcd-capture-dai-link {
1226 link-name = "WCD Capture";
1228 sound-dai = <&q6apmbedai TX_CODEC_DMA_TX_3>;
1232 sound-dai = <&wcd938x 1>, <&swr2 0>, <&txmacro 0>;
1236 sound-dai = <&q6apm>;
1240 wsa-dai-link {
1241 link-name = "WSA Playback";
1243 sound-dai = <&q6apmbedai WSA_CODEC_DMA_RX_0>;
1247 sound-dai = <&left_spkr>, <&right_spkr>, <&swr0 0>, <&wsamacro 0>;
1251 sound-dai = <&q6apm>;
1255 va-dai-link {
1256 link-name = "VA Capture";
1258 sound-dai = <&q6apmbedai VA_CODEC_DMA_TX_0>;
1262 sound-dai = <&q6apm>;
1266 sound-dai = <&vamacro 0>;
1274 left_spkr: wsa8830-left@0,1 {
1277 pinctrl-names = "default";
1278 pinctrl-0 = <&spkr_1_sd_n_default>;
1279 powerdown-gpios = <&tlmm 178 GPIO_ACTIVE_LOW>;
1280 #thermal-sensor-cells = <0>;
1281 sound-name-prefix = "SpkrLeft";
1282 #sound-dai-cells = <0>;
1283 vdd-supply = <&vreg_s10b>;
1286 right_spkr: wsa8830-right@0,2 {
1289 pinctrl-names = "default";
1290 pinctrl-0 = <&spkr_2_sd_n_default>;
1291 powerdown-gpios = <&tlmm 179 GPIO_ACTIVE_LOW>;
1292 #thermal-sensor-cells = <0>;
1293 sound-name-prefix = "SpkrRight";
1294 #sound-dai-cells = <0>;
1295 vdd-supply = <&vreg_s10b>;
1302 wcd_rx: wcd9380-rx@0,4 {
1305 qcom,rx-port-mapping = <1 2 3 4 5>;
1312 wcd_tx: wcd9380-tx@0,3 {
1315 qcom,tx-port-mapping = <1 1 2 3>;
1324 pinctrl-0 = <&uart2_default>;
1325 pinctrl-names = "default";
1330 compatible = "qcom,wcn6855-bt";
1332 vddrfacmn-supply = <&vreg_pmu_rfa_cmn_0p8>;
1333 vddaon-supply = <&vreg_pmu_aon_0p8>;
1334 vddwlcx-supply = <&vreg_pmu_wlcx_0p8>;
1335 vddwlmx-supply = <&vreg_pmu_wlmx_0p8>;
1336 vddbtcmx-supply = <&vreg_pmu_btcmx_0p8>;
1337 vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>;
1338 vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>;
1339 vddrfa1p8-supply = <&vreg_pmu_rfa_1p7>;
1341 max-speed = <3200000>;
1354 remote-endpoint = <&pmic_glink_con0_hs>;
1358 vdda-pll-supply = <&vreg_l9d>;
1359 vdda18-supply = <&vreg_l1c>;
1360 vdda33-supply = <&vreg_l7d>;
1366 vdda-phy-supply = <&vreg_l9d>;
1367 vdda-pll-supply = <&vreg_l4d>;
1369 orientation-switch;
1375 remote-endpoint = <&mdss0_dp0_out>;
1379 remote-endpoint = <&pmic_glink_con0_ss>;
1391 remote-endpoint = <&pmic_glink_con1_hs>;
1395 vdda-pll-supply = <&vreg_l4b>;
1396 vdda18-supply = <&vreg_l1c>;
1397 vdda33-supply = <&vreg_l13c>;
1403 vdda-phy-supply = <&vreg_l4b>;
1404 vdda-pll-supply = <&vreg_l3b>;
1406 orientation-switch;
1412 remote-endpoint = <&mdss0_dp1_out>;
1416 remote-endpoint = <&pmic_glink_con1_ss>;
1424 vdda-pll-supply = <&vreg_l1b>;
1425 vdda18-supply = <&vreg_l1c>;
1426 vdda33-supply = <&vreg_l7d>;
1432 vdda-pll-supply = <&vreg_l8d>;
1433 vdda18-supply = <&vreg_l1c>;
1434 vdda33-supply = <&vreg_l7d>;
1440 vdda-pll-supply = <&vreg_l10d>;
1441 vdda18-supply = <&vreg_l8c>;
1442 vdda33-supply = <&vreg_l2d>;
1448 vdda-pll-supply = <&vreg_l10d>;
1449 vdda18-supply = <&vreg_l8c>;
1450 vdda33-supply = <&vreg_l2d>;
1456 vdda-phy-supply = <&vreg_l1b>;
1457 vdda-pll-supply = <&vreg_l4d>;
1463 vdda-phy-supply = <&vreg_l8d>;
1464 vdda-pll-supply = <&vreg_l4d>;
1470 pinctrl-0 = <&dmic01_default>, <&dmic23_default>;
1471 pinctrl-names = "default";
1473 vdd-micb-supply = <&vreg_s10b>;
1475 qcom,dmic-sample-rate = <4800000>;
1485 clock-frequency = <38400000>;
1495 edp_bl_en: edp-bl-en-state {
1500 edp_bl_reg_en: edp-bl-reg-en-state {
1505 misc_3p3_reg_en: misc-3p3-reg-en-state {
1512 wwan_sw_en: wwan-sw-en-state {
1519 edp_bl_pwm: edp-bl-pwm-state {
1526 hastings_reg_en: hastings-reg-en-state {
1533 gpio-reserved-ranges = <70 2>, <74 6>, <125 2>, <128 2>, <154 4>;
1535 bt_default: bt-default-state {
1536 hstp-bt-en-pins {
1539 drive-strength = <16>;
1540 bias-disable;
1543 hstp-sw-ctrl-pins {
1546 bias-pull-down;
1550 cam_indicator_en: cam-indicator-en-state {
1553 drive-strength = <2>;
1554 bias-disable;
1557 cam_rgb_default: cam-rgb-default-state {
1558 mclk-pins {
1561 drive-strength = <16>;
1562 bias-disable;
1565 sc-rgb-xshut-n-pins {
1568 drive-strength = <2>;
1569 bias-disable;
1573 edp_reg_en: edp-reg-en-state {
1576 drive-strength = <16>;
1577 bias-disable;
1580 hall_int_n_default: hall-int-n-state {
1583 bias-disable;
1586 i2c4_default: i2c4-default-state {
1589 drive-strength = <16>;
1590 bias-disable;
1593 i2c11_default: i2c11-default-state {
1596 drive-strength = <16>;
1597 bias-disable;
1600 i2c21_default: i2c21-default-state {
1603 drive-strength = <16>;
1604 bias-disable;
1607 kybd_default: kybd-default-state {
1608 disable-pins {
1611 output-low;
1614 int-n-pins {
1617 bias-disable;
1620 reset-pins {
1623 bias-disable;
1627 nvme_reg_en: nvme-reg-en-state {
1630 drive-strength = <2>;
1631 bias-disable;
1634 pcie2a_default: pcie2a-default-state {
1635 clkreq-n-pins {
1638 drive-strength = <2>;
1639 bias-pull-up;
1642 perst-n-pins {
1645 drive-strength = <2>;
1646 bias-disable;
1649 wake-n-pins {
1652 drive-strength = <2>;
1653 bias-pull-up;
1657 pcie3a_default: pcie3a-default-state {
1658 clkreq-n-pins {
1661 drive-strength = <2>;
1662 bias-pull-up;
1665 perst-n-pins {
1668 drive-strength = <2>;
1669 bias-disable;
1672 wake-n-pins {
1675 drive-strength = <2>;
1676 bias-pull-up;
1680 pcie4_default: pcie4-default-state {
1681 clkreq-n-pins {
1684 drive-strength = <2>;
1685 bias-pull-up;
1688 perst-n-pins {
1691 drive-strength = <2>;
1692 bias-disable;
1695 wake-n-pins {
1698 drive-strength = <2>;
1699 bias-pull-up;
1703 pm8008_default: pm8008-default-state {
1704 int-pins {
1707 drive-strength = <2>;
1708 bias-pull-down;
1711 reset-n-pins {
1714 drive-strength = <2>;
1715 bias-disable;
1719 spkr_1_sd_n_default: spkr-1-sd-n-default-state {
1720 perst-n-pins {
1723 drive-strength = <16>;
1724 bias-disable;
1725 output-high;
1729 spkr_2_sd_n_default: spkr-2-sd-n-default-state {
1730 perst-n-pins {
1733 drive-strength = <16>;
1734 bias-disable;
1735 output-high;
1739 tpad_default: tpad-default-state {
1740 int-n-pins {
1743 bias-disable;
1747 ts0_default: ts0-default-state {
1748 int-n-pins {
1751 bias-disable;
1754 reset-n-pins {
1757 drive-strength = <2>;
1758 bias-disable;
1762 uart2_default: uart2-default-state {
1763 cts-pins {
1766 bias-bus-hold;
1769 rts-pins {
1772 drive-strength = <2>;
1773 bias-disable;
1776 rx-pins {
1779 bias-pull-up;
1782 tx-pins {
1785 drive-strength = <2>;
1786 bias-disable;
1790 usb0_sbu_default: usb0-sbu-state {
1791 oe-n-pins {
1794 bias-disable;
1795 drive-strength = <16>;
1796 output-high;
1799 sel-pins {
1802 bias-disable;
1803 drive-strength = <16>;
1807 usb1_sbu_default: usb1-sbu-state {
1808 oe-n-pins {
1811 bias-disable;
1812 drive-strength = <16>;
1813 output-high;
1816 sel-pins {
1819 bias-disable;
1820 drive-strength = <16>;
1824 wcd_default: wcd-default-state {
1825 reset-pins {
1828 bias-disable;
1832 wlan_en: wlan-en-state {
1835 drive-strength = <8>;
1836 bias-pull-down;