1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/net/nfc/samsung,s3fwrn5.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Samsung S3FWRN5 NCI NFC Controller 8 9maintainers: 10 - Krzysztof Kozlowski <krzk@kernel.org> 11 - Krzysztof Opasiak <k.opasiak@samsung.com> 12 13properties: 14 compatible: 15 const: samsung,s3fwrn5-i2c 16 17 interrupts: 18 maxItems: 1 19 20 reg: 21 maxItems: 1 22 23 s3fwrn5,en-gpios: 24 maxItems: 1 25 description: 26 Output GPIO pin used for enabling/disabling the chip 27 28 s3fwrn5,fw-gpios: 29 maxItems: 1 30 description: 31 Output GPIO pin used to enter firmware mode and sleep/wakeup control 32 33additionalProperties: false 34 35required: 36 - compatible 37 - interrupts 38 - reg 39 - s3fwrn5,en-gpios 40 - s3fwrn5,fw-gpios 41 42examples: 43 - | 44 #include <dt-bindings/gpio/gpio.h> 45 #include <dt-bindings/interrupt-controller/irq.h> 46 47 i2c4 { 48 #address-cells = <1>; 49 #size-cells = <0>; 50 51 s3fwrn5@27 { 52 compatible = "samsung,s3fwrn5-i2c"; 53 reg = <0x27>; 54 55 interrupt-parent = <&gpa1>; 56 interrupts = <3 IRQ_TYPE_LEVEL_HIGH>; 57 58 s3fwrn5,en-gpios = <&gpf1 4 GPIO_ACTIVE_HIGH>; 59 s3fwrn5,fw-gpios = <&gpj0 2 GPIO_ACTIVE_HIGH>; 60 }; 61 }; 62