summaryrefslogtreecommitdiff
path: root/board/ge
diff options
context:
space:
mode:
authorYung-Ching LIN <yungching0725@gmail.com>2017-02-21 01:56:56 (GMT)
committerJoe Hershberger <joe.hershberger@ni.com>2017-03-26 14:58:11 (GMT)
commitec7aa8fd677f52a6175265aeb7b7f0345d9850c2 (patch)
tree42fd9a9744f791770d6c518394907239699e7ac9 /board/ge
parentd42db168e68c6d7b87da673321ac25c657fb4a3a (diff)
downloadu-boot-ec7aa8fd677f52a6175265aeb7b7f0345d9850c2.tar.xz
board: ge: bx50v3: apply the proper register setting to fix the voltage peak issue
Apply the proper setting for the reserved bits in SetDes Test and System Mode Control register to avoid the voltage peak issue while we do the IEEE PHY comformance test Signed-off-by: Ken Lin <yungching0725@gmail.com> Reviewed-by: Stefano Babic <sbabic@denx.de> Acked-by: Ian Ray <ian.ray@ge.com>
Diffstat (limited to 'board/ge')
-rw-r--r--board/ge/bx50v3/bx50v3.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/ge/bx50v3/bx50v3.c b/board/ge/bx50v3/bx50v3.c
index 80b4ba1..0acf655 100644
--- a/board/ge/bx50v3/bx50v3.c
+++ b/board/ge/bx50v3/bx50v3.c
@@ -307,7 +307,8 @@ static int mx6_rgmii_rework(struct phy_device *phydev)
/* set debug port address: SerDes Test and System Mode Control */
phy_write(phydev, MDIO_DEVAD_NONE, 0x1d, 0x05);
/* enable rgmii tx clock delay */
- phy_write(phydev, MDIO_DEVAD_NONE, 0x1e, 0x100);
+ /* set the reserved bits to avoid board specific voltage peak issue*/
+ phy_write(phydev, MDIO_DEVAD_NONE, 0x1e, 0x3D47);
return 0;
}