ar71xx: add user-space support for the OpenMesh MR1750v2

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
This commit is contained in:
Sven Eckelmann 2016-05-20 17:53:14 +02:00 committed by Felix Fietkau
parent f7719dca71
commit 58dc285cd6
5 changed files with 9 additions and 2 deletions

View File

@ -322,7 +322,8 @@ mr600)
ucidef_set_led_wlan "wlan58" "WLAN58" "mr600:green:wlan58" "phy0tpt"
;;
mr1750)
mr1750 | \
mr1750v2)
ucidef_set_led_netdev "lan" "LAN" "mr1750:blue:wan" "eth0"
ucidef_set_led_wlan "wlan58" "WLAN58" "mr1750:blue:wlan58" "phy0tpt"
ucidef_set_led_wlan "wlan24" "WLAN24" "mr1750:blue:wlan24" "phy1tpt"

View File

@ -335,6 +335,7 @@ eap7660d |\
el-mini |\
loco-m-xw |\
mr1750 |\
mr1750v2 |\
mr18 |\
mr600 |\
mr600v2 |\

View File

@ -176,7 +176,8 @@ get_status_led() {
mr600v2)
status_led="mr600:blue:power"
;;
mr1750)
mr1750 | \
mr1750v2)
status_led="mr1750:blue:power"
;;
mr900 | \

View File

@ -595,6 +595,9 @@ ar71xx_board_detect() {
*MR1750)
name="mr1750"
;;
*MR1750v2)
name="mr1750v2"
;;
*MR600)
name="mr600"
;;

View File

@ -65,6 +65,7 @@ platform_check_image_target_openmesh()
;;
MR1750)
[ "$board" = "mr1750" ] && return 0
[ "$board" = "mr1750v2" ] && return 0
echo "Invalid image board target ($img_board_target) for this platform: $board. Use the correct image for this platform"
return 1
;;