]> git.sur5r.net Git - u-boot/commitdiff
net: sun8i-emac: support R40 GMAC
authorLothar Felten <lothar.felten@gmail.com>
Fri, 13 Jul 2018 08:45:28 +0000 (10:45 +0200)
committerJagan Teki <jagan@amarulasolutions.com>
Mon, 16 Jul 2018 06:57:27 +0000 (12:27 +0530)
Add support for the GMAC found in the Allwinner R40/V40 SoC.

The R40 GMAC interface is not controlled by the syscon register but
has a separate configuration register in the CCU.
The clock gate and reset bits are in a different register compared
to the other SoCs supported by this driver.
The driver uses the -gmac suffix for the R40 because the R40 also
has a different 100 MBit MAC (EMAC).

Signed-off-by: Lothar Felten <lothar.felten@gmail.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
Tested-by: Jagan Teki <jagan@openedev.com>

No differences found