xref: /freebsd/sys/contrib/device-tree/Bindings/net/nfc/st95hf.txt (revision 02e9120893770924227138ba49df1edb3896112a)
1* STMicroelectronics : NFC Transceiver ST95HF
2
3ST NFC Transceiver is required to attach with SPI bus.
4ST95HF node should be defined in DT as SPI slave device of SPI
5master with which ST95HF transceiver is physically connected.
6The properties defined below are required to be the part of DT
7to include ST95HF transceiver into the platform.
8
9Required properties:
10===================
11- reg: Address of SPI slave "ST95HF transceiver" on SPI master bus.
12
13- compatible: should be "st,st95hf" for ST95HF NFC transceiver
14
15- spi-max-frequency: Max. operating SPI frequency for ST95HF
16	transceiver.
17
18- enable-gpio: GPIO line to enable ST95HF transceiver.
19
20- interrupts : Standard way to define ST95HF transceiver's out
21	interrupt.
22
23Optional property:
24=================
25- st95hfvin-supply : This is an optional property. It contains a
26	phandle to ST95HF transceiver's regulator supply node in DT.
27
28Example:
29=======
30spi@9840000 {
31	reg = <0x9840000 0x110>;
32	#address-cells = <1>;
33	#size-cells = <0>;
34	cs-gpios = <&pio0 4>;
35
36	st95hf@0{
37		reg = <0>;
38		compatible = "st,st95hf";
39		spi-max-frequency = <1000000>;
40		enable-gpio = <&pio4 0>;
41		interrupt-parent = <&pio0>;
42		interrupts = <7 IRQ_TYPE_EDGE_FALLING>;
43	};
44
45};
46