From mboxrd@z Thu Jan 1 00:00:00 1970 From: Philipp Rossak Date: Wed, 30 Aug 2017 02:32:40 +0200 Subject: [U-Boot] [PATCH 3/4] sunxi: dts: added emac node for nanopi m1 In-Reply-To: <1504053161-27814-1-git-send-email-embed3d@gmail.com> References: <1504053161-27814-1-git-send-email-embed3d@gmail.com> Message-ID: <1504053161-27814-4-git-send-email-embed3d@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de From: Philipp Rossak The sun8i emac hardware is present on the Nanopi M1. It uses the internal PHY. Signed-off-by: Philipp Rossak --- arch/arm/dts/sun8i-h3-nanopi-m1.dts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/dts/sun8i-h3-nanopi-m1.dts b/arch/arm/dts/sun8i-h3-nanopi-m1.dts index ec63d10..9c1c380 100644 --- a/arch/arm/dts/sun8i-h3-nanopi-m1.dts +++ b/arch/arm/dts/sun8i-h3-nanopi-m1.dts @@ -55,6 +55,17 @@ status = "okay"; }; +&emac { + phy = <&phy1>; + phy-mode = "mii"; + allwinner,use-internal-phy; + allwinner,leds-active-low; + status = "okay"; + phy1: ethernet-phy at 1 { + reg = <1>; + }; +}; + &ohci1 { status = "okay"; }; -- 2.7.4