arm64: dts: qcom: sm8150-kumano: Add NXP PN553 NFC
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Sat, 10 Dec 2022 14:25:24 +0000 (15:25 +0100)
committerBjorn Andersson <andersson@kernel.org>
Wed, 28 Dec 2022 04:07:44 +0000 (22:07 -0600)
Add a node for NXP PN553 NFC (or PN557, unclear data), using the
nxp-nci driver.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Marijn Suijten <marijn.suijten@somainline.org>
Tested-by: Marijn Suijten <marijn.suijten@somainline.org> # On Xperia 1 and Xperia 5
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221210142525.16974-2-konrad.dybcio@linaro.org
arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano.dtsi

index 7fab4b9..f65aade 100644 (file)
 
        /* Qcom SMB1355 @ c */
        /* Qcom SMB1390 @ 10 */
-       /* NXP PN553 NFC @ 28 */
        /* Qcom FSA4480 USB-C audio switch @ 43 */
+
+       nfc@28 {
+               compatible = "nxp,nxp-nci-i2c";
+               reg = <0x28>;
+
+               interrupt-parent = <&tlmm>;
+               interrupts = <47 IRQ_TYPE_EDGE_RISING>;
+
+               enable-gpios = <&tlmm 41 GPIO_ACTIVE_HIGH>;
+               firmware-gpios = <&tlmm 48 GPIO_ACTIVE_HIGH>;
+       };
 };
 
 &i2c7 {