Michael Thalmeier | 71c08ea | 2016-04-11 16:36:02 +0200 | [diff] [blame] | 1 | * NXP Semiconductors PN532 NFC Controller |
| 2 | |
| 3 | Required properties: |
| 4 | - compatible: Should be "nxp,pn532-i2c" or "nxp,pn533-i2c". |
| 5 | - clock-frequency: I²C work frequency. |
| 6 | - reg: address on the bus |
Michael Thalmeier | 71c08ea | 2016-04-11 16:36:02 +0200 | [diff] [blame] | 7 | - interrupts: GPIO interrupt to which the chip is connected |
| 8 | |
| 9 | Optional SoC Specific Properties: |
| 10 | - pinctrl-names: Contains only one value - "default". |
| 11 | - pintctrl-0: Specifies the pin control groups used for this controller. |
| 12 | |
| 13 | Example (for ARM-based BeagleBone with PN532 on I2C2): |
| 14 | |
| 15 | &i2c2 { |
| 16 | |
Michael Thalmeier | 71c08ea | 2016-04-11 16:36:02 +0200 | [diff] [blame] | 17 | |
| 18 | pn532: pn532@24 { |
| 19 | |
| 20 | compatible = "nxp,pn532-i2c"; |
| 21 | |
| 22 | reg = <0x24>; |
| 23 | clock-frequency = <400000>; |
| 24 | |
| 25 | interrupt-parent = <&gpio1>; |
| 26 | interrupts = <17 IRQ_TYPE_EDGE_FALLING>; |
| 27 | |
| 28 | }; |
| 29 | }; |