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

Commit dab5b5e5 authored by Yingjie Zhu's avatar Yingjie Zhu
Browse files

ARM: dts: msm: Add Bluetooth device tree for SA6155VM

Add Bluetooth device tree to support Bluetooth for SA6155VM.

Change-Id: I63771d8ebfc21c0eba92ce15dd9cd5669d342baf
parent 9983dba1
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -37,3 +37,7 @@
&sdhc_2 {
	status = "ok";
};

&qupv3_se7_4uart {
	status = "ok";
};
+42 −0
Original line number Diff line number Diff line
@@ -11,6 +11,10 @@
	qcom,msm-name = "SA6155P";
	qcom,msm-id = <377 0x0>;

	aliases {
		hsuart0 = &qupv3_se7_4uart;
	};

	cpus {
		#address-cells = <2>;
		#size-cells = <0>;
@@ -127,6 +131,24 @@
			= <RPMH_REGULATOR_LEVEL_MAX>;
	};

	/* PWR_CTR1_VDD_1P8 supply */
	vreg_conn_1p8: vreg_conn_1p8 {
		compatible = "regulator-fixed";
		regulator-name = "vreg_conn_1p8";
		startup-delay-us = <4000>;
		enable-active-high;
		gpio = <&pm6155_1_gpios 1 0>;
	};

	/* PWR_CTR2_VDD_PA supply */
	vreg_conn_pa: vreg_conn_pa {
		compatible = "regulator-fixed";
		regulator-name = "vreg_conn_pa";
		startup-delay-us = <4000>;
		enable-active-high;
		gpio = <&pm6155_1_gpios 6 0>;
	};

	apps_smmu: apps-smmu@0x15000000 {
		compatible = "qcom,qsmmu-v500";
		reg = <0x15000000 0x80000>,
@@ -310,6 +332,26 @@
		/* 6155 have no Doorbell, only keep ifence */
		db-off = <1>;
	};

	bluetooth: bt-qca-auto-converged {
		compatible = "qcom,qca-auto-converged";
		pinctrl-names = "default";
		pinctrl-0 = <&bt_en_active>;
		/* BT_EN */
		qcom,bt-reset-gpio = <&tlmm 85 0>;
		/* PWR_CTR1_VDD_PA */
		qcom,bt-vdd-ctrl1-supply = <&vreg_conn_pa>;
		/* PWR_CTR2_VDD_1P8 */
		qcom,bt-vdd-ctrl2-supply = <&vreg_conn_1p8>;
		qcom,bt-vdd-rfa1-supply = <&pm6155_1_s6>;
		qcom,bt-vdd-rfa2-supply = <&pm6155_1_s5>;
		qcom,bt-vdd-rfa3-supply = <&pm6155_1_l15>;

		/* <vol_min, vol_max, load_curr, is_retention_supp> */
		qcom,bt-vdd-rfa1-config = <1350000 1350000 0 0>;
		qcom,bt-vdd-rfa2-config = <2040000 2040000 0 0>;
		qcom,bt-vdd-rfa3-config = <1904000 1904000 0 0>;
	};
};

&regulator {