WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / net / nfc / pn532.txt
bloba5507dc499bc691a36020f35156c0bbf569cba42
1 * NXP Semiconductors PN532 NFC Controller
3 Required properties:
4 - compatible: Should be
5     - "nxp,pn532" Place a node with this inside the devicetree node of the bus
6                   where the NFC chip is connected to.
7                   Currently the kernel has phy bindings for uart and i2c.
8     - "nxp,pn532-i2c" (DEPRECATED) only works for the i2c binding.
9     - "nxp,pn533-i2c" (DEPRECATED) only works for the i2c binding.
11 Required properties if connected on i2c:
12 - clock-frequency: I²C work frequency.
13 - reg: for the I²C bus address. This is fixed at 0x24 for the PN532.
14 - interrupts: GPIO interrupt to which the chip is connected
16 Optional SoC Specific Properties:
17 - pinctrl-names: Contains only one value - "default".
18 - pintctrl-0: Specifies the pin control groups used for this controller.
20 Example (for ARM-based BeagleBone with PN532 on I2C2):
22 &i2c2 {
25         pn532: nfc@24 {
27                 compatible = "nxp,pn532";
29                 reg = <0x24>;
30                 clock-frequency = <400000>;
32                 interrupt-parent = <&gpio1>;
33                 interrupts = <17 IRQ_TYPE_EDGE_FALLING>;
35         };
38 Example (for PN532 connected via uart):
40 uart4: serial@49042000 {
41         compatible = "ti,omap3-uart";
43         pn532: nfc {
44                 compatible = "nxp,pn532";
45         };