arm: ls1021a: limit debug eth phy speed to 100Mbps
authorAleksandar Gerasimovski <aleksandar.gerasimovski@hitachienergy.com>
Tue, 16 Nov 2021 12:47:25 +0000 (12:47 +0000)
committerPriyanka Jain <priyanka.jain@nxp.com>
Tue, 1 Feb 2022 09:34:24 +0000 (15:04 +0530)
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>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
arch/arm/dts/ls1021a-pg-wcom-seli8.dts

index e335188..f2cadd7 100644 (file)
@@ -38,6 +38,7 @@
 &enet2 {
        phy-handle = <&debug_phy>;
        phy-connection-type = "rgmii-id";
+       max-speed = <100>;
        status = "okay";
 };