diff --git a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-wifi.dts b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-wifi.dts index e4f47431e5..f92c289738 100644 --- a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-wifi.dts +++ b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-wifi.dts @@ -15,6 +15,10 @@ aliases { label-mac-device = &gmac0; + led-boot = &led0_blue; + led-failsafe = &led0_red; + led-running = &led0_blue; + led-upgrade = &led0_red; }; chosen { @@ -255,12 +259,13 @@ clock-mode = /bits/ 8 <1>; #if 1 - led@0 { + led0_red: led@0 { reg = <0>; chan-name = "LED0_Red"; led-cur = /bits/ 8 <0x64>; max-cur = /bits/ 8 <0x78>; color = ; + function = LED_FUNCTION_FAULT; }; led@1 { @@ -271,12 +276,13 @@ color = ; }; - led@2 { + led0_blue: led@2 { reg = <2>; chan-name = "LED0_Blue"; led-cur = /bits/ 8 <0x64>; max-cur = /bits/ 8 <0x78>; color = ; + function = LED_FUNCTION_POWER; }; #else /* @@ -285,6 +291,7 @@ * # echo 255 > /sys/class/leds/tricolor/brightness */ multi-led@2 { + function = LED_FUNCTION_POWER; reg = <2>; color = ; #address-cells = <1>;