openwrt/target/linux
James McGuire de768829a5 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>
2020-11-11 17:35:10 +01:00
..
apm821xx kernel: bump 5.4 to 5.4.75 2020-11-10 13:11:32 +01:00
arc770 arc770: drop support for kernel 4.14 2020-09-02 16:29:22 +02:00
archs38
armvirt kernel: remove support for kernel 4.19 2020-10-30 19:29:59 +01:00
at91 at91: explicitly set CONFIG_USB_SUPPORT for sam9x subtarget 2020-08-27 16:36:18 +02:00
ath25 ath25: fix preinit Ethernet port configuration 2020-09-10 18:52:15 +02:00
ath79 ath79: streamline image-generation for OCEDO boards 2020-11-05 00:00:37 +01:00
bcm27xx kernel: bump 5.4 to 5.4.75 2020-11-10 13:11:32 +01:00
bcm47xx kernel: remove support for kernel 4.19 2020-10-30 19:29:59 +01:00
bcm53xx kernel: bump 5.4 to 5.4.75 2020-11-10 13:11:32 +01:00
bcm63xx bcm63xx: reorganize board patches into fewer files 2020-10-26 23:48:08 +01:00
gemini kernel: remove support for kernel 4.19 2020-10-30 19:29:59 +01:00
generic kernel: bump 5.4 to 5.4.75 2020-11-10 13:11:32 +01:00
imx6 kernel: remove support for kernel 4.19 2020-10-30 19:29:59 +01:00
ipq40xx ipq40xx: enable RX hash / CTAG TX offloading for single-phy 2020-11-01 15:30:22 +01:00
ipq806x kernel: bump 5.4 to 5.4.75 2020-11-10 13:11:32 +01:00
ipq807x
kirkwood target: update SPDX license names 2020-09-22 20:58:26 +02:00
lantiq kernel: bump 5.4 to 5.4.73 2020-11-01 14:44:06 +01:00
layerscape kernel: bump 5.4 to 5.4.75 2020-11-10 13:11:32 +01:00
malta kernel: remove support for kernel 4.19 2020-10-30 19:29:59 +01:00
mediatek kernel: bump 5.4 to 5.4.75 2020-11-10 13:11:32 +01:00
mpc85xx kernel: bump 5.4 to 5.4.75 2020-11-10 13:11:32 +01:00
mvebu kernel: bump 5.4 to 5.4.75 2020-11-10 13:11:32 +01:00
mxs
octeon kernel: bump 5.4 to 5.4.75 2020-11-10 13:11:32 +01:00
octeontx kernel: move F2FS_FS_XATTR and F2FS_STAT_FS symbols to generic 2020-10-09 23:20:19 +01:00
omap kernel: remove support for kernel 4.19 2020-10-30 19:29:59 +01:00
oxnas kernel: bump 5.4 to 5.4.75 2020-11-10 13:11:32 +01:00
pistachio kernel: bump 5.4 to 5.4.73 2020-11-01 14:44:06 +01:00
ramips ramips: add support for D-Link DIR-2640 A1 2020-11-11 17:35:10 +01:00
rockchip rockchip: remove unused config symbols 2020-11-04 23:58:27 +01:00
rtl838x rtl838x: fine tune default package set 2020-11-09 21:50:06 +01:00
sunxi kernel: remove support for kernel 4.19 2020-10-30 19:29:59 +01:00
tegra kernel: remove support for kernel 4.19 2020-10-30 19:29:59 +01:00
uml kernel: bump 5.4 to 5.4.71 2020-10-15 17:46:54 +02:00
x86 x86: upgrade: make code comment appear as log lines 2020-11-11 21:29:55 +08:00
zynq kernel: remove support for kernel 4.19 2020-10-30 19:29:59 +01:00
Makefile