how to modify mdio2 for 1Gbps PHY on board ls1043

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to modify mdio2 for 1Gbps PHY on board ls1043

424 Views
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 Kudos
3 Replies

386 Views
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 Kudos

372 Views
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 Kudos

358 Views
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 Kudos