imx: ventana: mv88e61xx change LED configuration
authorTim Harvey <tharvey@gateworks.com>
Mon, 4 Feb 2019 21:10:47 +0000 (13:10 -0800)
committerStefano Babic <sbabic@denx.de>
Fri, 15 Feb 2019 21:01:15 +0000 (22:01 +0100)
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
board/gateworks/gw_ventana/gw_ventana.c

index c4ec97435f4e7a44a68b1235dc9a6f4958749f78..27a3911acdae3f5d4379961c8ccfbd37b92cf72f 100644 (file)
@@ -267,11 +267,11 @@ int mv88e61xx_hw_reset(struct phy_device *phydev)
        phydev->speed = SPEED_1000;
        phydev->duplex = DUPLEX_FULL;
 
-       /* LED configuration: 7:4-green (8=Activity)  3:0 amber (9=10Link) */
-       bus->write(bus, 0x10, 0, 0x16, 0x8089);
-       bus->write(bus, 0x11, 0, 0x16, 0x8089);
-       bus->write(bus, 0x12, 0, 0x16, 0x8089);
-       bus->write(bus, 0x13, 0, 0x16, 0x8089);
+       /* LED configuration: 7:4-green (8=Activity)  3:0 amber (8=Link) */
+       bus->write(bus, 0x10, 0, 0x16, 0x8088);
+       bus->write(bus, 0x11, 0, 0x16, 0x8088);
+       bus->write(bus, 0x12, 0, 0x16, 0x8088);
+       bus->write(bus, 0x13, 0, 0x16, 0x8088);
 
        return 0;
 }