linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: sun8i: h3: orangepi-plus: Fix Ethernet PHY mode
@ 2021-02-08 11:24 B.R. Oake
  2021-02-08 11:27 ` Jernej Škrabec
  2021-02-10 15:01 ` Maxime Ripard
  0 siblings, 2 replies; 18+ messages in thread
From: B.R. Oake @ 2021-02-08 11:24 UTC (permalink / raw)
  To: Jernej Skrabec, Chen-Yu Tsai, Maxime Ripard, Rob Herring
  Cc: devicetree, linux-sunxi, linux-kernel, linux-arm-kernel

Since commit bbc4d71d6354 ("net: phy: realtek: fix rtl8211e rx/tx
delay config"), Ethernet no longer works on the Orange Pi Plus,
because that commit sets the RX/TX delay according to the phy-mode
property in the device tree, which is "rgmii", the wrong setting
for this board.

Following the example of others who fixed the same problem for
many other boards, this patch changes the phy-mode to "rgmii-id"
which gets Ethernet working again on this board.

Fixes: 4904337fe34f ("ARM: dts: sunxi: Restore EMAC changes (boards)")
Fixes: 1dcd0095019a ("ARM: sun8i: orangepi-plus: Enable dwmac-sun8i")
Signed-off-by: B.R. Oake <broake@mailfence.com>
---
 arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts b/arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts
index 97f497854e..d05fa679dc 100644
--- a/arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts
+++ b/arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts
@@ -85,7 +85,7 @@
 	pinctrl-0 = <&emac_rgmii_pins>;
 	phy-supply = <&reg_gmac_3v3>;
 	phy-handle = <&ext_rgmii_phy>;
-	phy-mode = "rgmii";
+	phy-mode = "rgmii-id";
 
 	status = "okay";
 };
-- 
2.20.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2021-07-05  0:50 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-08 11:24 [PATCH] ARM: dts: sun8i: h3: orangepi-plus: Fix Ethernet PHY mode B.R. Oake
2021-02-08 11:27 ` Jernej Škrabec
2021-02-10 15:01 ` Maxime Ripard
2021-02-13  6:51   ` B.R. Oake
2021-02-13  8:51     ` Jernej Škrabec
2021-05-16 16:58       ` Salvatore Bonaccorso
2021-05-16 20:18         ` Vagrant Cascadian
2021-05-18 15:06           ` Maxime Ripard
2021-05-18 20:25             ` Salvatore Bonaccorso
2021-05-18 20:43               ` Salvatore Bonaccorso
2021-05-20 18:24                 ` Vagrant Cascadian
2021-05-20 18:50                   ` Salvatore Bonaccorso
2021-05-24 11:55                     ` Maxime Ripard
2021-05-24 12:26                       ` Salvatore Bonaccorso
2021-06-04  4:19       ` B.R. Oake
2021-06-04  6:49         ` [linux-sunxi] " Julian Calaby
2021-07-05  0:18           ` B.R. Oake
2021-07-05  0:48             ` Julian Calaby

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).