Merge tag 'vfio-v4.13-rc1' of git://github.com/awilliam/linux-vfio
[sfrench/cifs-2.6.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: One or two GPIO entries used for 'EN' and 'EN2' pins on the
9   TRF7970A. EN2 is optional.
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 - irq-status-read-quirk: Specify that the trf7970a being used has the
17   "IRQ Status Read" erratum.
18 - en2-rf-quirk: Specify that the trf7970a being used has the "EN2 RF"
19   erratum.
20 - vdd-io-supply: Regulator specifying voltage for vdd-io
21 - clock-frequency: Set to specify that the input frequency to the trf7970a is 13560000Hz or 27120000Hz
22
23 Example (for ARM-based BeagleBone with TRF7970A on SPI1):
24
25 &spi1 {
26         status = "okay";
27
28         nfc@0 {
29                 compatible = "ti,trf7970a";
30                 reg = <0>;
31                 pinctrl-names = "default";
32                 pinctrl-0 = <&trf7970a_default>;
33                 spi-max-frequency = <2000000>;
34                 interrupt-parent = <&gpio2>;
35                 interrupts = <14 0>;
36                 ti,enable-gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>,
37                                   <&gpio2 5 GPIO_ACTIVE_HIGH>;
38                 vin-supply = <&ldo3_reg>;
39                 vdd-io-supply = <&ldo2_reg>;
40                 autosuspend-delay = <30000>;
41                 irq-status-read-quirk;
42                 en2-rf-quirk;
43                 clock-frequency = <27120000>;
44                 status = "okay";
45         };
46 };