summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-12-28 08:43:43 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-12-28 08:43:43 +0000
commitc1be68167224a7800a544c5f1c07dc9fd50f495c (patch)
tree3f571c26b3d54ab764347e0cdd773315441d8446 /target/linux/ramips/base-files
parent71c649d0975fb1113664c1a940f9b4257fc013d6 (diff)
ramips: rt288x: add support for the Belkin F5D8235-4 v1 board
Patch-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29617 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 3cd5c0f9a..9e09e6907 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 47f7f016a..259c5d75f 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 f98162c6b..7e58ef043 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 f05fc3d71..0a336eaec 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"
;;