summaryrefslogtreecommitdiff
path: root/target/linux/ramips/base-files/etc
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-11-24 18:29:02 +0000
committerJohn Crispin <john@openwrt.org>2015-11-24 18:29:02 +0000
commite9baf8265bb8938169b882deff2026a7389bd9f7 (patch)
tree7e2034802bd38edbe550f5a70efc305563d8d6ea /target/linux/ramips/base-files/etc
parent12b6f4cf71787950b606dd61f4a649a73453f2f8 (diff)
downloadmtk-20170518-e9baf8265bb8938169b882deff2026a7389bd9f7.zip
mtk-20170518-e9baf8265bb8938169b882deff2026a7389bd9f7.tar.gz
mtk-20170518-e9baf8265bb8938169b882deff2026a7389bd9f7.tar.bz2
ramips: add support for Youku YK1
Changes since V1: I resend this patch for current trunk.The former V1 patch is for CC branch. Signed-off-by: Shonn Lu <countrysideboy@qq.com> SVN-Revision: 47617
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/01_leds5
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network3
2 files changed, 7 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds
index 5627c8c..1c18ded 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -268,6 +268,11 @@ zbt-wr8305rt)
zte-q7)
set_wifi_led "$board:blue:status"
;;
+youku-yk1)
+ ucidef_set_led_default "power" "power" "$board:blue:power" "1"
+ set_wifi_led "$board:blue:air"
+ set_usb_led "$board:blue:usb"
+ ;;
esac
board_config_flush
diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network
index 3821742..22809d1 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -84,7 +84,8 @@ ramips_setup_interfaces()
wsr-600|\
wt1520|\
y1|\
- zbt-wg2626)
+ zbt-wg2626|\
+ youku-yk1)
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
ucidef_add_switch "switch0" "1" "1"
ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 6t"