From patchwork Wed Sep 11 11:02:27 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Koen Kooi X-Patchwork-Id: 2872131 Return-Path: X-Original-To: patchwork-linux-arm@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 17842BF43F for ; Wed, 11 Sep 2013 11:04:20 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 70BB32031C for ; Wed, 11 Sep 2013 11:04:15 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 24B1D2031A for ; Wed, 11 Sep 2013 11:04:14 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VJiCv-0005g1-P6; Wed, 11 Sep 2013 11:03:38 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VJiCg-0002Oq-MD; Wed, 11 Sep 2013 11:03:22 +0000 Received: from mail-wi0-f175.google.com ([209.85.212.175]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VJiCO-0002LI-B4 for linux-arm-kernel@lists.infradead.org; Wed, 11 Sep 2013 11:03:04 +0000 Received: by mail-wi0-f175.google.com with SMTP id ez12so1982860wid.2 for ; Wed, 11 Sep 2013 04:02:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=FyXHmhDIpkVo49eMjpJvC5x3hQ04b/Azh8z21a7kY7g=; b=BjRwhLkKEEWv+CtLLgnGf7GkdXqvynn3/vKRq0QWB/u60vDT+gNB5cOwaSI1KGX28M xyunG2RmZNlEKVMMyKNVc3+ZhZyeTRjD+q6shVbqHGpYpIIFXvFts9ie9yTMtBKdQ1cn iYUYTrGt7BpcdEQDxzFI1aaNTiVJJ1iHVrZ/ioEl7OPOkYrQgtXTWEkWyQfW3Dtyd1wO +hyx0+nnJ3ZYVF1/SHFDv4oRUvRKwoLxCTaP0Y9hP+CKJKgJI+XWxrX6XmsnCh//gt2E 9OmPDxOGqnx/5J2cIgCZibGd7Gv3jVO9dqGWneVIoNdKPPmrupXgttb86V0xTltCYLB/ k46g== X-Gm-Message-State: ALoCoQlh5rLWg9GEhvKXLU76thLHIDyRT7Vb6E9IGgZR5Llu3t54kIM1KKhgl4MBRAshmfb4Aaku X-Received: by 10.181.12.104 with SMTP id ep8mr16753825wid.54.1378897362692; Wed, 11 Sep 2013 04:02:42 -0700 (PDT) Received: from localhost.localdomain (ip4da2a5ae.direct-adsl.nl. [77.162.165.174]) by mx.google.com with ESMTPSA id jf2sm9802462wic.2.1969.12.31.16.00.00 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 11 Sep 2013 04:02:42 -0700 (PDT) From: Koen Kooi To: linux-omap@vger.kernel.org Subject: [PATCHv2 2/2] am335x-boneblack: add eMMC DT entry Date: Wed, 11 Sep 2013 13:02:27 +0200 Message-Id: <1378897347-11840-3-git-send-email-koen@dominion.thruhere.net> X-Mailer: git-send-email 1.8.2.1 In-Reply-To: <1378897347-11840-1-git-send-email-koen@dominion.thruhere.net> References: <1378897347-11840-1-git-send-email-koen@dominion.thruhere.net> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130911_070304_470796_4CD8E999 X-CRM114-Status: UNSURE ( 7.71 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, linux@arm.linux.org.uk, pawel.moll@arm.com, swarren@wwwdotorg.org, tony@atomide.com, Koen Kooi , ijc+devicetree@hellion.org.uk, linux-kernel@vger.kernel.org, rob.herring@calxeda.com, bcousson@baylibre.com, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 Signed-off-by: Koen Kooi --- Changes since v1: dropped the ti,non-removable entry per Sehkars request arch/arm/boot/dts/am335x-bone-common.dtsi | 7 +++++++ arch/arm/boot/dts/am335x-boneblack.dts | 14 ++++++++++++++ 2 files changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi index ced256c..9c61fef 100644 --- a/arch/arm/boot/dts/am335x-bone-common.dtsi +++ b/arch/arm/boot/dts/am335x-bone-common.dtsi @@ -241,6 +241,13 @@ regulator-always-on; }; }; + + vmmcsd_fixed: fixedregulator@0 { + compatible = "regulator-fixed"; + regulator-name = "vmmcsd_fixed"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; }; &cpsw_emac0 { diff --git a/arch/arm/boot/dts/am335x-boneblack.dts b/arch/arm/boot/dts/am335x-boneblack.dts index 197cadf..f4703cf 100644 --- a/arch/arm/boot/dts/am335x-boneblack.dts +++ b/arch/arm/boot/dts/am335x-boneblack.dts @@ -15,3 +15,17 @@ regulator-max-microvolt = <1800000>; regulator-always-on; }; + +&mmc1 { + vmmc-supply = <&vmmcsd_fixed>; +}; + +&mmc2 { + vmmc-supply = <&vmmcsd_fixed>; + pinctrl-names = "default"; + pinctrl-0 = <&emmc_pins>; + bus-width = <8>; + status = "okay"; + ti,vcc-aux-disable-is-sleep; +}; +