Hi,
On our custom board we connect Marvell Switch 88E6390(config as SGMII 1000Mbps,full duplex) to Keystone2 ethernet port0.
In Uboot, we set the sgmii_link_type = SGMII_MAC_MAC_FORCED but it not working. While port1 which connect to PHY chip is working fine.
#ifdef CONFIG_DRIVER_TI_KEYSTONE_NET
struct eth_priv_t eth_priv_cfg[] = {
{
.int_name = "K2L_EMAC",
.rx_flow = 0,
.phy_addr = 0,
.slave_port = 1,
//.sgmii_link_type = SGMII_LINK_MAC_PHY,
.sgmii_link_type = SGMII_LINK_MAC_MAC_FORCED,
.phy_if = PHY_INTERFACE_MODE_SGMII,
},
{
.int_name = "K2L_EMAC1",
.rx_flow = 8,
.phy_addr = 1,
.slave_port = 2,
.sgmii_link_type = SGMII_LINK_MAC_PHY,
.phy_if = PHY_INTERFACE_MODE_SGMII,
},
Any additional uboot setting required?
Thanks,
ks