ar71xx: add user-space support for the OpenMesh MR1750 board
authorJohn Crispin <john@openwrt.org>
Mon, 14 Sep 2015 20:11:01 +0000 (20:11 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 14 Sep 2015 20:11:01 +0000 (20:11 +0000)
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 46927

target/linux/ar71xx/base-files/etc/diag.sh
target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
target/linux/ar71xx/base-files/etc/uci-defaults/02_network
target/linux/ar71xx/base-files/lib/ar71xx.sh

index 1b1f6c7c66e0065cbce7d3c3c0b748273cb7b6f2..54fca1353c1b7c626759896022502f996ae34ec2 100644 (file)
@@ -150,6 +150,9 @@ get_status_led() {
        mr600v2)
                status_led="mr600:blue:power"
                ;;
+       mr1750)
+               status_led="mr1750:blue:power"
+               ;;
        mr900 | \
        mr900v2)
                status_led="mr900:blue:power"
index 6ecc0e28819e266bd729a22ec835538e2ba50dd9..c8eac126f307d2793855c0f2af7f8883ed723f1c 100644 (file)
@@ -263,6 +263,12 @@ mr600)
        ucidef_set_led_wlan "wlan58" "WLAN58" "mr600:green:wlan58" "phy0tpt"
        ;;
 
+mr1750)
+       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"
+       ;;
+
 mr900 | \
 mr900v2)
        ucidef_set_led_netdev "lan" "LAN" "mr900:blue:wan" "eth0"
index 686fce98b3b883e94c0b8e689625d280b879d318..d9053be5a42263a98cc392e9f646f35af630430e 100644 (file)
@@ -338,6 +338,7 @@ eap300v2 |\
 eap7660d |\
 el-mini |\
 loco-m-xw |\
+mr1750 |\
 mr600 |\
 mr600v2 |\
 mr900 |\
index d4959408de0d9b3515a383fdaa986de1dead728f..dcf7006d9e5edac46ff2c54d9a2fe4232f3d2dca 100755 (executable)
@@ -514,6 +514,9 @@ ar71xx_board_detect() {
        *MR600v2)
                name="mr600v2"
                ;;
+       *MR1750)
+               name="mr1750"
+               ;;
        *MR600)
                name="mr600"
                ;;