ath79: add NAND driver for MikroTik RB91xG series
authorDenis Kalashnikov <denis281089@gmail.com>
Thu, 27 May 2021 08:16:45 +0000 (11:16 +0300)
committerKoen Vandeputte <koen.vandeputte@ncentric.com>
Fri, 9 Jul 2021 11:15:17 +0000 (13:15 +0200)
commit86b7359860321fd634ecc6497812de9fcff611a6
tree11272dbf9d8ef597c58c600431df0c1da10b6ebd
parentb41da906ff0be46f0efb61176c94b3690a3a0722
ath79: add NAND driver for MikroTik RB91xG series

Main part is copied from ar71xx original driver rb91x_nand
written by Gabor Juhos <juhosg@openwrt.org>.

What is done:
* Support of kernel 5.4 and 5.10,
* DTS support,
* New gpio API (gpiod_*) support.

Reviewed-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
Signed-off-by: Denis Kalashnikov <denis281089@gmail.com>
(cherry-picked from commit 820e660cd7463aa6d5ed9d31baf0f3c35596ce57)
target/linux/ath79/files/drivers/mtd/nand/raw/rb91x_nand.c [new file with mode: 0644]
target/linux/ath79/mikrotik/config-default
target/linux/ath79/patches-5.4/939-mikrotik-rb91x.patch