[PATCH] arm: dts: uDPU: switch default PHY speed to 3.125Gbit

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 --- arch/arm/dts/armada-3720-uDPU.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/dts/armada-3720-uDPU.dts b/arch/arm/dts/armada-3720-uDPU.dts index 683dac2a7c..d528f07ec0 100644 --- a/arch/arm/dts/armada-3720-uDPU.dts +++ b/arch/arm/dts/armada-3720-uDPU.dts @@ -109,11 +109,11 @@ &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 {

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 ---
v2: - changed PHY mode as well
arch/arm/dts/armada-3720-uDPU.dts | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-)
diff --git a/arch/arm/dts/armada-3720-uDPU.dts b/arch/arm/dts/armada-3720-uDPU.dts index 683dac2a7c..07c7b91175 100644 --- a/arch/arm/dts/armada-3720-uDPU.dts +++ b/arch/arm/dts/armada-3720-uDPU.dts @@ -109,11 +109,11 @@ &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 { @@ -125,22 +125,16 @@ ð0 { pinctrl-0 = <&pcie_pins>; status = "okay"; - phy-mode = "sgmii"; + phy-mode = "2500base-x"; + managed = "in-band-status"; phy = <ðphy0>; - fixed-link { - speed = <1000>; - full-duplex; - }; };
ð1 { status = "okay"; - phy-mode = "sgmii"; + phy-mode = "2500base-x"; + managed = "in-band-status"; phy = <ðphy1>; - fixed-link { - speed = <1000>; - full-duplex; - }; };
&i2c0 {

On 24.04.20 11:24, Jakov Petrina wrote:
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
v2:
- changed PHY mode as well
Reviewed-by: Stefan Roese sr@denx.de
Thanks, Stefan
arch/arm/dts/armada-3720-uDPU.dts | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-)
diff --git a/arch/arm/dts/armada-3720-uDPU.dts b/arch/arm/dts/armada-3720-uDPU.dts index 683dac2a7c..07c7b91175 100644 --- a/arch/arm/dts/armada-3720-uDPU.dts +++ b/arch/arm/dts/armada-3720-uDPU.dts @@ -109,11 +109,11 @@ &comphy { phy0 { phy-type = <PHY_TYPE_SGMII1>;
phy-speed = <PHY_SPEED_1_25G>;
}; phy1 { phy-type = <PHY_TYPE_SGMII0>;phy-speed = <PHY_SPEED_3_125G>;
phy-speed = <PHY_SPEED_1_25G>;
phy-speed = <PHY_SPEED_3_125G>; }; phy2 {
@@ -125,22 +125,16 @@ ð0 { pinctrl-0 = <&pcie_pins>; status = "okay";
- phy-mode = "sgmii";
- phy-mode = "2500base-x";
- managed = "in-band-status"; phy = <ðphy0>;
fixed-link {
speed = <1000>;
full-duplex;
}; };
ð1 { status = "okay";
phy-mode = "sgmii";
- phy-mode = "2500base-x";
- managed = "in-band-status"; phy = <ðphy1>;
fixed-link {
speed = <1000>;
full-duplex;
}; };
&i2c0 {
Viele Grüße, Stefan

On 24.04.20 11:24, Jakov Petrina wrote:
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
v2:
- changed PHY mode as well
Reviewed-by: Stefan Roese sr@denx.de
Thanks, Stefan
arch/arm/dts/armada-3720-uDPU.dts | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-)
diff --git a/arch/arm/dts/armada-3720-uDPU.dts b/arch/arm/dts/armada-3720-uDPU.dts index 683dac2a7c..07c7b91175 100644 --- a/arch/arm/dts/armada-3720-uDPU.dts +++ b/arch/arm/dts/armada-3720-uDPU.dts @@ -109,11 +109,11 @@ &comphy { phy0 { phy-type = <PHY_TYPE_SGMII1>;
phy-speed = <PHY_SPEED_1_25G>;
}; phy1 { phy-type = <PHY_TYPE_SGMII0>;phy-speed = <PHY_SPEED_3_125G>;
phy-speed = <PHY_SPEED_1_25G>;
phy-speed = <PHY_SPEED_3_125G>; }; phy2 {
@@ -125,22 +125,16 @@ ð0 { pinctrl-0 = <&pcie_pins>; status = "okay";
- phy-mode = "sgmii";
- phy-mode = "2500base-x";
- managed = "in-band-status"; phy = <ðphy0>;
fixed-link {
speed = <1000>;
full-duplex;
}; };
ð1 { status = "okay";
phy-mode = "sgmii";
- phy-mode = "2500base-x";
- managed = "in-band-status"; phy = <ðphy1>;
fixed-link {
speed = <1000>;
full-duplex;
}; };
&i2c0 {
Viele Grüße, Stefan
participants (2)
-
Jakov Petrina
-
Stefan Roese