aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/mt7621
diff options
context:
space:
mode:
authorArınç ÜNAL <arinc.unal@arinc9.com>2022-09-14 21:30:59 +0300
committerHauke Mehrtens <hauke@hauke-m.de>2022-09-18 11:50:32 +0200
commit2a6ef7f53d7b96e4ee0200196c28ed6b0a7c8465 (patch)
treeec7b6ad83bd507ddf3f3bfcb2b9e5abdb36c769f /target/linux/ramips/mt7621
parentfe5a2f334f00d26aaba457f258ed1be939f1bba5 (diff)
downloadupstream-2a6ef7f53d7b96e4ee0200196c28ed6b0a7c8465.tar.gz
upstream-2a6ef7f53d7b96e4ee0200196c28ed6b0a7c8465.tar.bz2
upstream-2a6ef7f53d7b96e4ee0200196c28ed6b0a7c8465.zip
ramips: fix GB-PC1 and GB-PC2 LEDs
Add the missing LEDs for GB-PC2. Some of these LEDs don't exist on the device schematics. Tests on a GB-PC2 by me and Petr proved otherwise. Remove ethblack-green and ethblue-green LEDs for GB-PC1. They are not wired to GPIO 3 or 4 and the wiring is currently unknown. Set ethyellow-orange to display link state and activity of the ethyellow interface for GB-PC2. Link: https://github.com/ngiger/GnuBee_Docs/blob/master/GB-PCx/Documents/GB-PC2_V1.1_schematic.pdf Tested-by: Petr Louda <petr.louda@outlook.cz> Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
Diffstat (limited to 'target/linux/ramips/mt7621')
-rw-r--r--target/linux/ramips/mt7621/base-files/etc/board.d/01_leds4
1 files changed, 1 insertions, 3 deletions
diff --git a/target/linux/ramips/mt7621/base-files/etc/board.d/01_leds b/target/linux/ramips/mt7621/base-files/etc/board.d/01_leds
index 0ac67e9670..5ffa4ecb3a 100644
--- a/target/linux/ramips/mt7621/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/mt7621/base-files/etc/board.d/01_leds
@@ -67,10 +67,8 @@ dlink,dir-882-a1|\
dlink,dir-882-r1)
ucidef_set_led_netdev "wan" "wan" "green:net" "wan"
;;
-gnubee,gb-pc1|\
gnubee,gb-pc2)
- ucidef_set_led_netdev "ethblack_act" "ethblack act" "green:ethblack_act" "ethblack" "tx rx"
- ucidef_set_led_netdev "ethblue_act" "ethblue act" "green:ethblue_act" "ethblue" "tx rx"
+ ucidef_set_led_netdev "ethyellow" "ethyellow" "orange:ethyellow" "ethyellow" "link tx rx"
;;
linksys,e5600)
ucidef_set_led_netdev "wan" "wan link" "blue:wan" "wan" "link"