diff options
author | Pawel Dembicki <paweldembicki@gmail.com> | 2019-12-11 21:54:24 +0100 |
---|---|---|
committer | David Bauer <mail@david-bauer.net> | 2020-03-04 23:02:46 +0100 |
commit | 4e9317201d3fb47800b387d69d79c00f38d2dbfd (patch) | |
tree | 0c5f9b7295b19b4225be991f6d90dd1aabb53356 /target/linux/ramips/mt7621 | |
parent | 3251ac8f2d3de29af2a1584f427246ea702fdbd9 (diff) | |
download | upstream-4e9317201d3fb47800b387d69d79c00f38d2dbfd.tar.gz upstream-4e9317201d3fb47800b387d69d79c00f38d2dbfd.tar.bz2 upstream-4e9317201d3fb47800b387d69d79c00f38d2dbfd.zip |
ramips: mt7621: add support for Netgear R6800
This patch adds support for the Netgear R6800, aka Netgear AC1900 and
R6800-100PES.
Specification:
- SoC: MediaTek MT7621AT (880 MHz)
- Flash: 128 MiB NAND
- RAM: 256 MiB
- Wireless: MediaTek MT7615EN b/g/n , MediaTek MT7615EN an+ac
- LAN speed: 10/100/1000
- LAN ports: 4
- WAN speed: 10/100/1000
- WAN ports: 1
- USB 2.0
- USB 3.0
- Serial baud rate of Bootloader and factory firmware: 57600
Known issues:
- Device has 3 wifi LEDs: Wifi 5Ghz, Wifi 2.4Ghz and Wifi on/off.
Wifi on/off is not used.
Installation:
- apply factory image via stock web-gui.
Back to stock:
- nmrpflash can be used to recover to the stock Netgear firmware.
Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
Diffstat (limited to 'target/linux/ramips/mt7621')
4 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/ramips/mt7621/base-files/etc/board.d/01_leds b/target/linux/ramips/mt7621/base-files/etc/board.d/01_leds index 4eab8f42fe..ac73729d1b 100755 --- a/target/linux/ramips/mt7621/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/mt7621/base-files/etc/board.d/01_leds @@ -52,6 +52,13 @@ netgear,r6850|\ netgear,wndr3700-v5) ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x10" ;; +netgear,r6800) + ucidef_set_led_switch "wan" "WAN" "$boardname:white:wan" "switch0" "0x10" + ucidef_set_led_switch "lan1" "LAN1" "$boardname:white:lan1" "switch0" "0x08" + ucidef_set_led_switch "lan2" "LAN2" "$boardname:white:lan2" "switch0" "0x04" + ucidef_set_led_switch "lan3" "LAN3" "$boardname:white:lan3" "switch0" "0x02" + ucidef_set_led_switch "lan4" "LAN4" "$boardname:white:lan4" "switch0" "0x01" + ;; tplink,re350-v1|\ tplink,re650-v1) ucidef_set_led_netdev "wifi2g" "Wifi 2.4G" "$boardname:blue:wifi2G" "wlan0" diff --git a/target/linux/ramips/mt7621/base-files/etc/board.d/02_network b/target/linux/ramips/mt7621/base-files/etc/board.d/02_network index 9b7b56f0ba..a84ee808a3 100755 --- a/target/linux/ramips/mt7621/base-files/etc/board.d/02_network +++ b/target/linux/ramips/mt7621/base-files/etc/board.d/02_network @@ -41,6 +41,7 @@ ramips_setup_interfaces() netgear,r6220|\ netgear,r6260|\ netgear,r6350|\ + netgear,r6800|\ netgear,r6850|\ netgear,wndr3700-v5|\ netis,wf2881|\ @@ -252,6 +253,7 @@ ramips_setup_macs() ;; netgear,r6260|\ netgear,r6350|\ + netgear,r6800|\ netgear,r6850) wan_mac=$(macaddr_add "$(mtd_get_mac_binary factory 0x4)" 2) ;; diff --git a/target/linux/ramips/mt7621/base-files/lib/upgrade/platform.sh b/target/linux/ramips/mt7621/base-files/lib/upgrade/platform.sh index 465ea0a909..f6b5c86431 100755 --- a/target/linux/ramips/mt7621/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/mt7621/base-files/lib/upgrade/platform.sh @@ -48,6 +48,7 @@ platform_do_upgrade() { netgear,r6220|\ netgear,r6260|\ netgear,r6350|\ + netgear,r6800|\ netgear,r6850|\ netis,wf2881|\ xiaomi,mir3g|\ diff --git a/target/linux/ramips/mt7621/config-4.14 b/target/linux/ramips/mt7621/config-4.14 index 4112cad780..2ae6afb97f 100644 --- a/target/linux/ramips/mt7621/config-4.14 +++ b/target/linux/ramips/mt7621/config-4.14 @@ -236,6 +236,7 @@ CONFIG_PHYLIB=y CONFIG_PINCTRL=y CONFIG_PINCTRL_RT2880=y # CONFIG_PINCTRL_SINGLE is not set +CONFIG_PINCTRL_SX150X=y CONFIG_POWER_RESET=y CONFIG_POWER_RESET_GPIO=y CONFIG_POWER_SUPPLY=y |