From 781ad46206ddaee74e40d7dbc68840fae1c0cc7c Mon Sep 17 00:00:00 2001 From: Peter Lundkvist Date: Fri, 29 Jun 2018 05:44:58 +0200 Subject: ath79: add support for TP-Link RE450 v2 TP-Link RE450 v2 is a dual band router/range-extender based on Qualcomm/Atheros QCA9563 + QCA9880. Specification: - 775 MHz CPU - 64 MB of RAM (DDR2) - 8 MB of FLASH (SPI NOR) - 3T3R 2.4 GHz - 3T3R 5 GHz - 1x 10/100/1000 Mbps Ethernet (AR8033 PHY) - 7x LED, 4x button - UART header on PCB (needs unmounted R64 & R69 0201 resistors/jumpers) Flash instruction: Apply factory image in OEM firmware web-gui. U-Boot does not seem to have any recovery functions, so debricking requires connection via UART. Signed-off-by: Peter Lundkvist --- target/linux/ath79/base-files/etc/board.d/01_leds | 4 ++++ target/linux/ath79/base-files/etc/board.d/02_network | 1 + 2 files changed, 5 insertions(+) (limited to 'target/linux/ath79/base-files/etc/board.d') diff --git a/target/linux/ath79/base-files/etc/board.d/01_leds b/target/linux/ath79/base-files/etc/board.d/01_leds index 3edffaff74..d8312a9b89 100755 --- a/target/linux/ath79/base-files/etc/board.d/01_leds +++ b/target/linux/ath79/base-files/etc/board.d/01_leds @@ -28,6 +28,10 @@ case "$board" in ucidef_set_led_switch "lan1" "LAN1" "netgear:green:lan1" "switch0" "0x02" "0x0f" ucidef_set_led_switch "lan2" "LAN2" "netgear:green:lan2" "switch0" "0x04" "0x0f" ;; +"tplink,re450-v2") + ucidef_set_led_netdev "lan_data" "LAN Data" "tp-link:green:lan_data" "eth0" "tx rx" + ucidef_set_led_netdev "lan_link" "LAN Link" "tp-link:green:lan_link" "eth0" "link" + ;; "tplink,tl-mr3020-v1") ucidef_set_led_switch "lan" "LAN" "tp-link:green:lan" "switch0" "0x02" ;; 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 26b3752824..10a1bbd9ec 100755 --- a/target/linux/ath79/base-files/etc/board.d/02_network +++ b/target/linux/ath79/base-files/etc/board.d/02_network @@ -13,6 +13,7 @@ ath79_setup_interfaces() ucidef_set_interface_lan "eth0" "dhcp" ;; "avm,fritz300e"|\ + "tplink,re450-v2"|\ "tplink,tl-mr10u"|\ "tplink,tl-wr703n"|\ "ubnt,unifiac-lite"|\ -- cgit v1.2.3