aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/lib
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-12-17 09:30:05 +0000
committerJohn Crispin <john@openwrt.org>2015-12-17 09:30:05 +0000
commit1f71f2220d9b78ee5b319e1107eedb8f0d0c4c0e (patch)
tree17b293eae596e9ec76b8c9aefff6e3d069851e98 /target/linux/ar71xx/base-files/lib
parenta418d03d6d3c9ec8028c72b08f46c0a89c16e5f1 (diff)
downloadupstream-1f71f2220d9b78ee5b319e1107eedb8f0d0c4c0e.tar.gz
upstream-1f71f2220d9b78ee5b319e1107eedb8f0d0c4c0e.tar.bz2
upstream-1f71f2220d9b78ee5b319e1107eedb8f0d0c4c0e.zip
ar71xx: add support for TRENDnet TEW-823DRU
Add support for TRENDnet TEW-823DRU: - cpu: QCA9558 @720MHz - flash: 16MB - ram: 256MB - 4+1 RJ45 100/1000Mbps - wifi: QCA9558 (bgn) and QCA9880-BR4A (ac) - 1x USB 2.0 Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> SVN-Revision: 47927
Diffstat (limited to 'target/linux/ar71xx/base-files/lib')
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
-rw-r--r--target/linux/ar71xx/base-files/lib/preinit/82_patch_ath10k4
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh1
3 files changed, 6 insertions, 2 deletions
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 54e6166d6d..5af7adf1af 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -746,6 +746,9 @@ ar71xx_board_detect() {
*TEW-732BR)
name="tew-732br"
;;
+ *TEW-823DRU)
+ name="tew-823dru"
+ ;;
*"TL-WR1041N v2")
name="tl-wr1041n-v2"
;;
diff --git a/target/linux/ar71xx/base-files/lib/preinit/82_patch_ath10k b/target/linux/ar71xx/base-files/lib/preinit/82_patch_ath10k
index 4da611a9f2..35a2fc9d3f 100644
--- a/target/linux/ar71xx/base-files/lib/preinit/82_patch_ath10k
+++ b/target/linux/ar71xx/base-files/lib/preinit/82_patch_ath10k
@@ -23,7 +23,7 @@ do_patch_ath10k_firmware() {
# some boards have bogus mac in otp, patch the default mac in the firmware
case $(ar71xx_board_name) in
- dgl-5500-a1)
+ dgl-5500-a1 | tew-823dru)
local mac
mac=$(mtd_get_mac_ascii nvram wlan1_mac)
@@ -42,7 +42,7 @@ do_patch_ath10k_firmware() {
check_patch_ath10k_firmware() {
case $(ar71xx_board_name) in
- dgl-5500-a1)
+ dgl-5500-a1 | tew-823dru)
do_patch_ath10k_firmware
;;
esac
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index bb64ef81bc..7e564b45cc 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -231,6 +231,7 @@ platform_check_image() {
tew-632brp | \
tew-712br | \
tew-732br | \
+ tew-823dru | \
wrt400n | \
airgateway | \
airgatewaypro | \