From patchwork Wed Feb 19 23:27:04 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 3683321 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 2B53DBF13A for ; Wed, 19 Feb 2014 22:27:06 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 49FB420158 for ; Wed, 19 Feb 2014 22:27:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7F07620166 for ; Wed, 19 Feb 2014 22:27:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750931AbaBSW1E (ORCPT ); Wed, 19 Feb 2014 17:27:04 -0500 Received: from mail-lb0-f174.google.com ([209.85.217.174]:50559 "EHLO mail-lb0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750821AbaBSW1C (ORCPT ); Wed, 19 Feb 2014 17:27:02 -0500 Received: by mail-lb0-f174.google.com with SMTP id l4so768605lbv.19 for ; Wed, 19 Feb 2014 14:27:00 -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=28uyRNTRNdJLrlHNLFbbM2T35UqLqz/KeY/XD0LM/YU=; b=d1WnZZSZmMifuEImDWODB9KyXjIPL6NUKUGOsMwXkDatXnqq7g+8PUFZXppp+p9iFj eejkZCURp2z8nftAMS/BZY7LrthG0IQ8f/5DI+UVJ8ddM5qpkob3cAV3NoK9nXVJhBO+ 3djXR7NcNgiM2xofH+0MdWF03C5+Zq2Mg/kCOt10PgKuUa1FtEKD7irL8lpMgrhIlMSb kMpcu4jHnDWdBJrS4MOfv9VZzdRPpQnDIO7XCa9d+WPfnagqJllSAJGdpG2NtfXEpQVh NwFbJKaPECXOu9LG6g+pjCaAcWfDoYswbCo86p3NrJ+nmqlnc214NpBREAGUTgmifXIC 6a/A== X-Gm-Message-State: ALoCoQngYCfvGp8rDzz+CNfS3+fZ57htiENJvyKkwK59AkzmPIJ3do25YjUWJVOHGyu/pItYilpi X-Received: by 10.112.64.7 with SMTP id k7mr3490379lbs.42.1392848820785; Wed, 19 Feb 2014 14:27:00 -0800 (PST) Received: from wasted.cogentembedded.com (ppp85-140-130-62.pppoe.mtu-net.ru. [85.140.130.62]) by mx.google.com with ESMTPSA id 10sm2319713lan.5.2014.02.19.14.26.59 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 19 Feb 2014 14:27:00 -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 v2 1/2] ARM: shmobile: r8a7791: add Ether DT support Date: Thu, 20 Feb 2014 02:27:04 +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: <201402200225.00598.sergei.shtylyov@cogentembedded.com> In-Reply-To: <201402200225.00598.sergei.shtylyov@cogentembedded.com> MIME-Version: 1.0 Message-Id: <201402200227.05314.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=-4.6 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 R8A7791 part of the Ether device node. Signed-off-by: Sergei Shtylyov --- Changes in version 2: - removed now redundant "interrupt-parent" property; - refreshed the patch. arch/arm/boot/dts/r8a7791.dtsi | 14 +++++++++++++- 1 file changed, 13 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/r8a7791.dtsi =================================================================== --- renesas.orig/arch/arm/boot/dts/r8a7791.dtsi +++ renesas/arch/arm/boot/dts/r8a7791.dtsi @@ -2,7 +2,8 @@ * Device Tree Source for the r8a7791 SoC * * Copyright (C) 2013 Renesas Electronics Corporation - * 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 @@ -407,6 +408,17 @@ status = "disabled"; }; + ether: ethernet@ee700000 { + compatible = "renesas,ether-r8a7791"; + reg = <0 0xee700000 0 0x400>; + interrupts = <0 162 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&mstp8_clks R8A7791_CLK_ETHER>; + phy-mode = "rmii"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + sata0: sata@ee300000 { compatible = "renesas,sata-r8a7791"; reg = <0 0xee300000 0 0x2000>;