Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
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- interrupt-parent: phandle for the interrupt gpio controller
8- interrupts: GPIO interrupt to which the chip is connected
9- enable-gpios: Output GPIO pin used for enabling/disabling the chip
10- firmware-gpios: Output GPIO pin used to enter firmware download mode
11
12Optional SoC Specific Properties:
13- pinctrl-names: Contains only one value - "default".
14- pintctrl-0: Specifies the pin control groups used for this controller.
15
16Example (for ARM-based BeagleBone with NPC100 NFC controller on I2C2):
17
18&i2c2 {
19
20 status = "okay";
21
22 npc100: npc100@29 {
23
24 compatible = "nxp,nxp-nci-i2c";
25
26 reg = <0x29>;
27 clock-frequency = <100000>;
28
29 interrupt-parent = <&gpio1>;
30 interrupts = <29 GPIO_ACTIVE_HIGH>;
31
32 enable-gpios = <&gpio0 30 GPIO_ACTIVE_HIGH>;
33 firmware-gpios = <&gpio0 31 GPIO_ACTIVE_HIGH>;
34 };
35};