Hi,
We are usging the AM3354 with Marvell's 88ee1111 as phy. Now the NIC can not link. I am reading the source code. I need helps as follows.
1. How can I use the tools to access the MDIO interface? I want to check the phy status by MDIO interface.
2. When I reading the source code (arch/arm/mach-omap2/devices.c), I find a struct variable.
static struct cpsw_slave_data am33xx_cpsw_slaves[] = {
{
.slave_reg_ofs = 0x208,
.sliver_reg_ofs = 0xd80,
.phy_id = "0:00",
.dual_emac_reserved_vlan = CPSW_PORT_VLAN_SLAVE_0,
},
{
.slave_reg_ofs = 0x308,
.sliver_reg_ofs = 0xdc0,
.phy_id = "0:01",
.dual_emac_reserved_vlan = CPSW_PORT_VLAN_SLAVE_1,
},
};
I am confused that what is the slave_reg_ofs ? I can not find the address in the AM335x ARM Cortex-A8 Microprocessors (MPUs) Technical Reference Manual.pdf.
Many Thanks!