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"; }; };