[RFC 0/3] ath79: add support for Mikrotik RouterBoard 912G

Sergey Ryazanov ryazanov.s.a at gmail.com
Sun May 23 18:33:20 PDT 2021


On Fri, May 21, 2021 at 2:05 PM Denis Kalashnikov <denis281089 at gmail.com> wrote:
> In the first vertion of these patches I've added a MFD driver that
> provides API for manipulating shared gpio lines to gpio-latch and nand
> drivers. Now I just port gpio-latch and rb91x_nand drivers from ar71xx
> to ath79 by adding DTS support and new gpio API (gpiod_*). This way turned
> to be more clear and compact. All is working on my RB912UAG-2HPnD. Except a
> button and a beeper. The beeper seems is not important thing, but the
> button is. The button shares gpio 15 with NAND ALE and NAND IO7, but this
> is not easily supported by the current drivers. May be we need ad hoc driver
> for button. Or may be there is a more general solution for this problem.
> Nevertheless all other seems to be working.
>
> Denis Kalashnikov (3):
>   ath79: add gpio-latch driver for Mikrotik RouterBoards
>   ath79: add NAND driver for Mikrotik RB91xG series
>   ath79: add support for Mikrotik RouterBoard 912G
>
>  .../dts/ar9342_mikrotik_routerboard-912g.dts  | 233 ++++++++++
>  .../ath79/files/drivers/gpio/gpio-latch.c     | 225 ++++++++++
>  .../files/drivers/mtd/nand/raw/rb91x_nand.c   | 414 ++++++++++++++++++
>  target/linux/ath79/image/mikrotik.mk          |   9 +
>  .../base-files/etc/board.d/02_network         |   2 +
>  .../etc/hotplug.d/firmware/10-ath9k-eeprom    |   1 +
>  .../base-files/lib/upgrade/platform.sh        |   1 +
>  target/linux/ath79/mikrotik/config-default    |   1 +
>  .../patches-5.10/939-mikrotik-rb91x.patch     |  49 +++
>  .../patches-5.4/939-mikrotik-rb91x.patch      |  44 ++
>  10 files changed, 979 insertions(+)
>  create mode 100644 target/linux/ath79/dts/ar9342_mikrotik_routerboard-912g.dts
>  create mode 100644 target/linux/ath79/files/drivers/gpio/gpio-latch.c
>  create mode 100644 target/linux/ath79/files/drivers/mtd/nand/raw/rb91x_nand.c
>  create mode 100644 target/linux/ath79/patches-5.10/939-mikrotik-rb91x.patch
>  create mode 100644 target/linux/ath79/patches-5.4/939-mikrotik-rb91x.patch

Thank you for this update, please find a few comments per-patch.

-- 
Sergey



More information about the openwrt-devel mailing list