From patchwork Wed Sep 11 06:12:26 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Koen Kooi X-Patchwork-Id: 2870991 Return-Path: X-Original-To: patchwork-linux-arm@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 073979F485 for ; Wed, 11 Sep 2013 06:14:01 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3062720381 for ; Wed, 11 Sep 2013 06:14:00 +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 2DF4D20378 for ; Wed, 11 Sep 2013 06:13:59 +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 1VJdg8-0002Sl-PL; Wed, 11 Sep 2013 06:13:29 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VJdg0-0003nH-Hv; Wed, 11 Sep 2013 06:13:20 +0000 Received: from mail-we0-f170.google.com ([74.125.82.170]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VJdfj-0003jn-Lr for linux-arm-kernel@lists.infradead.org; Wed, 11 Sep 2013 06:13:04 +0000 Received: by mail-we0-f170.google.com with SMTP id w62so6585552wes.1 for ; Tue, 10 Sep 2013 23:12:41 -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=KhpaF++mYMPWdvXGMdOgqHkmV6DyuanIyY+/3s03OGc=; b=fPboIYp1HwSeU17Ne/hBvrcAfNMJmPb+FBFUNAei7re1qc2dZpw16EoBzC9MWNJN83 h7FZUjXSTnMBU6rrFo3PBaHVD+dHQtNkUELsTaBS/Vv9Ob/5N+XgxwD35Ku3Ws5dEt8H pXpwb3oI8E8Vx+6y6hnNSa7PHA3mrAQjokQMJuy0uRuzTLghXrnpCUmVB7eZnA3uNMAi QcA6lLU3rMsK6bWN5nIbgGFogKKvKGkoET8MOyF86Krw/mUl/bURsb2dwiNpZLrNSQR6 3rM39Xn3Mu/YOSlMKWDRHNE6Z0yHScpIEWwnSFk/jFqL25KKaO+DDRo7c/ACb5wopp+1 XGAg== X-Gm-Message-State: ALoCoQllJpTzJ97huxD2SPupwy8sX0lxctARI7+GkC+Evm1X60GMXrqsx+ahpwF1hRguqDE0Z6W3 X-Received: by 10.180.81.129 with SMTP id a1mr16102474wiy.2.1378879961489; Tue, 10 Sep 2013 23:12:41 -0700 (PDT) Received: from localhost.localdomain (ip4da2a5ae.direct-adsl.nl. [77.162.165.174]) by mx.google.com with ESMTPSA id fz8sm8072675wic.0.1969.12.31.16.00.00 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 10 Sep 2013 23:12:40 -0700 (PDT) From: Koen Kooi To: linux-omap@vger.kernel.org Subject: [PATCH 2/2] am335x-boneblack: add eMMC DT entry Date: Wed, 11 Sep 2013 08:12:26 +0200 Message-Id: <1378879946-13037-3-git-send-email-koen@dominion.thruhere.net> X-Mailer: git-send-email 1.8.2.1 In-Reply-To: <1378879946-13037-1-git-send-email-koen@dominion.thruhere.net> References: <1378879946-13037-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_021303_939975_FA85D268 X-CRM114-Status: UNSURE ( 7.84 ) 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 --- arch/arm/boot/dts/am335x-bone-common.dtsi | 7 +++++++ arch/arm/boot/dts/am335x-boneblack.dts | 15 +++++++++++++++ 2 files changed, 22 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..c09947a 100644 --- a/arch/arm/boot/dts/am335x-boneblack.dts +++ b/arch/arm/boot/dts/am335x-boneblack.dts @@ -15,3 +15,18 @@ 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>; + ti,non-removable; + status = "okay"; + ti,vcc-aux-disable-is-sleep; +}; +