ef65719fe4413347185b24ecd3e4f901f7f3e473
[openwrt/openwrt.git] / target / linux / sunxi / patches-4.9 / 0080-ARM-dts-sunxi-nanopi-neo-Enable-dwmac-sun8i.patch
1 Index: linux-4.9.51/arch/arm/boot/dts/sun8i-h3-nanopi-neo.dts
2 ===================================================================
3 --- linux-4.9.51.orig/arch/arm/boot/dts/sun8i-h3-nanopi-neo.dts
4 +++ linux-4.9.51/arch/arm/boot/dts/sun8i-h3-nanopi-neo.dts
5 @@ -53,6 +53,7 @@
6
7 aliases {
8 serial0 = &uart0;
9 + ethernet0 = &emac;
10 };
11
12 chosen {
13 @@ -81,6 +82,13 @@
14 status = "okay";
15 };
16
17 +&emac {
18 + phy-handle = <&int_mii_phy>;
19 + phy-mode = "mii";
20 + allwinner,leds-active-low;
21 + status = "okay";
22 +};
23 +
24 &mmc0 {
25 pinctrl-names = "default";
26 pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin>;