Skip to contentSkip to conversation

powerpc: switch two fixed phy links to full duplex

RFC PATCH In review Heiner Kallweit 2 participants 3 messages Dec 5, 2025

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

RFC PATCH 1/1 powerpc: switch two fixed phy links to full duplex

These two fixed links are the only ones in-kernel specifying half duplex. If these could be switched to full duplex, then half duplex handling could be removed from phylib fixed phy, phylink, swphy.

The SoC MAC's are capable of full duplex, fs_enet MAC driver is as well. Anything that would keep us from switching to full duplex?

Whilst at it, replace the deprecated old fixed-link binding.

---
 arch/powerpc/boot/dts/mgcoge.dts | 6 +++++-
 arch/powerpc/boot/dts/tqm8xx.dts | 6 +++++-
 2 files changed, 10 insertions(+), 2 deletions(-)
arch/powerpc/boot/dts/mgcoge.dts +5 -1
index 9cefed20723..cea9bdc65dc 100644
@@ -153,7 +153,11 @@ eth0: ethernet@11a60 {
 				interrupt-parent = <&PIC>;
 				linux,network-index = <0>;
 				fsl,cpm-command = <0xce00000>;
-				fixed-link = <0 0 10 0 0>;
+
+				fixed-link {
+					speed = <10>;
+					full-duplex;
+				};
 			};
 
 			i2c@11860 {
arch/powerpc/boot/dts/tqm8xx.dts +5 -1
index d16cdfd8120..e582487d5a3 100644
@@ -185,7 +185,11 @@ eth0: ethernet@a00 {
 				interrupt-parent = <&CPM_PIC>;
 				fsl,cpm-command = <0000>;
 				linux,network-index = <0>;
-				fixed-link = <0 0 10 0 0>;
+
+				fixed-link {
+					speed = <10>;
+					full-duplex;
+				};
 			};
 		};
 	};
Signature · 1 line
2.52.0
#1 lore raw
Quoted 6 lines · Heiner Kallweit

These two fixed links are the only ones in-kernel specifying half duplex. If these could be switched to full duplex, then half duplex handling could be removed from phylib fixed phy, phylink, swphy.

The SoC MAC's are capable of full duplex, fs_enet MAC driver is as well. Anything that would keep us from switching to full duplex?

What do we know about the device on the other end of the link? Maybe that is what is limiting it to 10Half?

Andrew

#2 lore raw
Quoted 11 lines · Andrew Lunn
Quoted 6 lines · Heiner Kallweit

These two fixed links are the only ones in-kernel specifying half duplex. If these could be switched to full duplex, then half duplex handling could be removed from phylib fixed phy, phylink, swphy.

The SoC MAC's are capable of full duplex, fs_enet MAC driver is as well. Anything that would keep us from switching to full duplex?

What do we know about the device on the other end of the link? Maybe that is what is limiting it to 10Half?

I found no hint that anything is connected to this ethernet port on the two boards. Hard to find any information because the boards are

Quoted 3 lines

15yrs old. Seems this are dummy entries, just to let fs_enet load.

Andrew

Heiner