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: 5860761 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 918A89F373 for ; Sat, 21 Feb 2015 22:26:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C198320531 for ; Sat, 21 Feb 2015 22:26:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id EBBA320502 for ; Sat, 21 Feb 2015 22:26:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751961AbbBUW0l (ORCPT ); Sat, 21 Feb 2015 17:26:41 -0500 Received: from mail-lb0-f178.google.com ([209.85.217.178]:37727 "EHLO mail-lb0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751730AbbBUW0k (ORCPT ); Sat, 21 Feb 2015 17:26:40 -0500 Received: by lbvn10 with SMTP id n10so12483958lbv.4 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=AvzCKc2Ct5mtidlYdqVFv47j15/KXcAGJDjM6Yq+SxWaTPg57ssxfJ6vSpwt9u9/9d gU63XI6mR8TJmJnUvqXb9a8rVZpvihw+KvxsY5J++txuK6B5+UYeLBil4xBMKdRdsNk2 m6YwEy6lMDuxgsiiShJrG/1MloMRa7XJxNRe93G1UBa7C307r3XubSzXjf5D251mWhAm 9jhKsVGnEoJnb2zkrgRmNIc1bsp2NW1j9qeLjGIU1QpEalkNGbmIsCaPOqm/PAOsKelm Vb2UhKim+Ioy1YCKrMLsPnVENc1EbcYFTGIfvvhUJ3WIUqm2Tc8/797Z3IO1hGct8Aku A1Hg== X-Gm-Message-State: ALoCoQniX4PpQRELHqliEdqMHfr1hrkCK0lBUe1+LMhfIHBcSBIcqZnQAP9q/g3SIINwvGo9Q11f 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 Cc: magnus.damm@gmail.com, linux@arm.linux.org.uk, linux-arm-kernel@lists.infradead.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 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_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 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(+) -- 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/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>;