From 7539bb3b7cd2c0f94a283d55e4f3dacc628ed2cc Mon Sep 17 00:00:00 2001 From: Aleksandar Gerasimovski Date: Tue, 16 Nov 2021 12:47:25 +0000 Subject: [PATCH] arm: ls1021a: limit debug eth phy speed to 100Mbps 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 Reviewed-by: Priyanka Jain --- 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"; }; -- 2.7.4