Hello list,

I work with a variant of Marvell Armada 3720 board.
Recently I upgrade Uboot version from 2017 to 2023.07.
As a result PING command failed
Original version of 2017 reports on mii info command
PCPE>> mii info
    PHY 0x01: OUI = 0x5A985, Model = 0x2A, Rev = 0x06, 100baseT, HDX
Whilst my new 2023 can not find PHY devices

I made minimal changes to configuration  and Device tree files.
Compilation passed, I loaded Uboot using Uart and it successfully reached PCPE 
prompt
So I tried to test network .
Ping correctly reports it uses  eth1@neta40000 as output interface (exactly as  
v2017 does),
but ping failed
 
I did not touch at all PHY and ethernet related definitions, leaving them 
exactly as it was.

Please advise what to look for.

I do not know how to send full DTS file to list, please instruct me.
Meanwhile I do copy-paste.
Here snipped of DTSI file
---------------------------------------------------------------------------------------------------------
    comphy: comphy@18300 {
                                compatible = "marvell,mvebu-comphy", 
"marvell,comphy-armada-3700";
                                reg = <0x18300 0x28>,
                                      <0x1f300 0x3d000>;
                                mux-bitcount = <4>;
                                max-lanes = <3>;
                        };
--------------------------------------------------------------------------------------------
Here the relevant part of DTS file:
&comphy {
        phy0 {
                phy-type = <COMPHY_TYPE_SGMII1>;
                phy-speed = <COMPHY_SPEED_1_25G>;
        };

        phy1 {
                phy-type = <COMPHY_TYPE_PEX0>;
                phy-speed = <COMPHY_SPEED_2_5G>;
        };

        phy2 {
                phy-type = <COMPHY_TYPE_USB3_HOST0>;
                phy-speed = <COMPHY_SPEED_5G>;
        };
};

&eth0 {
        status = "okay";
        pinctrl-names = "default";
        pinctrl-0 = <&rgmii_pins>, <&smi_pins>;
        phy-mode = "rgmii";
        phy_addr = <0x2>;
        fixed-link {
                speed = <1000>;
                full-duplex;
        };
};

&eth1 {
        status = "okay";
        phy-mode = "sgmii";
        phy_addr = <0x1>;
        fixed-link {
                speed = <1000>;
                full-duplex;
        };
};

And here snippet of DTSI file :

 

Reply via email to