Jamie Iles | 84e0cdb | 2011-03-08 20:17:06 +0000 | [diff] [blame] | 1 | /* |
| 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 | |
Bartosz Folta | 83a77e9 | 2016-12-14 06:39:15 +0000 | [diff] [blame] | 11 | #include <linux/clk.h> |
| 12 | |
Andy Shevchenko | e018a0c | 2015-07-24 21:24:04 +0300 | [diff] [blame] | 13 | /** |
| 14 | * struct macb_platform_data - platform data for MACB Ethernet |
Bartosz Folta | 83a77e9 | 2016-12-14 06:39:15 +0000 | [diff] [blame] | 15 | * @pclk: platform clock |
| 16 | * @hclk: AHB clock |
Andy Shevchenko | e018a0c | 2015-07-24 21:24:04 +0300 | [diff] [blame] | 17 | */ |
Jamie Iles | 84e0cdb | 2011-03-08 20:17:06 +0000 | [diff] [blame] | 18 | struct macb_platform_data { |
Bartosz Folta | 83a77e9 | 2016-12-14 06:39:15 +0000 | [diff] [blame] | 19 | struct clk *pclk; |
| 20 | struct clk *hclk; |
Jamie Iles | 84e0cdb | 2011-03-08 20:17:06 +0000 | [diff] [blame] | 21 | }; |
| 22 | |
| 23 | #endif /* __MACB_PDATA_H__ */ |