ar71xx: add user-space support for the OpenMesh OM5P-AC

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>

Backport of r49142
This commit is contained in:
Sven Eckelmann 2016-05-19 20:21:04 +02:00 committed by Sven Eckelmann
parent bdf20fd1f1
commit 1c49922ada
3 changed files with 11 additions and 0 deletions

View File

@ -178,6 +178,9 @@ get_status_led() {
om5p-an)
status_led="om5p:blue:power"
;;
om5p-ac)
status_led="om5pac:blue:power"
;;
onion-omega)
status_led="onion:amber:system"
;;

View File

@ -304,6 +304,11 @@ om5p-an)
ucidef_set_led_netdev "port2" "port2" "om5p:blue:lan" "eth1"
;;
om5p-ac)
ucidef_set_led_netdev "port1" "port1" "om5pac:blue:lan" "eth0"
ucidef_set_led_netdev "port2" "port2" "om5pac:blue:wan" "eth1"
;;
qihoo-c301)
ucidef_set_led_wlan "wlan2g" "WLAN2G" "qihoo:red:status" "phy1tpt"
;;

View File

@ -572,6 +572,9 @@ ar71xx_board_detect() {
*"OM5P AN")
name="om5p-an"
;;
*"OM5P AC")
name="om5p-ac"
;;
*"Onion Omega")
name="onion-omega"
;;