]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitad7305f11158e38c0c8fee6e44dd8fd3fdfc699e
tree12a62612fc3a8db7ca7d5f03b5868f846a01564c
parent59efd8afd1a08d2757555354aa791179688471c6
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