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

Commit afa14833 authored by Gustavo Solaira's avatar Gustavo Solaira
Browse files

ARM: dts: msm: Enable cnss_pci and setup gpios for sdxhedgehog



Enable the cnss_pci driver for WLAN and setup the gpios
for vreg and enable on sdxhedgehog devices.

Change-Id: I2b5d7154e3f2161dec88f6a074d136f888de9484
Signed-off-by: default avatarGustavo Solaira <gustavos@codeaurora.org>
parent 63c2efaa
Loading
Loading
Loading
Loading
+27 −0
Original line number Diff line number Diff line
@@ -154,3 +154,30 @@

	qcom,pcie-phy-ver = <0x21>;
};

&cnss_pcie {
	wlan-en-gpio = <&pmdcalifornium_gpios 8 0>;
};

&pmdcalifornium_gpios {
	gpio@c500 { /* GPIO 6 - Rome 3.3V control */
		status = "ok";
		qcom,mode = <1>;		/* Digital output*/
		qcom,output-type = <0>;		/* CMOS logic */
		qcom,invert = <1>;		/* Output high */
		qcom,vin-sel = <0>;		/* VPH_PWR */
		qcom,src-sel = <0>;		/* Constant */
		qcom,out-strength = <1>;	/* High drive strength */
		qcom,master-en = <1>;		/* Enable GPIO */
	};

	gpio@c700 { /* GPIO 8 - BT_EN */
		status = "ok";
		qcom,mode = <1>;         /* Digital output*/
		qcom,pull = <4>;         /* Pulldown 10uA */
		qcom,vin-sel = <0>;      /* VPH_PWR */
		qcom,src-sel = <0>;      /* GPIO */
		qcom,invert = <0>;       /* Invert */
		qcom,master-en = <1>;    /* Enable GPIO */
	};
};