2019-06-04 16:11:33 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
2011-03-09 04:17:06 +08:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2004-2006 Atmel Corporation
|
|
|
|
*/
|
|
|
|
#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__ */
|