From patchwork Wed Jul 9 15:07:39 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 4516631 Return-Path: X-Original-To: patchwork-linux-mmc@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 68AC2BEEAA for ; Wed, 9 Jul 2014 15:11:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7D78B2017A for ; Wed, 9 Jul 2014 15:11:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 40D212037E for ; Wed, 9 Jul 2014 15:11:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756090AbaGIPK1 (ORCPT ); Wed, 9 Jul 2014 11:10:27 -0400 Received: from mail-we0-f170.google.com ([74.125.82.170]:45739 "EHLO mail-we0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932614AbaGIPIW (ORCPT ); Wed, 9 Jul 2014 11:08:22 -0400 Received: by mail-we0-f170.google.com with SMTP id w61so7605243wes.29 for ; Wed, 09 Jul 2014 08:08:21 -0700 (PDT) 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=dTLod7SVGCdoqS6W7956w99O224AvqhVRH2cgjPRHwk=; b=KzbyT7ugEnlqR0yK7J5L2gAtUvnErXY1oGIG72NSDnzWVhK26Q+1q8BuSuyhsXN/27 /1pZBDi4A6lM4zjeykhf2UMppj+SjTdG0KKk52YWyrLEJVsjxVYLiMG/iYOjsr3RiElo oEVBjAKmxVoI+qDKI6Y+puCu1VeM1PJIxljqPN2npjWBTjEMelb7H2pwd5R9fBbhBfCg myxtuQ8DPuvo8Nk3/1FJHuby8ibYkg/in/N2Kb/W2tecsQpqgk1iHWcFmWbEoqErY8lu MKzHeLczezuxr98RccitlSvaXfS9eHeh2qKpnvsJ43HnI5tv6CruGXZ4ULfnaRctRThM CROQ== X-Gm-Message-State: ALoCoQmETAIAH7nb+FI4Jhkf//rsOwCgYJ8N+kSvolHDEpJLhIcgdh+EuZI/uok545maAYx5VJQQ X-Received: by 10.180.221.196 with SMTP id qg4mr12340851wic.66.1404918501318; Wed, 09 Jul 2014 08:08:21 -0700 (PDT) Received: from griffinp-ThinkPad-X1-Carbon-2nd.home (host86-181-29-22.range86-181.btcentralplus.com. [86.181.29.22]) by mx.google.com with ESMTPSA id cd1sm103941088wjc.19.2014.07.09.08.08.19 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 09 Jul 2014 08:08:20 -0700 (PDT) From: Peter Griffin To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, ulf.hansson@linaro.org, chris@printf.net, maxime.coquelin@st.com, patrice.chotard@st.com, srinivas.kandagatla@gmail.com Cc: peter.griffin@linaro.org, lee.jones@linaro.org, linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, peppe.cavallaro@st.com Subject: [PATCH v4 08/10] ARM: STi: DT: Enable second sdhci controller for stih416 b2020 boards. Date: Wed, 9 Jul 2014 16:07:39 +0100 Message-Id: <1404918461-25390-9-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1404918461-25390-1-git-send-email-peter.griffin@linaro.org> References: <1404918461-25390-1-git-send-email-peter.griffin@linaro.org> Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, 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 The second controller is only present on the stih416 SoC. Also mark this as non-removeable as its eMMC. Signed-off-by: Giuseppe Cavallaro Signed-off-by: Peter Griffin Acked-by: Lee Jones Acked-by: Maxime Coquelin --- arch/arm/boot/dts/stih416-b2020.dts | 8 ++++++++ arch/arm/boot/dts/stih416-b2020e.dts | 6 ++++++ 2 files changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/stih416-b2020.dts b/arch/arm/boot/dts/stih416-b2020.dts index 4e2df66..d42ff1d 100644 --- a/arch/arm/boot/dts/stih416-b2020.dts +++ b/arch/arm/boot/dts/stih416-b2020.dts @@ -12,4 +12,12 @@ / { model = "STiH416 B2020"; compatible = "st,stih416-b2020", "st,stih416"; + + soc { + mmc1: sdhci@fe81f000 { + status = "okay"; + bus-width = <8>; + non-removable; + }; + }; }; diff --git a/arch/arm/boot/dts/stih416-b2020e.dts b/arch/arm/boot/dts/stih416-b2020e.dts index ba0fa2c..68dfdaf 100644 --- a/arch/arm/boot/dts/stih416-b2020e.dts +++ b/arch/arm/boot/dts/stih416-b2020e.dts @@ -31,5 +31,11 @@ ethernet1: dwmac@fef08000 { snps,reset-gpio = <&PIO0 7>; }; + + mmc1: sdhci@fe81f000 { + status = "okay"; + bus-width = <8>; + non-removable; + }; }; };