xref: /freebsd/sys/contrib/device-tree/Bindings/net/nfc/nxp-nci.txt (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
1* NXP Semiconductors NXP NCI NFC Controllers
2
3Required properties:
4- compatible: Should be "nxp,nxp-nci-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 chip
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- firmware-gpios: Output GPIO pin used to enter firmware download mode
14
15Example (for ARM-based BeagleBone with NPC100 NFC controller on I2C2):
16
17&i2c2 {
18
19
20	npc100: npc100@29 {
21
22		compatible = "nxp,nxp-nci-i2c";
23
24		reg = <0x29>;
25		clock-frequency = <100000>;
26
27		interrupt-parent = <&gpio1>;
28		interrupts = <29 IRQ_TYPE_LEVEL_HIGH>;
29
30		enable-gpios = <&gpio0 30 GPIO_ACTIVE_HIGH>;
31		firmware-gpios = <&gpio0 31 GPIO_ACTIVE_HIGH>;
32	};
33};
34