From patchwork Thu Feb 6 22:12:47 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 3598391 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.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 2A9FD9F2E9 for ; Thu, 6 Feb 2014 21:12:22 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2D1232012F for ; Thu, 6 Feb 2014 21:12:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2E52F20154 for ; Thu, 6 Feb 2014 21:12:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753431AbaBFVMT (ORCPT ); Thu, 6 Feb 2014 16:12:19 -0500 Received: from mail-lb0-f180.google.com ([209.85.217.180]:38456 "EHLO mail-lb0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752284AbaBFVMS (ORCPT ); Thu, 6 Feb 2014 16:12:18 -0500 Received: by mail-lb0-f180.google.com with SMTP id n15so1980027lbi.11 for ; Thu, 06 Feb 2014 13:12:17 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:subject:cc:from:organization:date :mime-version:content-type:content-transfer-encoding:message-id; bh=RTQg2zBjPfgkugZN4MajkgtxoijE20gkY7HF/Rp4c2s=; b=FMCfIW6wcUnOlMgeDXVJqwhsyieTHz35rVfVARNL7a9gjx8i8wqIUc8en1ifCKjhEh iGD0fe9O/BXoNEWaY8h9juSqkG1VS07hea4S2XmVWKNqOgKqymFMZiHJA2p2TEk2SMQl DT6jhZh9umAo+6pnxVc5jjIrEAoRImv4fOEwfQ1Ed7ZbUK326BBTlFT97Z0aiKzgCZLZ GgYmx8shdAuB/9u8WMXl2ZQ6YgqKPz9C1gOm9p/klGU0dXTY97upp09G92uTCs3MOqtd bKTQQwsvyUQjHWNpZ6peyhlpCjx6QC9iaaIwZ6+54vA6ShdzwbdKyuL446j/UXyZRrr9 6M/g== X-Gm-Message-State: ALoCoQlc87bP/hnX+pVkxAmJ5n/G4jz/RzMKdl9uAHgtSb5xvZRPo1u9U2ZEjwyrW8sy4IU49c8Y X-Received: by 10.152.170.232 with SMTP id ap8mr3238681lac.40.1391721137400; Thu, 06 Feb 2014 13:12:17 -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 10sm3238693lan.5.2014.02.06.13.12.16 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 06 Feb 2014 13:12:16 -0800 (PST) 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: r8a7791: add Ether DT support Cc: magnus.damm@gmail.com, linux@arm.linux.org.uk, linux-arm-kernel@lists.infradead.org From: Sergei Shtylyov Organization: Cogent Embedded Date: Fri, 7 Feb 2014 01:12:47 +0300 MIME-Version: 1.0 Message-Id: <201402070112.48304.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 R8A7791 part of the Ether device node. Signed-off-by: Sergei Shtylyov --- arch/arm/boot/dts/r8a7791.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/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 @@ -366,6 +367,18 @@ status = "disabled"; }; + ether: ethernet@ee700000 { + compatible = "renesas,ether-r8a7791"; + reg = <0 0xee700000 0 0x400>; + interrupt-parent = <&gic>; + 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>;