From patchwork Mon Jun 15 23:43:51 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 6612441 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 EDD649F358 for ; Mon, 15 Jun 2015 23:43:57 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2609220694 for ; Mon, 15 Jun 2015 23:43:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4340A2058E for ; Mon, 15 Jun 2015 23:43:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751301AbbFOXnz (ORCPT ); Mon, 15 Jun 2015 19:43:55 -0400 Received: from mail-la0-f50.google.com ([209.85.215.50]:36336 "EHLO mail-la0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751516AbbFOXnz (ORCPT ); Mon, 15 Jun 2015 19:43:55 -0400 Received: by lacny3 with SMTP id ny3so437764lac.3 for ; Mon, 15 Jun 2015 16:43:53 -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=FXd1pa3mTcXHIU5J4hMuBMVRsWxQirehaPlNpufRQVs=; b=c1WBpYDPF6T2uqAbCksVEHzf7j69g0M2MAHwdKyAEB5i048JeBQA9kUbQ9FxDKX+Jh QmvbZ1HnHFmGPvwaCVWABYJTkMWG5Qamb6RLJvESSFcsqcEc6xNQwDBUtBbyaSNHlMtV AV4ie44WWt8Ae2y5EXr6IxUxGCS5Ep4x0VE+280bY42rkl4wwZutkVoWjoIcMZ416aEW Sde6A0c0rZ9LGWYBieL9gXSaPoD4ZytYbAyjdj1GRaIQckytABsmZj/pX3WFDqJuTuef nCavs6gLtCyaT/uL3FdqQDolvs1iwM2fdjF3g8eRMNMCi98YW52WaFzNd5gu3EITAjvy SZaA== X-Gm-Message-State: ALoCoQncNWLzQ/Jb51decVuDfA54JMYLP7SZdatFQGLXPtHsAAMsGyGE/BlpwSbByXdNne8/OSA0 X-Received: by 10.152.3.33 with SMTP id 1mr14453331laz.109.1434411833593; Mon, 15 Jun 2015 16:43:53 -0700 (PDT) Received: from wasted.cogentembedded.com (ppp83-237-255-76.pppoe.mtu-net.ru. [83.237.255.76]) by mx.google.com with ESMTPSA id pw1sm3021680lac.17.2015.06.15.16.43.52 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Jun 2015 16:43:52 -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 Cc: magnus.damm@gmail.com, linux@arm.linux.org.uk, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 2/2] ARM: shmobile: r8a7790: add EtherAVB DT support Date: Tue, 16 Jun 2015 02:43:51 +0300 Message-ID: <5039206.91vH9hDYGY@wasted.cogentembedded.com> Organization: Cogent Embedded Inc. User-Agent: KMail/4.14.7 (Linux/4.0.4-202.fc21.x86_64; KDE/4.14.9; x86_64; ; ) In-Reply-To: <2857896.YA1bBSQVkA@wasted.cogentembedded.com> References: <2857896.YA1bBSQVkA@wasted.cogentembedded.com> MIME-Version: 1.0 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, 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 EtherAVB device node. Based on original patch by Mitsuhiro Kimura . Signed-off-by: Sergei Shtylyov --- Changes in version 2: - changed the "compatible" property to match the driver; - refreshed the patch. arch/arm/boot/dts/r8a7790.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) -- 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 @@ -671,6 +671,16 @@ status = "disabled"; }; + avb: ethernet@e6800000 { + compatible = "renesas,etheravb-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>;