mvebu: rb5009: wire SFP led by default
authorRobert Marko <robimarko@gmail.com>
Thu, 11 Jul 2024 13:16:27 +0000 (15:16 +0200)
committerRobert Marko <robimarko@gmail.com>
Fri, 12 Jul 2024 07:51:46 +0000 (09:51 +0200)
There is no reason not to wire up the default netdev trigger for the SFP
LED since we have a separate SFP interface visible.

Link: https://github.com/openwrt/openwrt/pull/15927
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/mvebu/cortexa72/base-files/etc/board.d/01_leds

index b958c2fdab28037bb7aace97b33ef25d1158f025..2d18587a62495061a73e1863e7fe83f73f783e7d 100644 (file)
@@ -14,6 +14,7 @@ iei,puzzle-m902)
        ucidef_set_led_netdev "wan" "WAN" "white:network" "eth2" "link"
        ;;
 mikrotik,rb5009)
+       ucidef_set_led_netdev "sfp" "SFP" "green:sfp" "sfp"
        ucidef_set_led_netdev "wan-port-link" "WAN-PORT-LINK" "!cp0!config-space@f2000000!mdio@12a200!switch@0!mdio1:00:green:" "p1" "tx rx link_10 link_100 link_1000 link_2500"
        ;;
 esac