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

Commit 6e1443b7 authored by Bhuvan Varshney's avatar Bhuvan Varshney Committed by Shreyas Narayan
Browse files

ARM: dts: msm: Add NFC device node for QM215.



Device node changes required on QM215 describing
the GPIO configuration for NFC controller chip.

Modified corresponding Nfc device node for QRD
platforms.

Change-Id: I7966b20c633039d99843d17edb1fda6660097a66
Signed-off-by: default avatarBhuvan Varshney <bvarshne@codeaurora.org>
parent 8b646d19
Loading
Loading
Loading
Loading
+33 −0
Original line number Diff line number Diff line
@@ -175,6 +175,39 @@
	/delete-node/ qcom,panel-supply-entry@3;
};

&pm8916_gpios {
	nfc_clk {
		nfc_clk_default: nfc_clk_default {
			pins = "gpio2";
			function = "normal";
			input-enable;
			power-source = <1>;
		};
	};
};

&i2c_5 { /* BLSP2 QUP1 (NFC) */
	status = "ok";
	nq@28 {
		compatible = "qcom,nq-nci";
		reg = <0x28>;
		qcom,nq-irq = <&tlmm 17 0x00>;
		qcom,nq-ven = <&tlmm 16 0x00>;
		qcom,nq-firm = <&tlmm 130 0x00>;
		qcom,nq-clkreq = <&pm8916_gpios 2 0x00>;
		interrupt-parent = <&tlmm>;
		qcom,clk-src = "BBCLK2";
		interrupts = <17 0>;
		interrupt-names = "nfc_irq";
		pinctrl-names = "nfc_active", "nfc_suspend";
		pinctrl-0 = <&nfc_int_active &nfc_disable_active
						&nfc_clk_default>;
		pinctrl-1 = <&nfc_int_suspend &nfc_disable_suspend>;
		clocks = <&clock_gcc clk_bb_clk2_pin>;
		clock-names = "ref_clk";
	};
};

&mdss_dsi {
	hw-config = "single_dsi";
};