Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit febe997e authored by xiaowang's avatar xiaowang
Browse files

ARM: dts: msm: Add bluetooth node of wcn3990 for sdm845



Add bluetooth node for wcn3990 on sdm845. This change
configures various voltage regulator and clocks.

CRs-Fixed: 2129881
Change-Id: I84caa37db87f9c6e2a93f169346df01d62cd220c
Signed-off-by: default avatarxiaowang <xiaowang@codeaurora.org>
parent 5c1f0d88
Loading
Loading
Loading
Loading
+21 −0
Original line number Diff line number Diff line
@@ -15,6 +15,27 @@
#include "smb1355.dtsi"

&vendor {
	bluetooth: bt_wcn3990 {
		compatible = "qca,wcn3990";
		qca,bt-vdd-io-supply = <&pm8998_s3>;
		qca,bt-vdd-xtal-supply = <&pm8998_s5>;
		qca,bt-vdd-core-supply = <&pm8998_l7>;
		qca,bt-vdd-pa-supply = <&pm8998_l17>;
		qca,bt-vdd-ldo-supply = <&pm8998_l25>;

		qca,bt-vdd-io-voltage-level = <1352000 1352000>;
		qca,bt-vdd-xtal-voltage-level = <2040000 2040000>;
		qca,bt-vdd-core-voltage-level = <1800000 1800000>;
		qca,bt-vdd-pa-voltage-level = <1304000 1304000>;
		qca,bt-vdd-ldo-voltage-level = <3312000 3312000>;

		qca,bt-vdd-io-current-level = <1>; /* LPM/PFM */
		qca,bt-vdd-xtal-current-level = <1>; /* LPM/PFM */
		qca,bt-vdd-core-current-level = <1>; /* LPM/PFM */
		qca,bt-vdd-pa-current-level = <1>; /* LPM/PFM */
		qca,bt-vdd-ldo-current-level = <1>; /* LPM/PFM */
	};

	qvr_batterydata: qcom,battery-data {
		qcom,batt-id-range-pct = <15>;
		#include "fg-gen3-batterydata-mlp446579-3800mah.dtsi"