ARM: dts: sun7i: A20-olinuxino-lime2: Fix ethernet phy-mode
authorBastien Roucariès <rouca@debian.org>
Thu, 16 Sep 2021 08:17:21 +0000 (08:17 +0000)
committerMaxime Ripard <maxime@cerno.tech>
Fri, 24 Sep 2021 07:29:00 +0000 (09:29 +0200)
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
arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts

index 8077f17..ecb91fb 100644 (file)
        pinctrl-names = "default";
        pinctrl-0 = <&gmac_rgmii_pins>;
        phy-handle = <&phy1>;
-       phy-mode = "rgmii";
+       phy-mode = "rgmii-id";
        status = "okay";
 };