mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-27 04:47:20 +00:00
drivers: net: fsl_enetc: set phydev->node
The saved ofnode is used by some PHY drivers to access the device tree node of the PHY. Signed-off-by: Michael Walle <michael@walle.cc> Reviewed-by: Alex Marginean <alexm.osslist@gmail.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
This commit is contained in:
parent
762ee522e2
commit
2efb147a0a
1 changed files with 1 additions and 0 deletions
|
@ -248,6 +248,7 @@ static void enetc_start_phy(struct udevice *dev)
|
|||
|
||||
supported = GENMASK(6, 0); /* speeds up to 1G & AN */
|
||||
phy->advertising = phy->supported & supported;
|
||||
phy->node = phy_node;
|
||||
phy_config(phy);
|
||||
phy_startup(phy);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue