From: David Heidelberg Date: Fri, 3 Apr 2026 13:58:49 +0000 (+0200) Subject: arm64: dts: qcom: sdm845-shift-axolotl: Enable NFC X-Git-Tag: v7.2-rc1~131^2~38^2~97 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=f585772843ba6add712bbf2505055f34d07b8622;p=thirdparty%2Flinux.git arm64: dts: qcom: sdm845-shift-axolotl: Enable NFC Enable NFC controller NXP PN553. Signed-off-by: David Heidelberg Reviewed-by: Dmitry Baryshkov Link: https://lore.kernel.org/r/20260403-oneplus-nfc-v3-4-fbdce57d63c1@ixit.cz Signed-off-by: Bjorn Andersson --- diff --git a/arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts b/arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts index de9ceb9d6ed49..14a683ee38237 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts @@ -431,6 +431,26 @@ firmware-name = "qcom/sdm845/SHIFT/axolotl/a630_zap.mbn"; }; +&i2c3 { + clock-frequency = <400000>; + + status = "okay"; + + nfc@28 { + compatible = "nxp,pn553", "nxp,nxp-nci-i2c"; + reg = <0x28>; + + interrupts-extended = <&tlmm 63 IRQ_TYPE_EDGE_RISING>; + + enable-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>; + firmware-gpios = <&tlmm 62 GPIO_ACTIVE_HIGH>; + + pinctrl-0 = <&nfc_default>; + pinctrl-1 = <&nfc_sleep>; + pinctrl-names = "default", "sleep"; + }; +}; + &i2c5 { clock-frequency = <400000>; @@ -668,6 +688,38 @@ bias-disable; }; + nfc_default: nfc-default-state { + enable-pins { + pins = "gpio12", "gpio62"; + function = "gpio"; + drive-strength = <2>; + bias-pull-up; + }; + + int-pins { + pins = "gpio63"; + function = "gpio"; + drive-strength = <2>; + bias-pull-up; + }; + }; + + nfc_sleep: nfc-sleep-state { + enable-pins { + pins = "gpio12", "gpio62"; + function = "gpio"; + drive-strength = <2>; + bias-disable; + }; + + int-pins { + pins = "gpio63"; + function = "gpio"; + drive-strength = <2>; + bias-pull-up; + }; + }; + sde_dsi_active: sde-dsi-active-state { pins = "gpio6", "gpio11"; function = "gpio";