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