public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: mt7622: fix switch probe on bananapi-r64
@ 2024-05-16 20:48 Frank Wunderlich
  2024-05-17  2:17 ` Arınç ÜNAL
  2024-05-17 13:17 ` Rob Herring (Arm)
  0 siblings, 2 replies; 43+ messages in thread
From: Frank Wunderlich @ 2024-05-16 20:48 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Matthias Brugger,
	AngeloGioacchino Del Regno
  Cc: Frank Wunderlich, devicetree, linux-kernel, linux-arm-kernel,
	linux-mediatek, Daniel Golle, Arınç ÜNAL

From: Frank Wunderlich <frank-w@public-files.de>

After commit 868ff5f4944a
("net: dsa: mt7530-mdio: read PHY address of switch from device tree")
the mt7531 switch on Bananapi-R64 was not detected.

mt7530-mdio mdio-bus:00: reset timeout
mt7530-mdio mdio-bus:00: probe with driver mt7530-mdio failed with error -110

Fix this by adding phy address in devicetree.

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
---
 arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts b/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts
index 224bb289660c..811b227d6f50 100644
--- a/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts
+++ b/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts
@@ -149,9 +149,9 @@ mdio: mdio-bus {
 		#address-cells = <1>;
 		#size-cells = <0>;
 
-		switch@0 {
+		switch@1f {
 			compatible = "mediatek,mt7531";
-			reg = <0>;
+			reg = <0x1f>;
 			interrupt-controller;
 			#interrupt-cells = <1>;
 			interrupts-extended = <&pio 53 IRQ_TYPE_LEVEL_HIGH>;
-- 
2.34.1


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

end of thread, other threads:[~2024-07-31  7:55 UTC | newest]

Thread overview: 43+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-16 20:48 [PATCH] arm64: dts: mt7622: fix switch probe on bananapi-r64 Frank Wunderlich
2024-05-17  2:17 ` Arınç ÜNAL
2024-05-17  6:27   ` Frank Wunderlich
2024-05-23 10:44     ` Linux regression tracking (Thorsten Leemhuis)
2024-05-31  5:40       ` Thorsten Leemhuis
2024-05-31  6:10         ` Arınç ÜNAL
2024-06-06  8:26           ` Thorsten Leemhuis
2024-06-06  9:01             ` Arınç ÜNAL
2024-06-06  9:34               ` Thorsten Leemhuis
2024-06-07 14:03             ` Paolo Abeni
2024-06-07 14:15               ` Thorsten Leemhuis
2024-06-11 11:30                 ` Thorsten Leemhuis
2024-06-11 11:38                   ` Arınç ÜNAL
2024-06-11 12:28                     ` AngeloGioacchino Del Regno
2024-06-11 12:56                       ` Arınç ÜNAL
2024-06-11 13:03                         ` AngeloGioacchino Del Regno
2024-06-11 18:15                           ` Arınç ÜNAL
2024-06-17  8:33                             ` Linux regression tracking (Thorsten Leemhuis)
2024-06-17 11:08                               ` Arınç ÜNAL
2024-06-25  5:56                                 ` Linux regression tracking (Thorsten Leemhuis)
2024-06-25  6:17                                   ` Arınç ÜNAL
2024-06-25  6:57                                     ` Linux regression tracking (Thorsten Leemhuis)
2024-06-25  8:17                                       ` Arınç ÜNAL
2024-06-25  8:49                                         ` AngeloGioacchino Del Regno
2024-06-26  3:07                                           ` Arınç ÜNAL
2024-06-25  8:51                                   ` AngeloGioacchino Del Regno
2024-07-01  6:16                                     ` Linux regression tracking (Thorsten Leemhuis)
2024-07-01  7:02                                       ` Aw: " Frank Wunderlich
2024-07-01  7:44                                       ` Arınç ÜNAL
2024-07-01  8:04                                         ` Linux regression tracking (Thorsten Leemhuis)
2024-07-01  8:15                                           ` Arınç ÜNAL
2024-07-30  9:41                                             ` AngeloGioacchino Del Regno
2024-07-30 11:22                                               ` arinc.unal
2024-07-30 11:38                                                 ` arinc.unal
2024-07-30 16:04                                                 ` Krzysztof Kozlowski
2024-07-30 16:22                                                   ` Daniel Golle
2024-07-30 16:38                                                   ` Arınç ÜNAL
2024-07-31  5:29                                                     ` Krzysztof Kozlowski
2024-07-31  7:55                                                       ` Arınç ÜNAL
2024-05-31  6:12     ` Arınç ÜNAL
2024-05-31  6:18       ` Frank Wunderlich
2024-05-31  6:27         ` Arınç ÜNAL
2024-05-17 13:17 ` Rob Herring (Arm)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox