net: mv643xx_eth: Fetch the phy connection type from DT
authorJason Gunthorpe <jgunthorpe@obsidianresearch.com>
Wed, 26 Oct 2016 17:47:02 +0000 (11:47 -0600)
committerDavid S. Miller <davem@davemloft.net>
Sat, 29 Oct 2016 19:11:36 +0000 (15:11 -0400)
commitfd33b2447bec7926ceaf4a4b74b68ea2466f2ae0
tree12a62612fc3a8db7ca7d5f03b5868f846a01564c
parentad60133909442bd0b972e9a926e948c51256a46f
net: mv643xx_eth: Fetch the phy connection type from DT

The MAC is capable of RGMII mode and that is probably a more typical
connection type than GMII today (eg it is used by Marvell Reference
designs for several SOCs). Let DT users specify the standard

   phy-connection-type = "rgmii-id";

On a phy node.

Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/marvell-orion-net.txt
drivers/net/ethernet/marvell/mv643xx_eth.c