From patchwork Fri Jul 5 15:25:31 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guennadi Liakhovetski X-Patchwork-Id: 2824264 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 277DBBF4A1 for ; Fri, 5 Jul 2013 15:25:46 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1875020171 for ; Fri, 5 Jul 2013 15:25:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0145420168 for ; Fri, 5 Jul 2013 15:25:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757369Ab3GEPZl (ORCPT ); Fri, 5 Jul 2013 11:25:41 -0400 Received: from moutng.kundenserver.de ([212.227.126.186]:51493 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757481Ab3GEPZk (ORCPT ); Fri, 5 Jul 2013 11:25:40 -0400 Received: from axis700.grange (dslb-178-001-146-173.pools.arcor-ip.net [178.1.146.173]) by mrelayeu.kundenserver.de (node=mreu0) with ESMTP (Nemesis) id 0MErUc-1V1AYh3z5e-00GIgz; Fri, 05 Jul 2013 17:25:34 +0200 Received: from 6a.grange (6a.grange [192.168.1.11]) by axis700.grange (Postfix) with ESMTPS id 6E6F440BB6; Fri, 5 Jul 2013 17:25:33 +0200 (CEST) Received: from lyakh by 6a.grange with local (Exim 4.72) (envelope-from ) id 1Uv7t7-0005Bu-7h; Fri, 05 Jul 2013 17:25:33 +0200 From: Guennadi Liakhovetski To: linux-sh@vger.kernel.org Cc: Magnus Damm , Simon Horman , Guennadi Liakhovetski Subject: [PATCH v2 5/6] ARM: shmobile: r8a73a4: add MMCIF and SDHI DT templates Date: Fri, 5 Jul 2013 17:25:31 +0200 Message-Id: <1373037932-19918-6-git-send-email-g.liakhovetski@gmx.de> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1373037932-19918-1-git-send-email-g.liakhovetski@gmx.de> References: <1373037932-19918-1-git-send-email-g.liakhovetski@gmx.de> X-Provags-ID: V02:K0:QvVR0K+bIHUjLmZ9YWiipdlVscM3FePrtG2Du973PUQ dzBoVRDHAk9VX7wiJwuBCajOfJPWcyW1St7D58MkBKxf+O97qr TTU+Z3hQ3yu0aC2gdcuolwxWkxNfVDL8gGDw/E2YSvXpMiG/4v yKljMfsXpy3P2NJu2KqHS51PhtvIFtaESW9YDNtZFhkGf6kOB4 K9BiElC6Gm0wdTKXCHYXMYuecpG2Ri7z6NH0I/k/N17mobmq6m 9bJZsBxNVRK6bk6nZBMfzbH5ryAKsTO1do+1p4MiNZjWlu3Dm8 0J8WMxkzbwJQHBkg/v27k35EquCktQNOcEiYdRmxSmcdWQfi5E XY7AW8mjJc0bLGcDSBIfV+N8173QYhDToV33CwsHAy5njfEpCr hQJuTIj+FYXHg== 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 --- v2: 1. fixed MMCIF resource sizes 2. added SDHI compatibility with the actual SoC for possible future driver extensions 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..0238676 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 0x80>; + interrupt-parent = <&gic>; + interrupts = <0 169 0x4>; + reg-io-width = <4>; + status = "disabled"; + }; + + mmcif1: mmcif@ee220000 { + compatible = "renesas,sh-mmcif"; + reg = <0 0xee220000 0 0x80>; + interrupt-parent = <&gic>; + interrupts = <0 170 0x4>; + reg-io-width = <4>; + status = "disabled"; + }; + + sdhi0: sdhi@ee100000 { + compatible = "renesas,r8a73a4-sdhi", "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,r8a73a4-sdhi", "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,r8a73a4-sdhi", "renesas,r8a7740-sdhi"; + reg = <0 0xee140000 0 0x100>; + interrupt-parent = <&gic>; + interrupts = <0 167 4>; + cap-sd-highspeed; + status = "disabled"; + }; };