From 1fef80f29cf6bdfcb6cdbd913b9147797b8bc218 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 5 Jan 2017 16:01:17 +0100 Subject: ar71xx: add support for TP-Link WBS210/510 The devices are mostly identical to the CPE210/510, but use external antennas. Signed-off-by: Matthias Schiffer --- target/linux/ar71xx/base-files/etc/board.d/01_leds | 4 +++- target/linux/ar71xx/base-files/etc/board.d/02_network | 4 +++- target/linux/ar71xx/base-files/etc/board.d/03_gpio_switches | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) (limited to 'target/linux/ar71xx/base-files/etc') diff --git a/target/linux/ar71xx/base-files/etc/board.d/01_leds b/target/linux/ar71xx/base-files/etc/board.d/01_leds index c6dcf36fed..5a2bf0cfc4 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/01_leds +++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds @@ -152,7 +152,9 @@ cf-e530n) ucidef_set_led_netdev "wan" "WAN" "$board:blue:wan" "eth1" ;; cpe210|\ -cpe510) +cpe510|\ +wbs210|\ +wbs510) ucidef_set_led_switch "lan0" "LAN0" "tp-link:green:lan0" "switch0" "0x20" ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x10" ucidef_set_rssimon "wlan0" "200000" "1" diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network index 8acd214ced..66274db15f 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/02_network +++ b/target/linux/ar71xx/base-files/etc/board.d/02_network @@ -212,7 +212,9 @@ ar71xx_setup_interfaces() ucidef_set_interface_lan "eth0" "dhcp" ;; cpe210|\ - cpe510) + cpe510|\ + wbs210|\ + wbs510) ucidef_add_switch "switch0" \ "0@eth0" "5:lan" "4:wan" ;; diff --git a/target/linux/ar71xx/base-files/etc/board.d/03_gpio_switches b/target/linux/ar71xx/base-files/etc/board.d/03_gpio_switches index 5b95f155cf..da963bf64d 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/03_gpio_switches +++ b/target/linux/ar71xx/base-files/etc/board.d/03_gpio_switches @@ -18,7 +18,9 @@ nanostation-m-xw) ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "2" ;; cpe210|\ -cpe510) +cpe510|\ +wbs210|\ +wbs510) ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "20" ;; rb-912uag-2hpnd|\ -- cgit v1.2.3