• Grygorii Strashko's avatar
    ARM: dts: keystone-k2g-evm: fix rgmii phy-mode for ksz9031 phy · fe1d899f
    Grygorii Strashko authored
    Since commit bcf3440c ("net: phy: micrel: add phy-mode support for the
    KSZ9031 PHY") the networking is broken on keystone-k2g-evm board.
    
    The above board have phy-mode = "rgmii-id" and it is worked before because
    KSZ9031 PHY started with default RGMII internal delays configuration (TX
    off, RX on 1.2 ns) and MAC provided TX delay by default.
    After above commit, the KSZ9031 PHY starts handling phy mode properly and
    enables both RX and TX delays, as result networking is become broken.
    
    Fix it by switching to phy-mode = "rgmii-rxid" to reflect previous
    behavior.
    
    Fixes: bcf3440c ("net: phy: micrel: add phy-mode support for the KSZ9031 PHY")
    Signed-off-by: default avatarGrygorii Strashko <grygorii.strashko@ti.com>
    Cc: Oleksij Rempel <o.rempel@pengutronix.de>
    Cc: Andrew Lunn <andrew@lunn.ch>
    Cc: Philippe Schenker <philippe.schenker@toradex.com>
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    fe1d899f
keystone-k2g-evm.dts 13.6 KB