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