net: mvpp2: add explicit sgmii-2500 support
authorMarcin Wojtas <mw@semihalf.com>
Mon, 3 May 2021 06:08:53 +0000 (08:08 +0200)
committerStefan Roese <sr@denx.de>
Thu, 20 May 2021 11:03:35 +0000 (13:03 +0200)
commitd24efc621c4953eaca3c59da0a9c228354044912
tree86edf2f39f59fad241388b39fbe9a23d54aad278
parent27844000ef5f6717570789cace60af76f739f564
net: mvpp2: add explicit sgmii-2500 support

Until now the mvpp2 driver used an extra 'phy-speed'
DT property in order to differentiate between the
SGMII and SGMII @2.5GHz. As there is a dedicated
PHY_INTERFACE_MODE_SGMII_2500 flag to mark the latter
start using it and drop the custom flag.

Signed-off-by: Marcin Wojtas <mw@semihalf.com>
Reviewed-by: Stefan Chulski <stefanc@marvell.com>
Reviewed-by: Nadav Haklai <nadavh@marvell.com>
Tested-by: Nadav Haklai <nadavh@marvell.com>
Signed-off-by: Stefan Roese <sr@denx.de>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
drivers/net/mvpp2.c