net: stmmac: sunxi platform extensions for GMAC in Allwinner A20 SoC's
authorChen-Yu Tsai <wens@csie.org>
Fri, 17 Jan 2014 13:24:47 +0000 (21:24 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Jan 2014 04:02:41 +0000 (20:02 -0800)
commitaf0bd4e9ba809391f275d0c094ac0bfbfbb3f430
tree883ebd0c4ccd98de59579a8b665ff7e7bbcf58e7
parent022066f50f53000679d31eb407693085f37b3f14
net: stmmac: sunxi platform extensions for GMAC in Allwinner A20 SoC's

The Allwinner A20 has an ethernet controller that seems to be
an early version of Synopsys DesignWare MAC 10/100/1000 Universal,
which is supported by the stmmac driver.

Allwinner's GMAC requires setting additional registers in the SoC's
clock control unit.

The exact version of the DWMAC IP that Allwinner uses is unknown,
thus the exact feature set is unknown.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/allwinner,sun7i-a20-gmac.txt [new file with mode: 0644]
drivers/net/ethernet/stmicro/stmmac/Kconfig
drivers/net/ethernet/stmicro/stmmac/Makefile
drivers/net/ethernet/stmicro/stmmac/dwmac-sunxi.c [new file with mode: 0644]
drivers/net/ethernet/stmicro/stmmac/stmmac.h
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c