aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-04-22 08:08:51 +0000
committerJohn Crispin <blogic@openwrt.org>2014-04-22 08:08:51 +0000
commit522d86d5bbae0b5f1d0fd9ea48607523a3aa6fd9 (patch)
treedaa65e41f5a91ff32df353aa2b208329351a882d /target/linux/ramips/base-files/etc
parentd5e2e74b3e8437d9f15e13c2fc5c8fd3a1bf98dd (diff)
downloadmaster-187ad058-522d86d5bbae0b5f1d0fd9ea48607523a3aa6fd9.tar.gz
master-187ad058-522d86d5bbae0b5f1d0fd9ea48607523a3aa6fd9.tar.bz2
master-187ad058-522d86d5bbae0b5f1d0fd9ea48607523a3aa6fd9.zip
ramips: Add support for the 7Links PX-4885 wireless router.
The 7Links PX-4885 is a small battery-powered wireless router. It is based on a RT5350F WiSoC and features one ethernet port and one USB port. It is a Hame MPR-A1 clone, except it has different GPIOs, a different battery and more RAM (32 MB). This patch adds a profile for this board, the corresponding device tree file and the adequate base-files changes (incl. sysupgrade). Signed-off-by: Hugo Grostabussiat <bonstra@bonstra.fr.eu.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40554 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-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/01_leds4
3 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index 122587232f..075562af02 100755
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -92,6 +92,9 @@ get_status_led() {
pwh2004)
status_led="pwh2004:green:power"
;;
+ px4885)
+ status_led="7links:orange:wifi"
+ ;;
rt-n15)
status_led="rt-n15:blue: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 5906e686a2..906c7ba174 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
@@ -93,6 +93,7 @@ case "$FIRMWARE" in
omni-emb | \
omni-emb-hpm | \
psr-680w | \
+ px4885 | \
rt-n15 | \
rt-n56u | \
sl-r7205 | \
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/01_leds b/target/linux/ramips/base-files/etc/uci-defaults/01_leds
index 17d8c97719..74ba0ba63e 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/ramips/base-files/etc/uci-defaults/01_leds
@@ -129,6 +129,10 @@ case $board in
ucidef_set_led_netdev "eth" "ETH" "emb:green:eth" "eth0"
set_wifi_led "emb:green:wifi"
;;
+ px4885)
+ set_wifi_led "7links:orange:wifi"
+ set_usb_led "7links:blue:storage"
+ ;;
sl-r7205)
set_wifi_led "rt2800pci-phy0::radio"
;;