From patchwork Mon Mar 30 21:59:41 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 6126051 Return-Path: X-Original-To: patchwork-linux-arm@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 3F370BF4A6 for ; Mon, 30 Mar 2015 22:12:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6DB262043C for ; Mon, 30 Mar 2015 22:12:20 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 93AE62041B for ; Mon, 30 Mar 2015 22:12:19 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Ychre-0008N1-AW; Mon, 30 Mar 2015 22:08:58 +0000 Received: from mail-lb0-f174.google.com ([209.85.217.174]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Ychj5-0000zw-GP for linux-arm-kernel@lists.infradead.org; Mon, 30 Mar 2015 22:00:08 +0000 Received: by lbdc10 with SMTP id c10so50831154lbd.2 for ; Mon, 30 Mar 2015 14:59:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=4jzjI/405H7LTauYLhcskQ22WkD8sfy6GGDISs33NvQ=; b=i1ur5N7UW3qO0xYLr98vMjo94UPBmYZErafIsFNATHkQXVAqTtAS2AY06TU+W8d9jV PbnPbMdl1+afKGRZv6WcbMOzFgqavvJ7vNWUZ+g1lB1eFb6pyGUJpO5V7iucvYAhwB+8 NaK+7X6caMt5hSCaW0lIuRsIDNurnIRnpCM7T1QW7s/WCfubn/9vZXugi5nulrwhpGai 191jqwiirbyeKrxkz73PdaoBK4Bvxsk0nyj4QmIEsbsmtQLlksTTuf1U31vqt799zF7/ gFXu9qWlVRjOmrCL84Rx+ySVCRknv/wwBDCHxSOUV9Se2zh+wgSRVfV79tmJZ3yTb51j OU3w== X-Gm-Message-State: ALoCoQknhSXkHt+JZSBzk1Yk4kgvRSc0cNVW1J9Bb7JGR6uwwWKLsqG512boSLvEGBTZ7VZ9wlpz X-Received: by 10.152.234.42 with SMTP id ub10mr7917451lac.55.1427752783692; Mon, 30 Mar 2015 14:59:43 -0700 (PDT) Received: from wasted.cogentembedded.com (ppp83-237-251-118.pppoe.mtu-net.ru. [83.237.251.118]) by mx.google.com with ESMTPSA id mm7sm2273430lbb.30.2015.03.30.14.59.42 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Mar 2015 14:59:42 -0700 (PDT) From: Sergei Shtylyov To: horms@verge.net.au, linux-sh@vger.kernel.org, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, devicetree@vger.kernel.org Subject: [PATCH 2/2] ARM: shmobile: r8a7790: add EtherAVB DT support Date: Tue, 31 Mar 2015 00:59:41 +0300 Message-ID: <8163383.0UU0Q5gsLE@wasted.cogentembedded.com> Organization: Cogent Embedded Inc. User-Agent: KMail/4.14.4 (Linux/3.18.9-100.fc20.x86_64; KDE/4.14.6; x86_64; ; ) In-Reply-To: <1625400.M0MxPQybIy@wasted.cogentembedded.com> References: <1625400.M0MxPQybIy@wasted.cogentembedded.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150330_150007_806350_A9D1F5E8 X-CRM114-Status: UNSURE ( 8.17 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) Cc: linux@arm.linux.org.uk, magnus.damm@gmail.com, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 EtherAVB device node. Based on original patch by Mitsuhiro Kimura . Signed-off-by: Sergei Shtylyov --- arch/arm/boot/dts/r8a7790.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) Index: renesas/arch/arm/boot/dts/r8a7790.dtsi =================================================================== --- renesas.orig/arch/arm/boot/dts/r8a7790.dtsi +++ renesas/arch/arm/boot/dts/r8a7790.dtsi @@ -626,6 +626,16 @@ status = "disabled"; }; + avb: ethernet@e6800000 { + compatible = "renesas,ravb-r8a7790"; + reg = <0 0xe6800000 0 0x800>, <0 0xee0e8000 0 0x4000>; + interrupts = <0 163 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&mstp8_clks R8A7790_CLK_ETHERAVB>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + sata0: sata@ee300000 { compatible = "renesas,sata-r8a7790"; reg = <0 0xee300000 0 0x2000>;