xref: /openbmc/u-boot/drivers/net/mscc_eswitch/mscc_miim.h (revision 407b5b956a2e0facf6668fc8b295f4be9205c83e)
1 /* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
2 /*
3  * Copyright (c) 2018 Microsemi Corporation
4  */
5 
6 struct mscc_miim_dev {
7 	void __iomem *regs;
8 	void __iomem *phy_regs;
9 };
10 
11 int mscc_miim_read(struct mii_dev *bus, int addr, int devad, int reg);
12 int mscc_miim_write(struct mii_dev *bus, int addr, int devad, int reg, u16 val);
13