kernel: ar83xx: Add support for three GMAC's connection
authorRam Chandra Jangir <rjangir@codeaurora.org>
Wed, 5 Dec 2018 14:26:32 +0000 (19:56 +0530)
committerJohn Crispin <john@phrozen.org>
Thu, 6 Dec 2018 07:15:27 +0000 (08:15 +0100)
commitbf7719f22c1f189a350f845b27189efab96b0000
treee429ddfce45849ba06329a7330dd49dcf7145553
parent99e212171abf44d6e0f7e7ba50a229ad7b3f3a34
kernel: ar83xx: Add support for three GMAC's connection

We have IPQ8064 AP161 board which has three GMAC's
 * RGMII x2
 * SGMII x1.
The existing ar8327 driver does not have support for
three GMAC's connection, hence this change adds support
for the same. This has been verified on AP148 and AP161
board.

Signed-off-by: xiaofeis <xiaofeis@codeaurora.org>
Signed-off-by: Ram Chandra Jangir <rjangir@codeaurora.org>
target/linux/generic/files/drivers/net/phy/ar8216.c
target/linux/generic/files/drivers/net/phy/ar8216.h
target/linux/generic/files/drivers/net/phy/ar8327.c
target/linux/generic/files/drivers/net/phy/ar8327.h