From: Troy Kisky Date: Thu, 2 Oct 2014 19:16:29 +0000 (-0700) Subject: nitrogen6x: phy: add 100 us delay after phy reset X-Git-Tag: v2014.10~3^2~19^2~23 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=adc4a2bd03ad6ab4cc7f73609d60ab740c8126e6;p=platform%2Fkernel%2Fu-boot.git nitrogen6x: phy: add 100 us delay after phy reset Testing shows that the Micrel PHY may not be completely out of reset if accessed immediately. Signed-off-by: Troy Kisky Signed-off-by: Eric Nelson --- diff --git a/board/boundary/nitrogen6x/nitrogen6x.c b/board/boundary/nitrogen6x/nitrogen6x.c index e795492..a89a15c 100644 --- a/board/boundary/nitrogen6x/nitrogen6x.c +++ b/board/boundary/nitrogen6x/nitrogen6x.c @@ -246,6 +246,7 @@ static void setup_iomux_enet(void) gpio_set_value(IMX_GPIO_NR(1, 27), 1); /* Nitrogen6X PHY reset */ imx_iomux_v3_setup_multiple_pads(enet_pads2, ARRAY_SIZE(enet_pads2)); + udelay(100); /* Wait 100 us before using mii interface */ } static iomux_v3_cfg_t const usb_pads[] = {