]> git.dujemihanovic.xyz Git - u-boot.git/commit
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)
commite46d73fa965b5d9febf251e6dcd3638cca711ae8
tree5ae7718068ec925b6cff50511a1845c85744e68e
parentc6a21d6615ea83e150eb7633d96e9f0a2c3f8439
net: sun8i-emac: support R40 GMAC

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>
drivers/net/sun8i_emac.c