]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commitc56adc74b318105bc9a77a5de395b52314b02af8
tree3313771a1dd9ae3dc97a29478fced7c28a2fdf9d
parent3805c14258b07c1cb06feb2d62aecbdc575f2a3c
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]