[U-Boot] imx6 Solo and LAN8720

Fabio Estevam festevam at gmail.com
Fri Jan 17 00:05:14 CET 2014


On Thu, Jan 16, 2014 at 7:37 PM, Andy Ng <andreas2025 at gmail.com> wrote:
> Dear colleagues,
>
> I have setup a LAN8720 phy for my imx6Solo/DL custom board but no packets
> coming out.
> I can see 50MHz going into the phy from the REF_OUT Pin of the SOLO, I can
> read the phy ID using the u-boot MDIO commands
> but  when I do ftp or ping nothing comes out.

We use LAN8720 on mx6slevk, so maybe you can look at it as reference.

> static void setup_iomux_enet(void)
> {
>     imx_iomux_v3_setup_multiple_pads(enet_pads, ARRAY_SIZE(enet_pads));
>
>     /* Reset LAN8720 PHY */
>     gpio_direction_output(ETH_PHY_RESET, 1);
>     udelay(150);
>     gpio_set_value(ETH_PHY_RESET, 0);
>     udelay(150);
>     gpio_set_value(ETH_PHY_RESET, 1);
>     udelay(200);

Writing to zero/delay/write 1 would be enough here.

Regards,

Fabio Estevam


More information about the U-Boot mailing list