Now zynq_gem driver will overwrite UCLASS_ETH node when PHY is
connected and configured which is not correct.
Use struct phydev->node instead.
Signed-off-by: Grygorii Strashko <[email protected]>
Acked-by: Joe Hershberger <[email protected]>
Tested-by: Siva Durga Prasad Paladugu <[email protected]>
priv->phydev->advertising = priv->phydev->supported;
if (priv->phy_of_handle > 0)
- dev_set_of_offset(priv->phydev->dev, priv->phy_of_handle);
+ priv->phydev->node = offset_to_ofnode(priv->phy_of_handle);
return phy_config(priv->phydev);
}