1 // SPDX-License-Identifier: BSD-3-Clause
3 * Copyright (c) 2021, The Linux Foundation. All rights reserved.
4 * Copyright (c) 2022, Linaro Limited
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/iio/qcom,spmi-adc7-pm8350.h>
11 #include <dt-bindings/iio/qcom,spmi-adc7-pmk8350.h>
12 #include <dt-bindings/iio/qcom,spmi-adc7-pmr735a.h>
13 #include <dt-bindings/input/gpio-keys.h>
14 #include <dt-bindings/input/input.h>
15 #include <dt-bindings/leds/common.h>
16 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
18 #include "sc8280xp.dtsi"
19 #include "sc8280xp-pmics.dtsi"
22 model = "Lenovo ThinkPad X13s";
23 compatible = "lenovo,thinkpad-x13s", "qcom,sc8280xp";
31 wcd938x: audio-codec {
32 compatible = "qcom,wcd9380-codec";
34 pinctrl-names = "default";
35 pinctrl-0 = <&wcd_default>;
37 reset-gpios = <&tlmm 106 GPIO_ACTIVE_LOW>;
39 vdd-buck-supply = <&vreg_s10b>;
40 vdd-rxtx-supply = <&vreg_s10b>;
41 vdd-io-supply = <&vreg_s10b>;
42 vdd-mic-bias-supply = <&vreg_bob>;
44 qcom,micbias1-microvolt = <1800000>;
45 qcom,micbias2-microvolt = <1800000>;
46 qcom,micbias3-microvolt = <1800000>;
47 qcom,micbias4-microvolt = <1800000>;
48 qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>;
49 qcom,mbhc-headset-vthreshold-microvolt = <1700000>;
50 qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
51 qcom,rx-device = <&wcd_rx>;
52 qcom,tx-device = <&wcd_tx>;
54 #sound-dai-cells = <1>;
57 backlight: backlight {
58 compatible = "pwm-backlight";
59 pwms = <&pmc8280c_lpg 3 1000000>;
60 enable-gpios = <&pmc8280_1_gpios 8 GPIO_ACTIVE_HIGH>;
61 power-supply = <&vreg_edp_bl>;
63 pinctrl-names = "default";
64 pinctrl-0 = <&edp_bl_en>, <&edp_bl_pwm>;
68 compatible = "gpio-keys";
70 pinctrl-names = "default";
71 pinctrl-0 = <&hall_int_n_default>;
74 gpios = <&tlmm 107 GPIO_ACTIVE_LOW>;
75 linux,input-type = <EV_SW>;
76 linux,code = <SW_LID>;
78 wakeup-event-action = <EV_ACT_DEASSERTED>;
83 compatible = "gpio-leds";
85 led-camera-indicator {
86 label = "white:camera-indicator";
87 function = LED_FUNCTION_INDICATOR;
88 color = <LED_COLOR_ID_WHITE>;
89 gpios = <&tlmm 28 GPIO_ACTIVE_HIGH>;
90 linux,default-trigger = "none";
91 default-state = "off";
92 /* Reuse as a panic indicator until we get a "camera on" trigger */
98 compatible = "qcom,sc8280xp-pmic-glink", "qcom,pmic-glink";
100 #address-cells = <1>;
104 compatible = "usb-c-connector";
110 #address-cells = <1>;
116 pmic_glink_con0_hs: endpoint {
117 remote-endpoint = <&usb_0_role_switch>;
124 pmic_glink_con0_ss: endpoint {
125 remote-endpoint = <&usb_0_qmpphy_out>;
132 pmic_glink_con0_sbu: endpoint {
133 remote-endpoint = <&usb0_sbu_mux>;
140 compatible = "usb-c-connector";
146 #address-cells = <1>;
151 pmic_glink_con1_hs: endpoint {
152 remote-endpoint = <&usb_1_role_switch>;
159 pmic_glink_con1_ss: endpoint {
160 remote-endpoint = <&usb_1_qmpphy_out>;
167 pmic_glink_con1_sbu: endpoint {
168 remote-endpoint = <&usb1_sbu_mux>;
175 vreg_edp_3p3: regulator-edp-3p3 {
176 compatible = "regulator-fixed";
178 regulator-name = "VCC3LCD";
179 regulator-min-microvolt = <3300000>;
180 regulator-max-microvolt = <3300000>;
182 gpio = <&tlmm 25 GPIO_ACTIVE_HIGH>;
185 pinctrl-names = "default";
186 pinctrl-0 = <&edp_reg_en>;
191 vreg_edp_bl: regulator-edp-bl {
192 compatible = "regulator-fixed";
194 regulator-name = "VBL9";
195 regulator-min-microvolt = <3600000>;
196 regulator-max-microvolt = <3600000>;
198 gpio = <&pmc8280_1_gpios 9 GPIO_ACTIVE_HIGH>;
201 pinctrl-names = "default";
202 pinctrl-0 = <&edp_bl_reg_en>;
207 vreg_misc_3p3: regulator-misc-3p3 {
208 compatible = "regulator-fixed";
210 regulator-name = "VCC3B";
211 regulator-min-microvolt = <3300000>;
212 regulator-max-microvolt = <3300000>;
214 gpio = <&pmc8280_1_gpios 1 GPIO_ACTIVE_HIGH>;
217 pinctrl-names = "default";
218 pinctrl-0 = <&misc_3p3_reg_en>;
224 vreg_nvme: regulator-nvme {
225 compatible = "regulator-fixed";
227 regulator-name = "VCC3_SSD";
228 regulator-min-microvolt = <3300000>;
229 regulator-max-microvolt = <3300000>;
231 gpio = <&tlmm 135 GPIO_ACTIVE_HIGH>;
234 pinctrl-names = "default";
235 pinctrl-0 = <&nvme_reg_en>;
240 vreg_vph_pwr: regulator-vph-pwr {
241 compatible = "regulator-fixed";
243 regulator-name = "VPH_VCC3R9";
244 regulator-min-microvolt = <3900000>;
245 regulator-max-microvolt = <3900000>;
250 vreg_wlan: regulator-wlan {
251 compatible = "regulator-fixed";
253 regulator-name = "VCC_WLAN_3R9";
254 regulator-min-microvolt = <3900000>;
255 regulator-max-microvolt = <3900000>;
257 gpio = <&pmr735a_gpios 1 GPIO_ACTIVE_HIGH>;
260 pinctrl-names = "default";
261 pinctrl-0 = <&hastings_reg_en>;
266 vreg_wwan: regulator-wwan {
267 compatible = "regulator-fixed";
269 regulator-name = "VCC3B_WAN";
270 regulator-min-microvolt = <3300000>;
271 regulator-max-microvolt = <3300000>;
273 gpio = <&pmc8280_2_gpios 1 GPIO_ACTIVE_HIGH>;
276 pinctrl-names = "default";
277 pinctrl-0 = <&wwan_sw_en>;
283 gpu_mem: gpu-mem@8bf00000 {
284 reg = <0 0x8bf00000 0 0x2000>;
289 compatible = "shared-dma-pool";
290 size = <0x0 0x8000000>;
298 polling-delay-passive = <250>;
300 thermal-sensors = <&pmk8280_adc_tm 5>;
303 skin_temp_alert0: trip-point0 {
304 temperature = <55000>;
309 skin_temp_alert1: trip-point1 {
310 temperature = <58000>;
316 temperature = <73000>;
324 trip = <&skin_temp_alert0>;
325 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
326 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
327 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
328 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
332 trip = <&skin_temp_alert1>;
333 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
334 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
335 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
336 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
343 compatible = "pericom,pi3usb102", "gpio-sbu-mux";
345 enable-gpios = <&tlmm 101 GPIO_ACTIVE_LOW>;
346 select-gpios = <&tlmm 164 GPIO_ACTIVE_HIGH>;
348 pinctrl-names = "default";
349 pinctrl-0 = <&usb0_sbu_default>;
355 usb0_sbu_mux: endpoint {
356 remote-endpoint = <&pmic_glink_con0_sbu>;
362 compatible = "pericom,pi3usb102", "gpio-sbu-mux";
364 enable-gpios = <&tlmm 48 GPIO_ACTIVE_LOW>;
365 select-gpios = <&tlmm 47 GPIO_ACTIVE_HIGH>;
367 pinctrl-names = "default";
368 pinctrl-0 = <&usb1_sbu_default>;
374 usb1_sbu_mux: endpoint {
375 remote-endpoint = <&pmic_glink_con1_sbu>;
383 compatible = "qcom,pm8350-rpmh-regulators";
386 vdd-l1-l4-supply = <&vreg_s12b>;
387 vdd-l2-l7-supply = <&vreg_bob>;
388 vdd-l3-l5-supply = <&vreg_s11b>;
389 vdd-l6-l9-l10-supply = <&vreg_s12b>;
390 vdd-l8-supply = <&vreg_s12b>;
393 regulator-name = "vreg_s10b";
394 regulator-min-microvolt = <1800000>;
395 regulator-max-microvolt = <1800000>;
396 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
401 regulator-name = "vreg_s11b";
402 regulator-min-microvolt = <1272000>;
403 regulator-max-microvolt = <1272000>;
404 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
409 regulator-name = "vreg_s12b";
410 regulator-min-microvolt = <984000>;
411 regulator-max-microvolt = <984000>;
412 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
417 regulator-name = "vreg_l3b";
418 regulator-min-microvolt = <1200000>;
419 regulator-max-microvolt = <1200000>;
420 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
425 regulator-name = "vreg_l4b";
426 regulator-min-microvolt = <912000>;
427 regulator-max-microvolt = <912000>;
428 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
432 regulator-name = "vreg_l6b";
433 regulator-min-microvolt = <880000>;
434 regulator-max-microvolt = <880000>;
435 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
441 compatible = "qcom,pm8350c-rpmh-regulators";
444 vdd-bob-supply = <&vreg_vph_pwr>;
445 vdd-l1-l12-supply = <&vreg_s1c>;
446 vdd-l2-l8-supply = <&vreg_s1c>;
447 vdd-l3-l4-l5-l7-l13-supply = <&vreg_bob>;
448 vdd-l6-l9-l11-supply = <&vreg_bob>;
449 vdd-l10-supply = <&vreg_s11b>;
452 regulator-name = "vreg_s1c";
453 regulator-min-microvolt = <1880000>;
454 regulator-max-microvolt = <1900000>;
455 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
460 regulator-name = "vreg_l1c";
461 regulator-min-microvolt = <1800000>;
462 regulator-max-microvolt = <1800000>;
463 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
467 regulator-name = "vreg_l12c";
468 regulator-min-microvolt = <1800000>;
469 regulator-max-microvolt = <1800000>;
470 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
474 regulator-name = "vreg_l13c";
475 regulator-min-microvolt = <3072000>;
476 regulator-max-microvolt = <3072000>;
477 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
481 regulator-name = "vreg_bob";
482 regulator-min-microvolt = <3008000>;
483 regulator-max-microvolt = <3960000>;
484 regulator-initial-mode = <RPMH_REGULATOR_MODE_AUTO>;
490 compatible = "qcom,pm8350-rpmh-regulators";
493 vdd-l1-l4-supply = <&vreg_s11b>;
494 vdd-l2-l7-supply = <&vreg_bob>;
495 vdd-l3-l5-supply = <&vreg_s11b>;
496 vdd-l6-l9-l10-supply = <&vreg_s12b>;
497 vdd-l8-supply = <&vreg_s12b>;
500 regulator-name = "vreg_l3d";
501 regulator-min-microvolt = <1200000>;
502 regulator-max-microvolt = <1200000>;
503 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
507 regulator-name = "vreg_l4d";
508 regulator-min-microvolt = <1200000>;
509 regulator-max-microvolt = <1200000>;
510 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
514 regulator-name = "vreg_l6d";
515 regulator-min-microvolt = <880000>;
516 regulator-max-microvolt = <880000>;
517 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
521 regulator-name = "vreg_l7d";
522 regulator-min-microvolt = <3072000>;
523 regulator-max-microvolt = <3072000>;
524 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
528 regulator-name = "vreg_l9d";
529 regulator-min-microvolt = <912000>;
530 regulator-max-microvolt = <912000>;
531 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
544 memory-region = <&gpu_mem>;
545 firmware-name = "/*(DEBLOBBED)*/";
559 remote-endpoint = <&usb_0_qmpphy_dp_in>;
568 remote-endpoint = <&usb_1_qmpphy_dp_in>;
572 compatible = "qcom,sc8280xp-edp";
574 data-lanes = <0 1 2 3>;
580 compatible = "edp-panel";
582 backlight = <&backlight>;
583 power-supply = <&vreg_edp_3p3>;
586 edp_panel_in: endpoint {
587 remote-endpoint = <&mdss0_dp3_out>;
596 mdss0_dp3_out: endpoint {
597 remote-endpoint = <&edp_panel_in>;
604 vdda-phy-supply = <&vreg_l6b>;
605 vdda-pll-supply = <&vreg_l3b>;
611 clock-frequency = <400000>;
613 pinctrl-names = "default";
614 pinctrl-0 = <&i2c4_default>;
620 compatible = "hid-over-i2c";
623 hid-descr-addr = <0x1>;
624 interrupts-extended = <&tlmm 175 IRQ_TYPE_LEVEL_LOW>;
625 vdd-supply = <&vreg_misc_3p3>;
626 vddl-supply = <&vreg_s10b>;
628 pinctrl-names = "default";
629 pinctrl-0 = <&ts0_default>;
634 clock-frequency = <400000>;
636 pinctrl-names = "default";
637 pinctrl-0 = <&i2c21_default>, <&tpad_default>;
642 compatible = "hid-over-i2c";
645 hid-descr-addr = <0x1>;
646 interrupts-extended = <&tlmm 182 IRQ_TYPE_LEVEL_LOW>;
647 vdd-supply = <&vreg_misc_3p3>;
648 vddl-supply = <&vreg_s10b>;
654 compatible = "hid-over-i2c";
657 hid-descr-addr = <0x20>;
658 interrupts-extended = <&tlmm 182 IRQ_TYPE_LEVEL_LOW>;
659 vdd-supply = <&vreg_misc_3p3>;
660 vddl-supply = <&vreg_s10b>;
666 compatible = "hid-over-i2c";
669 hid-descr-addr = <0x1>;
670 interrupts-extended = <&tlmm 104 IRQ_TYPE_LEVEL_LOW>;
671 vdd-supply = <&vreg_misc_3p3>;
672 vddl-supply = <&vreg_s10b>;
674 pinctrl-names = "default";
675 pinctrl-0 = <&kybd_default>;
682 perst-gpios = <&tlmm 143 GPIO_ACTIVE_LOW>;
683 wake-gpios = <&tlmm 145 GPIO_ACTIVE_LOW>;
685 vddpe-3v3-supply = <&vreg_nvme>;
687 pinctrl-names = "default";
688 pinctrl-0 = <&pcie2a_default>;
694 vdda-phy-supply = <&vreg_l6d>;
695 vdda-pll-supply = <&vreg_l4d>;
701 perst-gpios = <&tlmm 151 GPIO_ACTIVE_LOW>;
702 wake-gpios = <&tlmm 148 GPIO_ACTIVE_LOW>;
704 vddpe-3v3-supply = <&vreg_wwan>;
706 pinctrl-names = "default";
707 pinctrl-0 = <&pcie3a_default>;
713 vdda-phy-supply = <&vreg_l6d>;
714 vdda-pll-supply = <&vreg_l4d>;
720 perst-gpios = <&tlmm 141 GPIO_ACTIVE_LOW>;
721 wake-gpios = <&tlmm 139 GPIO_ACTIVE_LOW>;
723 vddpe-3v3-supply = <&vreg_wlan>;
725 pinctrl-names = "default";
726 pinctrl-0 = <&pcie4_default>;
732 reg = <0x0 0x0 0x0 0x0 0x0>;
733 #address-cells = <3>;
737 bus-range = <0x01 0xff>;
740 compatible = "pci17cb,1103";
741 reg = <0x10000 0x0 0x0 0x0 0x0>;
743 qcom,ath11k-calibration-variant = "LE_X13S";
749 vdda-phy-supply = <&vreg_l6d>;
750 vdda-pll-supply = <&vreg_l4d>;
764 io-channels = <&pmk8280_vadc PM8350_ADC7_AMUX_THM1_100K_PU(1)>;
765 qcom,hw-settle-time-us = <200>;
766 qcom,avg-samples = <2>;
772 io-channels = <&pmk8280_vadc PM8350_ADC7_AMUX_THM2_100K_PU(1)>;
773 qcom,hw-settle-time-us = <200>;
774 qcom,avg-samples = <2>;
780 io-channels = <&pmk8280_vadc PM8350_ADC7_AMUX_THM3_100K_PU(1)>;
781 qcom,hw-settle-time-us = <200>;
782 qcom,avg-samples = <2>;
788 io-channels = <&pmk8280_vadc PM8350_ADC7_AMUX_THM4_100K_PU(1)>;
789 qcom,hw-settle-time-us = <200>;
790 qcom,avg-samples = <2>;
796 io-channels = <&pmk8280_vadc PM8350_ADC7_AMUX_THM1_100K_PU(3)>;
797 qcom,hw-settle-time-us = <200>;
798 qcom,avg-samples = <2>;
804 io-channels = <&pmk8280_vadc PM8350_ADC7_AMUX_THM2_100K_PU(3)>;
805 qcom,hw-settle-time-us = <200>;
806 qcom,avg-samples = <2>;
812 io-channels = <&pmk8280_vadc PM8350_ADC7_AMUX_THM3_100K_PU(3)>;
813 qcom,hw-settle-time-us = <200>;
814 qcom,avg-samples = <2>;
820 io-channels = <&pmk8280_vadc PM8350_ADC7_AMUX_THM4_100K_PU(3)>;
821 qcom,hw-settle-time-us = <200>;
822 qcom,avg-samples = <2>;
827 &pmk8280_pon_pwrkey {
836 nvmem-cells = <&rtc_offset>;
837 nvmem-cell-names = "offset";
845 rtc_offset: rtc-offset@bc {
854 reg = <PMK8350_ADC7_DIE_TEMP>;
855 qcom,pre-scaling = <1 1>;
856 label = "pmk8350_die_temp";
860 reg = <PMK8350_ADC7_AMUX_THM1_100K_PU>;
861 qcom,hw-settle-time = <200>;
863 label = "pmk8350_xo_therm";
867 reg = <PM8350_ADC7_DIE_TEMP(1)>;
868 qcom,pre-scaling = <1 1>;
869 label = "pmc8280_1_die_temp";
873 reg = <PM8350_ADC7_AMUX_THM1_100K_PU(1)>;
874 qcom,hw-settle-time = <200>;
876 label = "sys_therm1";
880 reg = <PM8350_ADC7_AMUX_THM2_100K_PU(1)>;
881 qcom,hw-settle-time = <200>;
883 label = "sys_therm2";
887 reg = <PM8350_ADC7_AMUX_THM3_100K_PU(1)>;
888 qcom,hw-settle-time = <200>;
890 label = "sys_therm3";
894 reg = <PM8350_ADC7_AMUX_THM4_100K_PU(1)>;
895 qcom,hw-settle-time = <200>;
897 label = "sys_therm4";
901 reg = <PM8350_ADC7_DIE_TEMP(3)>;
902 qcom,pre-scaling = <1 1>;
903 label = "pmc8280_2_die_temp";
907 reg = <PM8350_ADC7_AMUX_THM1_100K_PU(3)>;
908 qcom,hw-settle-time = <200>;
910 label = "sys_therm5";
914 reg = <PM8350_ADC7_AMUX_THM2_100K_PU(3)>;
915 qcom,hw-settle-time = <200>;
917 label = "sys_therm6";
921 reg = <PM8350_ADC7_AMUX_THM3_100K_PU(3)>;
922 qcom,hw-settle-time = <200>;
924 label = "sys_therm7";
928 reg = <PM8350_ADC7_AMUX_THM4_100K_PU(3)>;
929 qcom,hw-settle-time = <200>;
931 label = "sys_therm8";
935 reg = <PMR735A_ADC7_DIE_TEMP>;
936 qcom,pre-scaling = <1 1>;
937 label = "pmr735a_die_temp";
954 firmware-name = "/*(DEBLOBBED)*/";
960 firmware-name = "/*(DEBLOBBED)*/";
970 compatible = "qcom,sc8280xp-sndcard";
971 model = "SC8280XP-LENOVO-X13S";
973 "SpkrLeft IN", "WSA_SPK1 OUT",
974 "SpkrRight IN", "WSA_SPK2 OUT",
975 "IN1_HPHL", "HPHL_OUT",
976 "IN2_HPHR", "HPHR_OUT",
977 "AMIC2", "MIC BIAS2",
978 "VA DMIC0", "MIC BIAS1",
979 "VA DMIC1", "MIC BIAS1",
980 "VA DMIC2", "MIC BIAS3",
981 "VA DMIC0", "VA MIC BIAS1",
982 "VA DMIC1", "VA MIC BIAS1",
983 "VA DMIC2", "VA MIC BIAS3",
984 "TX SWR_ADC1", "ADC2_OUTPUT";
986 wcd-playback-dai-link {
987 link-name = "WCD Playback";
989 sound-dai = <&q6apmbedai RX_CODEC_DMA_RX_0>;
993 sound-dai = <&wcd938x 0>, <&swr1 0>, <&rxmacro 0>;
997 sound-dai = <&q6apm>;
1001 wcd-capture-dai-link {
1002 link-name = "WCD Capture";
1004 sound-dai = <&q6apmbedai TX_CODEC_DMA_TX_3>;
1008 sound-dai = <&wcd938x 1>, <&swr2 0>, <&txmacro 0>;
1012 sound-dai = <&q6apm>;
1017 link-name = "WSA Playback";
1019 sound-dai = <&q6apmbedai WSA_CODEC_DMA_RX_0>;
1023 sound-dai = <&left_spkr>, <&right_spkr>, <&swr0 0>, <&wsamacro 0>;
1027 sound-dai = <&q6apm>;
1032 link-name = "VA Capture";
1034 sound-dai = <&q6apmbedai VA_CODEC_DMA_TX_0>;
1038 sound-dai = <&q6apm>;
1042 sound-dai = <&vamacro 0>;
1050 left_spkr: wsa8830-left@0,1 {
1051 compatible = "sdw10217020200";
1053 pinctrl-names = "default";
1054 pinctrl-0 = <&spkr_1_sd_n_default>;
1055 powerdown-gpios = <&tlmm 178 GPIO_ACTIVE_LOW>;
1056 #thermal-sensor-cells = <0>;
1057 sound-name-prefix = "SpkrLeft";
1058 #sound-dai-cells = <0>;
1059 vdd-supply = <&vreg_s10b>;
1062 right_spkr: wsa8830-right@0,2 {
1063 compatible = "sdw10217020200";
1065 pinctrl-names = "default";
1066 pinctrl-0 = <&spkr_2_sd_n_default>;
1067 powerdown-gpios = <&tlmm 179 GPIO_ACTIVE_LOW>;
1068 #thermal-sensor-cells = <0>;
1069 sound-name-prefix = "SpkrRight";
1070 #sound-dai-cells = <0>;
1071 vdd-supply = <&vreg_s10b>;
1078 wcd_rx: wcd9380-rx@0,4 {
1079 compatible = "sdw20217010d00";
1081 qcom,rx-port-mapping = <1 2 3 4 5>;
1088 wcd_tx: wcd9380-tx@0,3 {
1089 compatible = "sdw20217010d00";
1091 qcom,tx-port-mapping = <1 1 2 3>;
1100 pinctrl-0 = <&uart2_default>;
1101 pinctrl-names = "default";
1106 compatible = "qcom,wcn6855-bt";
1108 vddio-supply = <&vreg_s10b>;
1109 vddbtcxmx-supply = <&vreg_s12b>;
1110 vddrfacmn-supply = <&vreg_s12b>;
1111 vddrfa0p8-supply = <&vreg_s12b>;
1112 vddrfa1p2-supply = <&vreg_s11b>;
1113 vddrfa1p7-supply = <&vreg_s1c>;
1115 max-speed = <3200000>;
1117 enable-gpios = <&tlmm 133 GPIO_ACTIVE_HIGH>;
1118 swctrl-gpios = <&tlmm 132 GPIO_ACTIVE_HIGH>;
1120 pinctrl-0 = <&bt_default>;
1121 pinctrl-names = "default";
1134 vdda-pll-supply = <&vreg_l9d>;
1135 vdda18-supply = <&vreg_l1c>;
1136 vdda33-supply = <&vreg_l7d>;
1142 vdda-phy-supply = <&vreg_l9d>;
1143 vdda-pll-supply = <&vreg_l4d>;
1150 &usb_0_qmpphy_dp_in {
1151 remote-endpoint = <&mdss0_dp0_out>;
1155 remote-endpoint = <&pmic_glink_con0_ss>;
1158 &usb_0_role_switch {
1159 remote-endpoint = <&pmic_glink_con0_hs>;
1171 vdda-pll-supply = <&vreg_l4b>;
1172 vdda18-supply = <&vreg_l1c>;
1173 vdda33-supply = <&vreg_l13c>;
1179 vdda-phy-supply = <&vreg_l4b>;
1180 vdda-pll-supply = <&vreg_l3b>;
1187 &usb_1_qmpphy_dp_in {
1188 remote-endpoint = <&mdss0_dp1_out>;
1192 remote-endpoint = <&pmic_glink_con1_ss>;
1195 &usb_1_role_switch {
1196 remote-endpoint = <&pmic_glink_con1_hs>;
1200 pinctrl-0 = <&dmic01_default>, <&dmic02_default>;
1201 pinctrl-names = "default";
1203 vdd-micb-supply = <&vreg_s10b>;
1205 qcom,dmic-sample-rate = <4800000>;
1215 clock-frequency = <38400000>;
1225 edp_bl_en: edp-bl-en-state {
1227 function = "normal";
1230 edp_bl_reg_en: edp-bl-reg-en-state {
1232 function = "normal";
1235 misc_3p3_reg_en: misc-3p3-reg-en-state {
1237 function = "normal";
1242 wwan_sw_en: wwan-sw-en-state {
1244 function = "normal";
1249 edp_bl_pwm: edp-bl-pwm-state {
1256 hastings_reg_en: hastings-reg-en-state {
1258 function = "normal";
1263 gpio-reserved-ranges = <70 2>, <74 6>, <125 2>, <128 2>, <154 4>;
1265 bt_default: bt-default-state {
1269 drive-strength = <16>;
1280 edp_reg_en: edp-reg-en-state {
1283 drive-strength = <16>;
1287 hall_int_n_default: hall-int-n-state {
1293 i2c4_default: i2c4-default-state {
1294 pins = "gpio171", "gpio172";
1296 drive-strength = <16>;
1300 i2c21_default: i2c21-default-state {
1301 pins = "gpio81", "gpio82";
1303 drive-strength = <16>;
1307 kybd_default: kybd-default-state {
1327 nvme_reg_en: nvme-reg-en-state {
1330 drive-strength = <2>;
1334 pcie2a_default: pcie2a-default-state {
1337 function = "pcie2a_clkreq";
1338 drive-strength = <2>;
1345 drive-strength = <2>;
1352 drive-strength = <2>;
1357 pcie3a_default: pcie3a-default-state {
1360 function = "pcie3a_clkreq";
1361 drive-strength = <2>;
1368 drive-strength = <2>;
1375 drive-strength = <2>;
1380 pcie4_default: pcie4-default-state {
1383 function = "pcie4_clkreq";
1384 drive-strength = <2>;
1391 drive-strength = <2>;
1398 drive-strength = <2>;
1403 spkr_1_sd_n_default: spkr-1-sd-n-default-state {
1407 drive-strength = <16>;
1413 spkr_2_sd_n_default: spkr-2-sd-n-default-state {
1417 drive-strength = <16>;
1423 tpad_default: tpad-default-state {
1431 ts0_default: ts0-default-state {
1442 drive-strength = <16>;
1446 uart2_default: uart2-default-state {
1456 drive-strength = <2>;
1469 drive-strength = <2>;
1474 usb0_sbu_default: usb0-sbu-state {
1479 drive-strength = <16>;
1487 drive-strength = <16>;
1491 usb1_sbu_default: usb1-sbu-state {
1496 drive-strength = <16>;
1504 drive-strength = <16>;
1508 wcd_default: wcd-default-state {