From patchwork Mon Oct 27 14:35:58 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 5161331 Return-Path: X-Original-To: patchwork-linux-samsung-soc@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 6DA68C11AC for ; Mon, 27 Oct 2014 14:36:26 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7084E2017E for ; Mon, 27 Oct 2014 14:36:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8B909201CD for ; Mon, 27 Oct 2014 14:36:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753049AbaJ0OgW (ORCPT ); Mon, 27 Oct 2014 10:36:22 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:49653 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753014AbaJ0OgV (ORCPT ); Mon, 27 Oct 2014 10:36:21 -0400 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout1.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NE300LL0Y1D0770@mailout1.w1.samsung.com>; Mon, 27 Oct 2014 14:39:13 +0000 (GMT) X-AuditID: cbfec7f4-b7f6c6d00000120b-b7-544e58625ac7 Received: from eusync1.samsung.com ( [203.254.199.211]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 37.EA.04619.2685E445; Mon, 27 Oct 2014 14:36:18 +0000 (GMT) Received: from AMDC1943.digital.local ([106.116.151.171]) by eusync1.samsung.com (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0NE300HLRXW3RLC0@eusync1.samsung.com>; Mon, 27 Oct 2014 14:36:18 +0000 (GMT) From: Krzysztof Kozlowski To: Ben Dooks , Kukjin Kim , Russell King , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Kyungmin Park , Marek Szyprowski , Bartlomiej Zolnierkiewicz , Krzysztof Kozlowski Subject: [PATCH] ARM: dts: exynos4412-trats: Add micro SD card SDHCI node Date: Mon, 27 Oct 2014 15:35:58 +0100 Message-id: <1414420558-5376-1-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrIJMWRmVeSWpSXmKPExsVy+t/xy7pJEX4hBvcvGFhsnLGe1WLSugNM FvOPnGO1eP3C0KJ3wVU2i7NNb9gtNj2+xmpxedccNosZ5/cxWdy+zGux9shddgduj5bmHjaP v6teMHtsXlLv0bdlFaPH501yAaxRXDYpqTmZZalF+nYJXBmP3v9jLvjJXrF88gW2Bsa9bF2M nBwSAiYSS84+g7LFJC7cWw9kc3EICSxllLj96QcThNPHJHH541dGkCo2AWOJzcuXgFWJCHxn lNg05SEjiMMscJRRYnrvWyaQKmEBT4mHJ3vZQWwWAVWJhg2LmUFsXgE3ibc919gh9slJnDw2 mXUCI/cCRoZVjKKppckFxUnpuYZ6xYm5xaV56XrJ+bmbGCHB9GUH4+JjVocYBTgYlXh4d0zz DRFiTSwrrsw9xCjBwawkwnsqwC9EiDclsbIqtSg/vqg0J7X4ECMTB6dUA+P8U9krRW/f9Fsu LcuwPvXVnq0FF687y204nKbfzPelw/VwTsOxta5Hjs84fFOry8nkzI2t/LFXfntPYX72dfLr +d/LNpa0JAnOnNPRwXPw1EynR1OThDZ9jnwfELVgzWljnSgvwYi29Gr3+05vQwV8AzinK8RP nmWee+ec7G/T/XKMP4+vsX6rxFKckWioxVxUnAgACYKecwQCAAA= Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 Add SDHCI node for supporting the micro SD card. On Trats2 board the SDHCI does not use sd2_cd pins (gpk2-2) for card detect but gpx3-4 instead. Power is supplied from LDO21 regulator which in off state is controlled by external GPIO pin. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos4412-trats2.dts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/exynos4412-trats2.dts b/arch/arm/boot/dts/exynos4412-trats2.dts index a5aa52bba72c..2e5d0fdf8362 100644 --- a/arch/arm/boot/dts/exynos4412-trats2.dts +++ b/arch/arm/boot/dts/exynos4412-trats2.dts @@ -603,6 +603,17 @@ cap-mmc-highspeed; }; + /* FIXME: suspend fails... */ + sdhci@12530000 { + bus-width = <4>; + cd-gpios = <&gpx3 4 0>; + cd-inverted; + pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4>; + pinctrl-names = "default"; + vmmc-supply = <&ldo21_reg>; + status = "okay"; + }; + serial@13800000 { status = "okay"; };