From patchwork Wed Jun 4 16:30:21 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 4295661 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 C233BBEEA7 for ; Wed, 4 Jun 2014 16:32:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EDA13201C7 for ; Wed, 4 Jun 2014 16:32:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 276D8201B9 for ; Wed, 4 Jun 2014 16:32:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754275AbaFDQb0 (ORCPT ); Wed, 4 Jun 2014 12:31:26 -0400 Received: from mail-wi0-f179.google.com ([209.85.212.179]:56783 "EHLO mail-wi0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754269AbaFDQbZ (ORCPT ); Wed, 4 Jun 2014 12:31:25 -0400 Received: by mail-wi0-f179.google.com with SMTP id bs8so1833340wib.12 for ; Wed, 04 Jun 2014 09:31:23 -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=BoV9ukFbOa+sgVyBilwjEYA3aNEWA1EZAZbtPK8KYnAtRWa7w6KxkxnmDYTAL0+nJv 4FJ8qIta1GZiGuSaw8AoFPLwIMYRcZUEmf/gGI9vrwl1mtY7LtSSKbDtCnvUiVL4KGAc 1HMoLdEluchu5+MRDNOC+WUu1Eg0bPvVtarGjkxLiQe0MXJIhuF5zJ11iK9ls9OzBMeJ 0lkHCDQamDKTZUP/x1GHi7oOQ4Rds4SmcCSArXANG+TsgduOe6BZQsk0/kOVjgTc58a9 R6DWAd4+Qb+1za0LBagY4uq/ZKFYw4ioAYIUnloG9D5gyUPy4wY0b8fhoZi9kNa4AtxE bpJg== X-Gm-Message-State: ALoCoQknkhcbVecUGKF/pA5Gy7N+Ejmhgw68Q9qQeSi/aaA7HbnJWOF5NRPT89O2nccSq9TGfLUS X-Received: by 10.180.93.163 with SMTP id cv3mr6982562wib.3.1401899483545; Wed, 04 Jun 2014 09:31:23 -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 s10sm4355698wjs.29.2014.06.04.09.31.21 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 04 Jun 2014 09:31:23 -0700 (PDT) From: Peter Griffin To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, chris@printf.net, ulf.hansson@linaro.org, maxime.coquelin@st.com, patrice.chotard@st.com, srinivas.kandagatla@gmail.com Cc: peter.griffin@linaro.org, kernel@stlinux.com, linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, Giuseppe Cavallaro Subject: [PATCH v3 07/10] ARM: STi: DT: Enable mmc0 for both stih415 and stih416 SoCs Date: Wed, 4 Jun 2014 17:30:21 +0100 Message-Id: <1401899424-1365-8-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1401899424-1365-1-git-send-email-peter.griffin@linaro.org> References: <1401899424-1365-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>;