summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/base-files
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
parent405a0f390567dc8be1b3ad598f76d77e332bdfa3 (diff)
downloadmtk-20170518-eeb00634a7715204481a5fd83664a697e414bbfd.zip
mtk-20170518-eeb00634a7715204481a5fd83664a697e414bbfd.tar.gz
mtk-20170518-eeb00634a7715204481a5fd83664a697e414bbfd.tar.bz2
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')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/leds5
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/network3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh1
4 files changed, 10 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 f65af4a..ae75f78 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 e646181..4d6a68b 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"
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index c2fa462..6761382 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -136,6 +136,9 @@ ar71xx_board_detect() {
*ALL0258N)
name="all0258n"
;;
+ *AP113)
+ name="ap113"
+ ;;
*AP121)
name="ap121"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index ae68db6..d07b782 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -79,6 +79,7 @@ platform_check_image() {
;;
alfa-ap96 | \
alfa-nx | \
+ ap113 | \
ap121 | \
ap121-mini | \
ap96 | \