]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: mvebu: armada-3720-uDPU: fix PHY mode definition to sgmii-2500
authorJakov Petrina <jakov.petrina@sartura.hr>
Tue, 12 May 2020 10:02:47 +0000 (12:02 +0200)
committerStefan Roese <sr@denx.de>
Wed, 27 May 2020 05:03:01 +0000 (07:03 +0200)
Commit f49ac7e1c4 switched the default PHY speed to 3.125Gbit to resolve
issues with SFP modules. However, U-Boot does not have a "2500base-x"
phy-mode.

Resolve this by using "sgmii-2500" instead.

Signed-off-by: Jakov Petrina <jakov.petrina@sartura.hr>
Signed-off-by: Vladimir Vid <vladimir.vid@sartura.hr>
Reviewed-by: Stefan Roese <sr@denx.de>
Cc: Luka Perkov <luka.perkov@sartura.hr>
Cc: Stefan Roese <sr@denx.de>
arch/arm/dts/armada-3720-uDPU.dts

index 07c7b91175a3939c75340302f984c6f45e92729d..7f4b8222f4afdf506fe493173f82c0592dfca7c8 100644 (file)
 &eth0 {
        pinctrl-0 = <&pcie_pins>;
        status = "okay";
-       phy-mode = "2500base-x";
+       phy-mode = "sgmii-2500";
        managed = "in-band-status";
        phy = <&ethphy0>;
 };
 
 &eth1 {
        status = "okay";
-       phy-mode = "2500base-x";
+       phy-mode = "sgmii-2500";
        managed = "in-band-status";
        phy = <&ethphy1>;
 };