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

Commit 8ad72767 authored by Gaurav Singhal's avatar Gaurav Singhal
Browse files

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



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

Change-Id: I8ae1a420a54e336702dca86900c1c3c45f4d6336
Signed-off-by: default avatarGaurav Singhal <gsinghal@codeaurora.org>
parent e2399b46
Loading
Loading
Loading
Loading
+24 −0
Original line number Original line Diff line number Diff line
@@ -592,6 +592,30 @@
				};
				};
			};
			};


			nfcv2k_disable_active: nfcv2k_disable_active {
				mux {
					pins = "gpio52";
					function = "gpio";
				};
				config {
					pins = "gpio52";
					drive-strength = <6>;
					bias-pull-up;
				};
			};

			nfcv2k_disable_suspend: nfcv2k_disable_suspend {
				mux {
					pins = "gpio52";
					function = "gpio";
				};
				config {
					pins = "gpio52";
					drive-strength = <6>;
					bias-disable;
				};
			};

			nfc_int_active: nfc_int_active {
			nfc_int_active: nfc_int_active {
				mux {
				mux {
					pins = "gpio21";
					pins = "gpio21";
+18 −1
Original line number Original line Diff line number Diff line
@@ -124,7 +124,24 @@
};
};


&i2c_2 {
&i2c_2 {
	status = "disabled";
	status = "okay";
	nq@28 {
		compatible = "qcom,nq-nci";
		reg = <0x28>;
		qcom,nq-irq = <&msm_gpio 50 0x00>;
		qcom,nq-ven = <&msm_gpio 52 0x00>;
		qcom,nq-firm = <&msm_gpio 38 0x00>;
		qcom,nq-esepwr = <&msm_gpio 49 0x00>;
		qcom,nq-clkreq = <&pm660_gpios 4 0x00>;
		qcom,clk-src = "BBCLK3";
		interrupt-parent = <&msm_gpio>;
		interrupts = <50 0>;
		interrupt-names = "nfc_irq";
		pinctrl-names = "nfc_active","nfc_suspend";
		pinctrl-0 = <&nfcw_int_active &nfcv2k_disable_active>;
		pinctrl-1 = <&nfcw_int_suspend &nfcv2k_disable_suspend>;
		clock-names = "ref_clk";
	};
};
};


&i2c_5 {
&i2c_5 {