aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc
diff options
context:
space:
mode:
authorArne Zachlod <arne@nerdkeller.org>2018-03-02 01:16:34 +0100
committerAlexander Couzens <lynxis@fe80.eu>2018-03-15 19:11:39 +0100
commitd0988235dd277b9a832bbc4b2a100ac6e821f577 (patch)
tree7266a93ad9546c220e9f87801f8141081bc1e40d /target/linux/ar71xx/base-files/etc
parent3137622efb8af483ae098c3fb5ddef219c5cde46 (diff)
downloadupstream-d0988235dd277b9a832bbc4b2a100ac6e821f577.tar.gz
upstream-d0988235dd277b9a832bbc4b2a100ac6e821f577.tar.bz2
upstream-d0988235dd277b9a832bbc4b2a100ac6e821f577.zip
ar71xx: add support for Ubiquiti Litebeam M5
Specification: - SoC: Atheros AR9342 - Flash: 8 MiB - RAM: 64 MiB - UART: 1x UART on PCB - 115200 8N1 - Ethernet: 1 x 100 Mbit with passive PoE (24V/0.2A) Doesn't work: * Flash via TFTP with Ubiquiti Uboot Installation via vendor firmware: - upload factory image via webinterface Signed-off-by: Arne Zachlod <arne@nerdkeller.org>
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/01_leds4
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/02_network1
-rw-r--r--target/linux/ar71xx/base-files/etc/diag.sh3
3 files changed, 8 insertions, 0 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 00954dfaa4..7a8ed9afe5 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/01_leds
+++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds
@@ -408,6 +408,10 @@ hornet-ub-x2)
lan-turtle)
ucidef_set_led_netdev "wan" "WAN" "$board:orange:system" "eth1"
;;
+lbe-m5)
+ ucidef_set_led_netdev "lan" "LAN" "ubnt:green:lan" "eth0"
+ ucidef_set_led_wlan "wlan" "WLAN" "ubnt:green:wlan" "phy0tpt"
+ ;;
mc-mac1200r)
ucidef_set_led_wlan "wlan2g" "WLAN2G" "mercury:green:wlan2g" "phy1tpt"
ucidef_set_led_wlan "wlan5g" "WLAN5G" "mercury:green:wlan5g" "phy0tpt"
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 8f492cbf02..560112756a 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/02_network
+++ b/target/linux/ar71xx/base-files/etc/board.d/02_network
@@ -82,6 +82,7 @@ ar71xx_setup_interfaces()
fritz300e|\
gl-usb150|\
hiveap-121|\
+ lbe-m5|\
loco-m-xw|\
mr12|\
mr16|\
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index 6b53ad03c7..6ea4fb085c 100644
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -260,6 +260,9 @@ get_status_led() {
lan-turtle)
status_led="$board:orange:system"
;;
+ lbe-m5)
+ status_led="ubnt:green:sys"
+ ;;
ls-sr71)
status_led="ubnt:green:d22"
;;