1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/leds/leds-pwm-multicolor.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Multi-color LEDs connected to PWM
10 - Sven Schwermer <sven.schwermer@disruptive-technologies.com>
13 This driver combines several monochrome PWM LEDs into one multi-color
14 LED using the multicolor LED class.
18 const: pwm-leds-multicolor
22 $ref: leds-class-multicolor.yaml#
23 unevaluatedProperties: false
28 Maximum brightness possible for the LED
29 $ref: /schemas/types.yaml#/definitions/uint32
36 additionalProperties: false
55 additionalProperties: false
59 #include <dt-bindings/leds/common.h>
62 compatible = "pwm-leds-multicolor";
65 color = <LED_COLOR_ID_RGB>;
66 function = LED_FUNCTION_INDICATOR;
67 max-brightness = <65535>;
70 pwms = <&pwm1 0 1000000>;
71 color = <LED_COLOR_ID_RED>;
75 pwms = <&pwm2 0 1000000>;
76 color = <LED_COLOR_ID_GREEN>;
80 pwms = <&pwm3 0 1000000>;
81 color = <LED_COLOR_ID_BLUE>;