GMAC Fixed-link mode TX OK, RX NG

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

GMAC Fixed-link mode TX OK, RX NG

Jump to solution
2,765 Views
StanleyShen
Contributor IV
 
Hi there.

We had a problem using PFE for MAC2MAC connection before, but we haven't received an answer.

RMII & Fixed-link under PFE TX OK but RX NG - NXP Community

So we have now used GMAC for testing.

The device tree has been modified as follows, but it has been found that the problem is the same. Can you please explain the reason to me? Are there any issues with NXP's MAC2MAC support?

 

diff --git a/arch/arm64/boot/dts/freescale/s32gxxxa-rdb.dtsi b/arch/arm64/boot/dts/freescale/s32gxxxa-rdb.dtsi
index e1fbd28bb..98544ff9c 100644
--- a/arch/arm64/boot/dts/freescale/s32gxxxa-rdb.dtsi
+++ b/arch/arm64/boot/dts/freescale/s32gxxxa-rdb.dtsi
@@ -23,15 +23,26 @@
        status = "okay";
        pinctrl-names = "default";
        pinctrl-0 = <&gmac0rgmiia_pins>, <&gmac0mdioa_pins>;
-       phy-handle = <&gmac_mdio_a_phy1>;
-       phy-mode = "rgmii-id";
+//     phy-handle = <&gmac_mdio_a_phy1>;
+       phy-mode = "rgmii";
+        fixed-link {
+                speed = <10>;
+                full-duplex;
+        };
 };

 

0 Kudos
Reply
1 Solution
2,691 Views
MayanksPatel
NXP Employee
NXP Employee

Hi @StanleyShen,

The same suggestion for GMAC was previously provided for PFE.

you can use a GPIO signal, which is controlled in Linux, to enable the 5G module.

So the solution for that is to bring up the 5G module as early as possible before initializing the related clock.

 

Thanks,

Mayank S Patel

View solution in original post

0 Kudos
Reply
3 Replies
2,642 Views
StanleyShen
Contributor IV

Hi @MayanksPatel 

Thank you for you replay.

Previously, we also found this situation and resolved it using the same method.

Thank you again

 

0 Kudos
Reply
2,718 Views
MayanksPatel
NXP Employee
NXP Employee

Hi @StanleyShen,

Sorry for the delay.

I have created a ticket with the internal team for the same and I will get back to you on this.

Thank you for your patience.

 

Thanks,

Mayank S Patel

0 Kudos
Reply
2,692 Views
MayanksPatel
NXP Employee
NXP Employee

Hi @StanleyShen,

The same suggestion for GMAC was previously provided for PFE.

you can use a GPIO signal, which is controlled in Linux, to enable the 5G module.

So the solution for that is to bring up the 5G module as early as possible before initializing the related clock.

 

Thanks,

Mayank S Patel

0 Kudos
Reply