mediatek: GL-MT6000: Add missing LED state definitions
authorHannu Nyman <hannu.nyman@iki.fi>
Sat, 6 Jan 2024 17:59:13 +0000 (19:59 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 8 Jan 2024 23:03:07 +0000 (00:03 +0100)
commit5a82bb909bf16786b85508d2e974ddf0a14bb10c
tree3395ee1b8c0286437a2af27778ff8a58f99408f0
parentc7c2257f8289ba278a6baffb6fea945b4ad47344
mediatek: GL-MT6000: Add missing LED state definitions

Adjust LED names and provide the OpenWrt status indicator aliases
to actually use LEDs by the OpenWrt boot & sysupgrade processes.

* Name both LEDs clearly by the color
* Add the missing OpenWrt LED status indicator aliases and
  remove the now unnecessary default status from blue LED

After this commit, the LEDs are used as:

* bootloader, really early Linux boot: blue LED is on
* preinit/failsafe: white LED blinks rapidly
* late boot: white LED blinks slowly
* boot completed, running normally: blue LED is on

* sysupgrade: white LED blinks

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
target/linux/mediatek/dts/mt7986a-glinet-gl-mt6000.dts