xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/net/nfc/st-nci-i2c.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun* STMicroelectronics SAS. ST NCI NFC Controller
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun- compatible: Should be "st,st21nfcb-i2c" or "st,st21nfcc-i2c".
5*4882a593Smuzhiyun- clock-frequency: I²C work frequency.
6*4882a593Smuzhiyun- reg: address on the bus
7*4882a593Smuzhiyun- interrupts: GPIO interrupt to which the chip is connected
8*4882a593Smuzhiyun- reset-gpios: Output GPIO pin used to reset the ST21NFCB
9*4882a593Smuzhiyun
10*4882a593SmuzhiyunOptional SoC Specific Properties:
11*4882a593Smuzhiyun- pinctrl-names: Contains only one value - "default".
12*4882a593Smuzhiyun- pintctrl-0: Specifies the pin control groups used for this controller.
13*4882a593Smuzhiyun- ese-present: Specifies that an ese is physically connected to the nfc
14*4882a593Smuzhiyuncontroller.
15*4882a593Smuzhiyun- uicc-present: Specifies that the uicc swp signal can be physically
16*4882a593Smuzhiyunconnected to the nfc controller.
17*4882a593Smuzhiyun
18*4882a593SmuzhiyunExample (for ARM-based BeagleBoard xM with ST21NFCB on I2C2):
19*4882a593Smuzhiyun
20*4882a593Smuzhiyun&i2c2 {
21*4882a593Smuzhiyun
22*4882a593Smuzhiyun
23*4882a593Smuzhiyun	st21nfcb: st21nfcb@8 {
24*4882a593Smuzhiyun
25*4882a593Smuzhiyun		compatible = "st,st21nfcb-i2c";
26*4882a593Smuzhiyun
27*4882a593Smuzhiyun		reg = <0x08>;
28*4882a593Smuzhiyun		clock-frequency = <400000>;
29*4882a593Smuzhiyun
30*4882a593Smuzhiyun		interrupt-parent = <&gpio5>;
31*4882a593Smuzhiyun		interrupts = <2 IRQ_TYPE_LEVEL_HIGH>;
32*4882a593Smuzhiyun
33*4882a593Smuzhiyun		reset-gpios = <&gpio5 29 GPIO_ACTIVE_HIGH>;
34*4882a593Smuzhiyun
35*4882a593Smuzhiyun		ese-present;
36*4882a593Smuzhiyun		uicc-present;
37*4882a593Smuzhiyun	};
38*4882a593Smuzhiyun};
39