aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorDENG Qingfang <dengqf6@mail2.sysu.edu.cn>2019-07-23 20:12:37 +0800
committerChuanhong Guo <gch981213@gmail.com>2019-08-08 21:02:03 +0800
commit9852859e772edf288749038ad62f0cc6ef1b6049 (patch)
tree014bd653a92e4579506d488a62a7e286836ab5bc /target/linux/ramips/base-files
parent521fcd0e8b12d0b35a727538a6b0e0280cde7b9b (diff)
downloadupstream-9852859e772edf288749038ad62f0cc6ef1b6049.tar.gz
upstream-9852859e772edf288749038ad62f0cc6ef1b6049.tar.bz2
upstream-9852859e772edf288749038ad62f0cc6ef1b6049.zip
ramips: improve support for HiWiFi HC5661A and HC5861B
HC5661A: - Fix pinctrl - Fix image size (15808k) - Use switch trigger for WAN LED Both: - Use tpt LED trigger for wireless - Explicitly disable USB nodes Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/01_leds13
1 files changed, 6 insertions, 7 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds
index 57f09396ac..4b72156621 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -78,8 +78,7 @@ asus,rt-n14u)
ucidef_set_led_netdev "wan" "wan" "$boardname:blue:wan" eth0.2
set_wifi_led "$boardname:blue:air"
;;
-bdcom,wap2100-sk|\
-hiwifi,hc5861b)
+bdcom,wap2100-sk)
set_wifi_led "$boardname:green:wlan2g"
;;
belkin,f9k1109v1)
@@ -204,11 +203,14 @@ gnubee,gb-pc2)
hauppauge,broadway)
set_wifi_led "$boardname:red:wps_active"
;;
-hiwifi,hc5661|\
-hiwifi,hc5661a)
+hiwifi,hc5661)
ucidef_set_led_netdev "internet" "internet" "$boardname:blue:internet" "eth0.2"
set_wifi_led "$boardname:blue:wlan2g"
;;
+hiwifi,hc5661a|\
+xzwifi,creativebox-v1)
+ ucidef_set_led_switch "internet" "internet" "$boardname:blue:internet" "switch0" "0x10"
+ ;;
hiwifi,hc5761|\
hiwifi,hc5861)
ucidef_set_led_netdev "internet" "internet" "$boardname:blue:internet" "eth0.2"
@@ -426,9 +428,6 @@ xiaomi,mir3p)
ucidef_set_led_switch "lan2-amber" "LAN2 (amber)" "$boardname:amber:lan2" "switch0" "0x04" "0x08"
ucidef_set_led_switch "lan3-amber" "LAN3 (amber)" "$boardname:amber:lan3" "switch0" "0x08" "0x08"
;;
-xzwifi,creativebox-v1)
- ucidef_set_led_switch "internet" "internet" "$boardname:blue:internet" "switch0" "0x10"
- ;;
youhua,wr1200js)
ucidef_set_led_switch "internet" "INTERNET" "$boardname:green:wan" "switch0" "0x01"
;;