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

Commit d1c2922e authored by Houston Hoffman's avatar Houston Hoffman
Browse files

ARM: dts: msm: enable NFC for 8974pro-ac-pm8941



Added a new nfc device tree entry to give more 8974 devices nfc support.

Change-Id: I29debd8005adf487ca96e8e20e193f13664c2751
Signed-off-by: default avatarHouston Hoffman <hhoffman@codeaurora.org>
parent bb59a2c0
Loading
Loading
Loading
Loading
+26 −0
Original line number Diff line number Diff line
@@ -30,3 +30,29 @@
	status = "ok";
	qcom,usb2-enable-uicc;
};

&soc {
	i2c@f9928000 { /* BLSP1 QUP6 */
		nfc-nci@e {
			compatible = "qcom,nfc-nci";
			reg = <0x0e>;
			qcom,irq-gpio = <&msmgpio 57 0x00>;
			qcom,dis-gpio = <&msmgpio 13 0x00>;
			qcom,clk-src = "BBCLK2";
			interrupt-parent = <&msmgpio>;
			interrupts = <57 0>;
			qcom,clk-gpio = <&pm8941_gpios 32 0>;
		};
	};
};

&pm8941_gpios {
	gpio@df00 {
		/* NFC clk request */
		qcom,mode = <0>;                /* QPNP_PIN_MODE_DIG_IN */
		qcom,pull = <5>;                /* QPNP_PIN_PULL_NO */
		qcom,vin-sel = <2>;             /* QPNP_PIN_VIN2 */
		qcom,src-sel = <2>;             /* QPNP_PIN_SEL_FUNC_1 */
		qcom,master-en = <1>;
	};
};