]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit60e4847fdba990bec644e3e1e82ba541a4329b76
tree564406c8fcc5d6fca59078969091ea9834d42ea3
parent26dad7a803077cd6f4f75b7b0d71e6ea586b17f0
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