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