From: Robert Marko Date: Thu, 11 Jul 2024 13:16:27 +0000 (+0200) Subject: mvebu: rb5009: wire SFP led by default X-Git-Tag: v24.10.0-rc1~1226 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F15927%2Fhead;p=thirdparty%2Fopenwrt.git mvebu: rb5009: wire SFP led by default 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 --- diff --git a/target/linux/mvebu/cortexa72/base-files/etc/board.d/01_leds b/target/linux/mvebu/cortexa72/base-files/etc/board.d/01_leds index b958c2fdab2..2d18587a624 100644 --- a/target/linux/mvebu/cortexa72/base-files/etc/board.d/01_leds +++ b/target/linux/mvebu/cortexa72/base-files/etc/board.d/01_leds @@ -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