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