]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ARM: dts: sun8i: h3: orangepi-plus: Fix ethernet phy-mode
authorSalvatore Bonaccorso <carnil@debian.org>
Mon, 24 May 2021 12:21:11 +0000 (14:21 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 20 Jul 2021 14:05:55 +0000 (16:05 +0200)
commite352463654037ddade0987b2f5ab2cc87e80c81f
tree53a138d9c48a9fb09fb2e4ffb8bc837090a44ff9
parent3199ff7b9f543fc3530b20a179e6e66455315e1e
ARM: dts: sun8i: h3: orangepi-plus: Fix ethernet phy-mode

[ Upstream commit b19d3479f25e8a0ff24df0b46c82e50ef0f900dd ]

Commit bbc4d71d6354 ("net: phy: realtek: fix rtl8211e rx/tx delay
config") sets the RX/TX delay according to the phy-mode property in the
device tree. For the Orange Pi Plus board this is "rgmii", which is the
wrong setting.

Following the example of a900cac3750b ("ARM: dts: sun7i: a20: bananapro:
Fix ethernet phy-mode") the phy-mode is changed to "rgmii-id" which gets
the Ethernet working again on this board.

Fixes: bbc4d71d6354 ("net: phy: realtek: fix rtl8211e rx/tx delay config")
Reported-by: "B.R. Oake" <broake@mailfence.com>
Reported-by: Vagrant Cascadian <vagrant@reproducible-builds.org>
Link: https://bugs.debian.org/988574
Signed-off-by: Salvatore Bonaccorso <carnil@debian.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20210524122111.416885-1-carnil@debian.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts