aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mvebu/base-files/etc/board.d
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2016-10-13 12:52:20 +0200
committerFelix Fietkau <nbd@nbd.name>2016-10-24 08:45:06 +0200
commit3764caa93478e3472df3128b79b6d0f6b0fb999c (patch)
tree3ddc2ed6f8a0eb6525ef0267042fd81bab749223 /target/linux/mvebu/base-files/etc/board.d
parent5da412bf802f902bfa227157c457e41daa4558f8 (diff)
downloadupstream-3764caa93478e3472df3128b79b6d0f6b0fb999c.tar.gz
upstream-3764caa93478e3472df3128b79b6d0f6b0fb999c.tar.bz2
upstream-3764caa93478e3472df3128b79b6d0f6b0fb999c.zip
mvebu: add support for the Linksys WRT3200ACM (Rango)
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/mvebu/base-files/etc/board.d')
-rwxr-xr-xtarget/linux/mvebu/base-files/etc/board.d/01_leds8
-rwxr-xr-xtarget/linux/mvebu/base-files/etc/board.d/02_network4
2 files changed, 10 insertions, 2 deletions
diff --git a/target/linux/mvebu/base-files/etc/board.d/01_leds b/target/linux/mvebu/base-files/etc/board.d/01_leds
index 71dd3476e6..8310160ccf 100755
--- a/target/linux/mvebu/base-files/etc/board.d/01_leds
+++ b/target/linux/mvebu/base-files/etc/board.d/01_leds
@@ -1,6 +1,7 @@
#!/bin/sh
#
-# Copyright (C) 2014-2015 OpenWrt.org
+# Copyright (C) 2014-2016 OpenWrt.org
+# Copyright (C) 2016 LEDE-Project.org
#
. /lib/functions/uci-defaults.sh
@@ -21,6 +22,11 @@ armada-385-linksys-cobra)
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-385-linksys-rango)
+ ucidef_set_led_netdev "wan" "WAN" "pca963x:rango:white:wan" "eth0"
+ ucidef_set_led_usbdev "usb2" "USB2" "pca963x:rango:white:usb2" "1-1"
+ ucidef_set_led_usbdev "usb3" "USB3" "pca963x:rango:white:usb3_1" "2-1"
+ ;;
armada-385-linksys-shelby)
ucidef_set_led_netdev "wan" "WAN" "pca963x:shelby:white:wan" "eth0"
ucidef_set_led_usbdev "usb2" "USB2" "pca963x:shelby:white:usb2" "1-1"
diff --git a/target/linux/mvebu/base-files/etc/board.d/02_network b/target/linux/mvebu/base-files/etc/board.d/02_network
index 21c666025c..614a0e2887 100755
--- a/target/linux/mvebu/base-files/etc/board.d/02_network
+++ b/target/linux/mvebu/base-files/etc/board.d/02_network
@@ -1,6 +1,7 @@
#!/bin/sh
#
-# Copyright (C) 2014-2015 OpenWrt.org
+# Copyright (C) 2014-2016 OpenWrt.org
+# Copyright (C) 2016 LEDE-Project.org
#
. /lib/functions/uci-defaults.sh
@@ -13,6 +14,7 @@ board=$(mvebu_board_name)
case "$board" in
armada-385-linksys-caiman|\
armada-385-linksys-cobra|\
+armada-385-linksys-rango|\
armada-385-linksys-shelby)
ucidef_set_interfaces_lan_wan "eth1" "eth0"
ucidef_add_switch "switch0" \