From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sergei Shtylyov Subject: Re: [PATCH 1/2] arm64: dts: renesas: r8a77980: add GEther support Date: Tue, 22 May 2018 18:44:59 +0300 Message-ID: References: <8910c197-cf1b-9ee9-9ddb-5d2f705a4b26@cogentembedded.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Language: en-MW List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Geert Uytterhoeven Cc: Mark Rutland , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Magnus Damm , Simon Horman , Catalin Marinas , Will Deacon , Linux-Renesas , Rob Herring , Linux ARM List-Id: devicetree@vger.kernel.org On 05/22/2018 02:48 PM, Geert Uytterhoeven wrote: >> Define the generic R8A77980 part of the GEther device node. >> >> Based on the original (and large) patch by Vladimir Barinov. >> >> Signed-off-by: Vladimir Barinov >> Signed-off-by: Sergei Shtylyov > > Thanks for your patch! > > With the below addressed: > Reviewed-by: Geert Uytterhoeven Thanks! >> --- renesas.orig/arch/arm64/boot/dts/renesas/r8a77980.dtsi >> +++ renesas/arch/arm64/boot/dts/renesas/r8a77980.dtsi >> @@ -417,6 +417,17 @@ >> dma-channels = <16>; >> }; >> >> + gether: ethernet@e7400000 { >> + compatible = "renesas,gether-r8a77980"; >> + reg = <0 0xe7400000 0 0x1000>; >> + interrupts = ; >> + clocks = <&cpg CPG_MOD 813>; >> + power-domains = <&sysc R8A77980_PD_ALWAYS_ON>; > > resets = <&cpg 813>; As usual... > >> + #address-cells = <1>; >> + #size-cells = <0>; >> + status = "disabled"; > > Any default phy-mode needed? A default "phy-mode" IMO make sense when the MAC supports a single PHY interface mode. In this case, both RMII and RGMII are supported, so I coulsn't choose a default... >> + }; >> + >> mmc0: mmc@ee140000 { >> compatible = "renesas,sdhi-r8a77980", >> "renesas,rcar-gen3-sdhi"; > > > Gr{oetje,eeting}s, > > Geert >