]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
arm64: dts: allwinner: a64: bananapi-m64: Enable RGMII RX/TX delay on PHY
authorChen-Yu Tsai <wens@csie.org>
Sat, 24 Oct 2020 16:25:15 +0000 (00:25 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Nov 2020 12:27:20 +0000 (13:27 +0100)
commit5f86796e5b68286687d3b83e6c602ed0e10c2a8c
treed731602ac9cb3683de5e3cb31b0bcc00788ffe22
parent986e9f5de08c794d31a39ef777336aa769ac29da
arm64: dts: allwinner: a64: bananapi-m64: Enable RGMII RX/TX delay on PHY

[ Upstream commit 1a9a8910b2153cd3c4f3f2f8defcb853ead3b1fd ]

The Ethernet PHY on the Bananapi M64 has the RX and TX delays
enabled on the PHY, using pull-ups on the RXDLY and TXDLY pins.

Fix the phy-mode description to correct 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: e7295499903d ("arm64: allwinner: bananapi-m64: Enable dwmac-sun8i")
Fixes: 94f442886711 ("arm64: dts: allwinner: A64: Restore EMAC changes")
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Tested-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Acked-by: Jernej Skrabec <jernej.skrabec@siol.net>
Link: https://lore.kernel.org/r/20201024162515.30032-10-wens@kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts