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

Commit f8757ad5 authored by Rohit Rangwani's avatar Rohit Rangwani
Browse files

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



Add NFC device tree node and associated GPIO configurations
for MSM8937 MTP platform.

Change-Id: I487901010d9514f2dac2faac957323fe76abf67c
Signed-off-by: default avatarRohit Rangwani <rrangwan@codeaurora.org>
parent 220df69e
Loading
Loading
Loading
Loading
+33 −0
Original line number Diff line number Diff line
@@ -156,6 +156,39 @@
	};
};

&pm8937_gpios {
	nfc_clk {
		nfc_clk_default: nfc_clk_default {
			pins = "gpio5";
			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 = <&pm8937_gpios 5 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";
	};
};

&thermal_zones {
	quiet-therm-step {
		status = "disabled";