From patchwork Thu Feb 6 21:56:40 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 3598321 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.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 8A468BF418 for ; Thu, 6 Feb 2014 20:56:22 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id ABACF2010B for ; Thu, 6 Feb 2014 20:56:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BC5B720109 for ; Thu, 6 Feb 2014 20:56:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754637AbaBFU4P (ORCPT ); Thu, 6 Feb 2014 15:56:15 -0500 Received: from mail-la0-f52.google.com ([209.85.215.52]:51333 "EHLO mail-la0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754482AbaBFU4M (ORCPT ); Thu, 6 Feb 2014 15:56:12 -0500 Received: by mail-la0-f52.google.com with SMTP id c6so1963356lan.11 for ; Thu, 06 Feb 2014 12:56:10 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:organization:to:subject:date:user-agent:cc :references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=4egJ3DKPnpDIWnOJBP1InYvG/YOAzk62phhWLiAWyiY=; b=dH3ISLjHMMKKlx94ph54GEtpPrQSGo5Hr/ue/YOo3w2MAxSDeb0ZOdL3Ae+Pk+BQ3G n4MVesU3/+CwDtONkad2mz6yMUxdaVsztp/Ca4jgVMUTs53KJmwJqMje/p5ZgQRrm2T5 tbHxltmSgFTwAlMCWCNJLb/IMDOqnyD4ttalSri+RYSN4e5vJe/sq1zfYAkB/90N/xm7 L+xs0m0hFX5YqkjX+JQ1tGukIGNJ3nNaZ0545ZWTCDFmOHmbqNHMSsfg86Z041LVpI+f 9EDhvSWHdFTJ1HH57IacHenqh133WvwXmGIouJyUEm2WDrKGyMaczKVnkvdA67G+cAKa T6WA== X-Gm-Message-State: ALoCoQn1S28Jj08C/Qz92sIZJL0sBfaqLq2BK7vKilK/33vj87AyEr2PTYiszJxJKZsJNnhG8QJA X-Received: by 10.152.170.232 with SMTP id ap8mr3183218lac.40.1391720170811; Thu, 06 Feb 2014 12:56:10 -0800 (PST) Received: from wasted.cogentembedded.com (ppp83-237-58-87.pppoe.mtu-net.ru. [83.237.58.87]) by mx.google.com with ESMTPSA id t5sm3180143lat.6.2014.02.06.12.56.09 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 06 Feb 2014 12:56:10 -0800 (PST) From: Sergei Shtylyov Organization: Cogent Embedded To: horms@verge.net.au, linux-sh@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org Subject: [PATCH 1/2] ARM: shmobile: r8a7790: add Ether DT support Date: Fri, 7 Feb 2014 00:56:40 +0300 User-Agent: KMail/1.13.5 (Linux/2.6.32.26-175.fc12.i686.PAE; KDE/4.4.5; i686; ; ) Cc: magnus.damm@gmail.com, linux@arm.linux.org.uk, linux-arm-kernel@lists.infradead.org References: <201402070054.39989.sergei.shtylyov@cogentembedded.com> In-Reply-To: <201402070054.39989.sergei.shtylyov@cogentembedded.com> MIME-Version: 1.0 Message-Id: <201402070056.41569.sergei.shtylyov@cogentembedded.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=-7.4 required=5.0 tests=BAYES_00,KHOP_BIG_TO_CC, RCVD_IN_DNSWL_HI, 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 Define the generic R8A7790 part of the Ether device node. Signed-off-by: Sergei Shtylyov --- arch/arm/boot/dts/r8a7790.dtsi | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Index: renesas/arch/arm/boot/dts/r8a7790.dtsi =================================================================== --- renesas.orig/arch/arm/boot/dts/r8a7790.dtsi +++ renesas/arch/arm/boot/dts/r8a7790.dtsi @@ -1,7 +1,8 @@ /* * Device Tree Source for the r8a7790 SoC * - * Copyright (C) 2013 Renesas Solutions Corp. + * Copyright (C) 2013-2014 Renesas Solutions Corp. + * Copyright (C) 2014 Cogent Embedded Inc. * * This file is licensed under the terms of the GNU General Public License * version 2. This program is licensed "as is" without any warranty of any @@ -400,6 +401,18 @@ status = "disabled"; }; + ether: ethernet@ee700000 { + compatible = "renesas,ether-r8a7790"; + reg = <0 0xee700000 0 0x400>; + interrupt-parent = <&gic>; + interrupts = <0 162 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&mstp8_clks R8A7790_CLK_ETHER>; + phy-mode = "rmii"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + sata0: sata@ee300000 { compatible = "renesas,sata-r8a7790"; reg = <0 0xee300000 0 0x2000>;