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.

请教AM335x中CPSW的phy id问题。

Other Parts Discussed in Thread: AM3352

我的芯片是AM3352,接有两个Ethernet PHY芯片,地址分别是0x10和0x1。我在uboot下对PHY进行配置,在cpsw_slaves[]中设置PHY地址

static struct cpsw_slave_data cpsw_slaves[] = {
	{
		.slave_reg_ofs	= 0x208,
		.sliver_reg_ofs	= 0xd80,
		.phy_id		= 0x10,
	},
	{
		.slave_reg_ofs	= 0x308,
		.sliver_reg_ofs	= 0xdc0,
		.phy_id		= 1,
	},
};

配置完成后可正常访问PHY。可是我如果将cpsw_slaves[]中的两个phy_id值交换,即第一个.phy_id=1,第二个.phy_id=0x10,则两个phy都不能访问,请问这是怎么回事啊?