realtek: Zyxel GS1900-8: define port LEDs
authorSander Vanheule <sander@svanheule.net>
Sat, 16 Jul 2022 16:48:34 +0000 (18:48 +0200)
committerSander Vanheule <sander@svanheule.net>
Sat, 16 Jul 2022 19:29:51 +0000 (21:29 +0200)
commitffdc4e659d2ac5f7156f492f518d9c3546674a55
tree8db43a642961408de1fc266be4418b0a288f3fac
parentdf408e610e24a912ea627e60ed8a3c1764c33cc4
realtek: Zyxel GS1900-8: define port LEDs

Add all port LEDs to the device tree for the GS1900-8. To reproduce the
same behaviour as stock firmware, the LEDs need to light up on all
link speeds, and blink on link activity:

    echo 1f > /sys/class/leds/lan?/rtl_hw_trigger
    echo realtek-switchport > /sys/class/leds/lan?/trigger

Signed-off-by: Sander Vanheule <sander@svanheule.net>
target/linux/realtek/dts-5.10/rtl8380_zyxel_gs1900-8.dts