summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts
diff options
context:
space:
mode:
authorLuca Weiss <luca@z3ntu.xyz>2022-11-28 18:37:44 +0100
committerBjorn Andersson <andersson@kernel.org>2022-12-27 21:16:39 -0600
commit29dcf3c1a8159acdf56905c377a214381eda5a24 (patch)
treec4aa35a2db3b3832ac47dd6a42644934bd67ee6a /arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts
parent4df05b44468cdf5dea7a7aa291eeabd7e639f8ff (diff)
downloadlwn-29dcf3c1a8159acdf56905c377a214381eda5a24.tar.gz
lwn-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
Diffstat (limited to 'arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts')
-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>;