From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Marius Durbaca Date: Tue Feb 20 15:05:27 2024 +0200 Subject: [PATCH] arm64: dts: rockchip: Update LED properties for Radxa CM3 IO board Add OpenWrt's LED aliases for showing system status. Suggested-by: Tianling Shen Signed-off-by: Marius Durbaca --- --- a/arch/arm64/boot/dts/rockchip/rk3566-radxa-cm3-io.dts +++ b/arch/arm64/boot/dts/rockchip/rk3566-radxa-cm3-io.dts @@ -16,6 +16,10 @@ aliases { ethernet0 = &gmac1; mmc1 = &sdmmc0; + led-boot = &status_led; + led-failsafe = &status_led; + led-running = &status_led; + led-upgrade = &status_led; }; chosen: chosen { --- a/arch/arm64/boot/dts/rockchip/rk3566-radxa-cm3.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3566-radxa-cm3.dtsi @@ -17,7 +17,7 @@ leds { compatible = "gpio-leds"; - led-0 { + status_led: led-0 { gpios = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>; color = ; function = LED_FUNCTION_STATUS;