aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc
diff options
context:
space:
mode:
authorKoen Vandeputte <koen.vandeputte@ncentric.com>2019-04-12 11:08:43 +0200
committerKoen Vandeputte <koen.vandeputte@ncentric.com>2019-04-23 13:22:31 +0200
commite40050d1049ddf8ca0eb49666eafcb69b4a1d374 (patch)
tree56d5abd7d16fd7350e9728c256b675d38ea1924d /target/linux/ar71xx/base-files/etc
parent6afe175e5ec72a765848a3b8698d57810e3711bb (diff)
downloadupstream-e40050d1049ddf8ca0eb49666eafcb69b4a1d374.tar.gz
upstream-e40050d1049ddf8ca0eb49666eafcb69b4a1d374.tar.bz2
upstream-e40050d1049ddf8ca0eb49666eafcb69b4a1d374.zip
ar71xx: add support for Mikrotik RouterBOARD 2011UiAS-2HnD r2
This board got a new hardware revision, without any change in functionality. Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/01_leds3
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/02_network6
2 files changed, 6 insertions, 3 deletions
diff --git a/target/linux/ar71xx/base-files/etc/board.d/01_leds b/target/linux/ar71xx/base-files/etc/board.d/01_leds
index 41dd8c52ea..882849f0dc 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/01_leds
+++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds
@@ -673,7 +673,8 @@ rb-2011l|\
rb-2011uas|\
rb-2011uas-2hnd|\
rb-2011uias|\
-rb-2011uias-2hnd)
+rb-2011uias-2hnd|\
+rb-2011uias-2hnd-r2)
ucidef_set_led_switch "eth6" "ETH6" "rb:green:eth6" "switch1" "0x20"
ucidef_set_led_switch "eth7" "ETH7" "rb:green:eth7" "switch1" "0x10"
ucidef_set_led_switch "eth8" "ETH8" "rb:green:eth8" "switch1" "0x08"
diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network
index 68874e0c2e..b06ec4b5f6 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/02_network
+++ b/target/linux/ar71xx/base-files/etc/board.d/02_network
@@ -335,12 +335,14 @@ ar71xx_setup_interfaces()
rb-2011uas|\
rb-2011uas-2hnd|\
rb-2011uias|\
- rb-2011uias-2hnd)
+ rb-2011uias-2hnd|\
+ rb-2011uias-2hnd-r2)
case "$board" in
rb-2011ils|\
rb-2011uas*|\
rb-2011uias|\
- rb-2011uias-2hnd)
+ rb-2011uias-2hnd|\
+ rb-2011uias-2hnd-r2)
ucidef_add_switch "switch0" \
"0@eth0" "2:lan" "3:lan" "4:lan" "5:lan" "1:wan" "6:sfp"
;;