Fix ethernet detection for Nanopi K2 (#1912)
This commit is contained in:
parent
f78591db5b
commit
9f0976a315
14
patch/kernel/meson64-current/z-nanopi-k2-ethernet-fix.patch
Normal file
14
patch/kernel/meson64-current/z-nanopi-k2-ethernet-fix.patch
Normal file
@ -0,0 +1,14 @@
|
||||
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts
|
||||
index a12dc0498..2e7e97966 100644
|
||||
--- a/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts
|
||||
+++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts
|
||||
@@ -226,8 +226,7 @@
|
||||
|
||||
reset-assert-us = <10000>;
|
||||
reset-deassert-us = <30000>;
|
||||
- reset-gpios = <&gpio GPIOZ_14 GPIO_ACTIVE_LOW>;
|
||||
-
|
||||
+ max-speed = <1000>;
|
||||
interrupt-parent = <&gpio_intc>;
|
||||
/* MAC_INTR on GPIOZ_15 */
|
||||
interrupts = <29 IRQ_TYPE_LEVEL_LOW>;
|
||||
14
patch/kernel/meson64-dev/z-nanopi-k2-ethernet-fix.patch
Normal file
14
patch/kernel/meson64-dev/z-nanopi-k2-ethernet-fix.patch
Normal file
@ -0,0 +1,14 @@
|
||||
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts
|
||||
index a12dc0498..2e7e97966 100644
|
||||
--- a/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts
|
||||
+++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts
|
||||
@@ -226,8 +226,7 @@
|
||||
|
||||
reset-assert-us = <10000>;
|
||||
reset-deassert-us = <30000>;
|
||||
- reset-gpios = <&gpio GPIOZ_14 GPIO_ACTIVE_LOW>;
|
||||
-
|
||||
+ max-speed = <1000>;
|
||||
interrupt-parent = <&gpio_intc>;
|
||||
/* MAC_INTR on GPIOZ_15 */
|
||||
interrupts = <29 IRQ_TYPE_LEVEL_LOW>;
|
||||
Loading…
Reference in New Issue
Block a user