]> git.ipfire.org Git - thirdparty/u-boot.git/commit
rockchip: rk3328-rock-pi-e: Enable DM_ETH_PHY and PHY_REALTEK
authorJonas Karlman <jonas@kwiboo.se>
Thu, 18 Jan 2024 07:19:46 +0000 (07:19 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Sun, 4 Feb 2024 10:02:45 +0000 (18:02 +0800)
commit33380a5a916092fcf76f43e06539159d1015d8b1
tree51dc8d421e8713994bd1140ffde2bbbb3db82981
parentf1e2f412b0aa24a5f5256dc7894a4c70bb6a0076
rockchip: rk3328-rock-pi-e: Enable DM_ETH_PHY and PHY_REALTEK

Enable the DM_ETH_PHY and PHY_REALTEK now that the designware ethernet
driver call eth_phy_set_mdio_bus() to assist with resetting the eth PHY
during probe.

Fixes ethernet on the v1.21 hw revision of Radxa ROCK Pi E:

  => mdio list
  ethernet@ff540000:
  1 - RealTek RTL8211F <--> ethernet@ff540000
  => net list
  eth0 : ethernet@ff540000 86:e0:c0:ea:fa:a9 active
  eth1 : ethernet@ff550000 86:e0:c0:ea:fa:a8
  => dhcp
  Speed: 1000, full duplex
  BOOTP broadcast 1
  BOOTP broadcast 2
  BOOTP broadcast 3
  DHCP client bound to address 192.168.1.114 (1004 ms)

Reported-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
configs/rock-pi-e-rk3328_defconfig