]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: qcom: sm8250-edo: Add NXP PN553 NFC
authorKonrad Dybcio <konrad.dybcio@somainline.org>
Sat, 8 Oct 2022 18:17:13 +0000 (20:17 +0200)
committerBjorn Andersson <andersson@kernel.org>
Tue, 18 Oct 2022 03:01:05 +0000 (22:01 -0500)
Add a node for NXP PN553 NFC, using the nxp-nci driver.

Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Tested-by: Marijn Suijten <marijn.suijten@somainline.org>
Reviewed-by: Marijn Suijten <marijn.suijten@somainline.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221008181714.253634-1-konrad.dybcio@somainline.org
arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo.dtsi

index 601a21c381f8b5acb61dfdb31830202c668c8f4a..4f9cf5401e2e0c09902a44a4f8e470c675c870af 100644 (file)
        status = "okay";
        clock-frequency = <400000>;
 
-       /* NXP PN553 NFC @ 28 */
+       nfc@28 {
+               compatible = "nxp,nxp-nci-i2c";
+               reg = <0x28>;
+
+               interrupt-parent = <&tlmm>;
+               interrupts = <111 IRQ_TYPE_EDGE_RISING>;
+
+               enable-gpios = <&tlmm 6 GPIO_ACTIVE_HIGH>;
+               firmware-gpios = <&tlmm 110 GPIO_ACTIVE_HIGH>;
+       };
 };
 
 &i2c2 {