blob: 21b15f6fee2546e520a355b5a1d8cd4835fdc518 [file] [log] [blame]
Jamie Iles84e0cdb2011-03-08 20:17:06 +00001/*
2 * Copyright (C) 2004-2006 Atmel Corporation
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */
8#ifndef __MACB_PDATA_H__
9#define __MACB_PDATA_H__
10
Andy Shevchenkoe018a0c2015-07-24 21:24:04 +030011/**
12 * struct macb_platform_data - platform data for MACB Ethernet
13 * @phy_mask: phy mask passed when register the MDIO bus
14 * within the driver
15 * @phy_irq_pin: PHY IRQ
16 * @is_rmii: using RMII interface?
17 * @rev_eth_addr: reverse Ethernet address byte order
18 */
Jamie Iles84e0cdb2011-03-08 20:17:06 +000019struct macb_platform_data {
20 u32 phy_mask;
Andy Shevchenkoe018a0c2015-07-24 21:24:04 +030021 int phy_irq_pin;
22 u8 is_rmii;
23 u8 rev_eth_addr;
Jamie Iles84e0cdb2011-03-08 20:17:06 +000024};
25
26#endif /* __MACB_PDATA_H__ */