From patchwork Wed Jun 4 16:07:31 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 4295301 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 B356DBEEA7 for ; Wed, 4 Jun 2014 16:08:00 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 026CB20251 for ; Wed, 4 Jun 2014 16:07:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 65548202D1 for ; Wed, 4 Jun 2014 16:07:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751711AbaFDQHr (ORCPT ); Wed, 4 Jun 2014 12:07:47 -0400 Received: from mail-wg0-f42.google.com ([74.125.82.42]:60549 "EHLO mail-wg0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752679AbaFDQHq (ORCPT ); Wed, 4 Jun 2014 12:07:46 -0400 Received: by mail-wg0-f42.google.com with SMTP id y10so8582351wgg.13 for ; Wed, 04 Jun 2014 09:07:45 -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=p+2yhrZ60XOrZiBZhHT6YGd2x7Uqse42PG7w4GSkt3M=; b=mjjDkG2Q4syFPRFhWPLQvBOGzkEVQekhnf1tqL102cjZYNzo6InvIavrSf3mE71V5Z xRJbMYcdk3tM+UUIvqHAgbyG3ODAuOvCXlU5fXEElWHYNmF0qLonSz3LtCHZr7MJFzVw bOqM9ftgmLkqwKaACVIyZczqe9w16FN7QM6PqIgzwyacZLW/yxkPTl4nNPzby6sAdne8 0SuUInV7hNJrwY1u3DWqUm4T2tcfK3Iq++JJnk5UNtkhi1L9PJTfJcLGrJ5qIPPbME/T 2khlnscJ0TY7PE8go0w2Lv+VCYPjyVwNSZ3WOnhxD7l0sG7Is0fOfCnBmLic9IOtZC/G EoNQ== X-Gm-Message-State: ALoCoQmPl5fvCwmwO0Qk8JBL24lLWUpm9M9d1DFXhR346yRfmZT1zD0kCXuuqvuIVm2dPoErb9yr X-Received: by 10.181.11.193 with SMTP id ek1mr6749036wid.15.1401898065329; Wed, 04 Jun 2014 09:07:45 -0700 (PDT) Received: from localhost.localdomain (cpc14-aztw22-2-0-cust189.18-1.cable.virginm.net. [82.45.1.190]) by mx.google.com with ESMTPSA id fq2sm10425695wib.2.2014.06.04.09.07.44 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 04 Jun 2014 09:07:44 -0700 (PDT) From: Peter Griffin To: peter.griffin@linaro.org, chris@printf.net, ulf.hansson@linaro.org, maxime.coquelin@st.com, patrice.chotard@st.com, srinivas.kandagatla@gmail.com Cc: linux-mmc@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v2 07/10] ARM: STi: DT: Enable mmc0 for both stih415 and stih416 SoCs Date: Wed, 4 Jun 2014 17:07:31 +0100 Message-Id: <1401898054-686-8-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1401898054-686-1-git-send-email-peter.griffin@linaro.org> References: <1401898054-686-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.5 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 Because the first sdhci controller is present on both stih415 and stih416 SoC which can both populate the b2020 board, it can be enabled in the generic DT file. Signed-off-by: Giuseppe Cavallaro Signed-off-by: Peter Griffin Acked-by: Lee Jones Acked-by: Maxime Coquelin --- arch/arm/boot/dts/stih41x-b2020.dtsi | 4 ++++ arch/arm/boot/dts/stih41x-b2020x.dtsi | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/stih41x-b2020.dtsi b/arch/arm/boot/dts/stih41x-b2020.dtsi index d8a8429..5c2df46 100644 --- a/arch/arm/boot/dts/stih41x-b2020.dtsi +++ b/arch/arm/boot/dts/stih41x-b2020.dtsi @@ -74,5 +74,9 @@ pinctrl-0 = <&pinctrl_rgmii1>; }; + + mmc0: sdhci@fe81e000 { + bus-width = <8>; + }; }; }; diff --git a/arch/arm/boot/dts/stih41x-b2020x.dtsi b/arch/arm/boot/dts/stih41x-b2020x.dtsi index df01c12..f797a06 100644 --- a/arch/arm/boot/dts/stih41x-b2020x.dtsi +++ b/arch/arm/boot/dts/stih41x-b2020x.dtsi @@ -8,6 +8,10 @@ */ / { soc { + mmc0: sdhci@fe81e000 { + status = "okay"; + }; + spifsm: spifsm@fe902000 { #address-cells = <1>; #size-cells = <1>;