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

Commit bdcb690c authored by Sarada Prasanna Garnayak's avatar Sarada Prasanna Garnayak Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: Add Bluetooth and Wlan configuration for mdmfermium



Add changes for Wlan enable rome_vreg regulator, BT_EN GPIO
and voltage regulators etc. in device tree to enable QCA ROME
Bluetooth and Wlan functionality for MDM fermium platform.

Change-Id: I61450d77bcd48dbc1650fc9599b876335122d023
Signed-off-by: default avatarSarada Prasanna Garnayak <sgarna@codeaurora.org>
parent a1172e5c
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -14,6 +14,18 @@
#include "mdmfermium.dtsi"
#include "mdmfermium-pinctrl.dtsi"

/ {
	bluetooth: bt_qca6174 {
		compatible = "qca,qca6174";
		qca,bt-reset-gpio = <&pm8019_gpios 2 0>; /* BT_EN */
		qca,bt-vdd-pa-supply = <&rome_vreg>;
		qca,bt-vdd-io-supply = <&mdmfermium_l11>;
		qca,bt-vdd-xtal-supply = <&mdmfermium_l2>;
		qca,bt-vdd-io-voltage-level = <1800000 1800000>;
		qca,bt-vdd-xtal-voltage-level = <1800000 1800000>;
	};
};

&soc {
};

+12 −0
Original line number Diff line number Diff line
@@ -14,6 +14,18 @@
#include "mdmfermium.dtsi"
#include "mdmfermium-pinctrl.dtsi"

/ {
	bluetooth: bt_qca6174 {
		compatible = "qca,qca6174";
		qca,bt-reset-gpio = <&pm8019_gpios 2 0>; /* BT_EN */
		qca,bt-vdd-pa-supply = <&rome_vreg>;
		qca,bt-vdd-io-supply = <&mdmfermium_l11>;
		qca,bt-vdd-xtal-supply = <&mdmfermium_l2>;
		qca,bt-vdd-io-voltage-level = <1800000 1800000>;
		qca,bt-vdd-xtal-voltage-level = <1800000 1800000>;
	};
};

&soc {
};

+8 −0
Original line number Diff line number Diff line
@@ -378,4 +378,12 @@
		enable-active-high;
		gpio = <&pm8019_gpios 4 0>;
	};
	/* Rome 3.3V supply */
	rome_vreg: rome_vreg {
		compatible = "regulator-fixed";
		regulator-name = "rome_vreg";
		startup-delay-us = <4000>;
		enable-active-high;
		gpio = <&pm8019_gpios 3 0>;
	};
};
+1 −1
Original line number Diff line number Diff line
@@ -492,7 +492,7 @@

	qcom,cnss-sdio {
		compatible = "qcom,cnss_sdio";
		cnss_sdio,wlan-pmic-gpio = <&pm8019_gpios 3 0>;
		vdd-wlan-supply = <&rome_vreg>;
		vdd-wlan-io-supply = <&mdmfermium_l11>;
		vdd-wlan-xtal-supply = <&mdmfermium_l2>;
	};