diff options
author | Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl> | 2019-12-22 21:55:54 +0100 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2020-01-15 20:56:05 +0100 |
commit | a736f394323689dbbfbe548f93e6aa620016a64a (patch) | |
tree | 8f479c61421465bf7201d8e4e096dfbb5cf91e70 /target/linux/ath79/nand/base-files/etc/board.d | |
parent | 37a36a588a015c5f9e57c80c75670cf993955f24 (diff) | |
download | upstream-a736f394323689dbbfbe548f93e6aa620016a64a.tar.gz upstream-a736f394323689dbbfbe548f93e6aa620016a64a.tar.bz2 upstream-a736f394323689dbbfbe548f93e6aa620016a64a.zip |
ath79: add support for Netgear WNDR4500 v3
This patch introduces support for Netgear WNDR4500v3. Router
is very similar to WNDR4300v2 and is based on the same PCB.
Information gathered from various Internet sources (including
https://patchwork.ozlabs.org/patch/809227/) shows following
differences to WNDR4300v2:
* two USB 2.0 ports with separate LEDs
* USB LEDs soldered to secondary pads
* WPS and RFKILL buttons soldered to secondary pads
* described as N900 device with 3x3:3 MIMO for 2.4GHz radio
* power supply requirement is DC 12V 2.5A
* vendor HW ID suffix differs in one digit
* bigger chassis
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
Diffstat (limited to 'target/linux/ath79/nand/base-files/etc/board.d')
-rwxr-xr-x | target/linux/ath79/nand/base-files/etc/board.d/01_leds | 3 | ||||
-rwxr-xr-x | target/linux/ath79/nand/base-files/etc/board.d/02_network | 6 |
2 files changed, 6 insertions, 3 deletions
diff --git a/target/linux/ath79/nand/base-files/etc/board.d/01_leds b/target/linux/ath79/nand/base-files/etc/board.d/01_leds index 0376b7cfc6..d9989ec538 100755 --- a/target/linux/ath79/nand/base-files/etc/board.d/01_leds +++ b/target/linux/ath79/nand/base-files/etc/board.d/01_leds @@ -14,7 +14,8 @@ glinet,gl-ar300m-nor) ;; netgear,wndr3700-v4|\ netgear,wndr4300|\ -netgear,wndr4300-v2) +netgear,wndr4300-v2|\ +netgear,wndr4500-v3) ucidef_set_led_switch "wan-amber" "WAN (amber)" "netgear:amber:wan" "switch0" "0x20" ;; esac diff --git a/target/linux/ath79/nand/base-files/etc/board.d/02_network b/target/linux/ath79/nand/base-files/etc/board.d/02_network index 135a06d44b..bd02a4b383 100755 --- a/target/linux/ath79/nand/base-files/etc/board.d/02_network +++ b/target/linux/ath79/nand/base-files/etc/board.d/02_network @@ -18,7 +18,8 @@ ath79_setup_interfaces() ;; netgear,wndr3700-v4|\ netgear,wndr4300|\ - netgear,wndr4300-v2) + netgear,wndr4300-v2|\ + netgear,wndr4500-v3) ucidef_add_switch "switch0" \ "0@eth0" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" "5:wan" ;; @@ -39,7 +40,8 @@ ath79_setup_macs() case "$board" in netgear,wndr3700-v4|\ netgear,wndr4300|\ - netgear,wndr4300-v2) + netgear,wndr4300-v2|\ + netgear,wndr4500-v3) wan_mac=$(mtd_get_mac_binary caldata 0x6) ;; zyxel,nbg6716) |