From patchwork Tue Jul 23 11:19:14 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guennadi Liakhovetski X-Patchwork-Id: 2831950 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 6A4D9C0319 for ; Tue, 23 Jul 2013 11:19:24 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 34E5B201F0 for ; Tue, 23 Jul 2013 11:19:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1D26A201E9 for ; Tue, 23 Jul 2013 11:19:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756154Ab3GWLTV (ORCPT ); Tue, 23 Jul 2013 07:19:21 -0400 Received: from moutng.kundenserver.de ([212.227.17.10]:62860 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756129Ab3GWLTV (ORCPT ); Tue, 23 Jul 2013 07:19:21 -0400 Received: from axis700.grange (dslb-094-220-153-077.pools.arcor-ip.net [94.220.153.77]) by mrelayeu.kundenserver.de (node=mreu0) with ESMTP (Nemesis) id 0LupZV-1U2It81DFJ-00zkot; Tue, 23 Jul 2013 13:19:15 +0200 Received: by axis700.grange (Postfix, from userid 1000) id F011040BB4; Tue, 23 Jul 2013 13:19:14 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by axis700.grange (Postfix) with ESMTP id EDB7B40BB3; Tue, 23 Jul 2013 13:19:14 +0200 (CEST) Date: Tue, 23 Jul 2013 13:19:14 +0200 (CEST) From: Guennadi Liakhovetski X-X-Sender: lyakh@axis700.grange To: linux-sh@vger.kernel.org cc: Laurent Pinchart , Simon Horman , Magnus Damm Subject: [PATCH v2 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:eBMM+BNJIkcIQt6nU06d5MLjf6pQZNodehB3RN7RlXS ECTsscMfjvcboXdSJeDpnng4GcFiSkycRDAImHktaOt47nytkM 0RvbkJROS5OCq+yjpUa1A1sDzud6XGHpwJbPE+w3ObWAMNTKxp rFeb/0ADqooJ2pSaCzA4kUpqzdjoRklHs0ssUomGer2iEh2w+5 iYbVeBMBEswz+TiMPdcr6VjLpqIf2243SbI8+Yga/QoOEDCawz L57K5PLjJsJ7BTmlZqRvCbRRtYVmSmZdnn2j7yCJZB75O7KDPB YRklx/IKLaZKUcqB/j/kbZXq1q6RO900HZw+ndpbkfgPlCvqeI XuCWbH6aPt1DkJzaAriE6trI/new5vsnD10mDpC14ATEfBFC0o 2czNIXgGOQz9g== Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.9 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 and a fixed voltage reglator for them to the ape6evm-reference platform. Signed-off-by: Guennadi Liakhovetski --- v2: also add a regulator arch/arm/boot/dts/r8a73a4-ape6evm-reference.dts | 51 +++++++++++++++++++++++ 1 files changed, 51 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..74a2e1c 100644 --- a/arch/arm/boot/dts/r8a73a4-ape6evm-reference.dts +++ b/arch/arm/boot/dts/r8a73a4-ape6evm-reference.dts @@ -24,6 +24,14 @@ reg = <0 0x40000000 0 0x40000000>; }; + ape6evm_fixed_3v3: fixedregulator@0 { + compatible = "regulator-fixed"; + regulator-name = "3V3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + }; + lbsc { compatible = "simple-bus"; #address-cells = <1>; @@ -62,4 +70,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"; };