net: mvpp2: Read phy-speed from DT to select between 1GB and 2.5GB SGMII
authorStefan Roese <sr@denx.de>
Wed, 22 Mar 2017 13:15:40 +0000 (14:15 +0100)
committerStefan Roese <sr@denx.de>
Wed, 29 Mar 2017 05:43:20 +0000 (07:43 +0200)
commit9acb7da14ebb55b2a9819c34a24f4ce6e99202c4
treebea44fa04ec6e9c86c24dda3d397d28bf8d365be
parent66b11ccbb616910c593a18ba7232e30c3b13ee43
net: mvpp2: Read phy-speed from DT to select between 1GB and 2.5GB SGMII

Read the "phy-speed" DT property to differentiate between 1 and 2.5GB
SGMII operations. Please note that its unclear right now, if this
DT property will be accepted in mainline Linux. If not, we need to
revisit this code and change it to use the accepted property.

Signed-off-by: Stefan Roese <sr@denx.de>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/mvpp2.c