mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-01-28 03:37:17 +01:00
rockchip: configure WAN port LED of Radxa E20C
The WAN(eth1) port LED on the Radxa E20C is completely off.
Since the r8169 driver supports configuring LEDs, using it.
Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
(cherry picked from commit dccfc10957)
This commit is contained in:
parent
1b107a3c33
commit
ee7acbc0ed
1 changed files with 7 additions and 2 deletions
|
|
@ -35,11 +35,16 @@ friendlyarm,nanopi-r6s)
|
|||
ucidef_set_led_netdev "lan1" "LAN1" "green:lan-1" "eth2"
|
||||
ucidef_set_led_netdev "lan2" "LAN2" "green:lan-2" "eth0"
|
||||
;;
|
||||
friendlyarm,nanopi-r76s|\
|
||||
radxa,e20c)
|
||||
friendlyarm,nanopi-r76s)
|
||||
ucidef_set_led_netdev "wan" "WAN" "green:wan" "eth1"
|
||||
ucidef_set_led_netdev "lan" "LAN" "green:lan" "eth0"
|
||||
;;
|
||||
radxa,e20c)
|
||||
ucidef_set_led_netdev "lan" "LAN" "green:lan" "eth0"
|
||||
ucidef_set_led_netdev "wan" "WAN" "green:wan" "eth1"
|
||||
ucidef_set_led_netdev "wan-0" "WAN-0" "eth1-0::lan" "eth1" "link_100"
|
||||
ucidef_set_led_netdev "wan-1" "WAN-1" "eth1-1::lan" "eth1" "link_1000"
|
||||
;;
|
||||
radxa,e52c)
|
||||
ucidef_set_led_netdev "wan" "WAN" "green:wan" "wan"
|
||||
ucidef_set_led_netdev "lan" "LAN" "green:lan" "lan"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue