arm64: dts: librem5-devkit: Use function and color rather than label

Use predefined colors and function rather than making up a random label.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
Guido Günther
2022-10-29 09:15:20 +08:00
committed by Shawn Guo
parent 29ecef8ece
commit 822b29e3b2
@@ -7,6 +7,7 @@
#include "dt-bindings/input/input.h"
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/leds/common.h>
#include "dt-bindings/pwm/pwm.h"
#include "dt-bindings/usb/pd.h"
#include "imx8mq.dtsi"
@@ -64,7 +65,8 @@
compatible = "pwm-leds";
led1 {
label = "LED 1";
function = LED_FUNCTION_STATUS;
color = <LED_COLOR_ID_RED>;
max-brightness = <248>;
pwms = <&pwm2 0 50000 0>;
};