Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v4.7 31 lines 741 B view raw
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- interrupt-parent: phandle for the interrupt gpio controller 8- interrupts: GPIO interrupt to which the chip is connected 9 10Optional SoC Specific Properties: 11- pinctrl-names: Contains only one value - "default". 12- pintctrl-0: Specifies the pin control groups used for this controller. 13 14Example (for ARM-based BeagleBone with PN532 on I2C2): 15 16&i2c2 { 17 18 status = "okay"; 19 20 pn532: pn532@24 { 21 22 compatible = "nxp,pn532-i2c"; 23 24 reg = <0x24>; 25 clock-frequency = <400000>; 26 27 interrupt-parent = <&gpio1>; 28 interrupts = <17 IRQ_TYPE_EDGE_FALLING>; 29 30 }; 31};