arm: dts: uDPU: switch default PHY speed to 3.125Gbit
authorJakov Petrina <jakov.petrina@sartura.hr>
Fri, 24 Apr 2020 09:24:08 +0000 (11:24 +0200)
committerStefan Roese <sr@denx.de>
Mon, 4 May 2020 05:04:04 +0000 (07:04 +0200)
This resolves issues with certain SFP modules.

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>
arch/arm/dts/armada-3720-uDPU.dts

index 683dac2a7c18ae599edd51e70d3c1768c19709da..07c7b91175a3939c75340302f984c6f45e92729d 100644 (file)
 &comphy {
        phy0 {
                phy-type = <PHY_TYPE_SGMII1>;
-               phy-speed = <PHY_SPEED_1_25G>;
+               phy-speed = <PHY_SPEED_3_125G>;
        };
         phy1 {
                 phy-type = <PHY_TYPE_SGMII0>;
-                phy-speed = <PHY_SPEED_1_25G>;
+                phy-speed = <PHY_SPEED_3_125G>;
         };
 
         phy2 {
 &eth0 {
        pinctrl-0 = <&pcie_pins>;
        status = "okay";
-       phy-mode = "sgmii";
+       phy-mode = "2500base-x";
+       managed = "in-band-status";
        phy = <&ethphy0>;
-       fixed-link {
-               speed = <1000>;
-               full-duplex;
-       };
 };
 
 &eth1 {
        status = "okay";
-       phy-mode = "sgmii";
+       phy-mode = "2500base-x";
+       managed = "in-band-status";
        phy = <&ethphy1>;
-       fixed-link {
-               speed = <1000>;
-               full-duplex;
-       };
 };
 
 &i2c0 {