--- a/arch/arm64/boot/dts/rockchip/rk3328-rock-pi-e.dts +++ b/arch/arm64/boot/dts/rockchip/rk3328-rock-pi-e.dts @@ -25,6 +25,10 @@ ethernet1 = &gmac2phy; mmc0 = &sdmmc; mmc1 = &emmc; + led-boot = &led_blue; + led-failsafe = &led_blue; + led-running = &led_blue; + led-upgrade = &led_blue; }; chosen { @@ -57,10 +61,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"; }; };