trf7970a.txt 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. * Texas Instruments TRF7970A RFID/NFC/15693 Transceiver
  2. Required properties:
  3. - compatible: Should be "ti,trf7970a".
  4. - spi-max-frequency: Maximum SPI frequency (<= 2000000).
  5. - interrupt-parent: phandle of parent interrupt handler.
  6. - interrupts: A single interrupt specifier.
  7. - ti,enable-gpios: Two GPIO entries used for 'EN' and 'EN2' pins on the
  8. TRF7970A.
  9. - vin-supply: Regulator for supply voltage to VIN pin
  10. Optional SoC Specific Properties:
  11. - pinctrl-names: Contains only one value - "default".
  12. - pintctrl-0: Specifies the pin control groups used for this controller.
  13. - autosuspend-delay: Specify autosuspend delay in milliseconds.
  14. - vin-voltage-override: Specify voltage of VIN pin in microvolts.
  15. - irq-status-read-quirk: Specify that the trf7970a being used has the
  16. "IRQ Status Read" erratum.
  17. - en2-rf-quirk: Specify that the trf7970a being used has the "EN2 RF"
  18. erratum.
  19. - t5t-rmb-extra-byte-quirk: Specify that the trf7970a has the erratum
  20. where an extra byte is returned by Read Multiple Block commands issued
  21. to Type 5 tags.
  22. Example (for ARM-based BeagleBone with TRF7970A on SPI1):
  23. &spi1 {
  24. status = "okay";
  25. nfc@0 {
  26. compatible = "ti,trf7970a";
  27. reg = <0>;
  28. pinctrl-names = "default";
  29. pinctrl-0 = <&trf7970a_default>;
  30. spi-max-frequency = <2000000>;
  31. interrupt-parent = <&gpio2>;
  32. interrupts = <14 0>;
  33. ti,enable-gpios = <&gpio2 2 GPIO_ACTIVE_LOW>,
  34. <&gpio2 5 GPIO_ACTIVE_LOW>;
  35. vin-supply = <&ldo3_reg>;
  36. vin-voltage-override = <5000000>;
  37. autosuspend-delay = <30000>;
  38. irq-status-read-quirk;
  39. en2-rf-quirk;
  40. t5t-rmb-extra-byte-quirk;
  41. status = "okay";
  42. };
  43. };