RGMII start up failed

We use Marvell 88Q5072 connect on Orin’s RGMII, and try to use RGMII’s MDIO configure the chip.
when kernel boot up,it report these error:
[ 28.285376] [eqos_poll_for_swr][598][type:0x4][loga-0x0] poll_for_swr: timeout
[ 28.292978] net eth0: failed to poll MAC Software reset
I found the similar issue in forum, and re-check the setting in DT with reference “Jetson AGX Orin Platform Adaptation and Bring-Up — Jetson Linux Developer Guide documentation” . the error still exist.

our hardware has a little different with guide. we use “TEGRA234_MAIN_GPIO(AC, 5)” as phy-reset-gpio.
and didn’t connect interrupt pin in marvell chip. when kernel boot up, I can see the marvell’s LED are keeping light,it means the phy-reset-gpio are keeping hold and not released. is it a matter that the interrupt pin not connected?? or do you has any other suggestion?

attachment is our DT.
Thank you
tegra234-ethernet-3737-0000.dtsi.txt (2.3 KB)

tegra234-soc-eqos.dtsi.txt (10.3 KB)

Sorry for the late response, is this still an issue to support? Thanks

Yes, the issue still exist.

There are some update info for this issue:
my image can enable XFI, but RGMI can’t work.
I test another vendor’s image, that image’s RGMI can work , but XFI can’t work.
kernels are same. is this issue related with flash config?

is it related with ODMDATA??

Not related to ODMDATA. RGMII does not care about ODMDATA at all.

Probably your pinmux setting is wrong.

“failed to poll MAC Software reset” disappear after I update JP to JetPack_5.1.1.
I used 5.0.2 before. is the RGMI can’t work in 5.0.2?
the kernel and dtb I tested in two version are same.

As I said… your pinmux could be wrong…

Hello, the upper issue solved. We met another issue:
we use XFI connect to switch, config as follow:

    ethernet@6810000 {
            status = "okay";
            nvidia,mac-addr-idx = <0>;
            nvidia,max-platform-mtu = <16383>;
            /* 0=enable, 1=disable */
            nvidia,pause_frames = <0>;
            phy-mode = "5gbase-r";
             /* 1:10G, 0:5G */
            nvidia,uphy-gbe-mode  = <0>;
            /* 0:XFI 10G, 1:XFI 5G, 2:USXGMII 10G, 3:USXGMII 5G */
            nvidia,phy-iface-mode = <1>;
            nvidia,phy-reset-gpio = <&tegra_main_gpio TEGRA234_MAIN_GPIO(Y, 1) 0>;

            fixed-link{
                    speed = <5000>;
                    full-duplex;
            };

}
and driver report error when boot up:

[ 1448.561594] [xpcs_lane_bring_up][436][type:0x4][loga-0x0] Failed to get PCS block lock
[ 1448.569758] [xpcs_init][472][type:0x4][loga-0x0] TX/RX lane bring-up failed
[ 1448.576939] [mgbe_set_speed][4520][type:0x4][loga-0x0] xpcs_init failed
[ 1450.641711] [xpcs_lane_bring_up][436][type:0x4][loga-0x0] Failed to get PCS block lock
[ 1450.649883] [xpcs_init][472][type:0x4][loga-0x0] TX/RX lane bring-up failed

could you provide any suggestion?

please file a new topic if not related to RGMII.

OK. the new topic is here:

this topic can be closed.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.