From: Philipp Tomsich Date: Sun, 06 Aug 2017 19:18:20 +0200 Subject: [U-Boot] [U-Boot, v4, 48/66] net: gmac_rockchip: Add support for the RK3368 GMAC In-Reply-To: <1501706105-7490-49-git-send-email-philipp.tomsich@theobroma-systems.com> References: <1501706105-7490-49-git-send-email-philipp.tomsich@theobroma-systems.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 GMAC in the RK3368 once again is identical to the incarnation in > the RK3288 and the RK3399, except for where some of the configuration > and control registers are located in the GRF. > > This adds the RK3368-specific logic necessary to reuse this driver. > > Signed-off-by: Philipp Tomsich > Reviewed-by: Simon Glass > > Acked-by: Joe Hershberger > --- > > Changes in v4: None > Changes in v3: None > Changes in v2: > - moves the bit-definitions (for GRF registers) specific to the GMAC > into the GMAC driver: these include interface speed selection and > configuring the RGMII output mode > > arch/arm/include/asm/arch-rockchip/grf_rk3368.h | 1 + > drivers/net/gmac_rockchip.c | 78 +++++++++++++++++++++++++ > 2 files changed, 79 insertions(+) > Applied to u-boot-rockchip, thanks!