aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/base-files
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2015-08-05 13:55:37 +0000
committerJonas Gorski <jogo@openwrt.org>2015-08-05 13:55:37 +0000
commita105688c87d9b04a19aeed9cbaf9e386ef3f5047 (patch)
treebc8817275fcef3e6cd76184cdb99baa4f867d332 /target/linux/brcm63xx/base-files
parent65654a3c541a81f135905dfa68f9e390b4c21419 (diff)
downloadupstream-a105688c87d9b04a19aeed9cbaf9e386ef3f5047.tar.gz
upstream-a105688c87d9b04a19aeed9cbaf9e386ef3f5047.tar.bz2
upstream-a105688c87d9b04a19aeed9cbaf9e386ef3f5047.zip
brcm63xx: Add support for Plusnet 2704N
BCM6318: add support for Plusnet / Sagem 2704N (V1) Signed-off-by: Matt Goring <matt.goring@googlemail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46562
Diffstat (limited to 'target/linux/brcm63xx/base-files')
-rw-r--r--target/linux/brcm63xx/base-files/etc/diag.sh3
-rw-r--r--target/linux/brcm63xx/base-files/etc/uci-defaults/01_leds3
-rw-r--r--target/linux/brcm63xx/base-files/etc/uci-defaults/02_network1
-rwxr-xr-xtarget/linux/brcm63xx/base-files/lib/brcm63xx.sh3
4 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/base-files/etc/diag.sh b/target/linux/brcm63xx/base-files/etc/diag.sh
index 1b0d26d616..7916ac26e2 100644
--- a/target/linux/brcm63xx/base-files/etc/diag.sh
+++ b/target/linux/brcm63xx/base-files/etc/diag.sh
@@ -70,6 +70,9 @@ set_state() {
fast2504n)
status_led="fast2504n:green:ok"
;;
+ fast2704n)
+ status_led2="F@ST2704N:red:power"
+ ;;
fast2704v2)
status_led="F@ST2704V2:green:power"
;;
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 b964bdb229..bdb3dada33 100644
--- a/target/linux/brcm63xx/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/brcm63xx/base-files/etc/uci-defaults/01_leds
@@ -22,6 +22,9 @@ dgnd3700v1_dgnd3800b)
ucidef_set_led_usbdev "usb1" "USB1" "DGND3700v1_3800B:green:usb-back" "1-1"
ucidef_set_led_usbdev "usb2" "USB2" "DGND3700v1_3800B:green:usb-front" "1-2"
;;
+fast2704n)
+ ucidef_set_led_netdev "wan" "WAN" "F@ST2704N:green:inet" "eth0.2"
+ ;;
fast2704v2)
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 e5880eb414..2ff9e45860 100644
--- a/target/linux/brcm63xx/base-files/etc/uci-defaults/02_network
+++ b/target/linux/brcm63xx/base-files/etc/uci-defaults/02_network
@@ -114,6 +114,7 @@ wap-5831n)
ucidef_add_switch_vlan "eth0" "2" "4 5t"
;;
+fast2704n |\
dgnd3700v1_dgnd3800b)
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
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 0eb9a750ca..92fa5f2bdb 100755
--- a/target/linux/brcm63xx/base-files/lib/brcm63xx.sh
+++ b/target/linux/brcm63xx/base-files/lib/brcm63xx.sh
@@ -198,6 +198,9 @@ brcm63xx_dt_detect() {
"Sagem F@ST2604")
board_name="fast2604"
;;
+ "Sagem F@ST2704N")
+ board_name="fast2704n"
+ ;;
"Sagem F@ST2704V2")
board_name="fast2704v2"
;;