From 62c0190fa570c5258edb639a24a2c949dcc8a88a Mon Sep 17 00:00:00 2001 From: florian Date: Wed, 15 Feb 2012 21:13:11 +0000 Subject: [ramips] 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30561 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ramips/base-files/etc/diag.sh | 3 +++ .../ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom | 1 + target/linux/ramips/base-files/etc/uci-defaults/leds | 3 +++ target/linux/ramips/base-files/etc/uci-defaults/network | 7 +++++++ 4 files changed, 14 insertions(+) (limited to 'target/linux/ramips/base-files/etc') 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" ;; -- cgit v1.2.3