devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Peter Griffin <peter.griffin@linaro.org>
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 07/10] ARM: STi: DT: Enable mmc0 for both stih415 and stih416 SoCs
Date: Wed,  9 Jul 2014 16:07:38 +0100	[thread overview]
Message-ID: <1404918461-25390-8-git-send-email-peter.griffin@linaro.org> (raw)
In-Reply-To: <1404918461-25390-1-git-send-email-peter.griffin@linaro.org>

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 <peppe.cavallaro@st.com>
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Acked-by: Lee Jones <lee.jones@linaro.org>
Acked-by: Maxime Coquelin <maxime.coquelin@st.com>
---
 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>;
-- 
1.9.1


  parent reply	other threads:[~2014-07-09 15:07 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-09 15:07 [PATCH v4 00/10] Add SDHCI support for ST Microelectronics SoCs Peter Griffin
2014-07-09 15:07 ` [PATCH v4 01/10] mmc: sdhci-st: Intial support for ST SDHCI controller Peter Griffin
     [not found]   ` <1404918461-25390-2-git-send-email-peter.griffin-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2014-07-10  7:12     ` Ulf Hansson
2014-07-09 15:07 ` [PATCH v4 02/10] mmc: sdhci-st: ST Microelectronics SDHCI binding documentation Peter Griffin
2014-07-10  7:13   ` Ulf Hansson
2014-07-09 15:07 ` [PATCH v4 03/10] ARM: STi: DT: Add sdhci pins for stih416 Peter Griffin
2014-07-09 15:07 ` [PATCH v4 04/10] ARM: STi: DT: Add sdhci controller " Peter Griffin
2014-07-09 15:07 ` [PATCH v4 05/10] ARM: STi: DT: Add sdhci pin configuration for stih415 Peter Griffin
2014-07-09 15:07 ` [PATCH v4 06/10] ARM: STi: DT: Add sdhci controller " Peter Griffin
2014-07-09 15:07 ` Peter Griffin [this message]
     [not found] ` <1404918461-25390-1-git-send-email-peter.griffin-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2014-07-09 15:07   ` [PATCH v4 08/10] ARM: STi: DT: Enable second sdhci controller for stih416 b2020 boards Peter Griffin
2014-07-09 15:07 ` [PATCH v4 09/10] ARM: update multi_v7_defconfig for STI Peter Griffin
2014-07-21  9:49   ` Maxime Coquelin
2014-07-09 15:07 ` [PATCH v4 10/10] MAINTAINERS: Add sdhci-st file to ARCH/STI architecture Peter Griffin
2014-07-09 15:51 ` [PATCH v4 00/10] Add SDHCI support for ST Microelectronics SoCs Maxime Coquelin
2014-07-10 12:51   ` Ulf Hansson
2014-07-10 12:57     ` Maxime Coquelin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1404918461-25390-8-git-send-email-peter.griffin@linaro.org \
    --to=peter.griffin@linaro.org \
    --cc=chris@printf.net \
    --cc=devicetree@vger.kernel.org \
    --cc=lee.jones@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=maxime.coquelin@st.com \
    --cc=patrice.chotard@st.com \
    --cc=peppe.cavallaro@st.com \
    --cc=srinivas.kandagatla@gmail.com \
    --cc=ulf.hansson@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).