ARM: dts: sun7i: a20: bananapro: Fix ethernet phy-mode
authorHermann Lauer <Hermann.Lauer@uni-heidelberg.de>
Thu, 28 Jan 2021 11:18:42 +0000 (12:18 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Feb 2021 08:29:15 +0000 (09:29 +0100)
commitb9464c5f4663442bdf5f53550eaf30fe0f28b517
treec15e205e85343c3bdcbd23f5e525a354bb8dd46c
parent38b83bcec904fb599e7f79a508042c8cf96090d0
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>
arch/arm/boot/dts/sun7i-a20-bananapro.dts