Commit 822b29e3 authored by Guido Günther's avatar Guido Günther Committed by Shawn Guo

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: default avatarGuido Günther <agx@sigxcpu.org>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 29ecef8e
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
#include "dt-bindings/input/input.h" #include "dt-bindings/input/input.h"
#include <dt-bindings/interrupt-controller/irq.h> #include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/leds/common.h>
#include "dt-bindings/pwm/pwm.h" #include "dt-bindings/pwm/pwm.h"
#include "dt-bindings/usb/pd.h" #include "dt-bindings/usb/pd.h"
#include "imx8mq.dtsi" #include "imx8mq.dtsi"
...@@ -64,7 +65,8 @@ leds { ...@@ -64,7 +65,8 @@ leds {
compatible = "pwm-leds"; compatible = "pwm-leds";
led1 { led1 {
label = "LED 1"; function = LED_FUNCTION_STATUS;
color = <LED_COLOR_ID_RED>;
max-brightness = <248>; max-brightness = <248>;
pwms = <&pwm2 0 50000 0>; pwms = <&pwm2 0 50000 0>;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment