mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
net: phy: Request rgmii-id phy reset gpio as output
Request the reset gpio of the rgmii-id phy as output to be consistent with the eth-phy-uclass driver. Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> Reviewed-by: Michal Simek <michal.simek@amd.com>
This commit is contained in:
committed by
Tom Rini
parent
bcbb64b199
commit
1a3af267c0
@@ -39,7 +39,7 @@ struct phy_device *phy_connect_phy_id(struct mii_dev *bus, struct udevice *dev,
|
||||
|
||||
if (!IS_ENABLED(CONFIG_DM_ETH_PHY)) {
|
||||
ret = gpio_request_by_name_nodev(node, "reset-gpios", 0, &gpio,
|
||||
GPIOD_ACTIVE_LOW);
|
||||
GPIOD_IS_OUT | GPIOD_ACTIVE_LOW);
|
||||
if (!ret) {
|
||||
assert = ofnode_read_u32_default(node,
|
||||
"reset-assert-us", 0);
|
||||
|
||||
Reference in New Issue
Block a user