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