blob: be6c8815270a400a4eae88762f0523967bb10e4a [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
Ye Licd5bb772020-05-03 22:41:14 +08009#include <phy.h>
10
Simon Glass5b15d262020-07-19 10:15:57 -060011struct udevice;
12
Ye Licd5bb772020-05-03 22:41:14 +080013int eth_phy_binds_nodes(struct udevice *eth_dev);
14int eth_phy_set_mdio_bus(struct udevice *eth_dev, struct mii_dev *mdio_bus);
15struct mii_dev *eth_phy_get_mdio_bus(struct udevice *eth_dev);
16int eth_phy_get_addr(struct udevice *dev);
17
18#endif