Skip to contentSkip to conversation

arch: arm: uDPU: fix PHY mode definition to sgmii-2500

PATCH New Jakov Petrina 2 participants 4 messages May 12, 2020 – May 27, 2020 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arch: arm: uDPU: fix PHY mode definition to sgmii-2500

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.

---
 arch/arm/dts/armada-3720-uDPU.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/dts/armada-3720-uDPU.dts +2 -2
index 07c7b91175..7f4b8222f4 100644
@@ -125,14 +125,14 @@
 &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>;
 };
Signature · 1 line
2.26.2
#1 lore raw

PATCH 1/1 arch: arm: uDPU: fix PHY mode definition to sgmii-2500

Quoted 6 lines · Jakov Petrina

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.

Quoted 8 lines
---
  arch/arm/dts/armada-3720-uDPU.dts | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

Hi Stefan,

I'm curious if there are any feedback or blockers on this patch?

Thanks,
Jakov

Quoted 22 lines
arch/arm/dts/armada-3720-uDPU.dts +2 -2
index 07c7b91175..7f4b8222f4 100644
@@ -125,14 +125,14 @@
  &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>;
  };
Signature · 1 line
Jakov Petrina
#2 lore raw

PATCH 1/1 arch: arm: uDPU: fix PHY mode definition to sgmii-2500

Hi Jakov,

Quoted 16 lines · Jakov Petrina
Quoted 6 lines · Jakov Petrina

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.

Quoted 8 lines

---
? arch/arm/dts/armada-3720-uDPU.dts | 4 ++--
? 1 file changed, 2 insertions(+), 2 deletions(-)

Quoted 3 lines

Hi Stefan,

I'm curious if there are any feedback or blockers on this patch?

Sorry for the delay. I'll take care of it shortly.

Thanks,
Stefan

Quoted 18 lines

Thanks,
Jakov

Quoted 14 lines
arch/arm/dts/armada-3720-uDPU.dts +1 -1
index 07c7b91175..7f4b8222f4 100644
@@ -125,14 +125,14 @@
 ? &eth0 {
 ????? pinctrl-0 = <&pcie_pins>;
 ????? status = "okay";
-??? phy-mode = "2500base-x";
+??? phy-mode = "sgmii-2500";
 ????? managed = "in-band-status";
 ????? phy = <&ethphy0>;
 ? };
Quoted 10 lines

arch/arm/dts/armada-3720-uDPU.dts line 138

Quoted 8 lines
arch/arm/dts/armada-3720-uDPU.dts +1 -1
 ? &eth1 {
 ????? status = "okay";
-??? phy-mode = "2500base-x";
+??? phy-mode = "sgmii-2500";
 ????? managed = "in-band-status";
 ????? phy = <&ethphy1>;
 ? };
 

Viele Gr??e,
Stefan

Signature · 3 lines
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr at denx.de
#3 lore raw

PATCH 1/1 arch: arm: uDPU: fix PHY mode definition to sgmii-2500

In reply to Jakov Petrina
Quoted 10 lines · Jakov Petrina

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.

Applied to u-boot-marvell/master

Thanks,
Stefan