blob: 19c496551b469f95baf388fd80d13d29706100c5 [file] [log] [blame]
Ye Licd5bb772020-05-03 22:41:14 +08001/* 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
12int eth_phy_binds_nodes(struct udevice *eth_dev);
13int eth_phy_set_mdio_bus(struct udevice *eth_dev, struct mii_dev *mdio_bus);
14struct mii_dev *eth_phy_get_mdio_bus(struct udevice *eth_dev);
15int eth_phy_get_addr(struct udevice *dev);
16
17#endif