xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/net/nfc/nxp-nci.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun* NXP Semiconductors NXP NCI NFC Controllers
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun- compatible: Should be "nxp,nxp-nci-i2c".
5*4882a593Smuzhiyun- clock-frequency: I²C work frequency.
6*4882a593Smuzhiyun- reg: address on the bus
7*4882a593Smuzhiyun- interrupts: GPIO interrupt to which the chip is connected
8*4882a593Smuzhiyun- enable-gpios: Output GPIO pin used for enabling/disabling the chip
9*4882a593Smuzhiyun- firmware-gpios: Output GPIO pin used to enter firmware download mode
10*4882a593Smuzhiyun
11*4882a593SmuzhiyunOptional SoC Specific Properties:
12*4882a593Smuzhiyun- pinctrl-names: Contains only one value - "default".
13*4882a593Smuzhiyun- pintctrl-0: Specifies the pin control groups used for this controller.
14*4882a593Smuzhiyun
15*4882a593SmuzhiyunExample (for ARM-based BeagleBone with NPC100 NFC controller on I2C2):
16*4882a593Smuzhiyun
17*4882a593Smuzhiyun&i2c2 {
18*4882a593Smuzhiyun
19*4882a593Smuzhiyun
20*4882a593Smuzhiyun	npc100: npc100@29 {
21*4882a593Smuzhiyun
22*4882a593Smuzhiyun		compatible = "nxp,nxp-nci-i2c";
23*4882a593Smuzhiyun
24*4882a593Smuzhiyun		reg = <0x29>;
25*4882a593Smuzhiyun		clock-frequency = <100000>;
26*4882a593Smuzhiyun
27*4882a593Smuzhiyun		interrupt-parent = <&gpio1>;
28*4882a593Smuzhiyun		interrupts = <29 IRQ_TYPE_LEVEL_HIGH>;
29*4882a593Smuzhiyun
30*4882a593Smuzhiyun		enable-gpios = <&gpio0 30 GPIO_ACTIVE_HIGH>;
31*4882a593Smuzhiyun		firmware-gpios = <&gpio0 31 GPIO_ACTIVE_HIGH>;
32*4882a593Smuzhiyun	};
33*4882a593Smuzhiyun};
34