treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / Documentation / devicetree / bindings / net / nfc / st-nci-i2c.txt
blobbaa8f8133d19f4355a70b5c0ded14b2bd815a16c
1 * STMicroelectronics SAS. ST NCI NFC Controller
3 Required properties:
4 - compatible: Should be "st,st21nfcb-i2c" or "st,st21nfcc-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 - reset-gpios: Output GPIO pin used to reset the ST21NFCB
10 Optional SoC Specific Properties:
11 - pinctrl-names: Contains only one value - "default".
12 - pintctrl-0: Specifies the pin control groups used for this controller.
13 - ese-present: Specifies that an ese is physically connected to the nfc
14 controller.
15 - uicc-present: Specifies that the uicc swp signal can be physically
16 connected to the nfc controller.
18 Example (for ARM-based BeagleBoard xM with ST21NFCB on I2C2):
20 &i2c2 {
23         st21nfcb: st21nfcb@8 {
25                 compatible = "st,st21nfcb-i2c";
27                 reg = <0x08>;
28                 clock-frequency = <400000>;
30                 interrupt-parent = <&gpio5>;
31                 interrupts = <2 IRQ_TYPE_LEVEL_HIGH>;
33                 reset-gpios = <&gpio5 29 GPIO_ACTIVE_HIGH>;
35                 ese-present;
36                 uicc-present;
37         };