1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * CPSW MDIO generic driver API for TI AMxx/K2x/EMAC devices.
5 * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
13 #if !defined(CONFIG_MDIO_TI_CPSW)
14 struct mii_dev *cpsw_mdio_init(const char *name, phys_addr_t mdio_base,
15 u32 bus_freq, int fck_freq, bool manual_mode);
16 void cpsw_mdio_free(struct mii_dev *bus);
17 u32 cpsw_mdio_get_alive(struct mii_dev *bus);
18 #endif /* CONFIG_MDIO_TI_CPSW */
20 #endif /* CPSW_MDIO_H_ */