Browse Source

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 <[email protected]>
Robert Marko 1 year ago
parent
commit
d40f9ad48f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      target/linux/mvebu/cortexa72/base-files/etc/board.d/01_leds

+ 1 - 0
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