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 <phy.h>
10 
11 struct udevice;
12 
13 int eth_phy_binds_nodes(struct udevice *eth_dev);
14 int eth_phy_set_mdio_bus(struct udevice *eth_dev, struct mii_dev *mdio_bus);
15 struct mii_dev *eth_phy_get_mdio_bus(struct udevice *eth_dev);
16 int eth_phy_get_addr(struct udevice *dev);
17 
18 #endif
19