immortalwrt/target/linux
Denis Kalashnikov e2eb061698
ath79: add support for MikroTik RouterBOARD 912UAG-2HPnD
This board has been supported in the ar71xx.

Links:
* https://mikrotik.com/product/RB912UAG-2HPnD
* https://openwrt.org/toh/hwdata/mikrotik/mikrotik_rb912uag-2hpnd

This also supports the 5GHz flavour of the board.

Hardware:
* SoC: Atheros AR9342,
* RAM: DDR 64MB,
* SPI NOR: 64KB,
* NAND: 128MB,
* Ethernet: x1 10/100/1000 port with passive POE in,
* Wi-Fi: 802.11 b/g/n,
* PCIe,
* USB: 2.0 EHCI controller, connected to mPCIe slot and a Type-A
  port -- both can be used for LTE modem, but only one can be
  used at any time.
* LEDs: 5 general purpose LEDs (led1..led5), power LED, user LED,
  Ethernet phy LED,
* Button,
* Beeper.

Not working:
* Button: it shares gpio line 15 with NAND ALE and NAND IO7,
  and current drivers doesn't easily support this configuration,
* Beeper: it is connected to bit 5 of a serial shift register
  (tested with sysfs led trigger timer). But kmod-gpio-beeper
  doesn't work -- we left this as is for now.

Flashing:
* Use the RouterBOARD Reset button to enable TFTP netboot,
boot kernel and initramfs and then perform sysupgrade.
* From ar71xx OpenWrt firmware run:
  $ sysupgrade -F /tmp/<sysupgrade.bin>
For more info see: https://openwrt.org/toh/mikrotik/common.

Co-Developed-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
Reviewed-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
Signed-off-by: Denis Kalashnikov <denis281089@gmail.com>
(cherry picked from commit 695a1cd53c)
2021-06-21 20:39:04 +08:00
..
apm821xx apm821xx: move CONFIG_REGULATOR to target config 2021-06-14 11:45:49 +08:00
arc770 treewide: do not quote compatible in shell scripts 2021-06-07 23:25:51 +08:00
archs38 treewide: switch the timer frequency to 100 Hz 2021-04-22 23:12:24 +08:00
armvirt treewide: switch the timer frequency to 100 Hz 2021-04-22 23:12:24 +08:00
at91 kernel: move some drm symbols to generic config 2021-06-14 11:48:45 +08:00
ath25 kernel: Activate FORTIFY_SOURCE for MIPS kernel 5.4 2021-05-01 11:12:26 +08:00
ath79 ath79: add support for MikroTik RouterBOARD 912UAG-2HPnD 2021-06-21 20:39:04 +08:00
bcm27xx Merge Mainline 2021-05-31 18:55:44 +08:00
bcm47xx bcm47xx: make WGT634U NVRAM patch apply again 2021-03-13 12:05:27 +08:00
bcm53xx kernel: bump to 4.9.269, 4.14.233, 4.19.191 2021-05-25 01:20:11 +08:00
bcm63xx bcm63xx: drop USB LEDs for Technicolor TG582N / ADB P.DG A4001N 2021-06-06 23:35:35 +08:00
bcm4908 bcm4908: add kmod-gpio-button-hotplug 2021-06-21 20:38:28 +08:00
bmips bmips: remove duplicated brcmnand patch 2021-05-17 23:51:26 +08:00
gemini Revert "base-files: generate network config with "device" options" 2021-05-28 21:29:34 +08:00
generic sunxi: refresh kernel patches 2021-06-20 13:12:46 +08:00
imx6 imx6: image: drop BOOT_SCRIPT and fix DEVICE_NAME 2021-05-26 23:32:41 +08:00
ipq40xx kernel: bump to 4.9.272, 4.14.236, 4.19.194 2021-06-11 00:48:28 +08:00
ipq806x Merge Mainline 2021-06-15 23:45:52 +08:00
ipq807x treewide: remove redundant ubifs kconfig symbols 2021-04-22 23:09:52 +08:00
kirkwood treewide: do not quote compatible in shell scripts 2021-06-07 23:25:51 +08:00
lantiq kernel: bump to 4.9.269, 4.14.233, 4.19.191 2021-05-25 01:20:11 +08:00
layerscape kernel: bump to 4.9.272, 4.14.236, 4.19.194 2021-06-11 00:48:28 +08:00
malta treewide: switch the timer frequency to 100 Hz 2021-04-22 23:12:24 +08:00
mediatek kernel: bump 5.4 to 5.4.124 2021-06-06 23:39:33 +08:00
mpc85xx treewide: switch the timer frequency to 100 Hz 2021-04-22 23:12:24 +08:00
mvebu Merge Mainline 2021-06-17 20:47:12 +08:00
mxs treewide: switch the timer frequency to 100 Hz 2021-04-22 23:12:24 +08:00
octeon octeon: use shared function for platform_copy_config() 2021-05-17 23:51:15 +08:00
octeontx treewide: switch the timer frequency to 100 Hz 2021-04-22 23:12:24 +08:00
omap kernel: move some drm symbols to generic config 2021-06-14 11:48:45 +08:00
oxnas treewide: remove redundant ubifs kconfig symbols 2021-04-22 23:09:52 +08:00
pistachio treewide: switch the timer frequency to 100 Hz 2021-04-22 23:12:24 +08:00
ramips ramips: clean up dlink_dir-8xx-r1 recipe 2021-06-21 20:37:11 +08:00
realtek Revert "base-files: generate network config with "device" options" 2021-05-28 21:29:34 +08:00
rockchip kernel: bump 5.10 to 5.10.43 2021-06-14 11:51:09 +08:00
sunxi kmod-rtc-sunxi: missing deps kmod-multimedia-input 2021-06-20 16:59:00 +08:00
tegra Merge Mainline 2021-06-17 20:47:12 +08:00
uml treewide: switch the timer frequency to 100 Hz 2021-04-22 23:12:24 +08:00
x86 Merge Mainline 2021-06-18 00:03:43 +08:00
zynq kernel: move some drm symbols to generic config 2021-06-14 11:48:45 +08:00
Makefile target: use SPDX license identifiers on Makefiles 2021-02-11 12:05:39 +08:00