openwrt/target/linux
James McGuire 7aad53e799 ramips: add support for D-Link DIR-2640 A1
This patch adds support for D-Link DIR-2640 A1.

Specifications:
* Board: AP-MTKH7-0002
* SoC: MediaTek MT7621AT
* RAM: 256 MB (DDR3)
* Flash: 128 MB (NAND)
* WiFi: MediaTek MT7615N (x2)
* Switch: 1 WAN, 4 LAN (Gigabit)
* Ports: 1 USB 2.0, 1 USB 3.0
* Buttons: Reset, WPS
* LEDs: Power (blue/orange), Internet (blue/orange), WiFi 2.4G (blue),
        WiFi 5G (blue), USB 3.0 (blue), USB 2.0 (blue)

Notes:
* WiFi 2.4G and WiFi 5G LEDs are wired directly to the wireless chips

Installation:
* D-Link Recovery GUI: power down the router, press and hold the reset
  button, then re-plug it. Keep the reset button pressed until the power
  LED starts flashing orange, manually assign a static IP address under
  the 192.168.0.xxx subnet (e.g. 192.168.0.2) and go to http://192.168.0.1

* Some modern browsers may have problems flashing via the Recovery GUI,
  if that occurs consider uploading the firmware through cURL:

    curl -v -i -F "firmware=@file.bin" 192.168.0.1

MAC addresses:

lan   factory 0xe000     *:a7 (label)
wan   factory 0xe006     *:aa
2.4   factory 0xe000 +1  *:a8
5.0   factory 0xe000 +2  *:a9

Seems like vendor didn't replace the dummy entries in the calibration data.

Signed-off-by: James McGuire <jamesm51@gmail.com>
[fix device definition title]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Signed-off-by: maurerr <mariusd84@gmail.com>
2021-09-01 08:07:10 +00:00
..
apm821xx kernel: bump 5.4 to 5.4.75 2021-09-01 08:07:10 +00:00
arc770
archs38
armvirt kernel: remove support for kernel 4.19 2021-09-01 08:07:08 +00:00
at91
ath25 ath25: fix preinit Ethernet port configuration 2021-09-01 08:06:58 +00:00
ath79 ath79: streamline image-generation for OCEDO boards 2021-09-01 08:07:09 +00:00
bcm27xx kernel: bump 5.4 to 5.4.75 2021-09-01 08:07:10 +00:00
bcm47xx kernel: remove support for kernel 4.19 2021-09-01 08:07:08 +00:00
bcm53xx kernel: bump 5.4 to 5.4.75 2021-09-01 08:07:10 +00:00
bcm63xx bcm63xx: reorganize board patches into fewer files 2021-09-01 08:07:07 +00:00
gemini kernel: remove support for kernel 4.19 2021-09-01 08:07:08 +00:00
generic kernel: bump 5.4 to 5.4.75 2021-09-01 08:07:10 +00:00
imx6 kernel: remove support for kernel 4.19 2021-09-01 08:07:08 +00:00
ipq40xx ipq40xx: enable RX hash / CTAG TX offloading for single-phy 2021-09-01 08:07:08 +00:00
ipq806x kernel: bump 5.4 to 5.4.75 2021-09-01 08:07:10 +00:00
ipq807x
kirkwood target: update SPDX license names 2021-09-01 08:07:01 +00:00
lantiq kernel: bump 5.4 to 5.4.73 2021-09-01 08:07:08 +00:00
layerscape kernel: bump 5.4 to 5.4.75 2021-09-01 08:07:10 +00:00
malta kernel: remove support for kernel 4.19 2021-09-01 08:07:08 +00:00
mediatek kernel: bump 5.4 to 5.4.75 2021-09-01 08:07:10 +00:00
mpc85xx kernel: bump 5.4 to 5.4.75 2021-09-01 08:07:10 +00:00
mvebu kernel: bump 5.4 to 5.4.75 2021-09-01 08:07:10 +00:00
mxs
octeon kernel: bump 5.4 to 5.4.75 2021-09-01 08:07:10 +00:00
octeontx kernel: move F2FS_FS_XATTR and F2FS_STAT_FS symbols to generic 2021-09-01 08:07:04 +00:00
omap kernel: remove support for kernel 4.19 2021-09-01 08:07:08 +00:00
oxnas kernel: bump 5.4 to 5.4.75 2021-09-01 08:07:10 +00:00
pistachio kernel: bump 5.4 to 5.4.73 2021-09-01 08:07:08 +00:00
ramips ramips: add support for D-Link DIR-2640 A1 2021-09-01 08:07:10 +00:00
rockchip rockchip: remove unused config symbols 2021-09-01 08:07:09 +00:00
rtl838x rtl838x: fine tune default package set 2021-09-01 08:07:10 +00:00
sunxi kernel: remove support for kernel 4.19 2021-09-01 08:07:08 +00:00
tegra kernel: remove support for kernel 4.19 2021-09-01 08:07:08 +00:00
uml kernel: bump 5.4 to 5.4.71 2021-09-01 08:07:05 +00:00
x86 x86: upgrade: make code comment appear as log lines 2021-09-01 08:07:10 +00:00
zynq kernel: remove support for kernel 4.19 2021-09-01 08:07:08 +00:00
Makefile