aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/base-files
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2014-07-27 17:44:59 +0000
committerJonas Gorski <jogo@openwrt.org>2014-07-27 17:44:59 +0000
commit1cb1041c55509b804d283d743757c5be462708d5 (patch)
tree0f603ca7edb560f06610abf4997241f475e9fcba /target/linux/brcm63xx/base-files
parent3209fb968e4a9b9febd08a01ab8f6f75de6922e5 (diff)
downloadupstream-1cb1041c55509b804d283d743757c5be462708d5.tar.gz
upstream-1cb1041c55509b804d283d743757c5be462708d5.tar.bz2
upstream-1cb1041c55509b804d283d743757c5be462708d5.zip
brcm63xx: Add support for ADB P.DG A4001N
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 41852
Diffstat (limited to 'target/linux/brcm63xx/base-files')
-rw-r--r--target/linux/brcm63xx/base-files/etc/uci-defaults/01_leds3
-rwxr-xr-xtarget/linux/brcm63xx/base-files/etc/uci-defaults/02_network1
-rwxr-xr-xtarget/linux/brcm63xx/base-files/etc/uci-defaults/09_fix_crc1
-rwxr-xr-xtarget/linux/brcm63xx/base-files/lib/brcm63xx.sh5
4 files changed, 10 insertions, 0 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 eee89b23b2..854b3b284a 100644
--- a/target/linux/brcm63xx/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/brcm63xx/base-files/etc/uci-defaults/01_leds
@@ -11,6 +11,9 @@ case "$board_name" in
ucidef_set_led_netdev "lan" "LAN" "A4001N1:green:eth" "eth0"
ucidef_set_led_usbdev "usb" "USB" "A4001N1:green:3g" "1-1"
;;
+96328dg2x2)
+ ucidef_set_led_usbdev "usb" "USB" "A4001N:green:usb" "1-1"
+ ;;
'F@ST2704V2')
ucidef_set_led_usbdev "usb" "USB" "F@ST2704V2:green:usb" "1-1"
;;
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 97ef3e82f2..f4985c7d6e 100755
--- a/target/linux/brcm63xx/base-files/etc/uci-defaults/02_network
+++ b/target/linux/brcm63xx/base-files/etc/uci-defaults/02_network
@@ -82,6 +82,7 @@ HW6358GW_B)
96328A-1441N1 |\
963281TAN |\
963281T_TEF |\
+96328dg2x2 |\
96368M-1341N |\
96368M-1541N |\
96368MVNgr |\
diff --git a/target/linux/brcm63xx/base-files/etc/uci-defaults/09_fix_crc b/target/linux/brcm63xx/base-files/etc/uci-defaults/09_fix_crc
index 560bb20379..2840eb1940 100755
--- a/target/linux/brcm63xx/base-files/etc/uci-defaults/09_fix_crc
+++ b/target/linux/brcm63xx/base-files/etc/uci-defaults/09_fix_crc
@@ -18,6 +18,7 @@ case "$board_name" in
96328A-1441N1 |\
963281TAN |\
963281T_TEF |\
+ 96328dg2x2 |\
96358-502V |\
96368M-1341N |\
96368M-1541N |\
diff --git a/target/linux/brcm63xx/base-files/lib/brcm63xx.sh b/target/linux/brcm63xx/base-files/lib/brcm63xx.sh
index d5784db750..1bcd3b9329 100755
--- a/target/linux/brcm63xx/base-files/lib/brcm63xx.sh
+++ b/target/linux/brcm63xx/base-files/lib/brcm63xx.sh
@@ -32,6 +32,11 @@ brcm63xx_detect() {
status_led="96328avng::power"
ifname=eth0
;;
+ 96328dg2x2)
+ brcm63xx_has_reset_button="true"
+ status_led="A4001N:green:power"
+ ifname="eth0"
+ ;;
96328A-1241N)
brcm63xx_has_reset_button="true"
status_led="AR-5381u:green:power"