From b3af7a982ba0cda3a24ae4781915d9b40c9cdd22 Mon Sep 17 00:00:00 2001 From: Jernej Skrabec Date: Tue, 3 Nov 2020 19:04:21 +0100 Subject: [PATCH] Allwinner: yet another ethernet fix --- .../patches/linux/0008-ethernet-fixes.patch | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/projects/Allwinner/patches/linux/0008-ethernet-fixes.patch b/projects/Allwinner/patches/linux/0008-ethernet-fixes.patch index 75882fee9d..8793b49d47 100644 --- a/projects/Allwinner/patches/linux/0008-ethernet-fixes.patch +++ b/projects/Allwinner/patches/linux/0008-ethernet-fixes.patch @@ -390,3 +390,33 @@ index 2fc62ef0cb3e..a6a1087a0c9b 100644 -- 2.29.1 +From caf602aab3da32c066599f9f30c753d6535441cd Mon Sep 17 00:00:00 2001 +From: Jernej Skrabec +Date: Sun, 1 Nov 2020 08:23:48 +0100 +Subject: [PATCH] arm64: dts: allwinner: h6: orangepi-one-plus: Fix ethernet + +RX/TX delay on OrangePi One Plus board is set on PHY. Reflect that in +ethernet node. + +Fixes: 7ee32a17e0d6 ("arm64: dts: allwinner: h6: orangepi-one-plus: Enable ethernet") +Signed-off-by: Jernej Skrabec +--- + arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-one-plus.dts | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-one-plus.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-one-plus.dts +index fceb298bfd53..29a081e72a9b 100644 +--- a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-one-plus.dts ++++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-one-plus.dts +@@ -27,7 +27,7 @@ reg_gmac_3v3: gmac-3v3 { + &emac { + pinctrl-names = "default"; + pinctrl-0 = <&ext_rgmii_pins>; +- phy-mode = "rgmii"; ++ phy-mode = "rgmii-id"; + phy-handle = <&ext_rgmii_phy>; + phy-supply = <®_gmac_3v3>; + allwinner,rx-delay-ps = <200>; +-- +2.29.2 +