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/pwm-ir-tx.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: IR LED connected through PWM pin
8
9maintainers:
10  - Sean Young <sean@mess.org>
11
12description:
13  IR LED connected through PWM pin which is used as remote controller
14  transmitter.
15
16properties:
17  compatible:
18    const: pwm-ir-tx
19
20  pwms:
21    maxItems: 1
22
23required:
24  - compatible
25  - pwms
26
27additionalProperties: false
28
29examples:
30  - |
31    irled {
32        compatible = "pwm-ir-tx";
33        pwms = <&pwm0 0 10000000>;
34    };
35