summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/sun7i-a20-bananapro.dts
diff options
context:
space:
mode:
authorHermann Lauer <Hermann.Lauer@uni-heidelberg.de>2021-01-28 12:18:42 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-02-10 09:25:28 +0100
commitf1c87b4b2c7bf50c644c215f078a57d39e1165c7 (patch)
treee0ed616b6088e944d01aaf93b89765cec3b539e7 /arch/arm/boot/dts/sun7i-a20-bananapro.dts
parentd97a821b2e9cb4ee8bce9b8ba8937592cd9573f2 (diff)
ARM: dts: sun7i: a20: bananapro: Fix ethernet phy-mode
[ Upstream commit a900cac3750b9f0b8f5ed0503d9c6359532f644d ] BPi Pro needs TX and RX delay for Gbit to work reliable and avoid high packet loss rates. The realtek phy driver overrides the settings of the pull ups for the delays, so fix this for BananaPro. Fix the phy-mode description to correctly reflect this so that the implementation doesn't reconfigure the delays incorrectly. This happened with commit bbc4d71d6354 ("net: phy: realtek: fix rtl8211e rx/tx delay config"). Fixes: 10662a33dcd9 ("ARM: dts: sun7i: Add dts file for Bananapro board") Signed-off-by: Hermann Lauer <Hermann.Lauer@uni-heidelberg.de> Signed-off-by: Maxime Ripard <maxime@cerno.tech> Link: https://lore.kernel.org/r/20210128111842.GA11919@lemon.iwr.uni-heidelberg.de Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/sun7i-a20-bananapro.dts')
-rw-r--r--arch/arm/boot/dts/sun7i-a20-bananapro.dts2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/sun7i-a20-bananapro.dts b/arch/arm/boot/dts/sun7i-a20-bananapro.dts
index 01ccff756996..5740f9442705 100644
--- 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";
};