From: LABBE Corentin Date: Wed, 31 May 2017 07:18:44 +0000 (+0200) Subject: arm: sun8i: nanopi-neo: Enable dwmac-sun8i X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=6f9461d6a489b3e9884a7a4eb9df6f20ad7c5857;p=openwrt%2Fstaging%2Fblogic.git arm: sun8i: nanopi-neo: Enable dwmac-sun8i The dwmac-sun8i hardware is present on the NanoPi Neo. It uses the internal PHY. This patch create the needed emac node. Signed-off-by: Corentin Labbe Signed-off-by: David S. Miller --- diff --git a/arch/arm/boot/dts/sun8i-h3-nanopi-neo.dts b/arch/arm/boot/dts/sun8i-h3-nanopi-neo.dts index 8d2cc6e9a03f..78f6c24952dd 100644 --- a/arch/arm/boot/dts/sun8i-h3-nanopi-neo.dts +++ b/arch/arm/boot/dts/sun8i-h3-nanopi-neo.dts @@ -46,3 +46,10 @@ model = "FriendlyARM NanoPi NEO"; compatible = "friendlyarm,nanopi-neo", "allwinner,sun8i-h3"; }; + +&emac { + phy-handle = <&int_mii_phy>; + phy-mode = "mii"; + allwinner,leds-active-low; + status = "okay"; +};