rockchip: rk3288-miqi: Fix slow Ethernet initializion
authorJonas Karlman <jonas@kwiboo.se>
Tue, 5 Nov 2024 21:51:46 +0000 (21:51 +0000)
committerTom Rini <trini@konsulko.com>
Sat, 11 Jan 2025 00:56:15 +0000 (18:56 -0600)
commit61f4e5f9cfa77d0b4f8fd69f6e7c3fd4cc5b519c
treeffdf2af2025f2b000084a7616874d3e129555d76
parentc33617d3bba599fb11014c9a0a604b907971c665
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>
arch/arm/dts/rk3288-miqi-u-boot.dtsi
configs/miqi-rk3288_defconfig