aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mvebu/base-files/etc/uci-defaults
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/mvebu/base-files/etc/uci-defaults')
-rw-r--r--target/linux/mvebu/base-files/etc/uci-defaults/01_leds5
-rw-r--r--target/linux/mvebu/base-files/etc/uci-defaults/02_network3
-rw-r--r--target/linux/mvebu/base-files/etc/uci-defaults/03_wireless2
3 files changed, 9 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 50c2f8d231..612f949da4 100644
--- a/target/linux/mvebu/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/mvebu/base-files/etc/uci-defaults/01_leds
@@ -19,6 +19,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-shelby)
+ ucidef_set_led_netdev "wan" "WAN" "pca963x:shelby:white:wan" "eth0"
+ ucidef_set_led_usbdev "usb2" "USB2" "pca963x:shelby:white:usb2" "1-1"
+ ucidef_set_led_usbdev "usb3" "USB3" "pca963x:shelby: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 d1ead03b00..d1da59fb48 100644
--- a/target/linux/mvebu/base-files/etc/uci-defaults/02_network
+++ b/target/linux/mvebu/base-files/etc/uci-defaults/02_network
@@ -21,6 +21,9 @@ armada-385-linksys-caiman)
armada-385-linksys-cobra)
ucidef_set_interfaces_lan_wan "eth1" "eth0"
;;
+armada-385-linksys-shelby)
+ 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 c5d670a0ba..fcf43ee1f3 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-385-linksys-caiman|armada-385-linksys-cobra|armada-xp-linksys-mamba)
+armada-385-linksys-caiman|armada-385-linksys-cobra|armada-385-linksys-shelby|armada-xp-linksys-mamba)
SKU=$(strings /dev/mtd3|sed -ne 's/^cert_region=//p')
case "$SKU" in
AP)