aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc/board.d/01_leds
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2018-11-26 13:26:06 +0100
committerMathias Kresin <dev@kresin.me>2018-11-26 15:54:22 +0100
commite4d9217fe5419364d2fe89e69c2e4f9f47fd30b6 (patch)
treee93978c5c23647a5a3a47900ee5eef0c300f5756 /target/linux/ramips/base-files/etc/board.d/01_leds
parent71ba834cf1a1c8fcbf345b7efa75de0dcba9db20 (diff)
downloadupstream-e4d9217fe5419364d2fe89e69c2e4f9f47fd30b6.tar.gz
upstream-e4d9217fe5419364d2fe89e69c2e4f9f47fd30b6.tar.bz2
upstream-e4d9217fe5419364d2fe89e69c2e4f9f47fd30b6.zip
ramips: improve BDCOM WAP2100-SK support
Use the generic board detection instead of the target specific one as all recent additions are doing. Setup the USB led via devicetree (a58535771f11) and include the required driver by default. Merge the led userspace setting with an existing identical case. Use the wps led for boot status indication. Move the partitions into a partition table node (6031ab345df8) and drop needless labels. Drop misplaced cells properties (53624c1702e6). Cleanup the pinmux and only switch pins to gpio functions which a referenced as gpio in the dts. Match the maximum image size with the size of the firmware partition. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/ramips/base-files/etc/board.d/01_leds')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/01_leds11
1 files changed, 4 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 6d4bca8029..fb288de09b 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -56,6 +56,10 @@ asl26555-16M)
ucidef_set_led_netdev "eth" "ETH" "asl26555:green:eth" "eth0"
set_wifi_led "asl26555:green:wlan"
;;
+bdcom,wap2100-sk|\
+hiwifi,hc5861b)
+ set_wifi_led "$boardname:green:wlan2g"
+ ;;
broadway)
set_wifi_led "$boardname:red:wps_active"
;;
@@ -172,9 +176,6 @@ hg255d)
set_wifi_led "$boardname:green:wlan"
ucidef_set_led_netdev "internet" "internet" "$boardname:green:internet" "eth0.2"
;;
-hiwifi,hc5861b)
- set_wifi_led "$boardname:green:wlan2g"
- ;;
hpm)
ucidef_set_led_netdev "eth" "ETH" "$boardname:green:eth" "eth0"
set_wifi_led "$boardname:green:wifi"
@@ -369,10 +370,6 @@ vocore-16M)
w502u)
set_wifi_led "rt2800pci-phy0::radio"
;;
-wap2100-sk)
- set_usb_led "$boardname:green:usb"
- set_wifi_led "$boardname:green:wlan2g"
- ;;
we1026-5g-16m)
ucidef_set_led_netdev "lan" "LAN" "we1026-5g:green:lan" "eth0"
set_wifi_led "we1026-5g:green:wifi"