Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: sun8i: h3: orangepi-plus: Fix ethernet phy-mode

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

authored by

Salvatore Bonaccorso and committed by
Maxime Ripard
b19d3479 6efb943b

+1 -1
+1 -1
arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts
··· 85 85 pinctrl-0 = <&emac_rgmii_pins>; 86 86 phy-supply = <&reg_gmac_3v3>; 87 87 phy-handle = <&ext_rgmii_phy>; 88 - phy-mode = "rgmii"; 88 + phy-mode = "rgmii-id"; 89 89 90 90 status = "okay"; 91 91 };