From patchwork Fri Oct 20 10:28:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10019543 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 18AD1602CB for ; Fri, 20 Oct 2017 10:29:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 091BB28E88 for ; Fri, 20 Oct 2017 10:29:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F25A228EE1; Fri, 20 Oct 2017 10:29:38 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A872A28E88 for ; Fri, 20 Oct 2017 10:29:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752735AbdJTK3i (ORCPT ); Fri, 20 Oct 2017 06:29:38 -0400 Received: from kirsty.vergenet.net ([202.4.237.240]:38914 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752092AbdJTK3h (ORCPT ); Fri, 20 Oct 2017 06:29:37 -0400 Received: from penelope.horms.nl (unknown [217.111.208.18]) by kirsty.vergenet.net (Postfix) with ESMTPA id B8D7E25BED3; Fri, 20 Oct 2017 21:29:27 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1508495368; bh=qQqTmLxY9HSniN8szrA3SRG8K/LtPOLGcPsckZK/EOQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=S152hV7N4qA0bNATdO4v37iaLn0ALf88/glQ4RNN/mcopsbIznqixO05BTi29svwE pQ0Y7WwD8/vdcjdu9ouR0RBVvdp61MxFvDs0RYuvmzvZI5x9NkUD/Wmi1m/axva5fa p7lZytMhWLwzoMBHJC6YX12rA3khuxCuAHJKAjl8= Received: by penelope.horms.nl (Postfix, from userid 7100) id A5212E203D4; Fri, 20 Oct 2017 12:28:35 +0200 (CEST) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Magnus Damm , Sergei Shtylyov , Vladimir Barinov , Simon Horman Subject: [PATCH 26/31] arm64: dts: renesas: eagle: add EtherAVB support Date: Fri, 20 Oct 2017 12:28:29 +0200 Message-Id: <38525608952ae5793a58c1ef4e447f45593d2ee1.1508495040.git.horms+renesas@verge.net.au> X-Mailer: git-send-email 2.11.0 In-Reply-To: References: Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Sergei Shtylyov 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 Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- arch/arm64/boot/dts/renesas/r8a77970-eagle.dts | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/renesas/r8a77970-eagle.dts b/arch/arm64/boot/dts/renesas/r8a77970-eagle.dts index a4d1d4f24675..a711e77cc6a5 100644 --- a/arch/arm64/boot/dts/renesas/r8a77970-eagle.dts +++ b/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>; + }; +};