Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1* STMicroelectronics SAS. ST NCI NFC Controller
2
3Required properties:
4- compatible: Should be "st,st21nfcb-spi"
5- spi-max-frequency: Maximum SPI frequency (<= 4000000).
6- interrupt-parent: phandle for the interrupt gpio controller
7- interrupts: GPIO interrupt to which the chip is connected
8- reset-gpios: Output GPIO pin used to reset the ST21NFCB
9
10Optional 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
14controller.
15- uicc-present: Specifies that the uicc swp signal can be physically
16connected to the nfc controller.
17
18Example (for ARM-based BeagleBoard xM with ST21NFCB on SPI4):
19
20&mcspi4 {
21
22
23 st21nfcb: st21nfcb@0 {
24
25 compatible = "st,st21nfcb-spi";
26
27 clock-frequency = <4000000>;
28
29 interrupt-parent = <&gpio5>;
30 interrupts = <2 IRQ_TYPE_EDGE_RISING>;
31
32 reset-gpios = <&gpio5 29 GPIO_ACTIVE_HIGH>;
33
34 ese-present;
35 uicc-present;
36 };
37};