From 2fc554d3e37c27c5b8d2540d7a571dc53152a301 Mon Sep 17 00:00:00 2001 From: Jelle van der Waa Date: Mon, 5 Dec 2016 19:47:21 +0100 Subject: [PATCH] sunxi: enable H3 EMAC for the nanopi neo The nanopi already had the CONFIG_SUN8I_EMAC=y enabled in it's defconfig file, but was missing the &emac the device tree entry. Signed-off-by: Jelle van der Waa Acked-by: Maxime Ripard Reviewed-by: Jagan Teki --- arch/arm/dts/sun8i-h3-nanopi-neo.dts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/dts/sun8i-h3-nanopi-neo.dts b/arch/arm/dts/sun8i-h3-nanopi-neo.dts index 3d64cafc1e..096ff0b5a5 100644 --- a/arch/arm/dts/sun8i-h3-nanopi-neo.dts +++ b/arch/arm/dts/sun8i-h3-nanopi-neo.dts @@ -123,3 +123,14 @@ /* USB VBUS is always on */ status = "okay"; }; + +&emac { + phy = <&phy1>; + phy-mode = "mii"; + allwinner,use-internal-phy; + allwinner,leds-active-low; + status = "okay"; + phy1: ethernet-phy@1 { + reg = <1>; + }; +}; -- 2.30.2