rockchip: rk3288-firefly: Fix slow Ethernet initializion
authorJonas Karlman <jonas@kwiboo.se>
Thu, 12 Dec 2024 22:09:43 +0000 (22:09 +0000)
committerTom Rini <trini@konsulko.com>
Sat, 11 Jan 2025 00:56:15 +0000 (18:56 -0600)
commitdc691ef150eb0f12072202d6090280c9af8a39a5
treef158dad399cef6bcb04b1c92e81d0e5d475a2125
parent338cfeac31d23fe6eb73e7f7f9687df46e41d5d7
rockchip: rk3288-firefly: Fix slow Ethernet initializion

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

Firefly-RK3288 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-firefly-u-boot.dtsi
configs/firefly-rk3288_defconfig