Mark A. Greer | 7ebb88e | 2014-03-10 11:56:25 -0700 | [diff] [blame] | 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. |
Mark A. Greer | 3b82637 | 2014-03-25 08:54:41 -0700 | [diff] [blame] | 15 | - autosuspend-delay: Specify autosuspend delay in milliseconds. |
Mark A. Greer | 7ebb88e | 2014-03-10 11:56:25 -0700 | [diff] [blame] | 16 | |
| 17 | Example (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. Greer | 3b82637 | 2014-03-25 08:54:41 -0700 | [diff] [blame] | 33 | autosuspend-delay = <30000>; |
Mark A. Greer | 7ebb88e | 2014-03-10 11:56:25 -0700 | [diff] [blame] | 34 | status = "okay"; |
| 35 | }; |
| 36 | }; |