On Thu, Jan 16, 2014 at 7:37 PM, Andy Ng <andreas2...@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 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot