xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/net/nfc/st-nci-spi.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun* STMicroelectronics SAS. ST NCI NFC Controller
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun- compatible: Should be "st,st21nfcb-spi"
5*4882a593Smuzhiyun- spi-max-frequency: Maximum SPI frequency (<= 4000000).
6*4882a593Smuzhiyun- interrupts: GPIO interrupt to which the chip is connected
7*4882a593Smuzhiyun- reset-gpios: Output GPIO pin used to reset the ST21NFCB
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 ST21NFCB on SPI4):
18*4882a593Smuzhiyun
19*4882a593Smuzhiyun&mcspi4 {
20*4882a593Smuzhiyun
21*4882a593Smuzhiyun
22*4882a593Smuzhiyun	st21nfcb: st21nfcb@0 {
23*4882a593Smuzhiyun
24*4882a593Smuzhiyun		compatible = "st,st21nfcb-spi";
25*4882a593Smuzhiyun
26*4882a593Smuzhiyun		clock-frequency = <4000000>;
27*4882a593Smuzhiyun
28*4882a593Smuzhiyun		interrupt-parent = <&gpio5>;
29*4882a593Smuzhiyun		interrupts = <2 IRQ_TYPE_EDGE_RISING>;
30*4882a593Smuzhiyun
31*4882a593Smuzhiyun		reset-gpios = <&gpio5 29 GPIO_ACTIVE_HIGH>;
32*4882a593Smuzhiyun
33*4882a593Smuzhiyun		ese-present;
34*4882a593Smuzhiyun		uicc-present;
35*4882a593Smuzhiyun	};
36*4882a593Smuzhiyun};
37