1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
4 $id: http://devicetree.org/schemas/net/nfc/samsung,s3fwrn5.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Samsung S3FWRN5 NCI NFC Controller
10 - Krzysztof Kozlowski <krzk@kernel.org>
11 - Krzysztof Opasiak <k.opasiak@samsung.com>
22 Output GPIO pin used for enabling/disabling the chip
33 Output GPIO pin used to enter firmware mode and sleep/wakeup control
47 additionalProperties: false
59 const: samsung,s3fwrn5-i2c
67 #include <dt-bindings/gpio/gpio.h>
68 #include <dt-bindings/interrupt-controller/irq.h>
75 compatible = "samsung,s3fwrn5-i2c";
78 interrupt-parent = <&gpa1>;
79 interrupts = <3 IRQ_TYPE_EDGE_RISING>;
81 en-gpios = <&gpf1 4 GPIO_ACTIVE_HIGH>;
82 wake-gpios = <&gpj0 2 GPIO_ACTIVE_HIGH>;
85 # UART example on Raspberry Pi
91 compatible = "samsung,s3fwrn82";
93 en-gpios = <&gpio 20 GPIO_ACTIVE_HIGH>;
94 wake-gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;