mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-17 22:49:02 +00:00
board: ge: bx50v3: add phy reset GPIO
Add PHY's reset GPIO, so that U-Boot does a PHY hard reset. This is needed, since the PHY might become unresponsive if watchdog reboots the system while a transaction is ongoing. The reset GPIO is added to the U-Boot specific DT files, since the kernel does not setup the reserved registers correctly after resetting the PHY and thus must not reset it. Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
This commit is contained in:
parent
512bda95ed
commit
4ac026a937
1 changed files with 12 additions and 0 deletions
|
@ -35,3 +35,15 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
/*
|
||||
* This is not done in imx6q-ba16.dtsi, since that file is shared
|
||||
* with the kernel and the kernel should not reset the PHY, since
|
||||
* it lacks support for configuring the reserved registeres to
|
||||
* avoid a board specific voltage peak issue.
|
||||
*/
|
||||
&fec {
|
||||
phy-reset-gpios = <&gpio1 28 GPIO_ACTIVE_LOW>;
|
||||
phy-reset-duration = <1>;
|
||||
phy-reset-post-delay = <0>;
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue