Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
69ccc04
commit 6ab13a0
Showing
1 changed file
with
49 additions
and
0 deletions.
There are no files selected for viewing
49 changes: 49 additions & 0 deletions
49
patch/kernel/sunxi-next/sunxi64-new-bananapi-m64-ethernet-fix.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,49 @@ | ||
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts | ||
index 19b6817c4..4792e30b0 100644 | ||
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts | ||
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts | ||
@@ -47,7 +47,7 @@ | ||
#include <dt-bindings/gpio/gpio.h> | ||
|
||
/ { | ||
- model = "BananaPi-M64"; | ||
+ model = "Banana Pi BPI-M64"; | ||
compatible = "sinovoip,bananapi-m64", "allwinner,sun50i-a64"; | ||
|
||
aliases { | ||
@@ -81,9 +81,8 @@ | ||
&emac { | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&rgmii_pins>; | ||
- phy-mode = "rgmii"; | ||
+ phy-mode = "rgmii-txid"; | ||
phy-handle = <&ext_rgmii_phy>; | ||
- phy-supply = <®_dc1sw>; | ||
status = "okay"; | ||
}; | ||
|
||
@@ -102,7 +101,7 @@ | ||
bias-pull-up; | ||
}; | ||
|
||
-&external_mdio { | ||
+&mdio { | ||
ext_rgmii_phy: ethernet-phy@1 { | ||
compatible = "ethernet-phy-ieee802.3-c22"; | ||
reg = <1>; | ||
@@ -174,6 +173,15 @@ | ||
|
||
#include "axp803.dtsi" | ||
|
||
+&ac_power_supply { | ||
+ status = "okay"; | ||
+}; | ||
+ | ||
+&battery_power_supply { | ||
+ status = "okay"; | ||
+}; | ||
+ | ||
+ | ||
®_aldo1 { | ||
regulator-min-microvolt = <2800000>; | ||
regulator-max-microvolt = <2800000>; |
6ab13a0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the purpose of changing the
model
name (especially now that libs like ArmbianIO start to rely on this string)?6ab13a0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
None. Copy/paste job. Fixed, tnx.