From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-f50.google.com ([209.85.215.50]:45887 "EHLO mail-lf0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751751AbdIOToy (ORCPT ); Fri, 15 Sep 2017 15:44:54 -0400 Received: by mail-lf0-f50.google.com with SMTP id d17so3407815lfe.2 for ; Fri, 15 Sep 2017 12:44:53 -0700 (PDT) From: Sergei Shtylyov Message-Id: <20170915194449.538504992@cogentembedded.com> Date: Fri, 15 Sep 2017 22:43:26 +0300 To: Rob Herring , Simon Horman , Catalin Marinas , Will Deacon , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org Cc: Mark Rutland , Magnus Damm , linux-arm-kernel@lists.infradead.org, Vladimir Barinov , Sergei Shtylyov Subject: [PATCH v2 8/8] arm64: dts: renesas: eagle: add EtherAVB support MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Disposition: inline; filename=arm64-dts-renesas-eagle-add-EtherAVB-support-v2.patch Sender: linux-renesas-soc-owner@vger.kernel.org List-ID: Define the Eagle board dependent part of the EtherAVB device node. Enable DHCP and NFS root for the kernel booting. Based on the original (and large) patch by Vladimir Barinov. Signed-off-by: Vladimir Barinov Signed-off-by: Sergei Shtylyov --- Changes in version 2: - uncommented the "renesas,no-ether-link" property; - removed the "max-speed" property from the PHY node. arch/arm64/boot/dts/renesas/r8a77970-eagle.dts | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) Index: renesas/arch/arm64/boot/dts/renesas/r8a77970-eagle.dts =================================================================== --- renesas.orig/arch/arm64/boot/dts/renesas/r8a77970-eagle.dts +++ renesas/arch/arm64/boot/dts/renesas/r8a77970-eagle.dts @@ -18,10 +18,11 @@ aliases { serial0 = &scif0; + ethernet0 = &avb; }; chosen { - bootargs = "ignore_loglevel"; + bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp"; stdout-path = "serial0:115200n8"; }; @@ -43,3 +44,14 @@ &scif0 { status = "okay"; }; + +&avb { + renesas,no-ether-link; + phy-handle = <&phy0>; + status = "okay"; + + phy0: ethernet-phy@0 { + rxc-skew-ps = <1500>; + reg = <0>; + }; +}; From mboxrd@z Thu Jan 1 00:00:00 1970 From: sergei.shtylyov@cogentembedded.com (Sergei Shtylyov) Date: Fri, 15 Sep 2017 22:43:26 +0300 Subject: [PATCH v2 8/8] arm64: dts: renesas: eagle: add EtherAVB support Message-ID: <20170915194449.538504992@cogentembedded.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Define the Eagle board dependent part of the EtherAVB device node. Enable DHCP and NFS root for the kernel booting. Based on the original (and large) patch by Vladimir Barinov. Signed-off-by: Vladimir Barinov Signed-off-by: Sergei Shtylyov --- Changes in version 2: - uncommented the "renesas,no-ether-link" property; - removed the "max-speed" property from the PHY node. arch/arm64/boot/dts/renesas/r8a77970-eagle.dts | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) Index: renesas/arch/arm64/boot/dts/renesas/r8a77970-eagle.dts =================================================================== --- renesas.orig/arch/arm64/boot/dts/renesas/r8a77970-eagle.dts +++ renesas/arch/arm64/boot/dts/renesas/r8a77970-eagle.dts @@ -18,10 +18,11 @@ aliases { serial0 = &scif0; + ethernet0 = &avb; }; chosen { - bootargs = "ignore_loglevel"; + bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp"; stdout-path = "serial0:115200n8"; }; @@ -43,3 +44,14 @@ &scif0 { status = "okay"; }; + +&avb { + renesas,no-ether-link; + phy-handle = <&phy0>; + status = "okay"; + + phy0: ethernet-phy at 0 { + rxc-skew-ps = <1500>; + reg = <0>; + }; +};