From patchwork Wed Jan 21 16:20:58 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulrich Hecht X-Patchwork-Id: 5679191 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id D1ACEC058D for ; Wed, 21 Jan 2015 16:22:13 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D9AE4204E7 for ; Wed, 21 Jan 2015 16:22:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1C97B202AE for ; Wed, 21 Jan 2015 16:22:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753282AbbAUQWF (ORCPT ); Wed, 21 Jan 2015 11:22:05 -0500 Received: from mail-we0-f172.google.com ([74.125.82.172]:55691 "EHLO mail-we0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754029AbbAUQVr (ORCPT ); Wed, 21 Jan 2015 11:21:47 -0500 Received: by mail-we0-f172.google.com with SMTP id k11so43988778wes.3 for ; Wed, 21 Jan 2015 08:21:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=/pbbCXj/ae6ugnWIFjrMw+Yand8B8A0IEAhJOliFd0o=; b=XvpWNRElBhAUuZaxkK5zRWozl74fVlSfX+ArPzQMosS7eVdvM7AiXuVF4OvHNi6WXe dXW4pz89xqTakVdJa4LxbQimjZ+nUHMKQ99m+uR98gtGywbaZt0E4m1itSle0Od2TmZu qZRLH3RRpXQ1C4reTBUqmcQNXRxGL68Pe2nl0h0EOslQCsDOzoXVvfMT6F6SWLozN0Rl F9/rjeqyd53ImD+yy1IJqZi9KEzj3PPtwhu4j5Ngw0cK9GsRaJXL6q3xqlS7pHfJr/eB i6gTdXAzTt/s4b2kHF2nsRjz7WJmY68h0AQI4rKDPR50DS4ylN7hki/Detuk7h2ZKQEi 1ciw== X-Received: by 10.194.81.1 with SMTP id v1mr63021209wjx.50.1421857306338; Wed, 21 Jan 2015 08:21:46 -0800 (PST) Received: from groucho.site (ipbcc0217c.dynamic.kabel-deutschland.de. [188.192.33.124]) by mx.google.com with ESMTPSA id wa5sm409687wjc.8.2015.01.21.08.21.45 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Jan 2015 08:21:45 -0800 (PST) From: Ulrich Hecht To: kuninori.morimoto.gx@renesas.com, linux-sh@vger.kernel.org Cc: horms@verge.net.au, mturquette@linaro.org, magnus.damm@gmail.com, geert@linux-m68k.org, laurent.pinchart+renesas@ideasonboard.com, Ulrich Hecht Subject: [PATCH 07/11] ARM: shmobile: bockw: add pins and clock to ethernet controller in DT Date: Wed, 21 Jan 2015 17:20:58 +0100 Message-Id: <1421857262-16607-8-git-send-email-ulrich.hecht+renesas@gmail.com> X-Mailer: git-send-email 2.2.2 In-Reply-To: <1421857262-16607-1-git-send-email-ulrich.hecht+renesas@gmail.com> References: <1421857262-16607-1-git-send-email-ulrich.hecht+renesas@gmail.com> Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Completes the Ethernet controller DT entry with pin control and clock information. Signed-off-by: Ulrich Hecht --- arch/arm/boot/dts/r8a7778-bockw.dts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/r8a7778-bockw.dts b/arch/arm/boot/dts/r8a7778-bockw.dts index 280a922..52086fe 100644 --- a/arch/arm/boot/dts/r8a7778-bockw.dts +++ b/arch/arm/boot/dts/r8a7778-bockw.dts @@ -47,8 +47,12 @@ }; ethernet@18300000 { + pinctrl-0 = <ðer_pins>; + pinctrl-names = "default"; + compatible = "smsc,lan9220", "smsc,lan9115"; reg = <0x18300000 0x1000>; + clocks = <&mstp1_clks R8A7778_CLK_ETHER>; phy-mode = "mii"; interrupt-parent = <&irqpin>; @@ -103,6 +107,11 @@ }; &pfc { + ether_pins: ether { + renesas,groups = "ether_rmii"; + renesas,function = "ether"; + }; + scif0_pins: serial0 { renesas,groups = "scif0_data_a", "scif0_ctrl"; renesas,function = "scif0";