About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / devicetree / bindings / net / nfc / pn533-i2c.txt


Based on kernel version 4.16.1. Page generated on 2018-04-09 11:52 EST.

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	
19		pn532: pn532@24 {
20	
21			compatible = "nxp,pn532-i2c";
22	
23			reg = <0x24>;
24			clock-frequency = <400000>;
25	
26			interrupt-parent = <&gpio1>;
27			interrupts = <17 IRQ_TYPE_EDGE_FALLING>;
28	
29		};
30	};
Hide Line Numbers


About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog