linux/drivers/net/ethernet/stmicro/stmmac/dwmac-lpc18xx.c

/*
 * DWMAC glue for NXP LPC18xx/LPC43xx Ethernet
 *
 * Copyright (C) 2015 Joachim Eastwood <[email protected]>
 *
 * This file is licensed under the terms of the GNU General Public
 * License version 2. This program is licensed "as is" without any
 * warranty of any kind, whether express or implied.
 */

#include <linux/mfd/syscon.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_net.h>
#include <linux/phy.h>
#include <linux/platform_device.h>
#include <linux/regmap.h>
#include <linux/stmmac.h>

#include "stmmac_platform.h"

/* Register defines for CREG syscon */
#define LPC18XX_CREG_CREG6
#define LPC18XX_CREG_CREG6_ETHMODE_MASK
#define LPC18XX_CREG_CREG6_ETHMODE_MII
#define LPC18XX_CREG_CREG6_ETHMODE_RMII

static int lpc18xx_dwmac_probe(struct platform_device *pdev)
{}

static const struct of_device_id lpc18xx_dwmac_match[] =;
MODULE_DEVICE_TABLE(of, lpc18xx_dwmac_match);

static struct platform_driver lpc18xx_dwmac_driver =;
module_platform_driver();

MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_LICENSE();