xref: /freebsd/sys/contrib/device-tree/Bindings/net/nfc/nxp-nci.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
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- 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 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 GPIO_ACTIVE_HIGH>;
29
30		enable-gpios = <&gpio0 30 GPIO_ACTIVE_HIGH>;
31		firmware-gpios = <&gpio0 31 GPIO_ACTIVE_HIGH>;
32	};
33};
34