diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2015-04-16 09:54:39 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2015-04-16 09:54:39 +0000 |
commit | 3ec7a94d57d5b1b75f409a480b7a99f03fddb2a1 (patch) | |
tree | dbaef23d37cd089988cfd4efee53ad7e5ce9e30c /target/linux/mvebu/base-files/etc | |
parent | 89b99d117754fb07f0273a5ebdf7f7e3a2fbf1b2 (diff) | |
download | upstream-3ec7a94d57d5b1b75f409a480b7a99f03fddb2a1.tar.gz upstream-3ec7a94d57d5b1b75f409a480b7a99f03fddb2a1.tar.bz2 upstream-3ec7a94d57d5b1b75f409a480b7a99f03fddb2a1.zip |
mvebu: add support for the Linksys Caiman and Cobra
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45456 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/mvebu/base-files/etc')
3 files changed, 17 insertions, 1 deletions
diff --git a/target/linux/mvebu/base-files/etc/uci-defaults/01_leds b/target/linux/mvebu/base-files/etc/uci-defaults/01_leds index 8907a4b62c..50c2f8d231 100644 --- a/target/linux/mvebu/base-files/etc/uci-defaults/01_leds +++ b/target/linux/mvebu/base-files/etc/uci-defaults/01_leds @@ -9,6 +9,16 @@ board=$(mvebu_board_name) case "$board" in +armada-385-linksys-caiman) + ucidef_set_led_netdev "wan" "WAN" "pca963x:caiman:white:wan" "eth0" + ucidef_set_led_usbdev "usb2" "USB2" "pca963x:caiman:white:usb2" "1-1" + ucidef_set_led_usbdev "usb3" "USB3" "pca963x:caiman:white:usb3_1" "2-1" + ;; +armada-385-linksys-cobra) + ucidef_set_led_netdev "wan" "WAN" "pca963x:cobra:white:wan" "eth0" + ucidef_set_led_usbdev "usb2" "USB2" "pca963x:cobra:white:usb2" "1-1" + ucidef_set_led_usbdev "usb3" "USB3" "pca963x:cobra:white:usb3_1" "2-1" + ;; armada-xp-linksys-mamba) ucidef_set_led_netdev "wan" "WAN" "mamba:white:wan" "eth1" ucidef_set_led_usbdev "usb2" "USB2" "mamba:white:usb2" "1-1" diff --git a/target/linux/mvebu/base-files/etc/uci-defaults/02_network b/target/linux/mvebu/base-files/etc/uci-defaults/02_network index 75b0af79f6..73a3d8a1ac 100644 --- a/target/linux/mvebu/base-files/etc/uci-defaults/02_network +++ b/target/linux/mvebu/base-files/etc/uci-defaults/02_network @@ -15,6 +15,12 @@ ucidef_set_interface_loopback board=$(mvebu_board_name) case "$board" in +armada-385-linksys-caiman) + ucidef_set_interfaces_lan_wan "eth1" "eth0" + ;; +armada-385-linksys-cobra) + ucidef_set_interfaces_lan_wan "eth1" "eth0" + ;; armada-xp-linksys-mamba) ucidef_set_interfaces_lan_wan "eth0" "eth1" ucidef_add_switch "switch0" "1" "1" diff --git a/target/linux/mvebu/base-files/etc/uci-defaults/03_wireless b/target/linux/mvebu/base-files/etc/uci-defaults/03_wireless index 5eb3c901c2..c5d670a0ba 100644 --- a/target/linux/mvebu/base-files/etc/uci-defaults/03_wireless +++ b/target/linux/mvebu/base-files/etc/uci-defaults/03_wireless @@ -10,7 +10,7 @@ board=$(mvebu_board_name) case "$board" in -armada-xp-linksys-mamba) +armada-385-linksys-caiman|armada-385-linksys-cobra|armada-xp-linksys-mamba) SKU=$(strings /dev/mtd3|sed -ne 's/^cert_region=//p') case "$SKU" in AP) |