1*b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */
2b0ba512eSPetri Gynther #ifndef __LINUX_PLATFORM_DATA_BCMGENET_H__
3b0ba512eSPetri Gynther #define __LINUX_PLATFORM_DATA_BCMGENET_H__
4b0ba512eSPetri Gynther 
5b0ba512eSPetri Gynther #include <linux/types.h>
6b0ba512eSPetri Gynther #include <linux/if_ether.h>
7b0ba512eSPetri Gynther #include <linux/phy.h>
8b0ba512eSPetri Gynther 
9b0ba512eSPetri Gynther struct bcmgenet_platform_data {
10b0ba512eSPetri Gynther 	bool		mdio_enabled;
11b0ba512eSPetri Gynther 	phy_interface_t	phy_interface;
12b0ba512eSPetri Gynther 	int		phy_address;
13b0ba512eSPetri Gynther 	int		phy_speed;
14b0ba512eSPetri Gynther 	int		phy_duplex;
15b0ba512eSPetri Gynther 	u8		mac_address[ETH_ALEN];
16b0ba512eSPetri Gynther 	int		genet_version;
17b0ba512eSPetri Gynther };
18b0ba512eSPetri Gynther 
19b0ba512eSPetri Gynther #endif
20