Lines Matching +full:wcn3990 +full:- +full:bt

1 // SPDX-License-Identifier: BSD-3-Clause
8 /dts-v1/;
10 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
11 #include <dt-bindings/input/gpio-keys.h>
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
14 #include <dt-bindings/sound/qcom,q6afe.h>
15 #include <dt-bindings/sound/qcom,q6asm.h>
23 /delete-node/ &qseecom_mem;
24 /delete-node/ &wlan_msa_mem;
25 /delete-node/ &slpi_mem;
26 /delete-node/ &ipa_fw_mem;
27 /delete-node/ &ipa_gsi_mem;
28 /delete-node/ &gpu_mem;
29 /delete-node/ &mpss_region;
30 /delete-node/ &adsp_mem;
31 /delete-node/ &cdsp_mem;
32 /delete-node/ &venus_mem;
33 /delete-node/ &mba_region;
34 /delete-node/ &spss_mem;
39 chassis-type = "convertible";
42 #address-cells = <2>;
43 #size-cells = <2>;
48 compatible = "simple-framebuffer";
62 reserved-memory {
66 no-map;
71 no-map;
76 no-map;
81 no-map;
86 no-map;
91 no-map;
96 no-map;
101 no-map;
106 no-map;
111 no-map;
116 no-map;
121 no-map;
127 firmware-name = "qcom/samsung/w737/qcadsp850.mbn";
132 pm8998-rpmh-regulators {
133 compatible = "qcom,pm8998-rpmh-regulators";
134 qcom,pmic-id = "a";
136 vdd-l2-l8-l17-supply = <&vreg_s3a_1p35>;
137 vdd-l7-l12-l14-l15-supply = <&vreg_s5a_2p04>;
143 regulator-min-microvolt = <1352000>;
144 regulator-max-microvolt = <1352000>;
145 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
149 regulator-min-microvolt = <1800000>;
150 regulator-max-microvolt = <1800000>;
151 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
155 regulator-min-microvolt = <2040000>;
156 regulator-max-microvolt = <2040000>;
157 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
182 regulator-min-microvolt = <880000>;
183 regulator-max-microvolt = <880000>;
184 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
189 regulator-min-microvolt = <1200000>;
190 regulator-max-microvolt = <1200000>;
191 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
192 regulator-always-on;
202 regulator-min-microvolt = <800000>;
203 regulator-max-microvolt = <800000>;
204 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
209 regulator-min-microvolt = <1800000>;
210 regulator-max-microvolt = <1800000>;
211 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
215 regulator-min-microvolt = <1800000>;
216 regulator-max-microvolt = <1800000>;
217 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
240 regulator-min-microvolt = <1800000>;
241 regulator-max-microvolt = <1800000>;
242 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
250 regulator-min-microvolt = <1880000>;
251 regulator-max-microvolt = <1880000>;
252 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
253 regulator-always-on;
263 regulator-min-microvolt = <1304000>;
264 regulator-max-microvolt = <1304000>;
265 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
272 regulator-min-microvolt = <3100000>;
273 regulator-max-microvolt = <3108000>;
274 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
278 regulator-min-microvolt = <2960000>;
279 regulator-max-microvolt = <2960000>;
280 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
290 regulator-min-microvolt = <3300000>;
291 regulator-max-microvolt = <3312000>;
292 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
297 regulator-min-microvolt = <3075000>;
298 regulator-max-microvolt = <3083000>;
299 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
303 regulator-min-microvolt = <3104000>;
304 regulator-max-microvolt = <3112000>;
305 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
322 regulator-min-microvolt = <1200000>;
323 regulator-max-microvolt = <1208000>;
324 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
339 firmware-name = "qcom/samsung/w737/qccdsp850.mbn";
344 protected-clocks = <GCC_QSPI_CORE_CLK>,
353 clock-frequency = <400000>;
361 clock-frequency = <400000>;
363 /* HID-I2C Touchscreen @ 0x20 */
368 clock-frequency = <400000>;
371 compatible = "wacom,w9013", "hid-over-i2c";
373 pinctrl-names = "default";
374 pinctrl-0 = <&pen_irq_l>, <&pen_pdct_l>, <&pen_rst_l>;
376 post-power-on-delay-ms = <120>;
378 interrupt-parent = <&tlmm>;
381 hid-descr-addr = <0x1>;
387 memory-region = <&ipa_fw_mem>;
388 firmware-name = "qcom/samsung/w737/ipa_fws.elf";
398 firmware-name = "qcom/samsung/w737/qcdsp1v2850.mbn", "qcom/samsung/w737/qcdsp2850.mbn";
404 drive-strength = <2>;
405 bias-disable;
412 drive-strength = <2>;
413 bias-disable;
418 drive-strength = <2>;
419 bias-disable;
430 bias-pull-down;
433 rts-tx {
435 drive-strength = <2>;
436 bias-disable;
441 bias-pull-up;
468 compatible = "qcom,sdm845-sndcard";
469 model = "Samsung-W737";
471 audio-routing =
480 mm1-dai-link {
481 link-name = "MultiMedia1";
483 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA1>;
487 mm2-dai-link {
488 link-name = "MultiMedia2";
490 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA2>;
494 mm3-dai-link {
495 link-name = "MultiMedia3";
497 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA3>;
501 slim-dai-link {
502 link-name = "SLIM Playback";
504 sound-dai = <&q6afedai SLIMBUS_0_RX>;
508 sound-dai = <&q6routing>;
512 sound-dai = <&left_spkr>, <&right_spkr>, <&swm 0>, <&wcd9340 0>;
516 slimcap-dai-link {
517 link-name = "SLIM Capture";
519 sound-dai = <&q6afedai SLIMBUS_0_TX>;
523 sound-dai = <&q6routing>;
527 sound-dai = <&wcd9340 1>;
531 slim-wcd-dai-link {
532 link-name = "SLIM WCD Playback";
534 sound-dai = <&q6afedai SLIMBUS_1_RX>;
538 sound-dai = <&q6routing>;
542 sound-dai = <&wcd9340 2>;
548 gpio-reserved-ranges = <0 6>, <85 4>;
550 pen_irq_l: pen-irq-l {
558 bias-disable;
562 pen_pdct_l: pen-pdct-l {
570 bias-disable;
571 drive-strength = <2>;
572 output-high;
576 pen_rst_l: pen-rst-l {
584 bias-disable;
585 drive-strength = <2>;
590 * output-high here we're relying on the fact
596 * remove "output-high" here.
598 output-high;
606 input-enable;
607 bias-pull-down;
608 drive-strength = <2>;
616 compatible = "qcom,wcn3990-bt";
618 vddio-supply = <&vreg_s4a_1p8>;
619 vddxo-supply = <&vreg_l7a_1p8>;
620 vddrf-supply = <&vreg_l17a_1p3>;
621 vddch0-supply = <&vreg_l25a_3p3>;
622 vddch1-supply = <&vreg_l23a_3p3>;
623 max-speed = <3200000>;
630 reset-gpios = <&tlmm 150 GPIO_ACTIVE_LOW>;
632 vcc-supply = <&vreg_l20a_2p95>;
633 vcc-max-microamp = <600000>;
639 vdda-phy-supply = <&vdda_ufs1_core>;
640 vdda-pll-supply = <&vdda_ufs1_1p2>;
654 vdd-supply = <&vdda_usb1_ss_core>;
655 vdda-pll-supply = <&vdda_qusb_hs0_1p8>;
656 vdda-phy-dpdm-supply = <&vdda_qusb_hs0_3p1>;
658 qcom,imp-res-offset-value = <8>;
659 qcom,hstx-trim-value = <QUSB2_V2_HSTX_TRIM_21_6_MA>;
660 qcom,preemphasis-level = <QUSB2_V2_PREEMPHASIS_5_PERCENT>;
661 qcom,preemphasis-width = <QUSB2_V2_PREEMPHASIS_WIDTH_HALF_BIT>;
667 vdda-phy-supply = <&vdda_usb1_ss_1p2>;
668 vdda-pll-supply = <&vdda_usb1_ss_core>;
682 vdd-supply = <&vdda_usb2_ss_core>;
683 vdda-pll-supply = <&vdda_qusb_hs0_1p8>;
684 vdda-phy-dpdm-supply = <&vdda_qusb_hs0_3p1>;
686 qcom,imp-res-offset-value = <8>;
687 qcom,hstx-trim-value = <QUSB2_V2_HSTX_TRIM_22_8_MA>;
693 vdda-phy-supply = <&vdda_usb2_ss_1p2>;
694 vdda-pll-supply = <&vdda_usb2_ss_core>;
699 firmware-name = "qcom/samsung/w737/qcvss850.mbn";
703 pinctrl-0 = <&wcd_intr_default>;
704 pinctrl-names = "default";
705 clock-names = "extclk";
707 reset-gpios = <&tlmm 64 GPIO_ACTIVE_HIGH>;
708 vdd-buck-supply = <&vreg_s4a_1p8>;
709 vdd-buck-sido-supply = <&vreg_s4a_1p8>;
710 vdd-tx-supply = <&vreg_s4a_1p8>;
711 vdd-rx-supply = <&vreg_s4a_1p8>;
712 vdd-io-supply = <&vreg_s4a_1p8>;
713 qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>;
714 qcom,mbhc-headset-vthreshold-microvolt = <1700000>;
715 qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
718 left_spkr: wsa8810-left{
721 powerdown-gpios = <&wcdgpio 1 GPIO_ACTIVE_HIGH>;
722 #thermal-sensor-cells = <0>;
723 sound-name-prefix = "SpkrLeft";
724 #sound-dai-cells = <0>;
727 right_spkr: wsa8810-right{
729 powerdown-gpios = <&wcdgpio 2 GPIO_ACTIVE_HIGH>;
731 #thermal-sensor-cells = <0>;
732 sound-name-prefix = "SpkrRight";
733 #sound-dai-cells = <0>;
741 vdd-0.8-cx-mx-supply = <&vreg_l5a_0p8>;
742 vdd-1.8-xo-supply = <&vreg_l7a_1p8>;
743 vdd-1.3-rfa-supply = <&vreg_l17a_1p3>;
744 vdd-3.3-ch0-supply = <&vreg_l25a_3p3>;
745 vdd-3.3-ch1-supply = <&vreg_l23a_3p3>;
747 qcom,snoc-host-cap-8bit-quirk;