summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Weiss <luca@z3ntu.xyz>2022-11-28 18:37:44 +0100
committerBjorn Andersson <andersson@kernel.org>2022-12-28 04:16:39 +0100
commit29dcf3c1a8159acdf56905c377a214381eda5a24 (patch)
treec4aa35a2db3b3832ac47dd6a42644934bd67ee6a
parentarm64: dts: qcom: msm8996-xiaomi-gemini: use preferred enable-gpios for LP556... (diff)
downloadlinux-29dcf3c1a8159acdf56905c377a214381eda5a24.tar.xz
linux-29dcf3c1a8159acdf56905c377a214381eda5a24.zip
arm64: dts: qcom: sdm632-fairphone-fp3: Add NFC
Configure the node for the NQ310 chip found on this device, which is compatible with generic nxp-nci-i2c driver. Signed-off-by: Luca Weiss <luca@z3ntu.xyz> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20221128173744.833018-2-luca@z3ntu.xyz
-rw-r--r--arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts b/arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts
index 3fb513cad0a9..70e683b7e4fc 100644
--- a/arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts
+++ b/arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts
@@ -63,6 +63,21 @@
};
};
+&i2c_5 {
+ status = "okay";
+
+ nfc@28 {
+ compatible = "nxp,nq310", "nxp,nxp-nci-i2c";
+ reg = <0x28>;
+
+ interrupt-parent = <&tlmm>;
+ interrupts = <17 IRQ_TYPE_LEVEL_HIGH>;
+
+ enable-gpios = <&tlmm 16 GPIO_ACTIVE_HIGH>;
+ firmware-gpios = <&tlmm 62 GPIO_ACTIVE_HIGH>;
+ };
+};
+
&pm8953_resin {
status = "okay";
linux,code = <KEY_VOLUMEDOWN>;