From bf534e45ea696cc2d4afe12502a8ad78b54cfc29 Mon Sep 17 00:00:00 2001 From: Daniel Gonzalez Cabanelas Date: Sat, 3 Dec 2016 15:51:05 +0100 Subject: brcm63xx: Add Observa VH4032N support Add support for the Observa Telecom VH4032N router. This is another BCM6368 router, 128 MB RAM, 32MB flash and 3 USB host ports. The wifi chip is an onboard Broadcom BCM43222. Signed-off-by: Daniel Gonzalez Cabanelas [jonas.gorski: use gpio-hog instead of abusing ephy-reset] Signed-off-by: Jonas Gorski --- target/linux/brcm63xx/base-files/etc/board.d/02_network | 5 +++++ target/linux/brcm63xx/base-files/etc/diag.sh | 3 +++ target/linux/brcm63xx/base-files/etc/uci-defaults/09_fix_crc | 1 + target/linux/brcm63xx/base-files/lib/brcm63xx.sh | 3 +++ 4 files changed, 12 insertions(+) (limited to 'target/linux/brcm63xx/base-files') 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 c20caf9..c83aa62 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,11 @@ vr-3026e) "0:lan:1" "1:lan:2" "2:lan:3" "3:lan:4" "8t@eth0" ;; +vh4032n) + ucidef_add_switch "switch0" \ + "0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "8t@eth0" + ;; + bcm96368mvwg) ucidef_add_switch "switch0" \ "1:lan" "2:lan" "4:lan" "5:lan" "8t@eth0" diff --git a/target/linux/brcm63xx/base-files/etc/diag.sh b/target/linux/brcm63xx/base-files/etc/diag.sh index 852a701..3a858e4 100644 --- a/target/linux/brcm63xx/base-files/etc/diag.sh +++ b/target/linux/brcm63xx/base-files/etc/diag.sh @@ -33,6 +33,9 @@ set_state() { spw303v) status_led="spw303v:green:power+adsl" ;; + vh4032n) + status_led="VH4032N:red:power" + ;; vr-3025un) status_led="VR-3025un: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 1201168..650db9d 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 @@ -31,6 +31,7 @@ case "$(brcm63xx_board_name)" in spw303v |\ v2110 |\ v2500v_bb |\ + vh4032n |\ vr-3025u |\ vr-3025un |\ vr-3026e |\ diff --git a/target/linux/brcm63xx/base-files/lib/brcm63xx.sh b/target/linux/brcm63xx/base-files/lib/brcm63xx.sh index 9cc0b2b..3dce282 100755 --- a/target/linux/brcm63xx/base-files/lib/brcm63xx.sh +++ b/target/linux/brcm63xx/base-files/lib/brcm63xx.sh @@ -189,6 +189,9 @@ brcm63xx_dt_detect() { "NuCom R5010UN v2") board_name="r5010un_v2" ;; + "Observa VH4032N") + board_name="vh4032n" + ;; "Pirelli A226G") board_name="a226g" ;; -- cgit v1.1