aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bmips/bcm6368/base-files
diff options
context:
space:
mode:
authorDaniel González Cabanelas <dgcbueu@gmail.com>2023-06-10 11:54:59 +0200
committerÁlvaro Fernández Rojas <noltari@gmail.com>2023-06-10 15:42:35 +0200
commitf25afae0b51c47a185ae30d4414ce229f27feb8e (patch)
treef918e91c25ac20623728d6dbde2c4819ec4cff21 /target/linux/bmips/bcm6368/base-files
parent725319ad3857e0d6b2f5f900e9ab2f779ad53410 (diff)
downloadupstream-f25afae0b51c47a185ae30d4414ce229f27feb8e.tar.gz
upstream-f25afae0b51c47a185ae30d4414ce229f27feb8e.tar.bz2
upstream-f25afae0b51c47a185ae30d4414ce229f27feb8e.zip
bmips: add support for Netgear DGND3700 v1, DGND3800B
The Netgear DGND3700 v1 and DGND3800B are the same device but with different factory firmwares. It's an xDSL wifi router with a slim black shiny casing and 4 PCB internal antennas connected via UFL to a miniPCI detachable card. Hardware: - SoC: Broadcom BCM6368 - CPU: dual core BMIPS4350 V3.1 @400Mhz - RAM: 128 MB DDR - NOR Flash: 32 MB parallel (CFE and OS) - NAND flash: 128 MB (empty) - Ethernet LAN: 5x 1Gbit - Wifi 2.4 GHz: Broadcom BCM43222 802.11bgn - Wifi 5 GHz: Broadcom BCM43222 802.11abgn - USB: 2x 2.0 - Buttons: 3x, 1 reset - LEDs: 11x - UART: yes Installation via OEM web UI: 1. Open the Netgear administration web interface, by default: http://192.168.0.1 user: admin password: password 2. Look for "upgrade firmware" and proceed 3. Wait some minutes until it finishes Signed-off-by: Daniel González Cabanelas <dgcbueu@gmail.com>
Diffstat (limited to 'target/linux/bmips/bcm6368/base-files')
-rw-r--r--target/linux/bmips/bcm6368/base-files/etc/board.d/01_leds9
-rw-r--r--target/linux/bmips/bcm6368/base-files/etc/board.d/02_network5
2 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/bmips/bcm6368/base-files/etc/board.d/01_leds b/target/linux/bmips/bcm6368/base-files/etc/board.d/01_leds
index ab797568b7..e68a4e947b 100644
--- a/target/linux/bmips/bcm6368/base-files/etc/board.d/01_leds
+++ b/target/linux/bmips/bcm6368/base-files/etc/board.d/01_leds
@@ -6,6 +6,15 @@
board_config_update
case "$(board_name)" in
+netgear,dgnd3700-v1 |\
+netgear,dgnd3800b)
+ ucidef_set_led_netdev "lan" "LAN" "green:lan" "switch.1"
+ ucidef_set_led_netdev "wan" "WAN" "green:wan" "wan"
+ ucidef_set_led_netdev "wlan0" "WIFI2G" "green:wifi2g" "phy0-ap0"
+ ucidef_set_led_netdev "wlan1" "WIFI5G" "blue:wifi5g" "phy1-ap0"
+ ucidef_set_led_usbport "usb1" "USB1" "green:usb1" "usb1-port1" "usb2-port1"
+ ucidef_set_led_usbport "usb2" "USB2" "green:usb2" "usb1-port2" "usb2-port2"
+ ;;
observa,vh4032n)
ucidef_set_led_usbport "usb1" "USB1" "blue:hspa" "usb1-port1" "usb2-port1"
ucidef_set_led_usbport "usb2" "USB2" "red:hspa" "1-2-port1" "1-2-port2"
diff --git a/target/linux/bmips/bcm6368/base-files/etc/board.d/02_network b/target/linux/bmips/bcm6368/base-files/etc/board.d/02_network
index 1064b80fba..f99005acd7 100644
--- a/target/linux/bmips/bcm6368/base-files/etc/board.d/02_network
+++ b/target/linux/bmips/bcm6368/base-files/etc/board.d/02_network
@@ -10,6 +10,11 @@ observa,vh4032n)
ucidef_set_bridge_device switch
ucidef_set_interface_lan "lan1 lan2 lan3 lan4"
;;
+netgear,dgnd3700-v1 |\
+netgear,dgnd3800b)
+ ucidef_set_bridge_device switch
+ ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4" "wan"
+ ;;
esac
board_config_flush