net-next: stmmac: dwmac-sun8i: add support for V3s EMAC
authorIcenowy Zheng <icenowy@aosc.io>
Sat, 17 Jun 2017 14:07:37 +0000 (22:07 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Jun 2017 17:23:05 +0000 (13:23 -0400)
commit57fde47db808346287fbe931d0346d90c4229387
tree78705413a99e6ac6e90fc11f524fb0715ff5e719
parent1450ba8a61a96a7f7f9742e149ea6aaf90817e20
net-next: stmmac: dwmac-sun8i: add support for V3s EMAC

Allwinner V3s SoC has an Ethernet MAC and an internal PHY like the ones
in H3 SoC, however the MAC has no external *MII interfaces available at
GPIOs, thus only MII connection to internal PHY is supported.

Add this variant of EMAC to dwmac-sun8i driver.

The default value of the syscon EMAC-related register seems to have
changed from H3, but it seems to be a harmless change.

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