From: Yung-Ching LIN Date: Tue, 21 Feb 2017 01:56:56 +0000 (+0800) Subject: board: ge: bx50v3: apply the proper register setting to fix the voltage peak issue X-Git-Tag: v2017.05-rc1~12 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ec7aa8fd677f52a6175265aeb7b7f0345d9850c2;p=u-boot 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 Reviewed-by: Stefano Babic Acked-by: Ian Ray --- diff --git a/board/ge/bx50v3/bx50v3.c b/board/ge/bx50v3/bx50v3.c index 80b4ba1b8b..0acf655c0e 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; }