nfc-nci.txt 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. Qualcomm QCA199x NFC NCI device
  2. Near Field Communication (NFC) device is based on NFC Controller Interface (NCI)
  3. Required properties:
  4. - compatible: "qcom,nfc-nci"
  5. - reg: NCI i2c slave address.
  6. - qcom,dis-gpio: specific gpio for hardware reset.
  7. - qcom,irq-gpio: specific gpio for read interrupt.
  8. - qcom,clk-src: nfc clock source ("BBCLK2", "RFCLK3", "GPCLK", "GPCLK2", ...)
  9. - qcom,clk-src-gpio: msm gpio clock,used ony if clock source is msm gpio
  10. - qcom,clk-req-gpio: clk-req input gpio for MSM based clocks.
  11. not used for pmic implementation
  12. - interrupt-parent: Should be phandle for the interrupt controller
  13. that services interrupts for this device.
  14. - interrupts: Nfc read interrupt,gpio-clk-req interrupt
  15. - qcom,clk-gpio: pmic or msm gpio on which bbclk2 signal is coming.
  16. Example:
  17. i2c@f9925000 { /* BLSP-1 QUP-3 */
  18. nfc-nci@e {
  19. compatible = "qcom,nfc-nci";
  20. reg = <0x0e>;
  21. qcom,irq-gpio = <&msmgpio 77 0x00>;
  22. qcom,dis-gpio = <&msmgpio 93 0x00>;
  23. qcom,clk-src-gpio = <&msmgpio 78 0x00>;
  24. qcom,clk-src = "GPCLK2";
  25. interrupt-parent = <&msmgpio>;
  26. interrupts = <77 0>;
  27. qcom,clk-gpio = <&msmgpio 75 0x00>;
  28. };
  29. };