Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1* NXP Semiconductors PN532 NFC Controller
2
3Required 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
7- interrupts: GPIO interrupt to which the chip is connected
8
9Optional SoC Specific Properties:
10- pinctrl-names: Contains only one value - "default".
11- pintctrl-0: Specifies the pin control groups used for this controller.
12
13Example (for ARM-based BeagleBone with PN532 on I2C2):
14
15&i2c2 {
16
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};