eth_phy.h 387 B

123456789101112131415161718
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * Copyright 2020 NXP
  4. */
  5. #ifndef _eth_phy_h_
  6. #define _eth_phy_h_
  7. #include <phy.h>
  8. struct udevice;
  9. int eth_phy_binds_nodes(struct udevice *eth_dev);
  10. int eth_phy_set_mdio_bus(struct udevice *eth_dev, struct mii_dev *mdio_bus);
  11. struct mii_dev *eth_phy_get_mdio_bus(struct udevice *eth_dev);
  12. int eth_phy_get_addr(struct udevice *dev);
  13. #endif