net: dm: fec: Support phy-reset-post-delay property
[oweals/u-boot.git] / drivers / net / fec_mxc.h
index 848cd7c22779b8973997386a1a8e2f8f65bc1bb2..e5f2dd75c592b35af5c06d3d6606e8636677ac5c 100644 (file)
@@ -16,6 +16,8 @@
 #ifndef __FEC_MXC_H
 #define __FEC_MXC_H
 
+#include <clk.h>
+
 /* Layout description of the FEC */
 struct ethernet_regs {
        /* [10:2]addr = 00 */
@@ -256,10 +258,13 @@ struct fec_priv {
 #ifdef CONFIG_DM_GPIO
        struct gpio_desc phy_reset_gpio;
        uint32_t reset_delay;
+       uint32_t reset_post_delay;
 #endif
 #ifdef CONFIG_DM_ETH
        u32 interface;
 #endif
+       struct clk ipg_clk;
+       u32 clk_rate;
 };
 
 void imx_get_mac_from_fuse(int dev_id, unsigned char *mac);