xref: /OK3568_Linux_fs/u-boot/include/eth_phy.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright 2020 NXP
4  */
5 
6 #ifndef _eth_phy_h_
7 #define _eth_phy_h_
8 
9 #include <dm.h>
10 #include <phy.h>
11 
12 int eth_phy_binds_nodes(struct udevice *eth_dev);
13 int eth_phy_set_mdio_bus(struct udevice *eth_dev, struct mii_dev *mdio_bus);
14 struct mii_dev *eth_phy_get_mdio_bus(struct udevice *eth_dev);
15 int eth_phy_get_addr(struct udevice *dev);
16 
17 #endif
18