From 9d4f8ff4f65c5928852ebbe25d07a7533bcd540a Mon Sep 17 00:00:00 2001 From: Paul Wassi Date: Sat, 24 Dec 2016 00:24:44 +0100 Subject: brcm63xx: add support for Pirelli/ADB P.DG AV4202N This patch adds support for the ADB P.DG AV4202N aka Pirelli PRG AV4202N. Signed-off-by: Paul Wassi Signed-off-by: Jonas Gorski --- target/linux/brcm63xx/base-files/etc/board.d/01_leds | 3 +++ target/linux/brcm63xx/base-files/etc/board.d/02_network | 1 + target/linux/brcm63xx/base-files/etc/diag.sh | 3 +++ target/linux/brcm63xx/base-files/lib/brcm63xx.sh | 3 +++ 4 files changed, 10 insertions(+) (limited to 'target/linux/brcm63xx/base-files') diff --git a/target/linux/brcm63xx/base-files/etc/board.d/01_leds b/target/linux/brcm63xx/base-files/etc/board.d/01_leds index 8d8a942..7d208cc 100755 --- a/target/linux/brcm63xx/base-files/etc/board.d/01_leds +++ b/target/linux/brcm63xx/base-files/etc/board.d/01_leds @@ -16,6 +16,9 @@ a4001n1) a4001n) ucidef_set_led_usbdev "usb" "USB" "A4001N:green:usb" "1-1" ;; +av4202n) + ucidef_set_led_netdev "wlan0" "WLAN" "AV4202N:blue:wifi" "wlan0" + ;; 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" diff --git a/target/linux/brcm63xx/base-files/etc/board.d/02_network b/target/linux/brcm63xx/base-files/etc/board.d/02_network index 3ace356..1cf54cb 100755 --- a/target/linux/brcm63xx/base-files/etc/board.d/02_network +++ b/target/linux/brcm63xx/base-files/etc/board.d/02_network @@ -80,6 +80,7 @@ a4001n1 |\ a4001n |\ ar-5381u |\ ar-5387un |\ +av4202n |\ bcm963281tan |\ bcm96328avng |\ bcm96368mvngr |\ diff --git a/target/linux/brcm63xx/base-files/etc/diag.sh b/target/linux/brcm63xx/base-files/etc/diag.sh index 852a701..5f9a4d0 100644 --- a/target/linux/brcm63xx/base-files/etc/diag.sh +++ b/target/linux/brcm63xx/base-files/etc/diag.sh @@ -18,6 +18,9 @@ set_state() { ar-5387un) status_led="AR-5387un:green:power" ;; + av4202n) + status_led="AV4202N:white:power" + ;; bcm96348gw) status_led="96348GW:green:power" ;; diff --git a/target/linux/brcm63xx/base-files/lib/brcm63xx.sh b/target/linux/brcm63xx/base-files/lib/brcm63xx.sh index 9cc0b2b..1679482 100755 --- a/target/linux/brcm63xx/base-files/lib/brcm63xx.sh +++ b/target/linux/brcm63xx/base-files/lib/brcm63xx.sh @@ -18,6 +18,9 @@ brcm63xx_dt_detect() { "ADB P.DG A4001N1") board_name="a4001n1" ;; + "ADB P.DG AV4202N") + board_name="av4202n" + ;; "Alcatel RG100A") board_name="rg100a" ;; -- cgit v1.1