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