From patchwork Mon Jul 8 15:54:46 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guennadi Liakhovetski X-Patchwork-Id: 2824951 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 126889F9CA for ; Mon, 8 Jul 2013 15:55:07 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D94D620149 for ; Mon, 8 Jul 2013 15:55:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5940A20164 for ; Mon, 8 Jul 2013 15:55:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751984Ab3GHPy4 (ORCPT ); Mon, 8 Jul 2013 11:54:56 -0400 Received: from moutng.kundenserver.de ([212.227.17.8]:60689 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752076Ab3GHPyy (ORCPT ); Mon, 8 Jul 2013 11:54:54 -0400 Received: from axis700.grange (dslb-094-221-113-239.pools.arcor-ip.net [94.221.113.239]) by mrelayeu.kundenserver.de (node=mrbap4) with ESMTP (Nemesis) id 0MbPpU-1UfepQ2sIW-00JSbt; Mon, 08 Jul 2013 17:54:48 +0200 Received: from 6a.grange (6a.grange [192.168.1.11]) by axis700.grange (Postfix) with ESMTPS id A6C5F40BC3; Mon, 8 Jul 2013 17:54:47 +0200 (CEST) Received: from lyakh by 6a.grange with local (Exim 4.72) (envelope-from ) id 1UwDm3-0002a4-F2; Mon, 08 Jul 2013 17:54:47 +0200 From: Guennadi Liakhovetski To: linux-sh@vger.kernel.org Cc: Magnus Damm , Simon Horman , Guennadi Liakhovetski Subject: [PATCH v3 7/7] ARM: shmobile: r8a7790: add MMCIF and SDHI DT templates Date: Mon, 8 Jul 2013 17:54:46 +0200 Message-Id: <1373298887-9877-8-git-send-email-g.liakhovetski@gmx.de> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1373298887-9877-1-git-send-email-g.liakhovetski@gmx.de> References: <1373298887-9877-1-git-send-email-g.liakhovetski@gmx.de> X-Provags-ID: V02:K0:3vlYLIZNK09gi8ze0h4eVvzKIxAhbfZ6Tudq5eW/ses FppJGXO2UNsS3mpWZc2p6EvD9ZVMi6mfiiZ8QD5nrGT6IgG/aM eOlRJeaQajcwM/XhBqlrLBAtFiZXoz7L4RdmmzdSPZOIBNtCfX pt3WwM2C1fPolu/Wjb+0QuSaZIdKs1q7B9z+NFhGYUfoX+BnR4 QJi6bJorZLkfscmg7r5VZ3fR3QuYORtAVcsByDtJDqTfHkV3Um mshgusXmSe83IuUIsqvebHzKTNWtQ5INaOka4VEX2N9xZPHmB+ bG9v0derhjCGG22OM1mj+6loeg75Y7uur5nJW4pv0M+1kC8kVB yi54mF4xj7dOZ/euy8HgpCaX7k00coMX3+j6eoMG41JiEg7AgG k6eRakPqLHBLw== 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.2 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 --- 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..9cd8820 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"; + reg = <0 0xee100000 0 0x100>; + interrupt-parent = <&gic>; + interrupts = <0 165 4>; + cap-sd-highspeed; + status = "disabled"; + }; + + sdhi1: sdhi@ee120000 { + compatible = "renesas,r8a7790-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"; + reg = <0 0xee140000 0 0x100>; + interrupt-parent = <&gic>; + interrupts = <0 167 4>; + cap-sd-highspeed; + status = "disabled"; + }; + + sdhi3: sdhi@ee160000 { + compatible = "renesas,r8a7790-sdhi"; + reg = <0 0xee160000 0 0x100>; + interrupt-parent = <&gic>; + interrupts = <0 168 4>; + cap-sd-highspeed; + status = "disabled"; + }; };