summaryrefslogtreecommitdiff
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)
downloadmtk-20170518-244c322d25005d414ab434a519f68b1a63d521a6.zip
mtk-20170518-244c322d25005d414ab434a519f68b1a63d521a6.tar.gz
mtk-20170518-244c322d25005d414ab434a519f68b1a63d521a6.tar.bz2
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 3cd5c0f..9e09e69 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 47f7f01..259c5d7 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 f98162c..7e58ef0 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 f05fc3d..0a336ea 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"
;;