From: Jelle van der Waa Date: Mon, 5 Dec 2016 18:47:21 +0000 (+0100) Subject: sunxi: enable H3 EMAC for the nanopi neo X-Git-Tag: v2017.03-rc1~100^2~4 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2fc554d3e37c27c5b8d2540d7a571dc53152a301;p=oweals%2Fu-boot.git 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 --- 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>; + }; +};