Ye Li | cd5bb77 | 2020-05-03 22:41:14 +0800 | [diff] [blame] | 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 |