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

nfc: pn533: Add device tree documentation for i2c phy

Add pn533-i2c phy devicetree documentation

Signed-off-by: Michael Thalmeier <michael.thalmeier@hale.at>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>

authored by

Michael Thalmeier and committed by
Samuel Ortiz
71c08eac dd7bedcd

+31
+31
Documentation/devicetree/bindings/net/nfc/pn533-i2c.txt
··· 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 7 + - interrupt-parent: phandle for the interrupt gpio controller 8 + - interrupts: GPIO interrupt to which the chip is connected 9 + 10 + Optional SoC Specific Properties: 11 + - pinctrl-names: Contains only one value - "default". 12 + - pintctrl-0: Specifies the pin control groups used for this controller. 13 + 14 + Example (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 + };