]> git.kernelconcepts.de Git - karo-tx-redboot.git/blobdiff - packages/devs/eth/arm/tx51karo/v1_0/include/devs_eth_arm_tx51.inl
Merge branch 'master' of git+ssh://git.kernelconcepts.de/karo-tx-redboot
[karo-tx-redboot.git] / packages / devs / eth / arm / tx51karo / v1_0 / include / devs_eth_arm_tx51.inl
index ea9ff119e8970c2933f24e0ce812fedc7eb92531..ab5e1559ee7a7c76479af15b09feb12a63f47444 100644 (file)
@@ -220,7 +220,12 @@ static void tx51_fec_phy_init(void)
        if (!gpio_tst_bit(2, 14)) {
                diag_printf("**Failed to release PHY reset\n");
        }
-       HAL_DELAY_US(400);
+       /*
+        * Due to an RC-filter in the PHY RESET line, a minimum
+        * delay of 535us is required to let the RESET line rise
+        * above the logic high threshold of the PHY input pin.
+         */
+       HAL_DELAY_US(550);
 
        /* configure all FEC pins to their required functions */
        for (i = 0; i < NUM_ELEMS(tx51_fec_gpio_data); i++) {