mbox series

[U-Boot,RESEND,0/4] sunxi: Enable EMAC on A83T boards using Realtek RTL8211E PHY

Message ID 20190412033747.16437-1-wens@kernel.org
Headers show
Series sunxi: Enable EMAC on A83T boards using Realtek RTL8211E PHY | expand

Message

Chen-Yu Tsai April 12, 2019, 3:37 a.m. UTC
From: Chen-Yu Tsai <wens@csie.org>

(Resending from correct email address and with proper cover letter subject.)

Hi everyone,

This series enables EMAC (Ethernet controller) on two A83T boards,
the Cubietruck Plus and Bananapi M3.

A couple of changes are required to the clock definitions to make the
compiler happy, as it hasn't been coverted to use the common CLK and
DM_RESET framework. These changes are not used in the A83T code path.

The other two patches enable the sun8i-emac and Realtek PHY driver in
their respective defconfigs. The device trees already have the EMAC
enabled.

Since these are compile time issues, all patches should go through
the same tree.

Regards
ChenYu


Chen-Yu Tsai (4):
  sunxi: Fix compilation of sun8i-emac for A83T
  net: sun8i-emac: Fix compilation for A83T
  sunxi: Enable EMAC on the Cubietruck Plus
  sunxi: Enable EMAC on the Bananapi M3

 arch/arm/include/asm/arch-sunxi/clock_sun8i_a83t.h | 4 ++++
 configs/Cubietruck_plus_defconfig                  | 2 ++
 configs/Sinovoip_BPI_M3_defconfig                  | 2 ++
 drivers/net/sun8i_emac.c                           | 3 +++
 4 files changed, 11 insertions(+)