diff options
author | David Yang <mmyangfl@gmail.com> | 2021-07-11 23:17:43 +0800 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2021-08-25 01:42:17 +0200 |
commit | 38cb5005166dd49fb3d69ba68a905b97cc23f6a3 (patch) | |
tree | 761200efc5898facb71f994e06eaea7daa8a5e2a /target/linux/ramips/mt7620 | |
parent | 5ed11012e7d990a11256917a5112f528cb983c89 (diff) | |
download | upstream-38cb5005166dd49fb3d69ba68a905b97cc23f6a3.tar.gz upstream-38cb5005166dd49fb3d69ba68a905b97cc23f6a3.tar.bz2 upstream-38cb5005166dd49fb3d69ba68a905b97cc23f6a3.zip |
ramips: expose ephy leds for miwifi-mini
Give users more control by exposing ephy leds.
Signed-off-by: David Yang <mmyangfl@gmail.com>
[remove execute bit on 01_leds, add status for gpio2]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ramips/mt7620')
-rw-r--r-- | target/linux/ramips/mt7620/base-files/etc/board.d/01_leds | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ramips/mt7620/base-files/etc/board.d/01_leds b/target/linux/ramips/mt7620/base-files/etc/board.d/01_leds index 5c104b98c2..ff3a5c8c0c 100644 --- a/target/linux/ramips/mt7620/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/mt7620/base-files/etc/board.d/01_leds @@ -207,6 +207,11 @@ wavlink,wl-wn579x3) ucidef_set_led_switch "lan" "lan" "blue:lan" "switch0" "0x20" ucidef_set_led_switch "wan" "wan" "blue:wan" "switch0" "0x10" ;; +xiaomi,miwifi-mini) + ucidef_set_led_switch "lan1" "lan1" "green:lan1" "switch0" "0x02" + ucidef_set_led_switch "lan2" "lan2" "green:lan2" "switch0" "0x01" + ucidef_set_led_switch "wan" "wan" "green:wan" "switch0" "0x10" + ;; zbtlink,zbt-ape522ii) ucidef_set_led_netdev "wlan2g4" "wlan1-link" "green:wlan2g4" "wlan1" ucidef_set_led_netdev "sys1" "wlan1" "green:sys1" "wlan1" "tx rx" |