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