diff --git a/arch/arm/boards/karo-tx51/tx51.c b/arch/arm/boards/karo-tx51/tx51.c
index 096683a..d862a68 100644
--- a/arch/arm/boards/karo-tx51/tx51.c
+++ b/arch/arm/boards/karo-tx51/tx51.c
@@ -205,6 +205,12 @@ static inline void tx51_fec_init(void)
        }
 
        /*
+        *Turn off phy power, be cautious and wait
+        */
+       gpio_set_value(TX51_FEC_PHY_PWR, 0);
+       mdelay(20);
+
+       /*
         *Turn on phy power, leave in reset state
         */
        gpio_set_value(TX51_FEC_PHY_PWR, 1);
@@ -212,7 +218,7 @@ static inline void tx51_fec_init(void)
        /*
         * Wait some time to let the phy activate the internal regulator
         */
-       mdelay(10);
+       mdelay(20);
 
        /*
         * Deassert reset, phy latches the rest of bootstrap pins
-- 
1.7.5.4


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to