trf7970a.txt 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. Example (for ARM-based BeagleBone with TRF7970A on SPI1):
  20. &spi1 {
  21. status = "okay";
  22. nfc@0 {
  23. compatible = "ti,trf7970a";
  24. reg = <0>;
  25. pinctrl-names = "default";
  26. pinctrl-0 = <&trf7970a_default>;
  27. spi-max-frequency = <2000000>;
  28. interrupt-parent = <&gpio2>;
  29. interrupts = <14 0>;
  30. ti,enable-gpios = <&gpio2 2 GPIO_ACTIVE_LOW>,
  31. <&gpio2 5 GPIO_ACTIVE_LOW>;
  32. vin-supply = <&ldo3_reg>;
  33. vin-voltage-override = <5000000>;
  34. autosuspend-delay = <30000>;
  35. irq-status-read-quirk;
  36. en2-rf-quirk;
  37. status = "okay";
  38. };
  39. };