diff options
author | John Crispin <john@openwrt.org> | 2014-04-22 08:08:51 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-04-22 08:08:51 +0000 |
commit | cd5f3584e2c2044c2cd53d723350a8d02b227aff (patch) | |
tree | 3095f0a68cfbd8e96d0a23d86608057aba1302fd /target/linux/ramips/base-files/etc | |
parent | 4f3c74011048239eb5c37a2740c428b59d161387 (diff) | |
download | upstream-cd5f3584e2c2044c2cd53d723350a8d02b227aff.tar.gz upstream-cd5f3584e2c2044c2cd53d723350a8d02b227aff.tar.bz2 upstream-cd5f3584e2c2044c2cd53d723350a8d02b227aff.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>
SVN-Revision: 40554
Diffstat (limited to 'target/linux/ramips/base-files/etc')
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" ;; |