Skip to content
Commit 2d1611af authored by Alexandru Gagniuc's avatar Alexandru Gagniuc Committed by David S. Miller
Browse files

net: stmmac: Add Adaptrum Anarion GMAC glue layer



Before the GMAC on the Anarion chip can be used, the PHY interface
selection must be configured with the DWMAC block in reset.

This layer covers a block containing only two registers. Although it
is possible to model this as a reset controller and use the "resets"
property of stmmac, it's much more intuitive to include this in the
glue layer instead.

At this time only RGMII is supported, because it is the only mode
which has been validated hardware-wise.

Signed-off-by: default avatarAlexandru Gagniuc <alex.g@adaptrum.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent fb84af8a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment