net: eqos: add function to get phy node and address
authorYe Li <ye.li@nxp.com>
Tue, 26 Jul 2022 08:41:16 +0000 (16:41 +0800)
committerStefano Babic <sbabic@denx.de>
Tue, 26 Jul 2022 09:29:01 +0000 (11:29 +0200)
commita6acf95508e268d6311408d24339b42fe6e5be14
tree564406c8fcc5d6fca59078969091ea9834d42ea3
parent5fc783b5d9c97fe58751faf9d459402ac4a4edde
net: eqos: add function to get phy node and address

Since new atheros PHY driver needs to access its PHY node through
phy device, we have to assign the phy node in ethernet controller
driver. Otherwise the PHY driver will fail to get some nodes
and properties.

Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/net/dwc_eth_qos.c
drivers/net/dwc_eth_qos.h