diff options
Diffstat (limited to 'target/linux/ar71xx/base-files')
5 files changed, 20 insertions, 4 deletions
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|\ diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 3241100198..1b30f4d827 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -510,6 +510,14 @@ ar71xx_board_detect() { *CPE870) name="cpe870" ;; + *WBS210) + name="wbs210" + tplink_pharos_board_detect + ;; + *WBS510) + name="wbs510" + tplink_pharos_board_detect + ;; *CR3000) name="cr3000" ;; diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index 570aa686e3..6341a31791 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -453,7 +453,9 @@ platform_check_image() { ;; cpe210|\ cpe510|\ - eap120) + eap120|\ + wbs210|\ + wbs510) tplink_pharos_check_image "$1" && return 0 return 1 ;; |