[PATCH 2/2] arm64: dts: meson-gxbb-odroidc2: use color and function for the status LED
Fil Dunsky via B4 Relay
devnull+filipp.dunsky.gmail.com at kernel.org
Sun Oct 11 10:17:22 PDT 2026
From: Fil Dunsky <filipp.dunsky at gmail.com>
Replace the legacy label on the blue status LED with the standard
color and function properties, following what the other Amlogic boards
already do. The LED then shows up with a generic blue:status name
instead of the board-specific c2:blue:alive.
Signed-off-by: Fil Dunsky <filipp.dunsky at gmail.com>
---
arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts
index 639b97ad5..5f0cd2a71 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts
@@ -9,6 +9,7 @@
#include "meson-gxbb.dtsi"
#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/leds/common.h>
#include <dt-bindings/sound/meson-aiu.h>
/ {
@@ -51,7 +52,8 @@ usb_otg_pwr: regulator-usb-pwrs {
leds {
compatible = "gpio-leds";
led-blue {
- label = "c2:blue:alive";
+ color = <LED_COLOR_ID_BLUE>;
+ function = LED_FUNCTION_STATUS;
gpios = <&gpio_ao GPIOAO_13 GPIO_ACTIVE_LOW>;
linux,default-trigger = "heartbeat";
default-state = "off";
--
2.53.0
More information about the linux-amlogic
mailing list