18cc087a1SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 28cc087a1SEmmanuel Vadot%YAML 1.2 38cc087a1SEmmanuel Vadot--- 48cc087a1SEmmanuel Vadot$id: http://devicetree.org/schemas/net/nfc/st,st95hf.yaml# 58cc087a1SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 68cc087a1SEmmanuel Vadot 78cc087a1SEmmanuel Vadottitle: STMicroelectronics ST95HF NFC controller 88cc087a1SEmmanuel Vadot 98cc087a1SEmmanuel Vadotmaintainers: 10c9ccf3a3SEmmanuel Vadot - Krzysztof Kozlowski <krzk@kernel.org> 118cc087a1SEmmanuel Vadot 128cc087a1SEmmanuel Vadotproperties: 138cc087a1SEmmanuel Vadot compatible: 148cc087a1SEmmanuel Vadot const: st,st95hf 158cc087a1SEmmanuel Vadot 168cc087a1SEmmanuel Vadot enable-gpio: 178cc087a1SEmmanuel Vadot description: Output GPIO pin used for enabling/disabling the controller 188cc087a1SEmmanuel Vadot 198cc087a1SEmmanuel Vadot interrupts: 208cc087a1SEmmanuel Vadot maxItems: 1 218cc087a1SEmmanuel Vadot 228cc087a1SEmmanuel Vadot reg: 238cc087a1SEmmanuel Vadot maxItems: 1 248cc087a1SEmmanuel Vadot 258cc087a1SEmmanuel Vadot st95hfvin-supply: 268cc087a1SEmmanuel Vadot description: ST95HF transceiver's Vin regulator supply 278cc087a1SEmmanuel Vadot 288cc087a1SEmmanuel Vadotrequired: 298cc087a1SEmmanuel Vadot - compatible 308cc087a1SEmmanuel Vadot - enable-gpio 318cc087a1SEmmanuel Vadot - interrupts 328cc087a1SEmmanuel Vadot - reg 338cc087a1SEmmanuel Vadot - spi-max-frequency 348cc087a1SEmmanuel Vadot 35*b97ee269SEmmanuel VadotallOf: 36*b97ee269SEmmanuel Vadot - $ref: /schemas/spi/spi-peripheral-props.yaml# 37*b97ee269SEmmanuel Vadot 38*b97ee269SEmmanuel VadotunevaluatedProperties: false 398cc087a1SEmmanuel Vadot 408cc087a1SEmmanuel Vadotexamples: 418cc087a1SEmmanuel Vadot - | 428cc087a1SEmmanuel Vadot #include <dt-bindings/gpio/gpio.h> 438cc087a1SEmmanuel Vadot #include <dt-bindings/interrupt-controller/irq.h> 448cc087a1SEmmanuel Vadot 458cc087a1SEmmanuel Vadot spi { 468cc087a1SEmmanuel Vadot #address-cells = <1>; 478cc087a1SEmmanuel Vadot #size-cells = <0>; 488cc087a1SEmmanuel Vadot 498cc087a1SEmmanuel Vadot nfc@0{ 508cc087a1SEmmanuel Vadot compatible = "st,st95hf"; 518cc087a1SEmmanuel Vadot reg = <0>; 528cc087a1SEmmanuel Vadot 538cc087a1SEmmanuel Vadot spi-max-frequency = <1000000>; 548cc087a1SEmmanuel Vadot enable-gpio = <&pio4 GPIO_ACTIVE_HIGH>; 558cc087a1SEmmanuel Vadot interrupt-parent = <&pio0>; 568cc087a1SEmmanuel Vadot interrupts = <7 IRQ_TYPE_EDGE_FALLING>; 578cc087a1SEmmanuel Vadot }; 588cc087a1SEmmanuel Vadot }; 59