xref: /openbmc/linux/include/linux/platform_data/bcmgenet.h (revision b0ba512e25d729a43858ad1f6cb8b94dbb95dbeb)
1*b0ba512eSPetri Gynther #ifndef __LINUX_PLATFORM_DATA_BCMGENET_H__
2*b0ba512eSPetri Gynther #define __LINUX_PLATFORM_DATA_BCMGENET_H__
3*b0ba512eSPetri Gynther 
4*b0ba512eSPetri Gynther #include <linux/types.h>
5*b0ba512eSPetri Gynther #include <linux/if_ether.h>
6*b0ba512eSPetri Gynther #include <linux/phy.h>
7*b0ba512eSPetri Gynther 
8*b0ba512eSPetri Gynther struct bcmgenet_platform_data {
9*b0ba512eSPetri Gynther 	bool		mdio_enabled;
10*b0ba512eSPetri Gynther 	phy_interface_t	phy_interface;
11*b0ba512eSPetri Gynther 	int		phy_address;
12*b0ba512eSPetri Gynther 	int		phy_speed;
13*b0ba512eSPetri Gynther 	int		phy_duplex;
14*b0ba512eSPetri Gynther 	u8		mac_address[ETH_ALEN];
15*b0ba512eSPetri Gynther 	int		genet_version;
16*b0ba512eSPetri Gynther };
17*b0ba512eSPetri Gynther 
18*b0ba512eSPetri Gynther #endif
19