Skip to contentSkip to conversation

am335x: disable internal delay for RGMII mode

PATCH In review yegorslists at googlemail.com 2 participants 2 messages Nov 26, 2012 – Dec 10, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 am335x: disable internal delay for RGMII mode

From: Yegor Yefremov <[email protected]>

According to errata the AM335x device does not support internal delay mode, so RGMII1_IDMODE and RGMII2_IDMODE must be set to 1.

---
 board/ti/am335x/board.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
board/ti/am335x/board.c +1 -1
index b56a801..085bb9b 100644
@@ -44,7 +44,7 @@ static struct uart_sys *uart_base = (struct uart_sys *)DEFAULT_UART_BASE;
 
 /* MII mode defines */
 #define MII_MODE_ENABLE		0x0
-#define RGMII_MODE_ENABLE	0xA
+#define RGMII_MODE_ENABLE	0x3A
 
 /* GPIO that controls power to DDR on EVM-SK */
 #define GPIO_DDR_VTT_EN		7
Signature · 1 line
1.7.7
#1 lore raw
Quoted 6 lines · Yegor Yefremov

From: Yegor Yefremov <[email protected]>

According to errata the AM335x device does not support internal delay mode, so RGMII1_IDMODE and RGMII2_IDMODE must be set to 1.

Applied to u-boot-ti/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20121210/3aec421a/attachment.pgp>