Lines Matching +full:wcn3990 +full:- +full:bt
1 // SPDX-License-Identifier: BSD-3-Clause
8 /dts-v1/;
10 #include <dt-bindings/input/gpio-keys.h>
11 #include <dt-bindings/input/input.h>
12 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
13 #include <dt-bindings/sound/qcom,q6afe.h>
14 #include <dt-bindings/sound/qcom,q6asm.h>
16 #include "sdm845-wcd9340.dtsi"
24 /delete-node/ &ipa_fw_mem;
25 /delete-node/ &ipa_gsi_mem;
26 /delete-node/ &gpu_mem;
27 /delete-node/ &adsp_mem;
28 /delete-node/ &wlan_msa_mem;
32 compatible = "lenovo,yoga-c630", "qcom,sdm845";
33 chassis-type = "convertible";
40 gpio-keys {
41 compatible = "gpio-keys";
43 pinctrl-names = "default";
44 pinctrl-0 = <&lid_pin_active>, <&mode_pin_active>;
46 switch-lid {
48 linux,input-type = <EV_SW>;
50 wakeup-source;
51 wakeup-event-action = <EV_ACT_DEASSERTED>;
54 switch-mode {
56 linux,input-type = <EV_SW>;
62 reserved-memory {
65 no-map;
70 no-map;
75 no-map;
80 no-map;
84 sw_edp_1p2: edp-1p2-regulator {
85 compatible = "regulator-fixed";
86 regulator-name = "sw_edp_1p2";
88 regulator-min-microvolt = <1200000>;
89 regulator-max-microvolt = <1200000>;
91 pinctrl-0 = <&sw_edp_1p2_en>;
92 pinctrl-names = "default";
95 enable-active-high;
97 vin-supply = <&vreg_l2a_1p2>;
100 sn65dsi86_refclk: sn65dsi86-refclk {
101 compatible = "fixed-clock";
102 #clock-cells = <0>;
104 clock-frequency = <19200000>;
107 vph_pwr: regulator-vph-pwr {
108 compatible = "regulator-fixed";
109 regulator-name = "vph_pwr";
110 regulator-min-microvolt = <3700000>;
111 regulator-max-microvolt = <3700000>;
114 vlcm_3v3: regulator-vlcm-3v3 {
115 compatible = "regulator-fixed";
116 regulator-name = "vlcm_3v3";
118 vin-supply = <&vph_pwr>;
119 regulator-min-microvolt = <3300000>;
120 regulator-max-microvolt = <3300000>;
123 enable-active-high;
127 compatible = "pwm-backlight";
129 enable-gpios = <&tlmm 11 GPIO_ACTIVE_HIGH>;
134 firmware-name = "qcom/sdm850/LENOVO/81JL/qcadsp850.mbn";
139 regulators-0 {
140 compatible = "qcom,pm8998-rpmh-regulators";
141 qcom,pmic-id = "a";
143 vdd-l2-l8-l17-supply = <&vreg_s3a_1p35>;
144 vdd-l7-l12-l14-l15-supply = <&vreg_s5a_2p04>;
150 regulator-min-microvolt = <1352000>;
151 regulator-max-microvolt = <1352000>;
152 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
156 regulator-min-microvolt = <1800000>;
157 regulator-max-microvolt = <1800000>;
158 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
162 regulator-min-microvolt = <2040000>;
163 regulator-max-microvolt = <2040000>;
164 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
189 regulator-min-microvolt = <880000>;
190 regulator-max-microvolt = <880000>;
191 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
196 regulator-min-microvolt = <1200000>;
197 regulator-max-microvolt = <1200000>;
198 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
199 regulator-always-on;
209 regulator-min-microvolt = <800000>;
210 regulator-max-microvolt = <800000>;
211 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
216 regulator-min-microvolt = <1800000>;
217 regulator-max-microvolt = <1800000>;
218 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
222 regulator-min-microvolt = <1800000>;
223 regulator-max-microvolt = <1800000>;
224 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
247 regulator-min-microvolt = <1800000>;
248 regulator-max-microvolt = <1800000>;
249 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
257 regulator-min-microvolt = <1880000>;
258 regulator-max-microvolt = <1880000>;
259 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
260 regulator-always-on;
270 regulator-min-microvolt = <1304000>;
271 regulator-max-microvolt = <1304000>;
272 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
279 regulator-min-microvolt = <3100000>;
280 regulator-max-microvolt = <3108000>;
281 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
285 regulator-min-microvolt = <2960000>;
286 regulator-max-microvolt = <2960000>;
287 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
297 regulator-min-microvolt = <3300000>;
298 regulator-max-microvolt = <3312000>;
299 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
304 regulator-min-microvolt = <3075000>;
305 regulator-max-microvolt = <3083000>;
306 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
310 regulator-min-microvolt = <3104000>;
311 regulator-max-microvolt = <3112000>;
312 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
329 regulator-min-microvolt = <1200000>;
330 regulator-max-microvolt = <1208000>;
331 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
346 firmware-name = "qcom/sdm850/LENOVO/81JL/qccdsp850.mbn";
351 protected-clocks = <GCC_QSPI_CORE_CLK>,
364 zap-shader {
365 memory-region = <&gpu_mem>;
366 firmware-name = "qcom/sdm850/LENOVO/81JL/qcdxkmsuc850.mbn";
372 clock-frequency = <400000>;
374 embedded-controller@70 {
375 compatible = "lenovo,yoga-c630-ec";
378 interrupts-extended = <&tlmm 20 IRQ_TYPE_LEVEL_HIGH>;
380 pinctrl-names = "default";
381 pinctrl-0 = <&ec_int_state>;
383 #address-cells = <1>;
384 #size-cells = <0>;
387 compatible = "usb-c-connector";
389 power-role = "dual";
390 data-role = "host";
393 #address-cells = <1>;
394 #size-cells = <0>;
400 remote-endpoint = <&usb_1_dwc3_hs>;
408 remote-endpoint = <&usb_1_qmpphy_out>;
422 compatible = "usb-c-connector";
424 power-role = "dual";
425 data-role = "host";
437 clock-frequency = <400000>;
438 /* Overwrite pinctrl-0 from sdm845.dtsi */
439 pinctrl-0 = <&qup_i2c3_default &i2c3_hid_active>;
442 compatible = "hid-over-i2c";
444 hid-descr-addr = <0x1>;
446 interrupts-extended = <&tlmm 37 IRQ_TYPE_LEVEL_HIGH>;
450 compatible = "hid-over-i2c";
452 hid-descr-addr = <0x20>;
454 interrupts-extended = <&tlmm 37 IRQ_TYPE_LEVEL_HIGH>;
456 wakeup-source;
462 clock-frequency = <400000>;
465 compatible = "hid-over-i2c";
467 hid-descr-addr = <0x1>;
469 interrupts-extended = <&tlmm 125 IRQ_TYPE_LEVEL_LOW>;
471 pinctrl-names = "default";
472 pinctrl-0 = <&i2c5_hid_active>;
474 wakeup-source;
480 clock-frequency = <400000>;
485 pinctrl-names = "default";
486 pinctrl-0 = <&sn65dsi86_pin_active>;
488 enable-gpios = <&tlmm 96 GPIO_ACTIVE_HIGH>;
490 vcca-supply = <&sw_edp_1p2>;
491 vcc-supply = <&sw_edp_1p2>;
492 vpll-supply = <&vreg_l14a_1p88>;
493 vccio-supply = <&vreg_l14a_1p88>;
496 clock-names = "refclk";
498 no-hpd;
499 #pwm-cells = <1>;
502 #address-cells = <1>;
503 #size-cells = <0>;
508 remote-endpoint = <&mdss_dsi0_out>;
515 remote-endpoint = <&panel_in_edp>;
520 aux-bus {
522 compatible = "boe,nv133fhm-n61";
524 power-supply = <&vlcm_3v3>;
528 remote-endpoint = <&sn65dsi86_out>;
538 clock-frequency = <400000>;
541 compatible = "hid-over-i2c";
543 hid-descr-addr = <0x1>;
545 interrupts-extended = <&tlmm 92 IRQ_TYPE_LEVEL_LOW>;
547 pinctrl-names = "default";
548 pinctrl-0 = <&i2c11_hid_active>;
550 wakeup-source;
555 qcom,gsi-loader = "self";
556 memory-region = <&ipa_fw_mem>;
557 firmware-name = "qcom/sdm850/LENOVO/81JL/ipa_fws.elf";
567 vdda-supply = <&vreg_l26a_1p2>;
572 remote-endpoint = <&sn65dsi86_in_a>;
573 data-lanes = <0 1 2 3>;
581 vdds-supply = <&vreg_l1a_0p875>;
586 firmware-name = "qcom/sdm850/LENOVO/81JL/qcdsp1v2850.mbn", "qcom/sdm850/LENOVO/81JL/qcdsp2850.mbn";
591 sw_edp_1p2_en: pm8998-gpio9-state {
594 bias-disable;
595 qcom,drive-strength = <0>;
600 drive-strength = <2>;
601 bias-disable;
605 drive-strength = <2>;
606 bias-disable;
632 compatible = "lenovo,yoga-c630-sndcard", "qcom,sdm845-sndcard";
633 model = "Lenovo-YOGA-C630-13Q50";
635 audio-routing =
644 mm1-dai-link {
645 link-name = "MultiMedia1";
647 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA1>;
651 mm2-dai-link {
652 link-name = "MultiMedia2";
654 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA2>;
658 mm3-dai-link {
659 link-name = "MultiMedia3";
661 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA3>;
665 slim-dai-link {
666 link-name = "SLIM Playback";
668 sound-dai = <&q6afedai SLIMBUS_0_RX>;
672 sound-dai = <&q6routing>;
676 sound-dai = <&left_spkr>, <&right_spkr>, <&swm 0>, <&wcd9340 0>;
680 slimcap-dai-link {
681 link-name = "SLIM Capture";
683 sound-dai = <&q6afedai SLIMBUS_0_TX>;
687 sound-dai = <&q6routing>;
691 sound-dai = <&wcd9340 1>;
695 slim-wcd-dai-link {
696 link-name = "SLIM WCD Playback";
698 sound-dai = <&q6afedai SLIMBUS_1_RX>;
702 sound-dai = <&q6routing>;
706 sound-dai = <&wcd9340 2>;
712 gpio-reserved-ranges = <0 4>, <81 4>;
714 sn65dsi86_pin_active: sn65dsi86-enable-state {
717 drive-strength = <2>;
718 bias-disable;
721 i2c3_hid_active: i2c2-hid-active-state {
725 bias-pull-up;
726 drive-strength = <2>;
729 i2c5_hid_active: i2c5-hid-active-state {
733 bias-pull-up;
734 drive-strength = <2>;
737 i2c11_hid_active: i2c11-hid-active-state {
741 bias-pull-up;
742 drive-strength = <2>;
745 lid_pin_active: lid-pin-state {
749 bias-disable;
752 mode_pin_active: mode-pin-state {
756 bias-disable;
759 ec_int_state: ec-int-state {
763 bias-disable;
768 pinctrl-names = "default";
769 pinctrl-0 = <&qup_uart6_4pin>;
773 compatible = "qcom,wcn3990-bt";
775 vddio-supply = <&vreg_s4a_1p8>;
776 vddxo-supply = <&vreg_l7a_1p8>;
777 vddrf-supply = <&vreg_l17a_1p3>;
778 vddch0-supply = <&vreg_l25a_3p3>;
779 vddch1-supply = <&vreg_l23a_3p3>;
780 max-speed = <3200000>;
791 reset-gpios = <&tlmm 150 GPIO_ACTIVE_LOW>;
793 vcc-supply = <&vreg_l20a_2p95>;
794 vcc-max-microamp = <600000>;
800 vdda-phy-supply = <&vdda_ufs1_core>;
801 vdda-pll-supply = <&vdda_ufs1_1p2>;
813 remote-endpoint = <&ucsi0_hs_in>;
819 vdd-supply = <&vdda_usb1_ss_core>;
820 vdda-pll-supply = <&vdda_qusb_hs0_1p8>;
821 vdda-phy-dpdm-supply = <&vdda_qusb_hs0_3p1>;
823 qcom,imp-res-offset-value = <8>;
824 qcom,hstx-trim-value = <QUSB2_V2_HSTX_TRIM_21_6_MA>;
825 qcom,preemphasis-level = <QUSB2_V2_PREEMPHASIS_5_PERCENT>;
826 qcom,preemphasis-width = <QUSB2_V2_PREEMPHASIS_WIDTH_HALF_BIT>;
832 vdda-phy-supply = <&vdda_usb1_ss_1p2>;
833 vdda-pll-supply = <&vdda_usb1_ss_core>;
837 remote-endpoint = <&ucsi0_ss_in>;
851 vdd-supply = <&vdda_usb2_ss_core>;
852 vdda-pll-supply = <&vdda_qusb_hs0_1p8>;
853 vdda-phy-dpdm-supply = <&vdda_qusb_hs0_3p1>;
855 qcom,imp-res-offset-value = <8>;
856 qcom,hstx-trim-value = <QUSB2_V2_HSTX_TRIM_22_8_MA>;
862 vdda-phy-supply = <&vdda_usb2_ss_1p2>;
863 vdda-pll-supply = <&vdda_usb2_ss_core>;
867 firmware-name = "qcom/sdm850/LENOVO/81JL/qcvss850.mbn";
872 reset-gpios = <&tlmm 64 GPIO_ACTIVE_HIGH>;
873 vdd-buck-supply = <&vreg_s4a_1p8>;
874 vdd-buck-sido-supply = <&vreg_s4a_1p8>;
875 vdd-tx-supply = <&vreg_s4a_1p8>;
876 vdd-rx-supply = <&vreg_s4a_1p8>;
877 vdd-io-supply = <&vreg_s4a_1p8>;
878 qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>;
879 qcom,mbhc-headset-vthreshold-microvolt = <1700000>;
880 qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
886 powerdown-gpios = <&wcdgpio 1 GPIO_ACTIVE_LOW>;
887 #thermal-sensor-cells = <0>;
888 sound-name-prefix = "SpkrLeft";
889 #sound-dai-cells = <0>;
894 powerdown-gpios = <&wcdgpio 2 GPIO_ACTIVE_LOW>;
896 #thermal-sensor-cells = <0>;
897 sound-name-prefix = "SpkrRight";
898 #sound-dai-cells = <0>;
906 vdd-0.8-cx-mx-supply = <&vreg_l5a_0p8>;
907 vdd-1.8-xo-supply = <&vreg_l7a_1p8>;
908 vdd-1.3-rfa-supply = <&vreg_l17a_1p3>;
909 vdd-3.3-ch0-supply = <&vreg_l25a_3p3>;
910 vdd-3.3-ch1-supply = <&vreg_l23a_3p3>;
912 qcom,snoc-host-cap-8bit-quirk;
913 qcom,ath10k-calibration-variant = "Lenovo_C630";