aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-01-28 13:19:49 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-01-28 13:19:49 +0000
commiteeb00634a7715204481a5fd83664a697e414bbfd (patch)
treee2b59dde0c8fa62d0d1c6736bd1d593572afcd42 /target/linux/ar71xx/base-files/etc
parent405a0f390567dc8be1b3ad598f76d77e332bdfa3 (diff)
downloadupstream-eeb00634a7715204481a5fd83664a697e414bbfd.tar.gz
upstream-eeb00634a7715204481a5fd83664a697e414bbfd.tar.bz2
upstream-eeb00634a7715204481a5fd83664a697e414bbfd.zip
add support for the Atheros AP113 reference board
This reference board is equipped with: - AR7242 SoC - AR9580 on-board Wi-Fi - AR8316 switch SVN-Revision: 29935
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/leds5
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/network3
2 files changed, 6 insertions, 2 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/leds b/target/linux/ar71xx/base-files/etc/uci-defaults/leds
index f65af4a412..ae75f78c32 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/leds
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/leds
@@ -106,7 +106,10 @@ alfa-nx)
set_led_netdev "lan" "LAN" "alfa:green:led_3" "eth1"
;;
-rb-750)
+ap113)
+ set_led_usbdev "usb" "USB" "ap113:green:usb" "1-1"
+ ;;
+rb750)
set_led_default "act" "act" "rb750:green:act" "1"
set_led_netdev "port1" "port1" "rb750:green:port1" "eth1"
set_led_switch "port2" "port2" "rb750:green:port2" "switch0" "0x10"
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/network b/target/linux/ar71xx/base-files/etc/uci-defaults/network
index e6461819e2..4d6a68b73a 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/network
@@ -67,7 +67,8 @@ rb-493g)
;;
wzr-hp-g300nh2 |\
-pb92)
+pb92 |\
+ap113)
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
ucidef_add_switch "eth0" "1" "1"
ucidef_add_switch_vlan "eth0" "1" "0t 1 3 4 5"