Skip to contentSkip to conversation

arm64: dts: ti: k3-j721e: Fix QSGMII overlay by adding SERDES PHY

PATCH In review Chintan Vankar 2 participants 2 messages Mar 26 – Mar 27

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

PATCH 1/1 arm64: dts: ti: k3-j721e: Fix QSGMII overlay by adding SERDES PHY

For CPSW9G QSGMII ports, CPSW assumes SERDES to be configured. Since it may not be always true, add SERDES phys to guarantee it.

Fixes 86e7de8bf908 ("arm64: dts: ti: k3-j721e: Add overlay to enable CPSW9G ports in QSGMII mode")

---

This patch is based on commit "0138af2472df" of origin/master branch of Linux repo.

 arch/arm64/boot/dts/ti/k3-j721e-evm-quad-port-eth-exp.dtso | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/ti/k3-j721e-evm-quad-port-eth-exp.dtso +2 -1
index 8376fa4b6ee1..d403a3db0265 100644
@@ -42,7 +42,8 @@ &cpsw0_port2 {
 	phy-handle = <&cpsw9g_phy1>;
 	phy-mode = "qsgmii";
 	mac-address = [00 00 00 00 00 00];
-	phys = <&cpsw0_phy_gmii_sel 2>;
+	phys = <&cpsw0_phy_gmii_sel 2>, <&serdes0_qsgmii_link>;
+	phy-names = "mac", "serdes";
 };
 
 &cpsw0_port3 {
Signature · 1 line
2.34.1
#1 lore raw

arch/arm64/boot/dts/ti/k3-j721e-evm-quad-port-eth-exp.dtso &cpsw0_port2 { · line 46

Quoted 11 lines · Chintan Vankar
arch/arm64/boot/dts/ti/k3-j721e-evm-quad-port-eth-exp.dtso +2 -1
index 8376fa4b6ee1..d403a3db0265 100644
@@ -42,7 +42,8 @@ &cpsw0_port2 {
 	phy-handle = <&cpsw9g_phy1>;
 	phy-mode = "qsgmii";
 	mac-address = [00 00 00 00 00 00];
-	phys = <&cpsw0_phy_gmii_sel 2>;
+	phys = <&cpsw0_phy_gmii_sel 2>, <&serdes0_qsgmii_link>;
+	phy-names = "mac", "serdes";

Dont you need this for all the other ports as well, just like in J784s4 overlay?

Signature · 1 line
Vignesh