aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/base-files/etc
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2014-07-12 12:31:39 +0000
committerJonas Gorski <jogo@openwrt.org>2014-07-12 12:31:39 +0000
commit2f3d81bb2321a19df0ec35ff48663ed2a27031d3 (patch)
treefad5056378135ab984140dda72247106e0f115a6 /target/linux/brcm63xx/base-files/etc
parent2a2e220324036971db8bbff0d9afe5a66e4bf00b (diff)
downloadupstream-2f3d81bb2321a19df0ec35ff48663ed2a27031d3.tar.gz
upstream-2f3d81bb2321a19df0ec35ff48663ed2a27031d3.tar.bz2
upstream-2f3d81bb2321a19df0ec35ff48663ed2a27031d3.zip
brcm63xx: Fix HW553 support
- adsl and lan leds are swapped. - internetkey is labeled as hspa. - enable status led and reset button for failsafe. - use new leds script. - fix switch configuration. - remove enet0 from board_info. - add profile. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41588 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/base-files/etc')
-rw-r--r--target/linux/brcm63xx/base-files/etc/uci-defaults/01_leds5
-rwxr-xr-xtarget/linux/brcm63xx/base-files/etc/uci-defaults/02_network2
2 files changed, 6 insertions, 1 deletions
diff --git a/target/linux/brcm63xx/base-files/etc/uci-defaults/01_leds b/target/linux/brcm63xx/base-files/etc/uci-defaults/01_leds
index ae7ed96093..fb26cfba2b 100644
--- a/target/linux/brcm63xx/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/brcm63xx/base-files/etc/uci-defaults/01_leds
@@ -14,6 +14,11 @@ case "$board_name" in
'F@ST2704V2')
ucidef_set_led_usbdev "usb" "USB" "F@ST2704V2:green:usb" "1-1"
;;
+HW553)
+ ucidef_set_led_netdev "lan" "LAN" "HW553:blue:lan" "eth0"
+ ucidef_set_led_usbdev "usb1" "USB1" "HW553:red:hspa" "1-1"
+ ucidef_set_led_usbdev "usb2" "USB2" "HW553:blue:hspa" "1-2"
+ ;;
esac
ucidef_commit_leds
diff --git a/target/linux/brcm63xx/base-files/etc/uci-defaults/02_network b/target/linux/brcm63xx/base-files/etc/uci-defaults/02_network
index f091523c93..ffd2a1eead 100755
--- a/target/linux/brcm63xx/base-files/etc/uci-defaults/02_network
+++ b/target/linux/brcm63xx/base-files/etc/uci-defaults/02_network
@@ -52,7 +52,6 @@ AGPF-S0 |\
DV201AMR |\
DWV-S0 |\
"F@ST2404" |\
-HW553 |\
MAGIC |\
RTA1025W_16 |\
V2500V_BB)
@@ -63,6 +62,7 @@ V2500V_BB)
AW4139 |\
AW4339U |\
+HW553 |\
HW556*)
ucidef_set_interface_lan "eth0.1"
ucidef_add_switch "eth0" "1" "1"