board: visionfive2: configure PHY pad drive strength
authorLukasz Tekieli <tekieli.lukasz@gmail.com>
Sun, 28 Jan 2024 19:22:48 +0000 (20:22 +0100)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Wed, 31 Jan 2024 08:52:49 +0000 (16:52 +0800)
commit70f150759b4dd7481664ebdcd99cfe8e5e2c2e4e
tree646154cbbb938defb913a1cc00e8f7b8be624491
parentc025c8afd4002ab795c4e0a8f2aebfbe32b91c2e
board: visionfive2: configure PHY pad drive strength

Configure the pad drive strength register for both PHYs.
The values correspond to what can be found in the Linux DTS
for VisionFive2 v1.3b.

Pad drive strength configuration is required for the phy0 to work correctly
with 100Mbit links.

Signed-off-by: Lukasz Tekieli <tekieli.lukasz@gmail.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
board/starfive/visionfive2/spl.c