mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 15:02:32 +00:00
333f90347e
Enable dwmac-sun8i Ethernet core to use the built-in FastEthernet port. Enable exposed UART, USB and I2C pins. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
27 lines
588 B
Diff
27 lines
588 B
Diff
Index: linux-4.9.51/arch/arm/boot/dts/sun8i-h3-nanopi-neo.dts
|
|
===================================================================
|
|
--- linux-4.9.51.orig/arch/arm/boot/dts/sun8i-h3-nanopi-neo.dts
|
|
+++ linux-4.9.51/arch/arm/boot/dts/sun8i-h3-nanopi-neo.dts
|
|
@@ -53,6 +53,7 @@
|
|
|
|
aliases {
|
|
serial0 = &uart0;
|
|
+ ethernet0 = &emac;
|
|
};
|
|
|
|
chosen {
|
|
@@ -81,6 +82,13 @@
|
|
status = "okay";
|
|
};
|
|
|
|
+&emac {
|
|
+ phy-handle = <&int_mii_phy>;
|
|
+ phy-mode = "mii";
|
|
+ allwinner,leds-active-low;
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
&mmc0 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin>;
|