aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc/board.d
diff options
context:
space:
mode:
authorHenryk Heisig <hyniu@o2.pl>2016-10-30 17:57:27 +0100
committerJohn Crispin <john@phrozen.org>2016-10-31 17:13:37 +0100
commit8cc0c34ef550ac2f842fe6811d32ac01af69d19f (patch)
tree3e77004c12dff9b8324634c039016d292e13c31a /target/linux/ar71xx/base-files/etc/board.d
parent15a14cf1665ef3d8b5c77cce69b52d131340e3b3 (diff)
downloadupstream-8cc0c34ef550ac2f842fe6811d32ac01af69d19f.tar.gz
upstream-8cc0c34ef550ac2f842fe6811d32ac01af69d19f.tar.bz2
upstream-8cc0c34ef550ac2f842fe6811d32ac01af69d19f.zip
ar71xx: Add support to Powerline ac TP-Link WPA8630
Signed-off-by: Henryk Heisig <hyniu@o2.pl>
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/board.d')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/01_leds5
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/02_network4
2 files changed, 9 insertions, 0 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 a32ca9101e..01308b5f57 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/01_leds
+++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds
@@ -638,6 +638,11 @@ wnr612-v2)
ucidef_set_led_switch "lan1" "LAN1" "netgear:green:lan1" "switch0" "0x02" "0x0f"
ucidef_set_led_switch "lan2" "LAN2" "netgear:green:lan2" "switch0" "0x04" "0x0f"
;;
+wpa8630)
+ ucidef_set_led_netdev "wlan5" "WLAN5" "$board:green:wlan5" "wlan0"
+ ucidef_set_led_netdev "wlan" "WLAN" "$board:green:wlan" "wlan1"
+ ucidef_set_led_netdev "lan" "LAN" "$board:green:lan" "eth0"
+ ;;
wpn824n)
ucidef_set_led_netdev "wan-amber" "WAN (amber)" "netgear:amber:wan" "eth0"
ucidef_set_led_wlan "wlan" "WLAN" "netgear:blue:wlan" "phy0tpt"
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 ab7404d4f3..e6489af876 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/02_network
+++ b/target/linux/ar71xx/base-files/etc/board.d/02_network
@@ -398,6 +398,10 @@ ar71xx_setup_interfaces()
ucidef_add_switch_port_attr "switch0" 2 led 9
ucidef_add_switch_port_attr "switch0" 5 led 2
;;
+ wpa8630)
+ ucidef_add_switch "switch0" \
+ "0@eth0" "2:lan:3" "3:lan:2" "4:lan:1" "5:lan:4"
+ ;;
wpj344)
ucidef_add_switch "switch0" \
"0@eth0" "3:lan" "2:wan"