rockchip: rk3288-miqi: Fix slow Ethernet initializion

For some reason the Ethernet PHY reset delay is set to 1 second, this
cause an unneccecery long boot delay.

MiQi use RTL8211 Ethernet PHY, datasheet list an initial 10ms delay and
then a 30-76ms delay before accessing registers.

Change to use 80ms delay instead of a full second to speed up Ethernet
initializion in U-Boot.

Also enable PHY_REALTEK, DM_ETH_PHY and PHY_GIGE to improve Ethernet PHY
support in U-Boot.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>

(cherry picked from commit 61f4e5f9cf)
This commit is contained in:
Jonas Karlman
2024-11-05 21:51:46 +00:00
committed by Simon Glass
parent fc3651afd8
commit 2e7a82ac4c

Diff Content Not Available