From patchwork Sat Mar 5 15:43:04 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: vishnupatekar X-Patchwork-Id: 8510831 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.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 5C5069F2F0 for ; Sat, 5 Mar 2016 15:49:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7A348201CE for ; Sat, 5 Mar 2016 15:49:30 +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 A467C201CD for ; Sat, 5 Mar 2016 15:49:29 +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 1acEQl-0007iS-LU; Sat, 05 Mar 2016 15:47:47 +0000 Received: from mail-pa0-x244.google.com ([2607:f8b0:400e:c03::244]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1acENp-0003eg-Ag for linux-arm-kernel@lists.infradead.org; Sat, 05 Mar 2016 15:44:49 +0000 Received: by mail-pa0-x244.google.com with SMTP id a7so4831971pax.3 for ; Sat, 05 Mar 2016 07:44:25 -0800 (PST) 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=x/5qApBQpmolZrQHcHOZQix3emono/Y1GyOaDVXKEJTw3IkZxVgV66WzLh62tMhqCj QgDDu4qYg7QQL/ZI3VskbY5F9KgLpx1BvhdsuL1z/n338IP3XfFuN+YE/m1Q2E1skIKd asxe0aYVlG8LUD+fOysH+KPGzOaserTEMBOlVKPnz21dkfm56/zmKWX8XSH4nFzu1G9K hABh+yYtc9loLMiuesWtiLone8SB0+BrXwI0eFjfxLSNduXa98zkcYaPhYeXi3rdttrj ng43rZC7QzmX3/yfBEHy9cehDQ2aPu68l+/LgGP+pMJwcraCsogUQDleusWdkJzuVh8d u8hw== 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=UiI+j0tZfhRwnxvSri7Bhtuq+DGzPTHPDVxxZy+Nw3gOGlUVao4Pai/I5xk9vcshTk /S4aXhIqP3IvSxwQAHAZP1zQ/dZmJTCm+8dyCNxHpQooGaq6HYBj7eNWFyluMZkYwTfs Cyi5lumk+7hYm3ZeN8Hg313jgdNPc4wDRDIPc3kvkhh7NgqjVBDger56YduyFK+JRKaQ 7u1qa7ZnDjHFcJlvwyEAdxB0tD16LTAcsT+7/X/n0Dyg0ZhYMBO7HtbEmvqCdOU0NY2X fRNkAUhBH45J7HooELei25KxBrz9ZX2V+Cw7Y+ae48/Odt5VvceEN9mpMurn204hpqrg 0G7g== X-Gm-Message-State: AD7BkJI48xM8+bkPRAoRBIrjS7yb6CTzzWzs1f4iaMQTODqB2gfc0Fx8m2+/SEjIY9x2xQ== X-Received: by 10.66.121.231 with SMTP id ln7mr348214pab.77.1457192664561; Sat, 05 Mar 2016 07:44:24 -0800 (PST) Received: from localhost.localdomain ([101.127.161.160]) by smtp.gmail.com with ESMTPSA id ah10sm13230527pad.23.2016.03.05.07.44.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 05 Mar 2016 07:44:23 -0800 (PST) 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 v3 11/13] ARM: dts: sun8i: enable mmc for H8Homlet Board. Date: Sat, 5 Mar 2016 23:43:04 +0800 Message-Id: <1457192586-25596-12-git-send-email-vishnupatekar0510@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1457192586-25596-1-git-send-email-vishnupatekar0510@gmail.com> References: <1457192586-25596-1-git-send-email-vishnupatekar0510@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160305_074445_873139_810DB18E X-CRM114-Status: UNSURE ( 9.79 ) X-CRM114-Notice: Please train this message. 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=-4.1 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 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>;