From patchwork Fri Jul 5 15:25:32 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guennadi Liakhovetski X-Patchwork-Id: 2824260 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 E76789F9EC for ; Fri, 5 Jul 2013 15:25:39 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 129B620171 for ; Fri, 5 Jul 2013 15:25:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1F7752016C for ; Fri, 5 Jul 2013 15:25:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757373Ab3GEPZg (ORCPT ); Fri, 5 Jul 2013 11:25:36 -0400 Received: from moutng.kundenserver.de ([212.227.126.187]:58883 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757391Ab3GEPZg (ORCPT ); Fri, 5 Jul 2013 11:25:36 -0400 Received: from axis700.grange (dslb-178-001-146-173.pools.arcor-ip.net [178.1.146.173]) by mrelayeu.kundenserver.de (node=mrbap1) with ESMTP (Nemesis) id 0LhCFT-1UOnP707lv-00o1QS; 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 8BDC940BB7; Fri, 5 Jul 2013 17:25:33 +0200 (CEST) Received: from lyakh by 6a.grange with local (Exim 4.72) (envelope-from ) id 1Uv7t7-0005Bx-9v; 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 6/6] ARM: shmobile: r8a7790: add MMCIF and SDHI DT templates Date: Fri, 5 Jul 2013 17:25:32 +0200 Message-Id: <1373037932-19918-7-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:Ip8y9e7sXh4k0AIfiW+kptiK8CL1ZAwYWuxH3VoB9jg Y9Sv82ZKg/TRz8MBDBIS7cOlL9WcK4GxjzC8ANYYEQYQTZEnXP QeSXsA3nr0ZzPkMVGZxKfVjU4QMpp/dZYZRI+hvqF18q9acJSB eEUgtYxqG3a/9JbkENR4AKIMj7UqLmQMnNbytT8UEWPwTN/IQe getL683quLTFDVj9kbM3Et4DXtsCsnvHYNfGgaLZ4cuDcwhg2X bO59VTlkYbqEoAV6/w0105YXr344S0bWXTogFQFVQz0fvfkzsh 5PGxHo/6piTpXbZBW6Fz9dOa9dkEh4vUwpIEsQ8FkwN/GAilgI FjVLLBvpEL6BmE/xApPgghMoJxjKrmWS2qby1BsW60iSSKxkYz vZYX2ofVFjuXg== 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 r8a7790. 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 3. removed not directly applicable comments arch/arm/boot/dts/r8a7790.dtsi | 54 ++++++++++++++++++++++++++++++++++++++++ 1 files changed, 54 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi index 339d9b1..304be59 100644 --- a/arch/arm/boot/dts/r8a7790.dtsi +++ b/arch/arm/boot/dts/r8a7790.dtsi @@ -54,4 +54,58 @@ interrupt-parent = <&gic>; interrupts = <0 0 4>, <0 1 4>, <0 2 4>, <0 3 4>; }; + + 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,r8a7790-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,r8a7790-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,r8a7790-sdhi", "renesas,r8a7740-sdhi"; + reg = <0 0xee140000 0 0x100>; + interrupt-parent = <&gic>; + interrupts = <0 167 4>; + cap-sd-highspeed; + status = "disabled"; + }; + + sdhi3: sdhi@ee160000 { + compatible = "renesas,r8a7790-sdhi", "renesas,r8a7740-sdhi"; + reg = <0 0xee160000 0 0x100>; + interrupt-parent = <&gic>; + interrupts = <0 168 4>; + cap-sd-highspeed; + status = "disabled"; + }; };