aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/base-files
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
commite5cadabb58808a0a65ca4a7530befc176b085646 (patch)
tree66deec2229fc027ca0dcf8e5987eb04ba5815783 /target/linux/brcm63xx/base-files
parentbeb25f96eb444b5770008959f3247a50225a16db (diff)
downloadupstream-e5cadabb58808a0a65ca4a7530befc176b085646.tar.gz
upstream-e5cadabb58808a0a65ca4a7530befc176b085646.tar.bz2
upstream-e5cadabb58808a0a65ca4a7530befc176b085646.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> SVN-Revision: 41588
Diffstat (limited to 'target/linux/brcm63xx/base-files')
-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
-rwxr-xr-xtarget/linux/brcm63xx/base-files/lib/brcm63xx.sh5
3 files changed, 11 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"
diff --git a/target/linux/brcm63xx/base-files/lib/brcm63xx.sh b/target/linux/brcm63xx/base-files/lib/brcm63xx.sh
index a01606a7a0..97998a10ae 100755
--- a/target/linux/brcm63xx/base-files/lib/brcm63xx.sh
+++ b/target/linux/brcm63xx/base-files/lib/brcm63xx.sh
@@ -80,6 +80,11 @@ brcm63xx_detect() {
brcm63xx_has_reset_button="true"
ifname=eth1
;;
+ HW553)
+ status_led="HW553:blue:power"
+ brcm63xx_has_reset_button="true"
+ ifname=eth0
+ ;;
HW556*)
status_led="HW556:red:power"
brcm63xx_has_reset_button="true"