diff options
author | Pramod Pancha <pancha@vill.com> | 2019-07-05 13:45:19 -0400 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2019-07-18 00:06:55 +0200 |
commit | 8e384ba8307742b54b2be326697a5dc2dec6880b (patch) | |
tree | 4d5d2ed684c7b97fb33144a4eef2e246fc0d13f9 /target/linux/ath79/base-files/etc/board.d/02_network | |
parent | 6fde0b735c455f834b1ffc10d38c24f056839b29 (diff) | |
download | openwrt-8e384ba8307742b54b2be326697a5dc2dec6880b.tar.gz openwrt-8e384ba8307742b54b2be326697a5dc2dec6880b.tar.bz2 openwrt-8e384ba8307742b54b2be326697a5dc2dec6880b.zip |
ath79: add support for Trendnet TEW-823DRU
Trendnet TEW-823DRU is a dual-band AC1750 router.
The router is based on Qualcomm/Atheros QCA9558 + QCA9880.
Specification:
720 MHz CPU
256 MB of RAM
16 MB of FLASH
3T3R 2.4 GHz
3T3R 5 GHz
5x 10/100/1000 Mbps Ethernet
Firmware can be flashed from the web interface. Tested on 3 routers
with no issues.
Signed-off-by: Pramod Pancha <pancha@vill.com>
[whitespace fixes]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
Diffstat (limited to 'target/linux/ath79/base-files/etc/board.d/02_network')
-rwxr-xr-x | target/linux/ath79/base-files/etc/board.d/02_network | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/target/linux/ath79/base-files/etc/board.d/02_network b/target/linux/ath79/base-files/etc/board.d/02_network index 029aadc3eb..2413b1f4bc 100755 --- a/target/linux/ath79/base-files/etc/board.d/02_network +++ b/target/linux/ath79/base-files/etc/board.d/02_network @@ -64,7 +64,8 @@ ath79_setup_interfaces() ucidef_add_switch "switch0" \ "0@eth0" "2:lan" "3:lan" "4:lan" "5:lan" "1:wan" ;; - buffalo,bhr-4grv2) + buffalo,bhr-4grv2|\ + trendnet,tew-823dru) ucidef_add_switch "switch0" \ "0@eth1" "1:lan" "2:lan" "3:lan" "4:lan" "5:wan" "6@eth0" ;; @@ -363,6 +364,10 @@ ath79_setup_macs() base_mac=$(mtd_get_mac_binary u-boot 130048) wan_mac=$(macaddr_add "$base_mac" 1) ;; + trendnet,tew-823dru) + lan_mac=$(mtd_get_mac_text mac 4) + wan_mac=$(mtd_get_mac_text mac 24) + ;; ubnt,routerstation|\ ubnt,routerstation-pro) wan_mac=$(fconfig -s -r -d $(find_mtd_part "RedBoot config") -n ar7100_esa) |