devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: renesas: white-hawk-cpu: Move avb0 reset gpio to mdio node
@ 2024-07-04 15:26 Niklas Söderlund
  2024-08-02  8:33 ` Geert Uytterhoeven
  0 siblings, 1 reply; 17+ messages in thread
From: Niklas Söderlund @ 2024-07-04 15:26 UTC (permalink / raw)
  To: Geert Uytterhoeven, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, linux-renesas-soc, devicetree
  Cc: Niklas Söderlund, Geert Uytterhoeven

When creating a dedicated mdio node to describe the bus the gpio reset
property was erroneously left in the phy node. The reason for adding
mdio nodes on WhiteHawk was to ensure the PHYs where reset before they
were probed, keeping the property in the phy node prevented this.

Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Fixes: 54bf0c27380b ("arm64: dts: renesas: r8a779g0: Use MDIO node for all AVB devices")
Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
---
 arch/arm64/boot/dts/renesas/white-hawk-cpu-common.dtsi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/renesas/white-hawk-cpu-common.dtsi b/arch/arm64/boot/dts/renesas/white-hawk-cpu-common.dtsi
index 80496fb3d476..4f0230327868 100644
--- a/arch/arm64/boot/dts/renesas/white-hawk-cpu-common.dtsi
+++ b/arch/arm64/boot/dts/renesas/white-hawk-cpu-common.dtsi
@@ -156,6 +156,8 @@ mdio {
 		#address-cells = <1>;
 		#size-cells = <0>;
 
+		reset-gpios = <&gpio7 10 GPIO_ACTIVE_LOW>;
+
 		avb0_phy: ethernet-phy@0 {
 			compatible = "ethernet-phy-id0022.1622",
 				     "ethernet-phy-ieee802.3-c22";
@@ -163,7 +165,6 @@ avb0_phy: ethernet-phy@0 {
 			reg = <0>;
 			interrupt-parent = <&gpio7>;
 			interrupts = <5 IRQ_TYPE_LEVEL_LOW>;
-			reset-gpios = <&gpio7 10 GPIO_ACTIVE_LOW>;
 		};
 	};
 };
-- 
2.45.2


^ permalink raw reply related	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2025-01-23 13:18 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-04 15:26 [PATCH] arm64: dts: renesas: white-hawk-cpu: Move avb0 reset gpio to mdio node Niklas Söderlund
2024-08-02  8:33 ` Geert Uytterhoeven
2024-08-02 17:16   ` Marek Vasut
2024-08-22 13:56     ` Geert Uytterhoeven
2024-09-06 13:52       ` Niklas Söderlund
2024-09-06 18:09       ` Marek Vasut
2024-10-15 14:48         ` Niklas Söderlund
2024-10-20 22:16           ` Marek Vasut
2024-10-21  7:13             ` Geert Uytterhoeven
2024-10-21 21:31               ` Marek Vasut
2024-10-22  7:38                 ` Geert Uytterhoeven
2024-10-27 15:21                   ` Marek Vasut
2024-10-28 10:13                     ` Geert Uytterhoeven
2024-10-28 18:18                       ` Marek Vasut
2024-10-29  8:26                         ` Geert Uytterhoeven
2024-10-30 14:45                           ` Marek Vasut
2025-01-23 13:18                             ` Niklas Söderlund

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).