ramips: add support for JCG Q20
authorChukun Pan <amadeus@jmu.edu.cn>
Sun, 16 May 2021 12:10:05 +0000 (20:10 +0800)
committerDavid Bauer <mail@david-bauer.net>
Wed, 26 May 2021 21:10:45 +0000 (23:10 +0200)
commit57cb387cfeee2a07902a2f1383ca471ef47265f3
treec6c3fc7fcbb5d9e5eca80983d33212ccdf901d4d
parent3501db9b9b4a71ae52c539b46af817783c327866
ramips: add support for JCG Q20

JCG Q20 is an AX 1800M router.

Hardware specs:
  SoC: MediaTek MT7621AT
  Flash: Winbond W29N01HV 128 MiB
  RAM: Winbond W632GU6NB-11 256 MiB
  WiFi: MT7915 2.4/5 GHz 2T2R
  Ethernet: 10/100/1000 Mbps x3
  LED: Status (red / blue)
  Button: Reset, WPS
  Power: DC 12V,1A

Flash instructions:
  Upload factory.bin in stock firmware's upgrade page,
  do not preserve settings.

MAC addresses map:
  0x00004 *:3e wlan2g/wlan5g
  0x3fff4 *:3c lan/label
  0x3fffa *:3c wan

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
package/boot/uboot-envtools/files/ramips
target/linux/ramips/dts/mt7621_jcg_q20.dts [new file with mode: 0644]
target/linux/ramips/image/mt7621.mk
target/linux/ramips/mt7621/base-files/etc/board.d/02_network
target/linux/ramips/mt7621/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac
target/linux/ramips/mt7621/base-files/lib/upgrade/platform.sh