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

Commit d89faed9 authored by Tapas Dey's avatar Tapas Dey Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: Add NFC device node for Spyro



Device node changes required on Spyro describing
the GPIO configuration for Nfc controller chip.
Modified corresponding Nfc device node for
DVT platform.

Change-Id: I42578eb45a25c711835383dae1f3d71bd38bc1f2
Signed-off-by: default avatarTapas Dey <tdey@codeaurora.org>
parent d19081d5
Loading
Loading
Loading
Loading
+37 −0
Original line number Diff line number Diff line
@@ -252,6 +252,43 @@

};

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

&i2c_5 { /* BLSP2 QUP1 (NFC) */
	#address-cells = <1>;
	#size-cells = <0>;

	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 = <&pm660_gpios 4 0x00>;
		qcom,nq-esepwr = <&tlmm 93 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";
	};
};

&tlmm {
	pmx_ts_int_active {
		ts_int_active: ts_int_active {