From 244c322d25005d414ab434a519f68b1a63d521a6 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Wed, 28 Dec 2011 08:43:43 +0000 Subject: ramips: rt288x: add support for the Belkin F5D8235-4 v1 board Patch-by: Cezary Jackiewicz SVN-Revision: 29617 --- target/linux/ramips/base-files/etc/diag.sh | 3 +++ target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom | 1 + target/linux/ramips/base-files/etc/uci-defaults/network | 2 ++ target/linux/ramips/base-files/lib/ramips.sh | 3 +++ 4 files changed, 9 insertions(+) (limited to 'target/linux/ramips/base-files') 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" ;; -- cgit v1.2.3