Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751405AbdCNSUk (ORCPT ); Tue, 14 Mar 2017 14:20:40 -0400 Received: from mail-qk0-f194.google.com ([209.85.220.194]:35958 "EHLO mail-qk0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750744AbdCNSUh (ORCPT ); Tue, 14 Mar 2017 14:20:37 -0400 Subject: Re: [PATCH v2 16/20] ARM: dts: sun50i-a64: enable dwmac-sun8i on pine64 To: Corentin Labbe , robh+dt@kernel.org, mark.rutland@arm.com, maxime.ripard@free-electrons.com, wens@csie.org, linux@armlinux.org.uk, catalin.marinas@arm.com, will.deacon@arm.com, peppe.cavallaro@st.com, alexandre.torgue@st.com, davem@davemloft.net References: <20170314141856.24560-1-clabbe.montjoie@gmail.com> <20170314141856.24560-17-clabbe.montjoie@gmail.com> Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org From: Florian Fainelli Message-ID: <6fd5818c-94ad-ae1b-2caf-ca657a2f1066@gmail.com> Date: Tue, 14 Mar 2017 11:20:31 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <20170314141856.24560-17-clabbe.montjoie@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 922 Lines: 33 On 03/14/2017 07:18 AM, Corentin Labbe wrote: > The dwmac-sun8i hardware is present on the pine64 > It uses an external PHY via RMII. > > Signed-off-by: Corentin Labbe > --- > arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) > > diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts > index c680ed3..b53994d 100644 > --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts > +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts > @@ -109,3 +109,18 @@ > &usbphy { > status = "okay"; > }; > + > +&mdio { > + ext_rmii_phy1: ethernet-phy@1 { > + reg = <1>; Even though it's optional, it's nice to have a: compatible = "ethernet-phy-ieee802.3-c22" string here. This applies to all DTS files that you have in subsequent patches. Thanks! -- Florian