Part Number: AM5728
Hi,
We are working on a custom board based on AM5728.
In evm AM5728 we have 2 PHY devices. We have replaced these with a single dual-port PHY device, Microsemi VSC8502, on custom board .
On u-boot prompt, mii command not showing info of phy device.
=> mii device
MII devices: 'ethernet@48484000'
Current device: 'ethernet@48484000'
=> mii info
=> mii info 0x01
=> mii info 0x02
=> mii dump 1 0
Error reading from the PHY addr=01 reg=00
am57xx-beagle-x15-common.dtsi
--------------------------------------------
&davinci_mdio {
phy0: ethernet-phy@1 {
reg = <1>;
};
phy1: ethernet-phy@2 {
reg = <2>;
};
};
&mac {
status = "okay";
dual_emac;
};
&cpsw_emac0 {
phy-handle = <&phy0>;
phy-mode = "rgmii";
dual_emac_res_vlan = <1>;
};
&cpsw_emac1 {
phy-handle = <&phy1>;
phy-mode = "rgmii";
dual_emac_res_vlan = <2>;
};
What do we need to change for mii command to work ?