diff mbox series

ARM: dts: sun7i: a20: bananapro: Fix ethernet node

Message ID 20210120110755.GB2537@lemon.iwr.uni-heidelberg.de (mailing list archive)
State New, archived
Headers show
Series ARM: dts: sun7i: a20: bananapro: Fix ethernet node | expand

Commit Message

Hermann.Lauer@uni-heidelberg.de Jan. 20, 2021, 11:07 a.m. UTC
BananaPro 1GB works only reliable with the patch for M2 Ultra applied to
it's devicetree, too. Without this patch you will get high packet loss rates.

Tested-by: Hermann Lauer <Hermann.Lauer@uni-heidelberg.de>

From b3eec3212e66ece33f69be0de98d54e67834e798 Mon Sep 17 00:00:00 2001
From: Jernej Skrabec <jernej.skrabec@siol.net>
Date: Sun, 25 Oct 2020 09:19:49 +0100
Subject: ARM: dts: sun8i: r40: bananapi-m2-ultra: Fix ethernet node

Ethernet PHY on BananaPi M2 Ultra provides RX and TX delays. Fix
ethernet node to reflect that fact.

Fixes: c36fd5a48bd2 ("ARM: dts: sun8i: r40: bananapi-m2-ultra: Enable GMAC ethernet controller")
---
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/sun7i-a20-bananapro.dts b/arch/arm/boot/dts/sun7i-a20-bananapro.dts
--- a/arch/arm/boot/dts/sun7i-a20-bananapro.dts
+++ b/arch/arm/boot/dts/sun7i-a20-bananapro.dts
@@ -110,7 +110,7 @@ 
 	pinctrl-names = "default";
 	pinctrl-0 = <&gmac_rgmii_pins>;
 	phy-handle = <&phy1>;
-	phy-mode = "rgmii";
+	phy-mode = "rgmii-id";
 	phy-supply = <&reg_gmac_3v3>;
 	status = "okay";
 };