]> Git Repo - J-u-boot.git/commitdiff
board: ge: bx50v3: fix AR8033 reset timing issue
authorYung-Ching LIN <[email protected]>
Tue, 21 Feb 2017 01:56:55 +0000 (09:56 +0800)
committerJoe Hershberger <[email protected]>
Sun, 26 Mar 2017 14:58:08 +0000 (09:58 -0500)
Add the delay (10ms) to ensure the clock is stable and to meet the clock-to-reset(1ms) requirement recommended in the AR8033 datasheet

Signed-off-by: Ken Lin <[email protected]>
Reviewed-by: Stefano Babic <[email protected]>
Acked-by: Ian Ray <[email protected]>
board/ge/bx50v3/bx50v3.c

index 2fc1144cdae17170193e69251dd39aa24e918330..80b4ba1b8bf113a9cca1a76c76957d270fde0117 100644 (file)
@@ -103,8 +103,9 @@ static void setup_iomux_enet(void)
 
        /* Reset AR8033 PHY */
        gpio_direction_output(IMX_GPIO_NR(1, 28), 0);
-       udelay(500);
+       mdelay(10);
        gpio_set_value(IMX_GPIO_NR(1, 28), 1);
+       mdelay(1);
 }
 
 static iomux_v3_cfg_t const usdhc2_pads[] = {
This page took 0.033377 seconds and 4 git commands to generate.