drivers: ethernet: w5500: Toggle reset gpio
add toggle reset gpio in w5500_init function Signed-off-by: Hari Haran Babu <hariharan@linumiz.com> Signed-off-by: Marcel Graber <marcel@clever.design>
This commit is contained in:
parent
d8e3affe7b
commit
17f8f62789
1 changed files with 1 additions and 0 deletions
|
@ -508,6 +508,7 @@ static int w5500_init(const struct device *dev)
|
|||
}
|
||||
gpio_pin_set_dt(&config->reset, 0);
|
||||
k_usleep(500);
|
||||
gpio_pin_set_dt(&config->reset, 1);
|
||||
}
|
||||
|
||||
err = w5500_hw_reset(dev);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue