Commit a0fa9d72 authored by Sagar Shrikant Kadam's avatar Sagar Shrikant Kadam Committed by Palmer Dabbelt

dts: phy: add GPIO number and active state used for phy reset

The GEMGXL_RST line on HiFive Unleashed is pulled low and is
using GPIO number 12. Add these reset-gpio details to dt-node
using which the linux phylib can reset the phy.
Signed-off-by: default avatarSagar Shrikant Kadam <sagar.kadam@sifive.com>
Signed-off-by: default avatarPalmer Dabbelt <palmerdabbelt@google.com>
parent be969b7c
...@@ -90,6 +90,7 @@ &eth0 { ...@@ -90,6 +90,7 @@ &eth0 {
phy0: ethernet-phy@0 { phy0: ethernet-phy@0 {
compatible = "ethernet-phy-id0007.0771"; compatible = "ethernet-phy-id0007.0771";
reg = <0>; reg = <0>;
reset-gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment