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-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
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 I2C2):
19
20&i2c2 {
21
22
23 st21nfcb: st21nfcb@8 {
24
25 compatible = "st,st21nfcb-i2c";
26
27 reg = <0x08>;
28 clock-frequency = <400000>;
29
30 interrupt-parent = <&gpio5>;
31 interrupts = <2 IRQ_TYPE_LEVEL_HIGH>;
32
33 reset-gpios = <&gpio5 29 GPIO_ACTIVE_HIGH>;
34
35 ese-present;
36 uicc-present;
37 };
38};