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.
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>;
};
};
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