mirror of
https://github.com/Fishwaldo/build.git
synced 2025-07-23 13:29:33 +00:00
add patch for OPiZero to enable EMAC
This commit is contained in:
parent
7c0a5e3435
commit
ee5b5b9a28
1 changed files with 20 additions and 0 deletions
20
patch/kernel/sun8i-dev/add-fix-dts-for-opi-zero-emac.patch
Normal file
20
patch/kernel/sun8i-dev/add-fix-dts-for-opi-zero-emac.patch
Normal file
|
@ -0,0 +1,20 @@
|
|||
diff --git a/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts b/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts
|
||||
index e94f196..69a4840 100644
|
||||
--- a/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts
|
||||
+++ b/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts
|
||||
@@ -104,6 +104,15 @@
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
+&emac {
|
||||
+ pinctrl-names = "default";
|
||||
+ phy-supply = <®_vcc3v3>;
|
||||
+ phy-handle = <&int_mii_phy>;
|
||||
+ phy-mode = "mii";
|
||||
+ allwinner,leds-active-low;
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
&mmc0 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&mmc0_pins_a>;
|
Loading…
Add table
Add a link
Reference in a new issue