This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PROCESSOR-SDK-AM335X: am335x rgmii can't work with 1000 M mode, when using processor-sdk-linux-08.02.00.24

Part Number: PROCESSOR-SDK-AM335X


Tool/software:

Hi Ti expert,

   We uses SDK processor-sdk-linux-03.01.00 , but have to move to new SDK for kernel .  In SDK 03.01, it works well .

  One issue is the KSZ9031 can't run in 1000M mode.   It can work with 100M.  It looks it can send the packet with 1000M, but can't receive .

[ 20.412241] Micrel KSZ9031 Gigabit PHY 4a101000.mdio:00: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=4a101000.mdio:00, irq=POLL)
[ 20.412271] cpsw 4a100000.ethernet: phy found : id is : 0x221622
[ 20.412283] phy_start:1126 ----------
[ 20.412283]
[ 20.412293] phy_modify:633 ----------
[ 20.412293]
[ 20.414688] phy-gmii-sel 44e10650.phy-gmii-sel: phy_gmii_sel_mode id:1 mode:11 rgmii_id:1 rmii_clk_ext:1

&mac {
pinctrl-names = "default";
pinctrl-0 = <&ixb_rgmii0_pins_default>, <&ixb_rmii2_pins_default>;
dual_emac = <1>;
status = "okay";
};


&davinci_mdio {
pinctrl-names = "default";
pinctrl-0 = <&ixb_mdio0_pins_default>;
status = "okay";
};

&cpsw_emac0 {
phy_id = <&davinci_mdio>, <0>;
phy-mode = "rgmii-txid";
dual_emac_res_vlan = <1>;
};

&cpsw_emac1 {
phy_id = <&davinci_mdio>, <2>;
/*phy_id = <1>; */
phy-mode = "rmii";//rmii-txid

/*
- a: emulated PHY ID, choose any but but unique to the all specified
fixed-links, from 0 to 31
- b: duplex configuration: 0 for half duplex, 1 for full duplex
- c: link speed in Mbits/sec, accepted values are: 10, 100 and 1000
- d: pause configuration: 0 for no pause, 1 for pause
- e: asymmetric pause configuration: 0 for no asymmetric pause, 1 for
asymmetric pause
*/
fixed-link = <1 1 100 0 0>;

dual_emac_res_vlan = <2>;
};

&phy_gmii_sel {
rmii-clock-ext;
};

Any suggestions ?