net: designware: s700: Add glue code for S700 mac
authorAmit Singh Tomar <amittomer25@gmail.com>
Sat, 9 May 2020 14:25:12 +0000 (19:55 +0530)
committerTom Rini <trini@konsulko.com>
Tue, 7 Jul 2020 21:11:58 +0000 (17:11 -0400)
commit3c5c4ee35f58bd9d3ca8fb2b4d31da4e5abe17f1
tree84ceb01da49040fb515e5fbd7e92649314a70984
parentfa6539a3dcbf269121ca64084cff4c146fcdaf19
net: designware: s700: Add glue code for S700 mac

This patchs adds glue logic to enable designware mac present on
Action Semi based S700 SoC, Configures SoC specific bits.

Undocumented bit that programs the PHY interface select register
comes from vendor source.

It has been tested on Cubieboard7-lite based on S700 SoC.

Signed-off-by: Amit Singh Tomar <amittomer25@gmail.com>
arch/arm/include/asm/arch-owl/regs_s700.h
drivers/net/Kconfig
drivers/net/Makefile
drivers/net/dwmac_s700.c [new file with mode: 0644]