aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-02-15 21:13:11 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-02-15 21:13:11 +0000
commit3ceebbba14c46704f2b4f04a423d1ed2358319fb (patch)
treefa1c28ccdba8870168cd1b8b14b3dd08f4a1c3de /target/linux/ramips/base-files
parent27bb12af0f6efb44537e87e05d1309405d70f32b (diff)
downloadupstream-3ceebbba14c46704f2b4f04a423d1ed2358319fb.tar.gz
upstream-3ceebbba14c46704f2b4f04a423d1ed2358319fb.tar.bz2
upstream-3ceebbba14c46704f2b4f04a423d1ed2358319fb.zip
add Ralink V11ST-FE board support
This board is equipped with: - 4MB of NOR Flash - 32MB of SDRAM - IC+ IP175C switch - one Mini-PCI slot SVN-Revision: 30561
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/diag.sh3
-rw-r--r--target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom1
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/leds3
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/network7
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
5 files changed, 17 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index 262160490e..b167c520bd 100755
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -69,6 +69,9 @@ get_status_led() {
rt-n56u)
status_led="asus:blue:power"
;;
+ v11st-fe)
+ status_led="v11st-fe:green:status"
+ ;;
v22rw-2x2)
status_led="v22rw-2x2:green:security"
;;
diff --git a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
index 65b2cd39c8..5e6fa420d7 100644
--- a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
+++ b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
@@ -58,6 +58,7 @@ case "$FIRMWARE" in
nw718 | \
omni-emb | \
rt-n15 | \
+ v11st-fe | \
v22rw-2x2 | \
w502u | \
wcr-150gn | \
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/leds b/target/linux/ramips/base-files/etc/uci-defaults/leds
index bcd17f9d04..891a1a7b3c 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/leds
+++ b/target/linux/ramips/base-files/etc/uci-defaults/leds
@@ -60,6 +60,9 @@ case $board in
nw718)
set_usb_led "nw718:amber:usb"
;;
+ v11st-fe)
+ set_wifi_led "rt2800pci-phy0::radio"
+ ;;
w502u)
set_usb_led "alfa:blue:usb"
set_wifi_led "rt2800pci-phy0::radio"
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/network b/target/linux/ramips/base-files/etc/uci-defaults/network
index 0f97bc3647..a36341ca15 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/network
+++ b/target/linux/ramips/base-files/etc/uci-defaults/network
@@ -50,6 +50,13 @@ ramips_setup_interfaces()
ucidef_add_switch_vlan "switch0" "2" "4 8t"
;;
+ v11st-fe)
+ ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
+ ucidef_add_switch "switch0" "1" "1"
+ ucidef_add_switch_vlan "switch0" "1" "1 2 3 4 5t"
+ ucidef_add_switch_vlan "switch0" "2" "0 5t"
+ ;;
+
wcr-150gn)
ucidef_set_interface_lan_wan "eth0.2" "eth0.1"
;;
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 9c1a7dcb57..07bdf16051 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -122,6 +122,9 @@ ramips_board_name() {
*"Sitecom WL-351 v1 002")
name="wl-351"
;;
+ *"Ralink V11ST-FE")
+ name="v11st-fe"
+ ;;
*"WLI-TX4-AG300N")
name="wli-tx4-ag300n"
;;