diff options
author | Daniel Gonzalez Cabanelas <dgcbueu@gmail.com> | 2017-08-12 12:40:22 +0200 |
---|---|---|
committer | Jonas Gorski <jonas.gorski@gmail.com> | 2017-08-26 12:03:55 +0200 |
commit | c7b4b4cee2c7b72d6f52592f3b57f2c45e48b253 (patch) | |
tree | 1163f357f7c74484f96e1d71845a8d75aa33a3d9 /target/linux/brcm63xx/base-files | |
parent | 6c9e2d4a68519ec00fff5dc5c746efe49ba19241 (diff) | |
download | mtk-20170518-c7b4b4cee2c7b72d6f52592f3b57f2c45e48b253.zip mtk-20170518-c7b4b4cee2c7b72d6f52592f3b57f2c45e48b253.tar.gz mtk-20170518-c7b4b4cee2c7b72d6f52592f3b57f2c45e48b253.tar.bz2 |
brcm63xx: Add Comtrend AR-5315u support
Add support for the Comtrend AR-5315u router
This a BCM6318 based board, 64 MB RAM, 16 MB SPI flash,
with an onboard BCM43217 wifi, 4 ethernet ports and 1
USB host port
Signed-off-by: Daniel Gonzalez Cabanelas <dgcbueu@gmail.com>
[jonas.gorski: refreshed patch]
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Diffstat (limited to 'target/linux/brcm63xx/base-files')
5 files changed, 11 insertions, 0 deletions
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 a909673..ef70cde 100755 --- a/target/linux/brcm63xx/base-files/etc/board.d/01_leds +++ b/target/linux/brcm63xx/base-files/etc/board.d/01_leds @@ -15,6 +15,9 @@ a4001n1) a4001n) ucidef_set_led_usbdev "usb" "USB" "A4001N:green:usb" "1-1" ;; +ar-5315u) + ucidef_set_led_usbdev "usb" "USB" "AR-5315u:green:usb" "1-1" + ;; av4202n) ucidef_set_led_netdev "wlan0" "WLAN" "AV4202N:blue:wifi" "wlan0" ;; 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 9d9f95d..9addba6 100755 --- a/target/linux/brcm63xx/base-files/etc/board.d/02_network +++ b/target/linux/brcm63xx/base-files/etc/board.d/02_network @@ -98,6 +98,7 @@ vr-3026e) "0:lan:1" "1:lan:2" "2:lan:3" "3:lan:4" "8t@eth0" ;; +ar-5315u |\ vh4032n) ucidef_add_switch "switch0" \ "0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "8t@eth0" diff --git a/target/linux/brcm63xx/base-files/etc/diag.sh b/target/linux/brcm63xx/base-files/etc/diag.sh index 24939a9..700c9ea 100644 --- a/target/linux/brcm63xx/base-files/etc/diag.sh +++ b/target/linux/brcm63xx/base-files/etc/diag.sh @@ -12,6 +12,9 @@ set_state() { a4001n) status_led="A4001N:green:power" ;; + ar-5315u) + status_led="AR-5315u:green:power" + ;; ar-5381u) status_led="AR-5381u:green:power" ;; diff --git a/target/linux/brcm63xx/base-files/etc/uci-defaults/09_fix_crc b/target/linux/brcm63xx/base-files/etc/uci-defaults/09_fix_crc index 94c4223..bfd485c 100644 --- a/target/linux/brcm63xx/base-files/etc/uci-defaults/09_fix_crc +++ b/target/linux/brcm63xx/base-files/etc/uci-defaults/09_fix_crc @@ -13,6 +13,7 @@ do_fixcrc() { case "$(board_name)" in a4001n |\ a4001n1 |\ + ar-5315u |\ ar-5381u |\ ar-5387un |\ bcm96328avng |\ diff --git a/target/linux/brcm63xx/base-files/lib/brcm63xx.sh b/target/linux/brcm63xx/base-files/lib/brcm63xx.sh index fc3d699..3f46633 100755 --- a/target/linux/brcm63xx/base-files/lib/brcm63xx.sh +++ b/target/linux/brcm63xx/base-files/lib/brcm63xx.sh @@ -87,6 +87,9 @@ brcm63xx_dt_detect() { "BT Voyager V2500V") board_name="v2500v_bb" ;; + "Comtrend AR-5315u") + board_name="ar-5315u" + ;; "Comtrend AR-5381u") board_name="ar-5381u" ;; |