From patchwork Fri Jul 19 15:30:24 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guennadi Liakhovetski X-Patchwork-Id: 2830588 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 9B194C0319 for ; Fri, 19 Jul 2013 15:30:39 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6C08A202AE for ; Fri, 19 Jul 2013 15:30:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 270F2202B4 for ; Fri, 19 Jul 2013 15:30:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760797Ab3GSPad (ORCPT ); Fri, 19 Jul 2013 11:30:33 -0400 Received: from moutng.kundenserver.de ([212.227.126.186]:51321 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760794Ab3GSPab (ORCPT ); Fri, 19 Jul 2013 11:30:31 -0400 Received: from axis700.grange (dslb-178-006-255-036.pools.arcor-ip.net [178.6.255.36]) by mrelayeu.kundenserver.de (node=mrbap3) with ESMTP (Nemesis) id 0Lwqoy-1U2srB1KNU-016R9r; Fri, 19 Jul 2013 17:30:25 +0200 Received: by axis700.grange (Postfix, from userid 1000) id 03CF140BB4; Fri, 19 Jul 2013 17:30:25 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by axis700.grange (Postfix) with ESMTP id 0188F40BB3; Fri, 19 Jul 2013 17:30:24 +0200 (CEST) Date: Fri, 19 Jul 2013 17:30:24 +0200 (CEST) From: Guennadi Liakhovetski X-X-Sender: lyakh@axis700.grange To: linux-sh@vger.kernel.org cc: Simon Horman , Magnus Damm Subject: [PATCH 2/2] ARM: shmobile: ape6evm-reference: add MMCIF and SDHI DT nodes In-Reply-To: Message-ID: References: MIME-Version: 1.0 X-Provags-ID: V02:K0:MCrSlX1bzyGj20ARSn40+Uh8Nz7Y8+VHrD99kvk87HG p3SrygKwUI+MYqV6zGoeLz0IiwzMS/uRsnouKxosRTms0vg7RV lnaqRi2Ym9SaPDwDjw8AEpUQmt63p4OFyuOlBWQsP2TAk0klT4 4tWNsWbfb2dNdxmp/kA33N2OymGQIxFWVu5KJjXcYsgM+dTM8w xF3K8urlwcrzYTSMixWxXNQTfj+1273sUquFLf2rGr8zWx06Gi x4R/7Ye1mPyEnqqYtW+8DoEMcTGmWo6TnwmN6yAn25DZD4BjFN rv0cXfNKwO7WdwMeKxOTPcYKhOOhAxqn4cZEy3D7vF8z5bbfe9 DRng6vr1QFsYT9OcNoAvNBZpUW9DSMg0J/azl6u1m8qqb6HV04 DD0wZzucITNqw== 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.3 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 patch adds MMCIF0, SDHI0 and SDHI1 DT nodes to the ape6evm-reference platform. Signed-off-by: Guennadi Liakhovetski --- This won't work, until my patch "mmc: SDHI: add DT compatibility strings for further SoCs" is applied, but it won't hurt either anyway, SDHI DT nodes simply will not be recognised by the driver. arch/arm/boot/dts/r8a73a4-ape6evm-reference.dts | 43 +++++++++++++++++++++++ 1 files changed, 43 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/r8a73a4-ape6evm-reference.dts b/arch/arm/boot/dts/r8a73a4-ape6evm-reference.dts index bbd09d8..292414f 100644 --- a/arch/arm/boot/dts/r8a73a4-ape6evm-reference.dts +++ b/arch/arm/boot/dts/r8a73a4-ape6evm-reference.dts @@ -62,4 +62,47 @@ renesas,groups = "scifa0_data"; renesas,function = "scifa0"; }; + + mmc0_pins: mmcif { + renesas,groups = "mmc0_data8", "mmc0_ctrl"; + renesas,function = "mmc0"; + }; + + sdhi0_pins: sdhi0 { + renesas,groups = "sdhi0_data4", "sdhi0_ctrl", "sdhi0_cd"; + renesas,function = "sdhi0"; + }; + + sdhi1_pins: sdhi1 { + renesas,groups = "sdhi1_data4", "sdhi1_ctrl"; + renesas,function = "sdhi1"; + }; +}; + +&mmcif0 { + vmmc-supply = <&ape6evm_fixed_3v3>; + bus-width = <8>; + non-removable; + pinctrl-names = "default"; + pinctrl-0 = <&mmc0_pins>; + status = "okay"; +}; + +&sdhi0 { + vmmc-supply = <&ape6evm_fixed_3v3>; + bus-width = <4>; + toshiba,mmc-wrprotect-disable; + pinctrl-names = "default"; + pinctrl-0 = <&sdhi0_pins>; + status = "okay"; +}; + +&sdhi1 { + vmmc-supply = <&ape6evm_fixed_3v3>; + bus-width = <4>; + broken-cd; + toshiba,mmc-wrprotect-disable; + pinctrl-names = "default"; + pinctrl-0 = <&sdhi1_pins>; + status = "okay"; };