From e5cadabb58808a0a65ca4a7530befc176b085646 Mon Sep 17 00:00:00 2001 From: Jonas Gorski Date: Sat, 12 Jul 2014 12:31:39 +0000 Subject: brcm63xx: Fix HW553 support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 Signed-off-by: Jonas Gorski SVN-Revision: 41588 --- target/linux/brcm63xx/base-files/etc/uci-defaults/01_leds | 5 +++++ target/linux/brcm63xx/base-files/etc/uci-defaults/02_network | 2 +- target/linux/brcm63xx/base-files/lib/brcm63xx.sh | 5 +++++ 3 files changed, 11 insertions(+), 1 deletion(-) (limited to 'target/linux/brcm63xx/base-files') 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 ae7ed96..fb26cfb 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 f091523..ffd2a1e 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 a01606a..97998a1 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" -- cgit v1.1