aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/base-files
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/brcm63xx/base-files')
-rwxr-xr-xtarget/linux/brcm63xx/base-files/etc/board.d/02_network6
-rw-r--r--target/linux/brcm63xx/base-files/etc/diag.sh4
-rwxr-xr-xtarget/linux/brcm63xx/base-files/lib/brcm63xx.sh3
3 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/base-files/etc/board.d/02_network b/target/linux/brcm63xx/base-files/etc/board.d/02_network
index a7fd6f5d38..a2ca5a37b3 100755
--- a/target/linux/brcm63xx/base-files/etc/board.d/02_network
+++ b/target/linux/brcm63xx/base-files/etc/board.d/02_network
@@ -130,6 +130,12 @@ neufbox6)
"1:lan" "2:lan" "3:lan" "4:lan" "0:wan" "9t@eth0"
;;
+sr102)
+ ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
+ ucidef_add_switch "switch0" \
+ "0:lan" "1:lan" "2:lan" "3:wan" "8t@eth0"
+ ;;
+
vg50)
ucidef_add_switch "switch0" \
"0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "8t@eth0"
diff --git a/target/linux/brcm63xx/base-files/etc/diag.sh b/target/linux/brcm63xx/base-files/etc/diag.sh
index acb1795214..afb347818f 100644
--- a/target/linux/brcm63xx/base-files/etc/diag.sh
+++ b/target/linux/brcm63xx/base-files/etc/diag.sh
@@ -132,6 +132,10 @@ set_state() {
rta770w)
status_led="RTA770W:green:diag"
;;
+ sr102)
+ status_led="SR102:white:power"
+ status_led2="SR102:red:power"
+ ;;
spw500v)
status_led="SPW500V:green:power"
;;
diff --git a/target/linux/brcm63xx/base-files/lib/brcm63xx.sh b/target/linux/brcm63xx/base-files/lib/brcm63xx.sh
index 82abd737ce..1676ae0abb 100755
--- a/target/linux/brcm63xx/base-files/lib/brcm63xx.sh
+++ b/target/linux/brcm63xx/base-files/lib/brcm63xx.sh
@@ -237,6 +237,9 @@ brcm63xx_dt_detect() {
"SFR neufbox 6 (Sercomm)")
board_name="neufbox6"
;;
+ "SKY SR102")
+ board_name="sr102"
+ ;;
"T-Com Speedport W303 V")
board_name="spw303v"
;;