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.

AM3358ZCZ use Micrel KSZ8041FTL (MII interface)

Hi , we use Mircel KSZ8041FTL (Fiber mode , MII interface).

U-boot version is : u-boot-2011.09-psp04.06.00.08

In u-boot , when try to ping ip , signal measure below :

TCXLK : 25MHz

TDX0,1 : have signal

TXD2,3 : no signal

TXEN : have signal

I think maybe MII1 not work in MII mode , how can i check work in correct mode ?

===================================================================

Below is our modify :

static struct evm_pin_mux sk_evm_pin_mux[] = {
{uart0_pin_mux, PROFILE_ALL, DEV_ON_BASEBOARD},
{mmc0_sk_pin_mux, PROFILE_ALL, DEV_ON_BASEBOARD},

{mii1_pin_mux , PROFILE_ALL, DEV_ON_BASEBOARD},

{rgmii2_pin_mux , PROFILE_ALL, DEV_ON_BASEBOARD},

{spi0_pin_mux, PROFILE_ALL, DEV_ON_BASEBOARD},
{0},
};

static struct cpsw_slave_data cpsw_slaves[] = {

{
.slave_reg_ofs = 0x208,
.sliver_reg_ofs = 0xd80,
.phy_id = 1,
},

};

static struct cpsw_platform_data cpsw_data = {

...

.slaves = 1,

....

}

in evm.c : board_eth_init()

writel(MII_MODE_ENABLE, MAC_MII_SEL);