net: designware: add Amlogic Meson8b & later glue driver
authorNeil Armstrong <narmstrong@baylibre.com>
Wed, 24 Feb 2021 19:33:56 +0000 (20:33 +0100)
committerNeil Armstrong <narmstrong@baylibre.com>
Tue, 6 Apr 2021 09:10:29 +0000 (11:10 +0200)
commit798424e8573a6b642a1bb507d41c1f73e6736e2e
tree3313771a1dd9ae3dc97a29478fced7c28a2fdf9d
parent8120ce17bf66d1fd60b70959fdc4a759616b223b
net: designware: add Amlogic Meson8b & later glue driver

This adds a proper glue driver for the Designware DWMAC ethernet MAC IP
found in the Amlogic Meson8, GXBB, GXL, GXM, G12A, G12B & SM1 SoCs.

This is aimed to replace the static ethernet link setup found on the board
init code for the Amlogic SoC based boards.

Tested on a libretech-cc (S905x Internal RMII 10/100 PHY) and Khadas VIM3 (A113d
with external 10/100/1000 RGMII PHY) to cover the most extreme setups.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
drivers/net/Kconfig
drivers/net/Makefile
drivers/net/dwmac_meson8b.c [new file with mode: 0644]