From 9e68b4a617d33633a27417545aed1c6e6d79f1fe Mon Sep 17 00:00:00 2001 From: wuwl10 Date: Thu, 16 Sep 2021 14:52:48 +0800 Subject: [PATCH] arm64/st: cypfr: add device node for NXP SN100P Cyprus IP68 use NXP SN100P as nfc controller Add device node for it. Change-Id: I25e4098da2221686360d6f14496269e21927b1ba Signed-off-by: wuwl10 Reviewed-on: https://gerrit.mot.com/2068290 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Huosheng Liao Submit-Approved: Jira Key --- qcom/blair-cypfr-common-overlay.dtsi | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/qcom/blair-cypfr-common-overlay.dtsi b/qcom/blair-cypfr-common-overlay.dtsi index 52bf77e32a53..1ca797f42878 100644 --- a/qcom/blair-cypfr-common-overlay.dtsi +++ b/qcom/blair-cypfr-common-overlay.dtsi @@ -584,6 +584,33 @@ }; }; + +&qupv3_se7_i2c { + status = "ok"; + #qcom,clk-freq-out = <1000000>; + #address-cells = <1>; + #size-cells = <0>; + nq@28 { + compatible = "qcom,sn-nci"; + reg = <0x28>; + qcom,sn-irq = <&tlmm 9 0x00>; + qcom,sn-ven = <&tlmm 48 0x00>; + qcom,sn-firm = <&tlmm 133 0x00>; + qcom,sn-clkreq = <&tlmm 7 0x00>; + interrupt-parent = <&tlmm>; + qcom,sn-vdd-1p8-supply = <&L9A>; + qcom,sn-vdd-1p8-voltage = <1800000 1800000>; + qcom,sn-vdd-1p8-current = <157000>; + interrupts = <9 0>; + interrupt-names = "nfc_irq"; + pinctrl-names = "nfc_active", "nfc_suspend"; + pinctrl-0 = <&nfc_int_active &nfc_enable_active + &nfc_clk_req_active>; + pinctrl-1 = <&nfc_int_suspend &nfc_enable_suspend + &nfc_clk_req_suspend>; + }; +}; + &qupv3_se10_i2c_sleep { config { /delete-property/ bias-disable;