From 824ba9fdd7908697fac99a7a9f1782ca9fdcdb1d Mon Sep 17 00:00:00 2001 From: Yunxian He Date: Thu, 16 Mar 2023 16:54:16 +0800 Subject: [PATCH] arm/dts: nfc gpio changes for samsung RN4V bringup update NFC_IRQ update NFC_ENABLE, NFC_CLK_REQ Change-Id: Idb92af2dbcca9b7c39abfefcee09452cae668f88 Signed-off-by: Yunxian He Reviewed-on: https://gerrit.mot.com/2542132 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Xiangpo Zhao Submit-Approved: Jira Key --- qcom/blair-bangkk-common-overlay.dtsi | 28 +++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/qcom/blair-bangkk-common-overlay.dtsi b/qcom/blair-bangkk-common-overlay.dtsi index d6307cf45401..8f470bb83a94 100644 --- a/qcom/blair-bangkk-common-overlay.dtsi +++ b/qcom/blair-bangkk-common-overlay.dtsi @@ -72,12 +72,12 @@ nfc_enable_active: nfc_enable_active { mux { - pins = "gpio6"; + pins = "gpio48"; function = "gpio"; }; config { - pins = "gpio6"; + pins = "gpio48"; drive-strength = <2>; /* 2 MA */ bias-disable; }; @@ -85,12 +85,12 @@ nfc_enable_suspend: nfc_enable_suspend { mux { - pins = "gpio6"; + pins = "gpio48"; function = "gpio"; }; config { - pins = "gpio6"; + pins = "gpio48"; drive-strength = <2>; /* 2 MA */ bias-disable; }; @@ -117,7 +117,7 @@ /* sleep state */ mux { /* GPIO 7: NFC CLK Req */ - pins = "gpi7"; + pins = "gpio7"; function = "gpio"; }; @@ -276,15 +276,14 @@ status = "ok"; #address-cells = <1>; #size-cells = <0>; - st21nfc@8 { - compatible = "st,st21nfc"; - mmi,status = "/chosen", "mmi,nfc", "st"; - status = "ok"; - reg = <0x08>; - st,irq_gpio = <&tlmm 9 0x00>; - st,reset_gpio = <&tlmm 6 0x00>; - st,clkreq_gpio = <&tlmm 7 0x00>; - interrupt-parent = <&tlmm>; + sec-nfc@27 { + compatible = "sec-nfc"; + reg = <0x27>; + sec-nfc,ven-gpio = <&tlmm 48 0x00>; + sec-nfc,firm-gpio = <&tlmm 135 0x00>; + sec-nfc,irq-gpio = <&tlmm 9 0x00>; + sec-nfc,clk_req-gpio = <&tlmm 7 0x00>; + interrupt-parent = <&tlmm>; interrupts = <9 0>; interrupt-names = "nfc_irq"; pinctrl-names = "nfc_active", "nfc_suspend"; @@ -292,6 +291,7 @@ &nfc_clk_req_active>; pinctrl-1 = <&nfc_int_suspend &nfc_enable_suspend &nfc_clk_req_suspend>; + clock-names = "OSC_NFC"; }; };