From: Philipp Tomsich Date: Mon, 20 Nov 2017 16:05:23 +0100 Subject: [U-Boot] [U-Boot, v2, 06/18] net: gmac_rockchip: Add support for the RV1108 GMAC In-Reply-To: <1510218149-78706-1-git-send-email-david.wu@rock-chips.com> References: <1510218149-78706-1-git-send-email-david.wu@rock-chips.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > The rv1108 GMAC only support rmii interface, so need to add the > set_rmii() ops. Use the phy current interface to set rmii or > rgmii ops. At the same time, need to set the mac clock rate of > rmii with 50M, the clock rate of rgmii with 125M. > > Signed-off-by: David Wu > --- > > Changes in v2: > - Add check whether the set rgmii/rmii function is a valid function pointer > - Use current phy interface to set mac clock rate > - Clean the grf offset at gmac_rockchip.c > > drivers/net/gmac_rockchip.c | 89 +++++++++++++++++++++++++++++++++++++++++---- > 1 file changed, 82 insertions(+), 7 deletions(-) > Acked-by: Philipp Tomsich