From: Guido Günther Date: Sun, 9 Oct 2022 12:26:55 +0000 (+0200) Subject: arm64: dts: librem5-devkit: Use function and color rather than label X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=822b29e3b2c37fc74cc38e928bb7b87faa2528a5;p=linux.git 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 Signed-off-by: Shawn Guo --- diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts b/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts index 7e4b6d65fd894..4c8904fba1c15 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts +++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts @@ -7,6 +7,7 @@ #include "dt-bindings/input/input.h" #include +#include #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 = ; max-brightness = <248>; pwms = <&pwm2 0 50000 0>; };