--- a/arch/arm64/boot/dts/rockchip/rk3328-rock-pi-e.dts +++ b/arch/arm64/boot/dts/rockchip/rk3328-rock-pi-e.dts @@ -23,6 +23,10 @@ aliases { mmc0 = &sdmmc; mmc1 = &emmc; + led-boot = &led_blue; + led-failsafe = &led_blue; + led-running = &led_blue; + led-upgrade = &led_blue; }; chosen { @@ -55,10 +59,11 @@ pinctrl-0 = <&led_pin>; pinctrl-names = "default"; - led-0 { + led_blue: led-0 { color = ; + default-state = "on"; + function = LED_FUNCTION_HEARTBEAT; gpios = <&gpio3 RK_PA5 GPIO_ACTIVE_LOW>; - linux,default-trigger = "heartbeat"; }; };