From patchwork Mon Jul 31 15:19:21 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 9872357 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 EC06F602F0 for ; Mon, 31 Jul 2017 15:51:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DCCD1283E8 for ; Mon, 31 Jul 2017 15:51:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D184228524; Mon, 31 Jul 2017 15:51:27 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 466FD285EE for ; Mon, 31 Jul 2017 15:51:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=Gn2eawQQnVf1Oe973jkzINq4EV4+0PwgPehB0SvdFWY=; b=XT2F7cwuY0zUUFhglZn13jQzhz nKY8nreZXzZwC3tKicJqzd8mtgxzOuy1IjkjhipTADQ5AlGAj8sDjhHPzQiIuUtE0GdGCZCAfaMhS xiOy4dl+s2Iyk3UOC/aEyE1MXuNuFL3y6sYecqcK6vnKHQptxzwhKzuCioOFjHQpiPcRz6PRGqRm7 O2h+iIgqLHW6PGY5j3BwtFOHlndm0XPj80jBFq1ydQSYmIab/nZ0PSz4fS52+Lnpx0Uu3WCOyMXgV oOBQRpgM9/aAzIPsMdwONrAEcaGqPVNcGgTzYDAXAwvwV6rgeIjJX9nCoXc7/rN/VWBYch/KazEZQ Xd0regwA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dcCyX-00079a-EE; Mon, 31 Jul 2017 15:51:21 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dcCif-0005zq-P0 for linux-arm-kernel@bombadil.infradead.org; Mon, 31 Jul 2017 15:34:57 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=mOzKAZXhOPCUoulBEpW3dE533R1/yEtShg5DJKxybM0=; b=NK79yi8AvnarRbofxyibCf4t9 bBQ2TpzHQ5Mb9L/2tG8O6DXda8i7L3ny/ScHNWq7PMy3+P0+jCHqxJnn8Ddhl5OLhji6zdkrKLf16 0zRXgMSjb+sJniHCQ9qC6o7IQE7ntQlddplp+KnO3aHgfQsoLPJmmUaANq/4izp9QdZKSTSjnLPEc SQC+ZHgK5fRrF2cu/QkC5YPQBB0Ua3jI+HKucKtgnZ/R6ldhav9pNjLazMkRjeBKHKw5YKe2Lklij IPU1TDDsbfHaS6JpRVhmXLz7omLm7E8nQH3TMAnNi27qJ37dzbfYDrDvo90F/sy+JtS+pYj8DiI7i QK8j7JiYg==; Received: from kirsty.vergenet.net ([202.4.237.240]) by casper.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dcCVb-0000Pj-W2 for linux-arm-kernel@lists.infradead.org; Mon, 31 Jul 2017 15:21:29 +0000 Received: from penelope.horms.nl (unknown [217.111.208.18]) by kirsty.vergenet.net (Postfix) with ESMTPA id 2523725BED3; Tue, 1 Aug 2017 01:20:20 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1501514421; bh=OMGUQJ/c9nWKYeGpDKNYQQO6zk8vNzZlyZMNpsvoriw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qmqBZUmUvCfG6CsAa14BOz3HxwBayFRSWbLTHl6uE1uLX5KHGta/AvRQJOznrLgdJ FSoVXH66f8CcUGBgm5TRu99vfohkYMR4LgMo9NMHwI550qsX4ups0w2WXb5227C7p9 ipxrbwRTKDFen0k0Dyj/LjorrDQaFQWw638P0nvQ= Received: by penelope.horms.nl (Postfix, from userid 7100) id 2B945E2093C; Mon, 31 Jul 2017 17:20:11 +0200 (CEST) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 09/38] ARM: dts: iwg20d-q7: Add Ethernet AVB support Date: Mon, 31 Jul 2017 17:19:21 +0200 Message-Id: <9e70afe39eeb33488f0d18131b023b92c1493db8.1501514100.git.horms+renesas@verge.net.au> X-Mailer: git-send-email 2.1.4 In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170731_162128_316319_C4E323AD X-CRM114-Status: GOOD ( 10.07 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Simon Horman , Magnus Damm , linux-arm-kernel@lists.infradead.org, Biju Das MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Biju Das Define the iWave RainboW-G20D-Qseven board dependent part of the Ethernet AVB device node. Signed-off-by: Biju Das Reviewed-by: Chris Paterson Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a7743-iwg20d-q7.dts | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/r8a7743-iwg20d-q7.dts b/arch/arm/boot/dts/r8a7743-iwg20d-q7.dts index 497aec00cfac..081af0192851 100644 --- a/arch/arm/boot/dts/r8a7743-iwg20d-q7.dts +++ b/arch/arm/boot/dts/r8a7743-iwg20d-q7.dts @@ -17,6 +17,7 @@ aliases { serial0 = &scif0; + ethernet0 = &avb; }; }; @@ -25,6 +26,11 @@ groups = "scif0_data_d"; function = "scif0"; }; + + avb_pins: avb { + groups = "avb_mdio", "avb_gmii"; + function = "avb"; + }; }; &scif0 { @@ -33,3 +39,18 @@ status = "okay"; }; + +&avb { + pinctrl-0 = <&avb_pins>; + pinctrl-names = "default"; + + phy-handle = <&phy3>; + phy-mode = "gmii"; + renesas,no-ether-link; + status = "okay"; + + phy3: ethernet-phy@3 { + reg = <3>; + micrel,led-mode = <1>; + }; +};