colibri-imx6ull: fix ethernet phy power on
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>
Tue, 9 Apr 2019 15:24:11 +0000 (17:24 +0200)
committerStefano Babic <sbabic@denx.de>
Thu, 25 Apr 2019 15:03:25 +0000 (17:03 +0200)
Just give the new Ethernet PHY power save mode circuitry time to settle.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
Reviewed-by: Igor Opaniuk <igor.opaniuk@toradex.com>
board/toradex/colibri-imx6ull/colibri-imx6ull.c

index fe60b8e..b6f45ed 100644 (file)
@@ -263,6 +263,9 @@ static int setup_fec(void)
                        IOMUX_GPR1_FEC2_CLOCK_MUX2_SEL_MASK,
                        IOMUX_GPR1_FEC2_CLOCK_MUX1_SEL_MASK);
 
+       /* give new Ethernet PHY power save mode circuitry time to settle */
+       mdelay(300);
+
        return 0;
 }