From patchwork Mon Feb 16 16:58:52 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulrich Hecht X-Patchwork-Id: 5834061 X-Patchwork-Delegate: horms@verge.net.au Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 3554F9F691 for ; Mon, 16 Feb 2015 16:59:38 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 74137201E4 for ; Mon, 16 Feb 2015 16:59:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A3B17200FE for ; Mon, 16 Feb 2015 16:59:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755397AbbBPQ7f (ORCPT ); Mon, 16 Feb 2015 11:59:35 -0500 Received: from mail-wi0-f181.google.com ([209.85.212.181]:34955 "EHLO mail-wi0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753250AbbBPQ7e (ORCPT ); Mon, 16 Feb 2015 11:59:34 -0500 Received: by mail-wi0-f181.google.com with SMTP id r20so27586264wiv.2 for ; Mon, 16 Feb 2015 08:59:33 -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=OLEtKCR5dP3EkEUGMsPiQWRwl4ATsZx0p45nPcCH3/c=; b=k348y3lg/PThfVvS5d33VfS99QrB8w0ppkKpz5Oqn/A+oc5v4KhyAyIwivIUeLsBia W1fGJsy3b7A3WHmvnfAej54ZEttvglN+mTi1cCl2lo579tSvO0kSIBH6y3KiDutqyOOP hnV7m9MrbU7hKcLCIVJo3GS9MUflls39/nO4RYiRJG8UtWn0MepIbPPINISVgy6NI/Ks w/XpdwMagzkK/P1NUBwUUAq/+ceNTZIsxIwJlu77ALjW6n3BrPqaY+cmNwidIxEmls6X 2uC0NVFC9ydljsXsS/1bzxM16ps0JVLLyofnwCVfuTwBGHikxWClu4im0qVNkFTaJJmp 3NJA== X-Received: by 10.194.92.9 with SMTP id ci9mr51620653wjb.142.1424105973121; Mon, 16 Feb 2015 08:59:33 -0800 (PST) Received: from groucho.site (ipbcc0217c.dynamic.kabel-deutschland.de. [188.192.33.124]) by mx.google.com with ESMTPSA id dj5sm23633780wjb.28.2015.02.16.08.59.31 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Feb 2015 08:59:32 -0800 (PST) From: Ulrich Hecht To: horms@verge.net.au, linux-sh@vger.kernel.org, geert@linux-m68k.org, laurent.pinchart+renesas@ideasonboard.com, kuninori.morimoto.gx@renesas.com Cc: magnus.damm@gmail.com, sergei.shtylyov@cogentembedded.com, mturquette@linaro.org, Ulrich Hecht Subject: [PATCH v3 08/15] ARM: shmobile: r8a7778: add internal ethernet controller to DT Date: Mon, 16 Feb 2015 17:58:52 +0100 Message-Id: <1424105939-4910-9-git-send-email-ulrich.hecht+renesas@gmail.com> X-Mailer: git-send-email 2.2.2 In-Reply-To: <1424105939-4910-1-git-send-email-ulrich.hecht+renesas@gmail.com> References: <1424105939-4910-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 Internal Ethernet controller DT entry with clock information. Signed-off-by: Ulrich Hecht Acked-by: Laurent Pinchart Acked-by: Geert Uytterhoeven --- arch/arm/boot/dts/r8a7778.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/r8a7778.dtsi b/arch/arm/boot/dts/r8a7778.dtsi index 5c347e8..c802e72 100644 --- a/arch/arm/boot/dts/r8a7778.dtsi +++ b/arch/arm/boot/dts/r8a7778.dtsi @@ -41,6 +41,17 @@ spi2 = &hspi2; }; + ether: ethernet@fde00000 { + compatible = "renesas,ether-r8a7778"; + reg = <0xfde00000 0x400>; + interrupts = <0 105 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&mstp1_clks R8A7778_CLK_ETHER>; + phy-mode = "rmii"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + gic: interrupt-controller@fe438000 { compatible = "arm,cortex-a9-gic"; #interrupt-cells = <3>;