treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / Documentation / devicetree / bindings / net / nfc / nxp-nci.txt
blobcfaf8899891871b2f86d83cec69ef1effebe3fc9
1 * NXP Semiconductors NXP NCI NFC Controllers
3 Required 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
11 Optional SoC Specific Properties:
12 - pinctrl-names: Contains only one value - "default".
13 - pintctrl-0: Specifies the pin control groups used for this controller.
15 Example (for ARM-based BeagleBone with NPC100 NFC controller on I2C2):
17 &i2c2 {
20         npc100: npc100@29 {
22                 compatible = "nxp,nxp-nci-i2c";
24                 reg = <0x29>;
25                 clock-frequency = <100000>;
27                 interrupt-parent = <&gpio1>;
28                 interrupts = <29 GPIO_ACTIVE_HIGH>;
30                 enable-gpios = <&gpio0 30 GPIO_ACTIVE_HIGH>;
31                 firmware-gpios = <&gpio0 31 GPIO_ACTIVE_HIGH>;
32         };