• Maxime Chevallier's avatar
    net: mvneta: Add 2500BaseT support · eda3d1b0
    Maxime Chevallier authored
    Some PHYs will use the 2500BaseX PHY_INTERFACE_MODE when being linked
    with a partner using 2.5GBaseT.
    
    Since we can't autonegotiate this speed between the MAC and the PHY, we
    need to have the proper comphy support enabled, to make sure we can
    safely advertise 2.5G and 1G in BaseT and be able to switch between both
    corresponding PHY interface modes. This is now possible since comphy
    support was added to this driver.
    
    This commit adds the 2500BaseT mode to the list of supported modes when
    using 2500BaseX, and was tested on a setup with an Armada385 and a
    88E2010 PHY, both with and without the comphy node in the DT.
    Signed-off-by: default avatarMaxime Chevallier <maxime.chevallier@bootlin.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    eda3d1b0
mvneta.c 133 KB