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: Sagar Shrikant Kadam <sagar.kadam@sifive.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
This commit is contained in:
Sagar Shrikant Kadam 2020-11-10 07:22:11 -08:00 committed by Palmer Dabbelt
parent be969b7cfb
commit a0fa9d7270
No known key found for this signature in database
GPG Key ID: 2E1319F35FBB1889

View File

@ -90,6 +90,7 @@
phy0: ethernet-phy@0 {
compatible = "ethernet-phy-id0007.0771";
reg = <0>;
reset-gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
};
};