summaryrefslogtreecommitdiffstats
path: root/drivers/net/fec_imx.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/fec_imx.h')
-rw-r--r--drivers/net/fec_imx.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/fec_imx.h b/drivers/net/fec_imx.h
index 85d51bad60..561de0890b 100644
--- a/drivers/net/fec_imx.h
+++ b/drivers/net/fec_imx.h
@@ -137,6 +137,13 @@ enum fec_clock {
FEC_CLK_NUM
};
+enum fec_opt_clock {
+ FEC_OPT_CLK_REF,
+ FEC_OPT_CLK_OUT,
+
+ FEC_OPT_CLK_NUM
+};
+
/**
* @brief i.MX27-FEC private structure
*/
@@ -153,6 +160,7 @@ struct fec_priv {
struct mii_bus miibus;
void (*phy_init)(struct phy_device *dev);
struct clk *clk[FEC_CLK_NUM];
+ struct clk *opt_clk[FEC_OPT_CLK_NUM];
enum fec_type type;
};