]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: ge: bx50v3: apply the proper register setting to fix the voltage peak issue
authorYung-Ching LIN <yungching0725@gmail.com>
Tue, 21 Feb 2017 01:56:56 +0000 (09:56 +0800)
committerJoe Hershberger <joe.hershberger@ni.com>
Sun, 26 Mar 2017 14:58:11 +0000 (09:58 -0500)
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>
board/ge/bx50v3/bx50v3.c

index 80b4ba1b8bf113a9cca1a76c76957d270fde0117..0acf655c0e5b86686ea1d32471ba1ab1c4122f2a 100644 (file)
@@ -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;
 }