]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
arm64: dts: allwinner: beelink-gs1: Enable both RGMII RX/TX delay
authorClément Péron <peron.clem@gmail.com>
Sun, 18 Oct 2020 17:24:09 +0000 (19:24 +0200)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 20 Jan 2021 13:24:12 +0000 (14:24 +0100)
commit32ccdcbac2782bc9b8241f9a8d1dbdafb07e99d6
tree49d5874f7b83a5455713b9a1038741fb7df1f054
parent8eea2ec9e3007282d1f9bf816d631f62e0e66434
arm64: dts: allwinner: beelink-gs1: Enable both RGMII RX/TX delay

BugLink: https://bugs.launchpad.net/bugs/1908561
[ Upstream commit 97a38c1c213b162aa577299de698f39c18ba696b ]

Before the commit bbc4d71d6354 ("net: phy: realtek: fix rtl8211e rx/tx
delay config"), the software overwrite for RX/TX delays of the RTL8211e
were not working properly and the Beelink GS1 had both RX/TX delay of RGMII
interface set using pull-up on the TXDLY and RXDLY pins.

Now that these delays are working properly they overwrite the HW
config and set this to 'rgmii' meaning no delay on both RX/TX.
This makes the ethernet of this board not working anymore.

Set the phy-mode to 'rgmii-id' meaning RGMII with RX/TX delays
in the device-tree to keep the correct configuration.

Fixes: 089bee8dd119 ("arm64: dts: allwinner: h6: Introduce Beelink GS1 board")
Signed-off-by: Clément Péron <peron.clem@gmail.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Link: https://lore.kernel.org/r/20201018172409.1754775-1-peron.clem@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Ian May <ian.may@canonical.com>
arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts