| Qualcomm Technologies, Inc NQxxxx NFC NCI device |
| |
| Near Field Communication (NFC) device is based on NFC Controller Interface (NCI) |
| |
| Required properties: |
| |
| - compatible: "qcom,nq-nci" |
| - reg: NCI i2c slave address. |
| - qcom,nq-ven: specific gpio for hardware reset. |
| - qcom,nq-irq: specific gpio for read interrupt. |
| - qcom,nq-firm: gpio for firmware download |
| - qcom,nq-clkreq: gpio for clock |
| - interrupt-parent: Should be phandle for the interrupt controller |
| that services interrupts for this device. |
| - interrupts: Nfc read interrupt,gpio-clk-req interrupt |
| |
| |
| Recommended properties: |
| |
| - interrupt-names: names of interrupts, should include "nfc_irq", used for reference |
| |
| |
| Optional properties: |
| |
| - pinctrl-names, pinctrl-0, pincntrl-1: references to our pincntrl settings |
| - clocks, clock-names: must contain the NQxxxx's core clock. |
| - qcom,nq-esepwr: gpio to control power of secure element |
| |
| Example: |
| |
| nq-nci@2b { |
| compatible = "qcom,nq-nci"; |
| reg = <0x2b>; |
| qcom,nq-irq = <&tlmm 29 0x00>; |
| qcom,nq-ven = <&tlmm 30 0x00>; |
| qcom,nq-firm = <&tlmm 93 0x00>; |
| qcom,nq-clkreq = <&pm8998_gpios 21 0x00>; |
| qcom,nq-esepwr = <&tlmm 116 0x00>; |
| qcom,clk-src = "BBCLK2"; |
| interrupt-parent = <&tlmm>; |
| interrupts = <29 0>; |
| interrupt-names = "nfc_irq"; |
| pinctrl-names = "nfc_active","nfc_suspend"; |
| pinctrl-0 = <&nfc_int_active &nfc_disable_active>; |
| pinctrl-1 = <&nfc_int_suspend &nfc_disable_suspend>; |
| qcom,clk-gpio = <&pm8916_gpios 2 0>; |
| clocks = <&clock_rpm clk_bb_clk2_pin>; |
| clock-names = "ref_clk"; |
| }; |