blob: 1e436133685f91f470ba7f63e302503422bd818e [file] [log] [blame]
Mark A. Greer7ebb88e2014-03-10 11:56:25 -07001* Texas Instruments TRF7970A RFID/NFC/15693 Transceiver
2
3Required 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
12Optional SoC Specific Properties:
13- pinctrl-names: Contains only one value - "default".
14- pintctrl-0: Specifies the pin control groups used for this controller.
Mark A. Greer3b826372014-03-25 08:54:41 -070015- autosuspend-delay: Specify autosuspend delay in milliseconds.
Mark A. Greer7ebb88e2014-03-10 11:56:25 -070016
17Example (for ARM-based BeagleBone with TRF7970A on SPI1):
18
19&spi1 {
20 status = "okay";
21
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>;
Mark A. Greer3b826372014-03-25 08:54:41 -070033 autosuspend-delay = <30000>;
Mark A. Greer7ebb88e2014-03-10 11:56:25 -070034 status = "okay";
35 };
36};