aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-12-28 08:43:43 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-12-28 08:43:43 +0000
commit244c322d25005d414ab434a519f68b1a63d521a6 (patch)
treeae0405a9d766c872cfdf86d55938cf65f04f3860 /target/linux/ramips/base-files
parentf50b02b55974403f02e163536729f07edc6e9873 (diff)
downloadupstream-244c322d25005d414ab434a519f68b1a63d521a6.tar.gz
upstream-244c322d25005d414ab434a519f68b1a63d521a6.tar.bz2
upstream-244c322d25005d414ab434a519f68b1a63d521a6.zip
ramips: rt288x: add support for the Belkin F5D8235-4 v1 board
Patch-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> SVN-Revision: 29617
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/network2
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
4 files changed, 9 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index 3cd5c0f9a7..9e09e69074 100755
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -36,6 +36,9 @@ get_status_led() {
esr-9753)
status_led="esr-9753:orange:power"
;;
+ f5d8235-v1)
+ set_usb_led "f5d8235-v1:green:usb"
+ ;;
fonera20n)
status_led="fonera20n:green:power"
;;
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 47f7f016af..259c5d75fd 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
@@ -41,6 +41,7 @@ case "$FIRMWARE" in
rt2x00_eeprom_extract "devconf" 0 272
;;
+ f5d8235-v1 | \
f5d8235-v2)
rt2x00_eeprom_extract "u-boot" 262144 272
;;
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/network b/target/linux/ramips/base-files/etc/uci-defaults/network
index f98162c6b2..7e58ef043e 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/network
+++ b/target/linux/ramips/base-files/etc/uci-defaults/network
@@ -35,6 +35,7 @@ ramips_setup_interfaces()
ucidef_set_interface_lan "eth0"
;;
+ f5d8235-v1 | \
rt-n15)
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
ucidef_add_switch "rtl8366s" "1" "1"
@@ -67,6 +68,7 @@ ramips_setup_macs()
argus-atp52b | \
b2c | \
+ f5d8235-v1 | \
nw718 | \
rt-n15 | \
wl-351)
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index f05fc3d71c..0a336eaece 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -65,6 +65,9 @@ ramips_board_name() {
*"ESR-9753")
name="esr-9753"
;;
+ *"F5D8235 v1")
+ name="f5d8235-v1"
+ ;;
*"F5D8235 v2")
name="f5d8235-v2"
;;