This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello:
I'm using a custom board AM3354 with Marvell's Ethernet switch 88E6060
We have connected 6-port Ethernet switch(eth0) to AM3354 and the switch has a 5-physical ports for copper connection and 1 MAC/PHY port to connect to the processor.
We have configured this port as PHY and connected to eth0 over RMII. Since this port doesn’t have a physical PHY. TI’s software is not responding to this PHY.
Instead of assigning the MAC/PHY port ID in ../arch/arm/mach-omap2devices.c; we had assigned the one of the physical PHYID’s and eth0 becomes ready and Link is Up when cable is connected to that specific port.
We need to connect this port always to keep the Link Up. (this is the current limitation).
Please suggest a solution to make eth0 link up via the MAC/PHY port.
linux/arch/arm/mach-omap2/devices.c
static struct cpsw_slave_data am33xx_cpsw_slaves[] = {
{
.slave_reg_ofs = 0x208,
.sliver_reg_ofs = 0xd80,
.phy_id = "0:10", // Now this is the 1st port of Ethernet switch & I've to connect the cable to this port first to make the switch functional or eth0 up
},
{
.slave_reg_ofs = 0x308,
.sliver_reg_ofs = 0xdc0,
.phy_id = "0:01", // Gigabit Phy is working on eth1
},
};
Thanks,
Waman Prabhu
root@am335x-evm:~# uname -a
Linux am335x-evm 3.2.0 #437 PREEMPT Thu Sep 17 23:55:50 CDT 2015 armv7l GNU/Linux
Request you/Ethernet expert to also check the attached excelsheets
appreciate your support.
Regards,
Waman Prabhu