1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/leds/leds-aw2013.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: AWINIC AW2013 3-channel LED Driver
10 - Nikita Travkin <nikitos.tr@gmail.com>
13 The AW2013 is a 3-channel LED driver with I2C interface. It can control
14 LED brightness with PWM output.
24 description: Regulator providing power to the "VCC" pin.
36 unevaluatedProperties: false
40 description: Index of the LED.
50 additionalProperties: false
54 #include <dt-bindings/gpio/gpio.h>
55 #include <dt-bindings/leds/common.h>
62 compatible = "awinic,aw2013";
67 vcc-supply = <&pm8916_l17>;
71 led-max-microamp = <5000>;
72 function = LED_FUNCTION_INDICATOR;
73 color = <LED_COLOR_ID_RED>;
78 led-max-microamp = <5000>;
79 function = LED_FUNCTION_INDICATOR;
80 color = <LED_COLOR_ID_GREEN>;
85 led-max-microamp = <5000>;
86 function = LED_FUNCTION_INDICATOR;
87 color = <LED_COLOR_ID_BLUE>;