how to modify mdio2 for 1Gbps PHY on board ls1043

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

how to modify mdio2 for 1Gbps PHY on board ls1043

1,398件の閲覧回数
Hmc510
Contributor II

I need to use 1Gbps PHY on mdio2. the PCB mdio connect to EMI2. I modify the eth.c on uboot, the mdio can find PHY ID,but cannot work in kernel. it is good when use  PCB connect to mdio1.

I see that mdio2 is used for 10Gbps in LSDK2108 branch. how to modify it for use on 1Gbps?

 

thanks.

0 件の賞賛
返信
3 返答(返信)

1,360件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

EMI1 and EMI2 can support both Clause 22 and Clause 45.

Please define mdio2 just like mdio1 definition in dts.


mdio@fd000 {
rgmii_phy1: ethernet-phy@1 {
reg = <0x1>;
};

};

 

0 件の賞賛
返信

1,346件の閲覧回数
Hmc510
Contributor II

Thank you for your reply.

I made this modification on kernel DTB before. ethtool can find the PHY ID. but I don't understand that it cannot send and receive frames(ping is unreachable). PHY has frames. Mac does not. When switching to MDIO1 fc00, there will be no problem.

I don't know why this is

0 件の賞賛
返信

1,332件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Please refer to "Table 5-17. FMan Memory Map Regions" in page 5-35 in the attached document.

MDIO1 is EMI1 for Clause 22 physical interfaces (1G, 2.5G, overclocked SGMII and below).
MDIO2 is EMI2 for Clause 45 physical interfaces (10G).

0 件の賞賛
返信