From: Robert Marko Date: Thu, 11 Jul 2024 13:16:27 +0000 (+0200) Subject: mvebu: rb5009: wire SFP led by default X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d40f9ad48f49b445acd3af3b967a4d5802b48cea;p=openwrt%2Fstaging%2Fansuel.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 b958c2fdab..2d18587a62 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