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

Aleksandar Gerasimovski aleksandar.gerasimovski at hitachienergy.com
Tue Nov 16 13:47:25 CET 2021


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 at hitachienergy.com>
---
 arch/arm/dts/ls1021a-pg-wcom-seli8.dts | 1 +
 1 file changed, 1 insertion(+)

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";
 };
 
-- 
1.8.3.1


More information about the U-Boot mailing list