From patchwork Sat Feb 21 22:26:37 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 5860781 Return-Path: X-Original-To: patchwork-linux-arm@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 830789F373 for ; Sat, 21 Feb 2015 22:29:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BFAC520527 for ; Sat, 21 Feb 2015 22:29:39 +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 D69F820513 for ; Sat, 21 Feb 2015 22:29:38 +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 1YPIVu-0003fa-31; Sat, 21 Feb 2015 22:27:06 +0000 Received: from mail-lb0-f172.google.com ([209.85.217.172]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YPIVq-0003dC-7e for linux-arm-kernel@lists.infradead.org; Sat, 21 Feb 2015 22:27:03 +0000 Received: by lbiz11 with SMTP id z11so12414569lbi.8 for ; Sat, 21 Feb 2015 14:26:39 -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:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=k5Y/iZ896YEGtNcnRu1qmuDUyqfcRIY0kEY0s8AuoP0=; b=Z4eIJp5Zb8qBioNsj+WDZRlREl1tSyHTESrgrZmg0BxricdmytoNtkTXppjAfkTB43 521wv/DrgS16wXHBMANDjR+k9Xh7P5X1ZlOgifG4T1r/UofYkCmxgbNskmon+JEFyri0 yvouuAO4Kaja5aF7Wl57FOAvokoR2yn2e1Yyu1xDbUgUsXGosgkWz2+fBWod0rIVsKQ6 gFERkfnvALW03ivKv7VIIYq3WHv2mNqRcgovju1Z1VxcR++APOX5p6BgvMfrbLohPXDd x6wnUAeesBlwHHmEIHEpya6Pv32UpkqUTtN9OUloKvTtIGDqZVxnoDynZWzfFpWThNg4 Nhyg== X-Gm-Message-State: ALoCoQnOd+afPYkqQLTg4ymfQGLU/Zm/blcUQscFqLaOf1Z2HHAgUjPFqcWQQEgvwPWE90mCzGD2 X-Received: by 10.112.170.72 with SMTP id ak8mr3430750lbc.95.1424557599582; Sat, 21 Feb 2015 14:26:39 -0800 (PST) Received: from wasted.cogentembedded.com (ppp20-60.pppoe.mtu-net.ru. [81.195.20.60]) by mx.google.com with ESMTPSA id lf1sm6261635lab.8.2015.02.21.14.26.38 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 21 Feb 2015 14:26:38 -0800 (PST) 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 1/2] ARM: shmobile: r8a7794: add SDHI DT support Date: Sun, 22 Feb 2015 01:26:37 +0300 Message-ID: <4571288.SFHfW35Ob9@wasted.cogentembedded.com> Organization: Cogent Embedded Inc. User-Agent: KMail/4.14.4 (Linux/3.18.6-100.fc20.x86_64; KDE/4.14.4; x86_64; ; ) In-Reply-To: <10037494.4LD4T2QGPX@wasted.cogentembedded.com> References: <10037494.4LD4T2QGPX@wasted.cogentembedded.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150221_142702_505644_F3FCC800 X-CRM114-Status: UNSURE ( 7.80 ) 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 R8A7794 parts of the SDHI[012] device nodes. Based on the orginal patch by Shinobu Uehara . Signed-off-by: Sergei Shtylyov Acked-by: Geert Uytterhoeven --- arch/arm/boot/dts/r8a7794.dtsi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) Index: renesas/arch/arm/boot/dts/r8a7794.dtsi =================================================================== --- renesas.orig/arch/arm/boot/dts/r8a7794.dtsi +++ renesas/arch/arm/boot/dts/r8a7794.dtsi @@ -441,6 +441,30 @@ status = "disabled"; }; + sdhi0: sd@ee100000 { + compatible = "renesas,sdhi-r8a7794"; + reg = <0 0xee100000 0 0x200>; + interrupts = <0 165 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&mstp3_clks R8A7794_CLK_SDHI0>; + status = "disabled"; + }; + + sdhi1: sd@ee140000 { + compatible = "renesas,sdhi-r8a7794"; + reg = <0 0xee140000 0 0x100>; + interrupts = <0 167 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&mstp3_clks R8A7794_CLK_SDHI1>; + status = "disabled"; + }; + + sdhi2: sd@ee160000 { + compatible = "renesas,sdhi-r8a7794"; + reg = <0 0xee160000 0 0x100>; + interrupts = <0 168 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&mstp3_clks R8A7794_CLK_SDHI2>; + status = "disabled"; + }; + clocks { #address-cells = <2>; #size-cells = <2>;