public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/2] mx6cuboxi: Fix the delay for the AR8035 PHY
@ 2016-01-04 16:36 Fabio Estevam
  2016-01-04 16:36 ` [U-Boot] [PATCH 2/2] mx6cuboxi: Make Ethernet functional Fabio Estevam
  2016-01-04 19:59 ` [U-Boot] [PATCH 1/2] mx6cuboxi: Fix the delay for the AR8035 PHY Tom Rini
  0 siblings, 2 replies; 14+ messages in thread
From: Fabio Estevam @ 2016-01-04 16:36 UTC (permalink / raw)
  To: u-boot

From: Fabio Estevam <fabio.estevam@nxp.com>

As per the AR8035 datasheet:

"For a reliable power on reset, suggest to keep asserting the reset
low long enough (10ms) to ensure the clock is stable and clock-to-reset
1ms requirement is satisfied."

So do as suggested and keep the reset low for 10ms.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
---
 board/solidrun/mx6cuboxi/mx6cuboxi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/board/solidrun/mx6cuboxi/mx6cuboxi.c b/board/solidrun/mx6cuboxi/mx6cuboxi.c
index fc37f1e..20faffc 100644
--- a/board/solidrun/mx6cuboxi/mx6cuboxi.c
+++ b/board/solidrun/mx6cuboxi/mx6cuboxi.c
@@ -143,7 +143,7 @@ static void setup_iomux_enet(void)
 	SETUP_IOMUX_PADS(enet_pads);
 
 	gpio_direction_output(ETH_PHY_RESET, 0);
-	mdelay(2);
+	mdelay(10);
 	gpio_set_value(ETH_PHY_RESET, 1);
 }
 
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2016-01-04 23:26 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-04 16:36 [U-Boot] [PATCH 1/2] mx6cuboxi: Fix the delay for the AR8035 PHY Fabio Estevam
2016-01-04 16:36 ` [U-Boot] [PATCH 2/2] mx6cuboxi: Make Ethernet functional Fabio Estevam
2016-01-04 19:59   ` Tom Rini
2016-01-04 20:40   ` Troy Kisky
2016-01-04 21:50     ` Fabio Estevam
2016-01-04 22:06       ` Troy Kisky
2016-01-04 22:08         ` Fabio Estevam
2016-01-04 22:10           ` Fabio Estevam
2016-01-04 22:45             ` Troy Kisky
2016-01-04 22:50               ` Fabio Estevam
2016-01-04 23:11                 ` Troy Kisky
2016-01-04 23:26                   ` Fabio Estevam
2016-01-04 22:30           ` Troy Kisky
2016-01-04 19:59 ` [U-Boot] [PATCH 1/2] mx6cuboxi: Fix the delay for the AR8035 PHY Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox