From patchwork Mon Aug 24 16:04:41 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Perier X-Patchwork-Id: 7065391 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.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id EE9FEC05AC for ; Mon, 24 Aug 2015 16:07:38 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1CF3F20785 for ; Mon, 24 Aug 2015 16:07:38 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 49C3C20763 for ; Mon, 24 Aug 2015 16:07:37 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZTuFD-0005jl-3y; Mon, 24 Aug 2015 16:05:11 +0000 Received: from mail-wi0-x232.google.com ([2a00:1450:400c:c05::232]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZTuF9-0004ZH-W6; Mon, 24 Aug 2015 16:05:08 +0000 Received: by wicja10 with SMTP id ja10so76449791wic.1; Mon, 24 Aug 2015 09:04:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=JuTHxxBYDOx++5VGiQbhykC+v6FLer83tftUS7yHdaM=; b=vq5aXnAuh+GX1IWPtIq+h2I7CW0eHLMwFn8o2jTcalYaV9z1Ltn0IaZtWyNfJM9d/P UASIaJ4i4+aZ0L/KkbUHpw7/PghALj6vuFzW7nCgtA5sp7m97pmzY5JAwwA2CMNkXi1D CvH0J4rMTJAkylZQyiq0ZjCDTocp/yJPhBfRnaSXBkMS5CO1CJik5o6Uf5c5vgd9cSwM H19CEJWiiWRT2laJS/ua204EeobYwWwWuqp0HZ0tsFGxFUdGmWGyb6+zBLn+PFHfKtEB SXdmpojOgCrC4bCQNuIN97tXw6n0mBnT3vHYrflcVNhcxxTENmOVbeMCFUSy/I/GDgrb KdUA== X-Received: by 10.180.37.7 with SMTP id u7mr29549344wij.79.1440432284962; Mon, 24 Aug 2015 09:04:44 -0700 (PDT) Received: from localhost.localdomain (i19-les01-ntr-176-186-2-137.sfr.lns.abo.bbox.fr. [176.186.2.137]) by smtp.gmail.com with ESMTPSA id du6sm16794481wib.24.2015.08.24.09.04.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 24 Aug 2015 09:04:43 -0700 (PDT) From: Romain Perier To: heiko@sntech.de Subject: [PATCH] ARM: dts: rockchip: Add support for SD/MMC on MarsBoard-RK3066 Date: Mon, 24 Aug 2015 18:04:41 +0200 Message-Id: <1440432281-491-1-git-send-email-romain.perier@gmail.com> X-Mailer: git-send-email 2.1.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150824_090508_181260_7A04FCFD X-CRM114-Status: UNSURE ( 8.54 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.7 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org 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.5 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 enables SDMMC0 on the board and gives a basic support for SD cards. Signed-off-by: Romain Perier --- arch/arm/boot/dts/rk3066a-marsboard.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/rk3066a-marsboard.dts b/arch/arm/boot/dts/rk3066a-marsboard.dts index bae965c..7189d90 100644 --- a/arch/arm/boot/dts/rk3066a-marsboard.dts +++ b/arch/arm/boot/dts/rk3066a-marsboard.dts @@ -186,6 +186,14 @@ }; }; +&mmc0 { + status = "okay"; + + pinctrl-names = "default"; + pinctrl-0 = <&sd0_clk>, <&sd0_cmd>, <&sd0_cd>, <&sd0_bus4>; + vmmc-supply = <&vcc_sd0>; +}; + &uart0 { status = "okay"; };