arm64: dts: qcom: sdm632-fairphone-fp3: Add NFC
authorLuca Weiss <luca@z3ntu.xyz>
Mon, 28 Nov 2022 17:37:44 +0000 (18:37 +0100)
committerBjorn Andersson <andersson@kernel.org>
Wed, 28 Dec 2022 03:16:39 +0000 (21:16 -0600)
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
arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts

index 3fb513cad0a92a67ca6ba84974ad52d6ab19b8bd..70e683b7e4fce3acf4acf949193116f5ac33b4b3 100644 (file)
        };
 };
 
+&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>;