[PATCH 1/3] arm64: dts: rockchip: fix LED colors on yy3588
Daniele Briguglio
hello at superkali.me
Wed Dec 2 01:21:09 PST 2026
The two user LEDs are a red/green pair. The schematic is misleading
here: it names the status LED net LED_BLUE, but the fitted part has no
blue LED, and that label is where the blue color came from. The
heartbeat LED had no color at all.
On the board, the heartbeat LED on GPIO1_D7 is red and the status LED
on GPIO1_D6 is green, so describe them that way. This changes their
sysfs names from blue:status and :heartbeat to green:status and
red:heartbeat.
Fixes: 66f407e2c3b9 ("arm64: dts: rockchip: Add Youyeetoo YY3588")
Signed-off-by: Daniele Briguglio <hello at superkali.me>
---
arch/arm64/boot/dts/rockchip/rk3588-youyeetoo-yy3588.dts | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/rockchip/rk3588-youyeetoo-yy3588.dts b/arch/arm64/boot/dts/rockchip/rk3588-youyeetoo-yy3588.dts
index 3f20fa08e1bd..dd1f78a4a3e7 100644
--- a/arch/arm64/boot/dts/rockchip/rk3588-youyeetoo-yy3588.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3588-youyeetoo-yy3588.dts
@@ -97,12 +97,13 @@ leds {
pinctrl-0 = <&led_pins>;
led-0 {
- color = <LED_COLOR_ID_BLUE>;
+ color = <LED_COLOR_ID_GREEN>;
function = LED_FUNCTION_STATUS;
gpios = <&gpio1 RK_PD6 GPIO_ACTIVE_HIGH>;
};
led-1 {
+ color = <LED_COLOR_ID_RED>;
function = LED_FUNCTION_HEARTBEAT;
gpios = <&gpio1 RK_PD7 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "heartbeat";
--
2.47.3
More information about the linux-arm-kernel
mailing list