1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/leds/irled/gpio-ir-tx.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: IR LED connected through GPIO pin
8
9maintainers:
10  - Sean Young <sean@mess.org>
11
12description:
13  IR LED connected through GPIO pin which is used as remote controller
14  transmitter.
15
16properties:
17  compatible:
18    const: gpio-ir-tx
19
20  gpios:
21    maxItems: 1
22
23required:
24  - compatible
25  - gpios
26
27additionalProperties: false
28
29examples:
30  - |
31    #include <dt-bindings/gpio/gpio.h>
32
33    irled {
34        compatible = "gpio-ir-tx";
35        gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
36    };
37