From 535650da96bb585a7dad47237f283a780189f0fb Mon Sep 17 00:00:00 2001 From: Igor Pecovnik Date: Tue, 5 Jan 2021 22:54:58 +0100 Subject: [PATCH] Fix broken ethernet on Orangepi 2 --- ...01-Fix-broken-ethernet-on-Orangepi-2.patch | 26 +++++++++++++++++++ ...01-Fix-broken-ethernet-on-Orangepi-2.patch | 26 +++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 patch/kernel/sunxi-current/0001-Fix-broken-ethernet-on-Orangepi-2.patch create mode 100644 patch/kernel/sunxi-dev/0001-Fix-broken-ethernet-on-Orangepi-2.patch diff --git a/patch/kernel/sunxi-current/0001-Fix-broken-ethernet-on-Orangepi-2.patch b/patch/kernel/sunxi-current/0001-Fix-broken-ethernet-on-Orangepi-2.patch new file mode 100644 index 0000000000..26f766e3a3 --- /dev/null +++ b/patch/kernel/sunxi-current/0001-Fix-broken-ethernet-on-Orangepi-2.patch @@ -0,0 +1,26 @@ +From c0d922d25d5efb64dc28817cefda7a6945e74e2c Mon Sep 17 00:00:00 2001 +From: Igor Pecovnik +Date: Tue, 5 Jan 2021 22:53:31 +0100 +Subject: [PATCH] Fix broken ethernet on Orangepi 2 + +Signed-off-by: Igor Pecovnik +--- + arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts b/arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts +index 97f497854..d05fa679d 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 @@ &emac { + pinctrl-0 = <&emac_rgmii_pins>; + phy-supply = <®_gmac_3v3>; + phy-handle = <&ext_rgmii_phy>; +- phy-mode = "rgmii"; ++ phy-mode = "rgmii-id"; + + status = "okay"; + }; +-- +Created with Armbian build tools https://github.com/armbian/build + diff --git a/patch/kernel/sunxi-dev/0001-Fix-broken-ethernet-on-Orangepi-2.patch b/patch/kernel/sunxi-dev/0001-Fix-broken-ethernet-on-Orangepi-2.patch new file mode 100644 index 0000000000..26f766e3a3 --- /dev/null +++ b/patch/kernel/sunxi-dev/0001-Fix-broken-ethernet-on-Orangepi-2.patch @@ -0,0 +1,26 @@ +From c0d922d25d5efb64dc28817cefda7a6945e74e2c Mon Sep 17 00:00:00 2001 +From: Igor Pecovnik +Date: Tue, 5 Jan 2021 22:53:31 +0100 +Subject: [PATCH] Fix broken ethernet on Orangepi 2 + +Signed-off-by: Igor Pecovnik +--- + arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts b/arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts +index 97f497854..d05fa679d 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 @@ &emac { + pinctrl-0 = <&emac_rgmii_pins>; + phy-supply = <®_gmac_3v3>; + phy-handle = <&ext_rgmii_phy>; +- phy-mode = "rgmii"; ++ phy-mode = "rgmii-id"; + + status = "okay"; + }; +-- +Created with Armbian build tools https://github.com/armbian/build +