From patchwork Wed Mar 16 16:04:34 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: vishnupatekar X-Patchwork-Id: 8602301 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 9E4AFC0554 for ; Wed, 16 Mar 2016 16:17:47 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CDF53201D3 for ; Wed, 16 Mar 2016 16:17:46 +0000 (UTC) Received: from bombadil.infradead.org (unknown [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 0274720154 for ; Wed, 16 Mar 2016 16:17:46 +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 1agDzz-0006Wp-30; Wed, 16 Mar 2016 16:08:39 +0000 Received: from mail-pf0-x242.google.com ([2607:f8b0:400e:c00::242]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1agDyY-0005ep-Q8 for linux-arm-kernel@lists.infradead.org; Wed, 16 Mar 2016 16:07:13 +0000 Received: by mail-pf0-x242.google.com with SMTP id n5so7227472pfn.1 for ; Wed, 16 Mar 2016 09:06:50 -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:in-reply-to:references; bh=hYcbdzm3xNDsTktSMowOkkj2zL/k8RAjr2Li11sOaTQ=; b=tGEdwDj86TedAh9k5HSXh+lc9nV/SVIiA9Xw6dvymYabHt7zbzdeVrjJ3QQN9WjJtq mAnpHJF8cLvOUDe29jBW3u17dWs4NFai4bXpdSP83kkOTXZaBaLvXDFvKO5H2X6F7h3n tIBvf/vAU+saoX56ZMmXvIxiNK3uQgjXuHeHf7ju+10jfp+G2L4yKpmSqA6ZdYXt0Urm 4fBXWUN223ArV5AE3O2C/R0vYHgB8lyA3AYCs04BCYOVxeTgCwdte7NeXiD14cPIkNwb HYOvYCB/enV+qwKOIUF3FJtSgYWsafVjCspI6dep6wvTEc4JX3eN2XoWD9nhA3blr3eC S8Mw== 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=hYcbdzm3xNDsTktSMowOkkj2zL/k8RAjr2Li11sOaTQ=; b=YD8d6S6RxaysJHE3ynHKR/p02Tj/Su7Ekn71c2a7GuXhZcNOTfH5dGjZrXlAUWTpyC hxjUmZeSgoR7U5wGD4rgpBfy7MWPV05vVb7X6NEE56mPJUkonYSu400GRvfZ8ND955i3 wQK6Z7wLvr6cP/sMZ5LtKqioohkH03jiXbeJCysAPg/T3uuiU8/Ijep2sUi/7lRCThLV FgO2WAWmaTAHISOlZ7k3bxfGDcskQGZ4UzhAkSz+/8r1atMKA8yQGwPYa2lbI3hAzX9t mgsZbByV/7dkr13SFt0eGBl1FbrniDUFQ9dIzq3EM3yqK2uNyRcFDu24kFx4uW0kOf2x qf4Q== X-Gm-Message-State: AD7BkJJrly5hmUSrv4v0EmrEloMHULWJdfWrM4NCBT22V7QsKjzBJDEy3pOdj4iUi7KwFQ== X-Received: by 10.66.90.136 with SMTP id bw8mr7266431pab.52.1458144410210; Wed, 16 Mar 2016 09:06:50 -0700 (PDT) Received: from localhost.localdomain ([101.127.161.160]) by smtp.gmail.com with ESMTPSA id by3sm6693400pab.39.2016.03.16.09.06.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 16 Mar 2016 09:06:49 -0700 (PDT) From: Vishnu Patekar To: robh+dt@kernel.org, corbet@lwn.net, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, maxime.ripard@free-electrons.com, linux@arm.linux.org.uk, emilio@elopez.com.ar Subject: [PATCH v4 11/13] ARM: dts: sun8i: enable mmc for H8Homlet Board. Date: Thu, 17 Mar 2016 00:04:34 +0800 Message-Id: <1458144276-31108-12-git-send-email-vishnupatekar0510@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1458144276-31108-1-git-send-email-vishnupatekar0510@gmail.com> References: <1458144276-31108-1-git-send-email-vishnupatekar0510@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160316_090711_318474_A593131E X-CRM114-Status: GOOD ( 10.42 ) X-Spam-Score: -2.5 (--) 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: devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, linux-sunxi@googlegroups.com, patchesrdh@mveas.com, sboyd@codeaurora.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, hdegoede@redhat.com, wens@csie.org, mturquette@baylibre.com, jenskuske@gmail.com, linus.walleij@linaro.org, linux-arm-kernel@lists.infradead.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=-3.3 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RDNS_NONE, 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 mmc0. Signed-off-by: Vishnu Patekar Tested-by: LABBE Corentin --- arch/arm/boot/dts/sun8i-a83t-allwinner-h8homlet-v2.dts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a83t-allwinner-h8homlet-v2.dts b/arch/arm/boot/dts/sun8i-a83t-allwinner-h8homlet-v2.dts index 342e1d3..3269f39 100644 --- a/arch/arm/boot/dts/sun8i-a83t-allwinner-h8homlet-v2.dts +++ b/arch/arm/boot/dts/sun8i-a83t-allwinner-h8homlet-v2.dts @@ -43,6 +43,7 @@ /dts-v1/; #include "sun8i-a83t.dtsi" +#include "sunxi-common-regulators.dtsi" / { model = "Allwinner A83T H8Homlet Proto Dev Board v2.0"; @@ -57,6 +58,16 @@ }; }; +&mmc0 { + pinctrl-names = "default"; + pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_reference_design>; + vmmc-supply = <®_vcc3v0>; + cd-gpios = <&pio 5 6 GPIO_ACTIVE_HIGH>; /* PF6 */ + bus-width = <4>; + cd-inverted; + status = "okay"; +}; + &uart0 { pinctrl-names = "default"; pinctrl-0 = <&uart0_pins_b>;