linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: linux-omap@vger.kernel.org
Cc: Matthijs van Duin <matthijsvanduin@gmail.com>,
	Neil Armstrong <narmstrong@baylibre.com>,
	Philipp Rosenberger <ilu@linutronix.de>,
	Delio Brignoli <dbrignoli@audioscience.com>,
	Brian Hutchinson <b.hutchman@gmail.com>,
	linux-arm-kernel@lists.infradead.org
Subject: [PATCH 4/7] ARM: dts: Add mmc device entries for dm814x
Date: Thu,  3 Dec 2015 17:25:32 -0800	[thread overview]
Message-ID: <1449192335-10137-5-git-send-email-tony@atomide.com> (raw)
In-Reply-To: <1449192335-10137-1-git-send-email-tony@atomide.com>

Add mmc device entries for dm814x.

Signed-off-by: Tony Lindgren <tony@atomide.com>
---
 arch/arm/boot/dts/dm814x.dtsi | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/arch/arm/boot/dts/dm814x.dtsi b/arch/arm/boot/dts/dm814x.dtsi
index 9d81980e..18a8f0d 100644
--- a/arch/arm/boot/dts/dm814x.dtsi
+++ b/arch/arm/boot/dts/dm814x.dtsi
@@ -183,6 +183,28 @@
 				ti,hwmods = "timer3";
 			};
 
+			mmc1: mmc@60000 {
+				compatible = "ti,omap4-hsmmc";
+				ti,hwmods = "mmc1";
+				dmas = <&edma 24 0
+					&edma 25 0>;
+				dma-names = "tx", "rx";
+				interrupts = <64>;
+				interrupt-parent = <&intc>;
+				reg = <0x60000 0x1000>;
+			};
+
+			mmc2: mmc@1d8000 {
+				compatible = "ti,omap4-hsmmc";
+				ti,hwmods = "mmc2";
+				dmas = <&edma 2 0
+					&edma 3 0>;
+				dma-names = "tx", "rx";
+				interrupts = <28>;
+				interrupt-parent = <&intc>;
+				reg = <0x1d8000 0x1000>;
+			};
+
 			control: control@140000 {
 				compatible = "ti,dm814-scm", "simple-bus";
 				reg = <0x140000 0x20000>;
@@ -279,6 +301,15 @@
 			reg = <0x48200000 0x1000>;
 		};
 
+		/* Board must configure evtmux with edma_xbar for EDMA */
+		mmc3: mmc@47810000 {
+			compatible = "ti,omap4-hsmmc";
+			ti,hwmods = "mmc3";
+			interrupts = <29>;
+			interrupt-parent = <&intc>;
+			reg = <0x47810000 0x1000>;
+		};
+
 		edma: edma@49000000 {
 			compatible = "ti,edma3-tpcc";
 			ti,hwmods = "tpcc";
-- 
2.6.2

  parent reply	other threads:[~2015-12-04  1:25 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-04  1:25 [PATCH 0/7] Add mmc support for dm814x and dra62x Tony Lindgren
2015-12-04  1:25 ` [PATCH 1/7] ARM: dts: Add pinctrl macros for dm814x Tony Lindgren
2015-12-04  1:25 ` [PATCH 2/7] ARM: dts: Update edma bindings on dm814x to use edma_xbar Tony Lindgren
2015-12-04  9:18   ` Peter Ujfalusi
2015-12-04  1:25 ` [PATCH 3/7] ARM: OMAP2+: Add mmc hwmod entries for dm814x Tony Lindgren
2015-12-04  1:25 ` Tony Lindgren [this message]
2015-12-04  1:25 ` [PATCH 5/7] ARM: dts: Add mmc support for dm8148-evm Tony Lindgren
2015-12-04  1:25 ` [PATCH 6/7] ARM: dts: Add mmc support for dra62x j5-eco evm Tony Lindgren
2015-12-04  1:25 ` [PATCH 7/7] ARM: dts: Enable emmc on hp t410 Tony Lindgren
2015-12-04  9:20   ` Peter Ujfalusi
2015-12-04 16:00     ` Tony Lindgren

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=1449192335-10137-5-git-send-email-tony@atomide.com \
    --to=tony@atomide.com \
    --cc=b.hutchman@gmail.com \
    --cc=dbrignoli@audioscience.com \
    --cc=ilu@linutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=matthijsvanduin@gmail.com \
    --cc=narmstrong@baylibre.com \
    /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).