From patchwork Mon Oct 27 14:59:55 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 5161451 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.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 5A93CC11AC for ; Mon, 27 Oct 2014 15:03:11 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7891B201DD for ; Mon, 27 Oct 2014 15:03:10 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id F2715201E4 for ; Mon, 27 Oct 2014 15:03:04 +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 1Xilma-0005IR-BS; Mon, 27 Oct 2014 15:00:32 +0000 Received: from mailout4.w1.samsung.com ([210.118.77.14]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XilmW-0004MF-Rq for linux-arm-kernel@lists.infradead.org; Mon, 27 Oct 2014 15:00:29 +0000 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NE300A92Z4P8W80@mailout4.w1.samsung.com> for linux-arm-kernel@lists.infradead.org; Mon, 27 Oct 2014 15:02:49 +0000 (GMT) X-AuditID: cbfec7f5-b7f956d000005ed7-4e-544e5df34b23 Received: from eusync4.samsung.com ( [203.254.199.214]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id 5D.79.24279.3FD5E445; Mon, 27 Oct 2014 15:00:03 +0000 (GMT) Received: from AMDC1943.digital.local ([106.116.151.171]) by eusync4.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NE300MH3Z006150@eusync4.samsung.com>; Mon, 27 Oct 2014 15:00:03 +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 Subject: [PATCH v2] ARM: dts: exynos4412-trats: Add micro SD card SDHCI node Date: Mon, 27 Oct 2014 15:59:55 +0100 Message-id: <1414421995-22618-1-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrIJMWRmVeSWpSXmKPExsVy+t/xa7qfY/1CDPq6ZC02zljPajFp3QEm i/lHzrFavH5haNG74CqbxdmmN+wWmx5fY7W4vGsOm8WM8/uYLG5f5rVYe+QuuwO3R0tzD5vH 31UvmD02L6n36NuyitHj8ya5ANYoLpuU1JzMstQifbsEroxrs14yFqzmqNj0cRN7A+Njti5G Tg4JAROJN6c6mSBsMYkL99YDxbk4hASWMkpcuNTJCuH0MUl0vVwI1sEmYCyxefkSsCoRge+M EpumPGQEcZgFjjJKTO99CzZLWMBH4l/HHlYQm0VAVWJFYysjiM0r4C6xbcY2qH1yEiePTWad wMi9gJFhFaNoamlyQXFSeq6RXnFibnFpXrpecn7uJkZIMH3dwbj0mNUhRgEORiUe3gnFviFC rIllxZW5hxglOJiVRHhPBfiFCPGmJFZWpRblxxeV5qQWH2Jk4uCUamCsDkr1/5T68F+v/q5v 4b9uZfxdnVN+5TrP2egp7qETv/zuf154sXbGoeYQxUrjhUrdokaSBd/WGeX9eJ3IOteFfVoK 5+atOfmKS5xVl3eLb39ftibBzXmmUX32Tbu7e2pa+yusjYu2BFws+mPEosyoL350heizKi2X mxorT95WSdwY0P3tZZYSS3FGoqEWc1FxIgC12vIDBAIAAA== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141027_080029_038065_79CA0255 X-CRM114-Status: UNSURE ( 9.08 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.6 (-----) Cc: Kyungmin Park , Bartlomiej Zolnierkiewicz , Krzysztof Kozlowski , Marek Szyprowski X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 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=-2.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, 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 --- Changes since v1: 1. Drop FIXME comment (about findings during testing). --- arch/arm/boot/dts/exynos4412-trats2.dts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/exynos4412-trats2.dts b/arch/arm/boot/dts/exynos4412-trats2.dts index a5aa52bba72c..7a68e0832cd6 100644 --- a/arch/arm/boot/dts/exynos4412-trats2.dts +++ b/arch/arm/boot/dts/exynos4412-trats2.dts @@ -603,6 +603,16 @@ cap-mmc-highspeed; }; + 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"; };