brcm63xx: CPVA502+: fix userspace support
authorDaniel Gonzalez Cabanelas <dgcbueu@gmail.com>
Tue, 14 Feb 2017 15:37:04 +0000 (16:37 +0100)
committerJonas Gorski <jonas.gorski@gmail.com>
Tue, 28 Feb 2017 12:18:27 +0000 (13:18 +0100)
Fix board name typo, fix network configuration and add a led trigger.

Signed-off-by: Daniel Gonzalez Cabanelas <dgcbueu@gmail.com>
target/linux/brcm63xx/base-files/etc/board.d/01_leds
target/linux/brcm63xx/base-files/etc/board.d/02_network
target/linux/brcm63xx/base-files/lib/brcm63xx.sh

index 7d208cc5450232453dd0a980f4300218990b361b..61f685e675a05b9e0ca01edc93da3fcff4ff26ee 100755 (executable)
@@ -19,6 +19,9 @@ a4001n)
 av4202n)
        ucidef_set_led_netdev "wlan0" "WLAN" "AV4202N:blue:wifi" "wlan0"
        ;;
+cpva502p)
+       ucidef_set_led_netdev "lan" "LAN" "CPVA502+:amber:link" "eth0"
+       ;;
 dgnd3700v1_dgnd3800b)
        ucidef_set_led_netdev "lan" "LAN" "DGND3700v1_3800B:green:lan" "eth0.1"
        ucidef_set_led_netdev "wan" "WAN" "DGND3700v1_3800B:green:inet" "eth0.2"
index ff5fc7a201e31e0847702fcfa0b18b82e0a24ab5..f703dfd3f8bfe9380bc6108c8d5349aad02e272d 100755 (executable)
@@ -42,7 +42,6 @@ bcm96348gw-10 |\
 bcm96348gw-11 |\
 bcm96358vw |\
 bcm96358vw2 |\
-cpva502p |\
 dg834gt |\
 dmv-s0 |\
 dsl-2650u |\
@@ -135,6 +134,7 @@ bcm963268bu_p300)
                "0:lan" "3:lan" "4:lan" "5:lan" "6:lan" "7:lan" "8t@eth0"
        ;;
 
+cpva502p |\
 livebox1)
        ucidef_set_interfaces_lan_wan "eth0" "eth1"
        ;;
index bceba8fe136a22180bb63e66838da772ec1fbfa1..4fe33eb41ac62351132c19119d86bcfe6f39c262 100755 (executable)
@@ -240,7 +240,7 @@ brcm63xx_dt_detect() {
        "TECOM GW6200")
                board_name="g6200"
                ;;
-       "Telsey CVPA502+")
+       "Telsey CPVA502+")
                board_name="cpva502p"
                ;;
        "Telsey CPVA642-type (CPA-ZNTE60T)")