From 0ea6dbf153abf75a775d9ec630e7c4499e572ac0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Lothar=20Wa=C3=9Fmann?= Date: Fri, 27 Mar 2015 11:13:03 +0100 Subject: [PATCH] karo: tx51: justify and adjust the delay required before releasing the ETN PHY strap pins --- .../eth/arm/tx51karo/v1_0/include/devs_eth_arm_tx51.inl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/devs/eth/arm/tx51karo/v1_0/include/devs_eth_arm_tx51.inl b/packages/devs/eth/arm/tx51karo/v1_0/include/devs_eth_arm_tx51.inl index ea9ff119..ab5e1559 100644 --- a/packages/devs/eth/arm/tx51karo/v1_0/include/devs_eth_arm_tx51.inl +++ b/packages/devs/eth/arm/tx51karo/v1_0/include/devs_eth_arm_tx51.inl @@ -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++) { -- 2.39.2