From: Salvatore Bonaccorso Date: Tue, 18 May 2021 20:33:49 +0000 (+0200) Subject: ARM: dts: sun8i: h3: orangepi-plus: Fix ethernet phy-mode X-Git-Tag: archive/raspbian/5.10.40-1+rpi1^2~41 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=0c3d88f240c86200c4e9127c69d632f7b5258dbd;p=linux.git ARM: dts: sun8i: h3: orangepi-plus: Fix ethernet phy-mode Origin: https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux.git/patch/?id=b19d3479f25e8a0ff24df0b46c82e50ef0f900dd Bug-Debian: https://bugs.debian.org/988574 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" Reported-by: Vagrant Cascadian Link: https://bugs.debian.org/988574 Signed-off-by: Salvatore Bonaccorso Signed-off-by: Maxime Ripard Link: https://lore.kernel.org/r/20210524122111.416885-1-carnil@debian.org Gbp-Pq: Topic bugfix/arm Gbp-Pq: Name ARM-dts-sun8i-h3-orangepi-plus-Fix-ethernet-phy-mode.patch --- diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts b/arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts index 97f497854e0..d05fa679dcd 100644 --- a/arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts +++ b/arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts @@ -85,7 +85,7 @@ pinctrl-0 = <&emac_rgmii_pins>; phy-supply = <®_gmac_3v3>; phy-handle = <&ext_rgmii_phy>; - phy-mode = "rgmii"; + phy-mode = "rgmii-id"; status = "okay"; };