Linux-libre 5.3.12-gnu
[librecmc/linux-libre.git] / Documentation / devicetree / bindings / net / nfc / st-nci-spi.txt
1 * STMicroelectronics SAS. ST NCI NFC Controller
2
3 Required properties:
4 - compatible: Should be "st,st21nfcb-spi"
5 - spi-max-frequency: Maximum SPI frequency (<= 4000000).
6 - interrupts: GPIO interrupt to which the chip is connected
7 - reset-gpios: Output GPIO pin used to reset the ST21NFCB
8
9 Optional SoC Specific Properties:
10 - pinctrl-names: Contains only one value - "default".
11 - pintctrl-0: Specifies the pin control groups used for this controller.
12 - ese-present: Specifies that an ese is physically connected to the nfc
13 controller.
14 - uicc-present: Specifies that the uicc swp signal can be physically
15 connected to the nfc controller.
16
17 Example (for ARM-based BeagleBoard xM with ST21NFCB on SPI4):
18
19 &mcspi4 {
20
21
22         st21nfcb: st21nfcb@0 {
23
24                 compatible = "st,st21nfcb-spi";
25
26                 clock-frequency = <4000000>;
27
28                 interrupt-parent = <&gpio5>;
29                 interrupts = <2 IRQ_TYPE_EDGE_RISING>;
30
31                 reset-gpios = <&gpio5 29 GPIO_ACTIVE_HIGH>;
32
33                 ese-present;
34                 uicc-present;
35         };
36 };