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