summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBastien Roucariès <rouca@debian.org>2021-09-16 08:17:21 +0000
committerMaxime Ripard <maxime@cerno.tech>2021-09-24 09:29:00 +0200
commit55dd7e059098ce4bd0a55c251cb78e74604abb57 (patch)
tree6060af86e8e944e0349f88bc0d098b77d53150f3
parent0764e365dacd0b8f75c1736f9236be280649bd18 (diff)
downloadlinux-55dd7e059098ce4bd0a55c251cb78e74604abb57.tar.gz
linux-55dd7e059098ce4bd0a55c251cb78e74604abb57.tar.bz2
linux-55dd7e059098ce4bd0a55c251cb78e74604abb57.zip
ARM: dts: sun7i: A20-olinuxino-lime2: 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 A20-olinuxino-lime2 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. Signed-off-by: Bastien Roucariès <rouca@debian.org> Signed-off-by: Maxime Ripard <maxime@cerno.tech> Link: https://lore.kernel.org/r/20210916081721.237137-1-rouca@debian.org
-rw-r--r--arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts
index 8077f1716fbc..ecb91fb899ff 100644
--- a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts
+++ b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts
@@ -112,7 +112,7 @@
pinctrl-names = "default";
pinctrl-0 = <&gmac_rgmii_pins>;
phy-handle = <&phy1>;
- phy-mode = "rgmii";
+ phy-mode = "rgmii-id";
status = "okay";
};