diff options
author | Michael Trimarchi <michael@amarulasolutions.com> | 2018-06-17 15:22:39 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2018-07-23 10:28:01 +0200 |
commit | efd0b791069af93e9d439a70d1fe2ae8994dbbfa (patch) | |
tree | 1d29e71623d18b937ad8751edc9498f44208a33a /drivers/net/fec_mxc.h | |
parent | 824705d53cdbdead205bf4b2267c54d456c6c7bc (diff) | |
download | u-boot-efd0b791069af93e9d439a70d1fe2ae8994dbbfa.zip u-boot-efd0b791069af93e9d439a70d1fe2ae8994dbbfa.tar.gz u-boot-efd0b791069af93e9d439a70d1fe2ae8994dbbfa.tar.bz2 |
eth: dm: fec: Add gpio phy reset binding
Add the missing gpio phy reset binding to the gpio and
reset time configuration
Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'drivers/net/fec_mxc.h')
-rw-r--r-- | drivers/net/fec_mxc.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/fec_mxc.h b/drivers/net/fec_mxc.h index 3b935af..fd89443 100644 --- a/drivers/net/fec_mxc.h +++ b/drivers/net/fec_mxc.h @@ -250,7 +250,10 @@ struct fec_priv { int phy_id; int (*mii_postcall)(int); #endif - +#ifdef CONFIG_DM_GPIO + struct gpio_desc phy_reset_gpio; + uint32_t reset_delay; +#endif #ifdef CONFIG_DM_ETH u32 interface; #endif |