diff mbox series

[01/18] arm: ls1021a: limit debug eth phy speed to 100Mbps

Message ID AM9PR06MB8100CD063D3DF97B812A1405E9999@AM9PR06MB8100.eurprd06.prod.outlook.com
State Accepted
Commit 7539bb3b7cd2c0f94a283d55e4f3dacc628ed2cc
Delegated to: Priyanka Jain
Headers show
Series [01/18] arm: ls1021a: limit debug eth phy speed to 100Mbps | expand

Commit Message

Aleksandar Gerasimovski Nov. 16, 2021, 12:47 p.m. UTC
Beside that mounted rgmii debug phy is 1000Mbps capable, the debug link
between the piggy board and the phy is 100Mbps only.
This leads to longer link establishment time when working in debug mode,
as phy tries to autoneg 1000Mbps.

This patch fixes the speed to 100Mbps and allows smother link establishment
time for the debug interface.

Signed-off-by: Aleksandar Gerasimovski <aleksandar.gerasimovski@hitachienergy.com>
---
 arch/arm/dts/ls1021a-pg-wcom-seli8.dts | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/arch/arm/dts/ls1021a-pg-wcom-seli8.dts b/arch/arm/dts/ls1021a-pg-wcom-seli8.dts
index e335188..f2cadd7 100644
--- a/arch/arm/dts/ls1021a-pg-wcom-seli8.dts
+++ b/arch/arm/dts/ls1021a-pg-wcom-seli8.dts
@@ -38,6 +38,7 @@ 
 &enet2 {
 	phy-handle = <&debug_phy>;
 	phy-connection-type = "rgmii-id";
+	max-speed = <100>;
 	status = "okay";
 };