net: stmmac: sun8i: add support for Allwinner H6 EMAC
authorIcenowy Zheng <icenowy@aosc.io>
Thu, 20 Jun 2019 13:47:43 +0000 (15:47 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Jun 2019 20:25:11 +0000 (13:25 -0700)
commitadadd38c5322008e8ea8c6333bfbef5ce944d181
tree5eb0d3f7ccaeb38a9e0ceeb67360732ee704bebc
parentdcdfa50eef71c126d3d9322234b7e98b998527f6
net: stmmac: sun8i: add support for Allwinner H6 EMAC

The EMAC on Allwinner H6 is just like the one on A64. The "internal PHY" on
H6 is on a co-packaged AC200 chip, and it's not really internal (it's
connected via RMII at PA GPIO bank).

Add support for the Allwinner H6 EMAC in the dwmac-sun8i driver.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Signed-off-by: Ondrej Jirman <megous@megous.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c