1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright (C) 2016 BayLibre, SAS
4  * Author: Neil Armstrong <narmstrong@baylibre.com>
5  */
6 
7 #ifndef __MESON_ETH_H__
8 #define __MESON_ETH_H__
9 
10 #include <phy.h>
11 
12 enum {
13 	/* Use GXL Internal RMII PHY */
14 	MESON_GXL_USE_INTERNAL_RMII_PHY = 1,
15 };
16 
17 /* Configure the Ethernet MAC with the requested interface mode
18  * with some optional flags.
19  */
20 void meson_gx_eth_init(phy_interface_t mode, unsigned int flags);
21 
22 #endif /* __MESON_ETH_H__ */
23