AnsweredAssumed Answered

sgmii interface fail to auto-negotiation

Question asked by Tony Chen on Oct 16, 2014
Latest reply on Oct 17, 2014 by bpe

Hi,

 

I found my device fail to auto-negotiation with desktop computer after changing desktop computer's Ethernet speed to 10M or 100M. My device is P2041 CPU and BCM5661S PHY. I don't know why auto-negotiation cannot work at Linux kernel. Only 1000M can link up and work correctly. Auto-negotiation is work fine in U-boot command mode. Does any document about configuration of SGMII?

 

Below is the DTB about Ethernet configuration.

fman0: fman@400000 {

        mdio0: mdio@e1120 {

                tbi0: tbi-phy@8 {

                        reg = <0x8>;

                        device_type = "tbi-phy";

                };

 

                phy_sgmii_2: ethernet-phy@5 {

                        reg = <0x5>;

                };

        };

 

        enet2: ethernet@e4000 {

                tbi-handle = <&tbi2>;

                phy-handle = <&phy_sgmii_2>;

                phy-connection-type = "sgmii";

        };

 

        mdio@e5120 {

                tbi2: tbi-phy@8 {

                        reg = <8>;

                        device_type = "tbi-phy";

                };

        };

};

 

fsl,dpaa {

        compatible = "fsl,p2041-dpaa", "fsl,dpaa";

        ethernet@0 {

                compatible = "fsl,p2041-dpa-ethernet", "fsl,dpa-ethernet";

                fsl,fman-mac = <&enet2>;

        };

};

 

Thanks.

Outcomes