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

Commit 23024630 authored by Yingjie Zhu's avatar Yingjie Zhu Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: Enable Bluetooth in SA8195 VM



Add Bluetooth node and enable HCI UART in SA8195 VM.

Change-Id: Ibe247417507db6b10d48dfa0a59d96fe8f77ea77
Signed-off-by: default avatarYingjie Zhu <yingzhu@codeaurora.org>
parent 8eb02819
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -29,6 +29,10 @@
	status = "ok";
};

&qupv3_se13_4uart {
	status = "ok";
};

&usb0 {
	status = "ok";
};
+48 −0
Original line number Diff line number Diff line
@@ -284,6 +284,29 @@
		status = "disabled";
	};


	/* PWR_CTR2_VDD_1P8 supply */
	vreg_conn_1p8: vreg_conn_1p8 {
		compatible = "regulator-fixed";
		regulator-name = "vreg_conn_1p8";
		pinctrl-names = "default";
		pinctrl-0 = <&conn_power_1p8_active>;
		startup-delay-us = <4000>;
		enable-active-high;
		gpio = <&tlmm 173 0>;
	};

	/* PWR_CTR1_VDD_PA supply */
	vreg_conn_pa: vreg_conn_pa {
		compatible = "regulator-fixed";
		regulator-name = "vreg_conn_pa";
		pinctrl-names = "default";
		pinctrl-0 = <&conn_power_pa_active>;
		startup-delay-us = <4000>;
		enable-active-high;
		gpio = <&tlmm 174 0>;
	};

	VDD_CX_LEVEL:
	S3E_LEVEL: pm8195_3_s3_level: regulator-pm8195-3-s3-level {
		compatible = "qcom,stub-regulator";
@@ -387,6 +410,31 @@
			offset = <512>;
		};
	};

	bluetooth: bt_qca6174 {
		compatible = "qca,qca6174";
		pinctrl-names = "default";
		pinctrl-0 = <&bt_en_active>;
		/* BT_EN */
		qca,bt-reset-gpio = <&tlmm 172 0>;
		/* PWR_CTR1_VDD_PA */
		qca,bt-vdd-pa-supply = <&vreg_conn_pa>;
		/* PWR_CTR2_VDD_1P8 */
		qca,bt-chip-pwd-supply = <&vreg_conn_1p8>;

		qca,bt-vdd-vl-supply = <&pm8195_1_s5>;
		qca,bt-vdd-vm-supply = <&pm8195_1_s2>;
		qca,bt-vdd-vh-supply = <&pm8195_2_l7>;

		qca,bt-vdd-vl-voltage-level = <1000000 1000000>;
		qca,bt-vdd-vm-voltage-level = <1370000 1370000>;
		qca,bt-vdd-vh-voltage-level = <1900000 1900000>;

		qca,bt-vdd-vl-current-level = <0>;
		qca,bt-vdd-vm-current-level = <0>;
		qca,bt-vdd-vh-current-level = <450000>;
		status = "ok";
	};
};

#include "sdmshrike-pinctrl.dtsi"