xref: /freebsd/sys/contrib/device-tree/Bindings/net/nfc/pn544.txt (revision 994297b01b98816bea1abf45ae4bac1bc69ee7a0)
1* NXP Semiconductors PN544 NFC Controller
2
3Required properties:
4- compatible: Should be "nxp,pn544-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- enable-gpios: Output GPIO pin used for enabling/disabling the PN544
9- firmware-gpios: Output GPIO pin used to enter firmware download mode
10
11Optional SoC Specific Properties:
12- pinctrl-names: Contains only one value - "default".
13- pintctrl-0: Specifies the pin control groups used for this controller.
14
15Example (for ARM-based BeagleBone with PN544 on I2C2):
16
17&i2c2 {
18
19
20	pn544: pn544@28 {
21
22		compatible = "nxp,pn544-i2c";
23
24		reg = <0x28>;
25		clock-frequency = <400000>;
26
27		interrupt-parent = <&gpio1>;
28		interrupts = <17 IRQ_TYPE_LEVEL_HIGH>;
29
30		enable-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>;
31		firmware-gpios = <&gpio3 19 GPIO_ACTIVE_HIGH>;
32	};
33};
34