From patchwork Thu Jul 4 20:38:53 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guennadi Liakhovetski X-Patchwork-Id: 2823930 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 A0E959F3C3 for ; Thu, 4 Jul 2013 20:39:11 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9FECC20157 for ; Thu, 4 Jul 2013 20:39:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B9C5D2014B for ; Thu, 4 Jul 2013 20:39:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756896Ab3GDUjI (ORCPT ); Thu, 4 Jul 2013 16:39:08 -0400 Received: from moutng.kundenserver.de ([212.227.17.9]:55053 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756759Ab3GDUjH (ORCPT ); Thu, 4 Jul 2013 16:39:07 -0400 Received: from axis700.grange (dslb-088-076-026-213.pools.arcor-ip.net [88.76.26.213]) by mrelayeu.kundenserver.de (node=mrbap4) with ESMTP (Nemesis) id 0Mf1GD-1UafnP34I5-00PFtz; Thu, 04 Jul 2013 22:38:59 +0200 Received: from 6a.grange (6a.grange [192.168.1.11]) by axis700.grange (Postfix) with ESMTPS id B03CD40BB7; Thu, 4 Jul 2013 22:38:57 +0200 (CEST) Received: from lyakh by 6a.grange with local (Exim 4.72) (envelope-from ) id 1UuqIp-0005bB-4e; Thu, 04 Jul 2013 22:38:55 +0200 From: Guennadi Liakhovetski To: linux-sh@vger.kernel.org Cc: Simon Horman , Magnus Damm , Guennadi Liakhovetski Subject: [PATCH 5/6] ARM: shmobile: r8a73a4: add MMCIF and SDHI DT templates Date: Thu, 4 Jul 2013 22:38:53 +0200 Message-Id: <1372970334-21485-6-git-send-email-g.liakhovetski@gmx.de> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1372970334-21485-1-git-send-email-g.liakhovetski@gmx.de> References: <1372970334-21485-1-git-send-email-g.liakhovetski@gmx.de> X-Provags-ID: V02:K0:9mskQfTgVZ3llhhKFcbIOmVNVhZrvu+crGa73Ehwzw6 x9Nv+6y4fxMOXtjyP2LgWNpSSpKBHJv7zp1M4VEKbRDvNkPfv1 Pwe7d2kOQev7UE3q9q2EMkB222NH24KcqP1xlAdodQ9Cha7k0y 996iDM8uZWhthUJZL0MkviQH44yJdL5pK5e2cKX6eEWVG4Y3RA lhBLvtX4ZghagvH+getMA3l5dqSeLDDIZbYe/bbrYpqayoSQ3K qRFK/iJtFaX7ufxMIpCvSg8mHadmQCcrXrXMGSa3ygSAkGX6C2 T0i2c600ZDVrn5FXbvnDzMwfbzhOtzgw0gNGZfietV+CWVlviO 2dsf0wQnNFzjTQxJwwgrlTHSIwMsBxtgzLThyELyDCwHid9Yd5 z2BhARr8p0+VA== 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.1 required=5.0 tests=BAYES_00,FREEMAIL_FROM, 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 This adds DT templates for all MMCIF and SDHI controllers on r8a73a4. They are added with status="disabled". To use them platform-specific DTs have to enable the required ones. Signed-off-by: Guennadi Liakhovetski --- arch/arm/boot/dts/r8a73a4.dtsi | 45 ++++++++++++++++++++++++++++++++++++++++ 1 files changed, 45 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/r8a73a4.dtsi b/arch/arm/boot/dts/r8a73a4.dtsi index 4e1ddf0..064f045 100644 --- a/arch/arm/boot/dts/r8a73a4.dtsi +++ b/arch/arm/boot/dts/r8a73a4.dtsi @@ -166,4 +166,49 @@ interrupt-parent = <&gic>; interrupts = <0 173 0x4>; }; + + mmcif0: mmcif@ee200000 { + compatible = "renesas,sh-mmcif"; + reg = <0 0xee200000 0 0x100>; + interrupt-parent = <&gic>; + interrupts = <0 169 0x4>; + reg-io-width = <4>; + status = "disabled"; + }; + + mmcif1: mmcif@ee220000 { + compatible = "renesas,sh-mmcif"; + reg = <0 0xee220000 0 0x100>; + interrupt-parent = <&gic>; + interrupts = <0 170 0x4>; + reg-io-width = <4>; + status = "disabled"; + }; + + sdhi0: sdhi@ee100000 { + compatible = "renesas,r8a7740-sdhi"; + reg = <0 0xee100000 0 0x100>; + interrupt-parent = <&gic>; + interrupts = <0 165 4>; + cap-sd-highspeed; + status = "disabled"; + }; + + sdhi1: sdhi@ee120000 { + compatible = "renesas,r8a7740-sdhi"; + reg = <0 0xee120000 0 0x100>; + interrupt-parent = <&gic>; + interrupts = <0 166 4>; + cap-sd-highspeed; + status = "disabled"; + }; + + sdhi2: sdhi@ee140000 { + compatible = "renesas,r8a7740-sdhi"; + reg = <0 0xee140000 0 0x100>; + interrupt-parent = <&gic>; + interrupts = <0 167 4>; + cap-sd-highspeed; + status = "disabled"; + }; };