Re: [PATCH v3 net-next 3/4] net: macb: Add phy-handle DT support
> @@ -488,6 +488,9 @@ static int macb_mii_probe(struct net_device *dev) > } > bp->phy_node = of_node_get(np); > } else { > + /* attempt to find a phy-handle */ > + bp->phy_node = of_parse_phandle(np, "
[PATCH v3 net-next 3/4] net: macb: Add phy-handle DT support
This optional binding (as described in the ethernet DT bindings doc) directs the netdev to the phydev to use. This is useful for a phy chip that has >1 phy in it, and two netdevs are using the same phy chip (i.e. the second mac's phy lives on the first mac's MDIO bus) The devicetree snippet would