Subject: [PATCH 5.4 014/314] ARM: dts: stm32: Add missing ethernet PHY reset on AV96

From: Greg Kroah-Hartman <[email-masked]>
Date: Tue, 23 Jun 2020 21:53:29 +0200

From: Marek Vasut <[email-masked]>

[ Upstream commit 010ca9fe500bfe365860b50220ff80541c18f0e1 ]

Add PHY reset GPIO on AV96 ethernet PHY.

Reviewed-by: Manivannan Sadhasivam <[email-masked]>
Signed-off-by: Marek Vasut <[email-masked]>
Cc: Alexandre Torgue <[email-masked]>
Cc: Manivannan Sadhasivam <[email-masked]>
Cc: Maxime Coquelin <[email-masked]>
Cc: Patrice Chotard <[email-masked]>
Cc: Patrick Delaunay <[email-masked]>
Cc: [email-masked]
To: [email-masked]
Signed-off-by: Alexandre Torgue <[email-masked]>
Signed-off-by: Sasha Levin <[email-masked]>
---
 arch/arm/boot/dts/stm32mp157a-avenger96.dts | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/boot/dts/stm32mp157a-avenger96.dts b/arch/arm/boot/dts/stm32mp157a-avenger96.dts
index 2e4742c53d048..7b8c3f25861c9 100644
--- a/arch/arm/boot/dts/stm32mp157a-avenger96.dts
+++ b/arch/arm/boot/dts/stm32mp157a-avenger96.dts
@@ -91,6 +91,9 @@
 		#address-cells = <1>;
 		#size-cells = <0>;
 		compatible = "snps,dwmac-mdio";
+		reset-gpios = <&gpioz 2 GPIO_ACTIVE_LOW>;
+		reset-delay-us = <1000>;
+
 		phy0: ethernet-phy@7 {
 			reg = <7>;
 		};
-- 
2.25.1

_______________________________________________
linux-arm-kernel mailing list
[email-masked]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel