2011-03-09 04:17:06 +08:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2004-2006 Atmel Corporation
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*/
|
|
|
|
#ifndef __MACB_PDATA_H__
|
|
|
|
#define __MACB_PDATA_H__
|
|
|
|
|
2016-12-14 14:39:15 +08:00
|
|
|
#include <linux/clk.h>
|
|
|
|
|
2015-07-25 02:24:04 +08:00
|
|
|
/**
|
|
|
|
* struct macb_platform_data - platform data for MACB Ethernet
|
2016-12-14 14:39:15 +08:00
|
|
|
* @pclk: platform clock
|
|
|
|
* @hclk: AHB clock
|
2015-07-25 02:24:04 +08:00
|
|
|
*/
|
2011-03-09 04:17:06 +08:00
|
|
|
struct macb_platform_data {
|
2016-12-14 14:39:15 +08:00
|
|
|
struct clk *pclk;
|
|
|
|
struct clk *hclk;
|
2011-03-09 04:17:06 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* __MACB_PDATA_H__ */
|