devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm/dts: omap5: Add mmc controller nodes and board data
@ 2012-08-07  7:18 Balaji T K
       [not found] ` <1344323901-20342-1-git-send-email-balajitk-l0cyMroinI0@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Balaji T K @ 2012-08-07  7:18 UTC (permalink / raw)
  To: arnd, tony, gregkh, devicetree-discuss, linux-kernel, linux-omap,
	linux-arm-kernel, rob.herring
  Cc: linux-mmc, balbi, Balaji T K

Add OMAP MMC related device tree data for OMAP5.

Signed-off-by: Balaji T K <balajitk@ti.com>
---
 arch/arm/boot/dts/omap5-evm.dts |   31 +++++++++++++++++++++++++++++++
 arch/arm/boot/dts/omap5.dtsi    |   31 +++++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boot/dts/omap5-evm.dts b/arch/arm/boot/dts/omap5-evm.dts
index 200c39a..7bb0c9d 100644
--- a/arch/arm/boot/dts/omap5-evm.dts
+++ b/arch/arm/boot/dts/omap5-evm.dts
@@ -17,4 +17,35 @@
 		device_type = "memory";
 		reg = <0x80000000 0x40000000>; /* 1 GB */
 	};
+
+	vmmcsd_fixed: fixedregulator-mmcsd {
+		compatible = "regulator-fixed";
+		regulator-name = "vmmcsd_fixed";
+		regulator-min-microvolt = <3000000>;
+		regulator-max-microvolt = <3000000>;
+	};
+};
+
+&mmc1 {
+	vmmc-supply = <&vmmcsd_fixed>;
+	bus-width = <4>;
+};
+
+&mmc2 {
+	vmmc-supply = <&vmmcsd_fixed>;
+	bus-width = <8>;
+	ti,non-removable;
+};
+
+&mmc3 {
+	bus-width = <4>;
+	ti,non-removable;
+};
+
+&mmc4 {
+	status = "disabled";
+};
+
+&mmc5 {
+	status = "disabled";
 };
diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi
index 57e5270..881d60c 100644
--- a/arch/arm/boot/dts/omap5.dtsi
+++ b/arch/arm/boot/dts/omap5.dtsi
@@ -180,5 +180,36 @@
 			ti,hwmods = "uart6";
 			clock-frequency = <48000000>;
 		};
+
+		mmc1: mmc@4809c000 {
+			compatible = "ti,omap4-hsmmc";
+			ti,hwmods = "mmc1";
+			ti,dual-volt;
+			ti,needs-special-reset;
+		};
+
+		mmc2: mmc@480b4000 {
+			compatible = "ti,omap4-hsmmc";
+			ti,hwmods = "mmc2";
+			ti,needs-special-reset;
+		};
+
+		mmc3: mmc@480ad000 {
+			compatible = "ti,omap4-hsmmc";
+			ti,hwmods = "mmc3";
+			ti,needs-special-reset;
+		};
+
+		mmc4: mmc@480d1000 {
+			compatible = "ti,omap4-hsmmc";
+			ti,hwmods = "mmc4";
+			ti,needs-special-reset;
+		};
+
+		mmc5: mmc@480d5000 {
+			compatible = "ti,omap4-hsmmc";
+			ti,hwmods = "mmc5";
+			ti,needs-special-reset;
+		};
 	};
 };
-- 
1.7.5.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] arm/dts: omap5: Add mmc controller nodes and board data
       [not found] ` <1344323901-20342-1-git-send-email-balajitk-l0cyMroinI0@public.gmane.org>
@ 2012-08-07  8:30   ` Arnd Bergmann
       [not found]     ` <201208070830.01776.arnd-r2nGTMty4D4@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Arnd Bergmann @ 2012-08-07  8:30 UTC (permalink / raw)
  To: Balaji T K
  Cc: gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r,
	devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ,
	linux-mmc-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	rob.herring-bsGFqQB8/DxBDgjK7y7TUQ, balbi-l0cyMroinI0,
	linux-omap-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

On Tuesday 07 August 2012, Balaji T K wrote:
> 
> Add OMAP MMC related device tree data for OMAP5.
> 
> Signed-off-by: Balaji T K <balajitk-l0cyMroinI0@public.gmane.org>
> ---

Acked-by: Arnd Bergmann <arnd-r2nGTMty4D4@public.gmane.org>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] arm/dts: omap5: Add mmc controller nodes and board data
       [not found]     ` <201208070830.01776.arnd-r2nGTMty4D4@public.gmane.org>
@ 2012-08-24 20:02       ` Tony Lindgren
  0 siblings, 0 replies; 3+ messages in thread
From: Tony Lindgren @ 2012-08-24 20:02 UTC (permalink / raw)
  To: Arnd Bergmann
  Cc: Balaji T K, gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r,
	devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ,
	linux-mmc-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	rob.herring-bsGFqQB8/DxBDgjK7y7TUQ, balbi-l0cyMroinI0,
	linux-omap-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

* Arnd Bergmann <arnd-r2nGTMty4D4@public.gmane.org> [120807 02:21]:
> On Tuesday 07 August 2012, Balaji T K wrote:
> > 
> > Add OMAP MMC related device tree data for OMAP5.
> > 
> > Signed-off-by: Balaji T K <balajitk-l0cyMroinI0@public.gmane.org>
> > ---
> 
> Acked-by: Arnd Bergmann <arnd-r2nGTMty4D4@public.gmane.org>

Applying this into omap devel-dt branch. 

Tony

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-08-24 20:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-07  7:18 [PATCH] arm/dts: omap5: Add mmc controller nodes and board data Balaji T K
     [not found] ` <1344323901-20342-1-git-send-email-balajitk-l0cyMroinI0@public.gmane.org>
2012-08-07  8:30   ` Arnd Bergmann
     [not found]     ` <201208070830.01776.arnd-r2nGTMty4D4@public.gmane.org>
2012-08-24 20:02       ` Tony Lindgren

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).