Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix broken ethernet on FriendlyARM K1+
- Loading branch information
1 parent
3034299
commit 53bc9e4
Showing
2 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
patch/kernel/sunxi-current/sun50i-h5-Fix-phy-mode-on-Nanopi-K1-GMAC.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
From 244058210b0d5f57afd37854b2503e70f39c8f3e Mon Sep 17 00:00:00 2001 | ||
From: Igor Pecovnik <igor.pecovnik@gmail.com> | ||
Date: Tue, 5 Jan 2021 21:32:02 +0100 | ||
Subject: [PATCH] Fix phy mode on Nanopi K1 GMAC | ||
|
||
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com> | ||
--- | ||
arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-k1-plus.dts | 2 ++-- | ||
1 file changed, 1 insertions(+), 1 deletions(-) | ||
|
||
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-k1-plus.dts b/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-k1-plus.dts | ||
index a0b863284..ae6ac61c2 100644 | ||
--- a/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-k1-plus.dts | ||
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-k1-plus.dts | ||
@@ -197,7 +197,7 @@ &emac { | ||
pinctrl-0 = <&emac_rgmii_pins>; | ||
phy-supply = <®_gmac_3v3>; | ||
phy-handle = <&ext_rgmii_phy>; | ||
- phy-mode = "rgmii"; | ||
+ phy-mode = "rgmii-id"; | ||
local-mac-address = [ 00 00 00 00 00 00 ]; | ||
allwinner,leds-active-low; | ||
status = "okay"; | ||
-- | ||
Created with Armbian build tools https://github.com/armbian/build | ||
|
26 changes: 26 additions & 0 deletions
26
patch/kernel/sunxi-dev/sun50i-h5-Fix-phy-mode-on-Nanopi-K1-GMAC.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
From 244058210b0d5f57afd37854b2503e70f39c8f3e Mon Sep 17 00:00:00 2001 | ||
From: Igor Pecovnik <igor.pecovnik@gmail.com> | ||
Date: Tue, 5 Jan 2021 21:32:02 +0100 | ||
Subject: [PATCH] Fix phy mode on Nanopi K1 GMAC | ||
|
||
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com> | ||
--- | ||
arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-k1-plus.dts | 2 ++-- | ||
1 file changed, 1 insertions(+), 1 deletions(-) | ||
|
||
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-k1-plus.dts b/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-k1-plus.dts | ||
index a0b863284..ae6ac61c2 100644 | ||
--- a/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-k1-plus.dts | ||
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-k1-plus.dts | ||
@@ -197,7 +197,7 @@ &emac { | ||
pinctrl-0 = <&emac_rgmii_pins>; | ||
phy-supply = <®_gmac_3v3>; | ||
phy-handle = <&ext_rgmii_phy>; | ||
- phy-mode = "rgmii"; | ||
+ phy-mode = "rgmii-id"; | ||
local-mac-address = [ 00 00 00 00 00 00 ]; | ||
allwinner,leds-active-low; | ||
status = "okay"; | ||
-- | ||
Created with Armbian build tools https://github.com/armbian/build | ||
|