mediatek/filogic: add Keenetic KN-3911 support
authorMaxim Anisimov <maxim.anisimov.ua@gmail.com>
Thu, 31 Oct 2024 07:30:08 +0000 (10:30 +0300)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 28 Nov 2024 21:33:21 +0000 (22:33 +0100)
commit5a4eb56a7bc7d1d8028d103d50b0dba2ff7808c4
tree174118699cdbf2b311027d61278be841b2bfa75f
parent0d651dd302cf2b6968268f27a084363b9b398760
mediatek/filogic: add Keenetic KN-3911 support

Specification:
 - MT7981 CPU using 2.4GHz and 5GHz WiFi (both AX)
 - 512MB RAM
 - 128MB SPI NAND
 - 2 LEDs (green, orange)
 - 3 buttons (fn, reset, wps)
 - 2 2.5Gbit ethernet ports based on Airoha EN8811H phy

Serial Interface:
 - 3 Pins GND, RX, TX
 - Settings: 115200, 8N1

Notes:
 - The device supports dual boot mode

Flash instruction:
The only way to flash OpenWrt image is to use tftp recovery mode in U-Boot:

1. Configure PC with static IP 192.168.1.2/24 and tftp server.
2. Rename "openwrt-mediatek-filogic-keenetic_kn-3911-squashfs-factory.bin"
   to "KN-3911_recovery.bin" and place it in tftp server directory.
3. Connect PC with ethernet port, press the reset button, power up
   the device and keep button pressed until status led start blinking.
4. Device will download file from server, write it to flash and reboot.

Signed-off-by: Maxim Anisimov <maxim.anisimov.ua@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16830
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/mediatek/dts/mt7981b-keenetic-kn-3911.dts [new file with mode: 0644]
target/linux/mediatek/filogic/base-files/etc/board.d/02_network
target/linux/mediatek/filogic/base-files/etc/hotplug.d/ieee80211/11_fix_wifi_mac
target/linux/mediatek/image/filogic.mk