diff mbox

[09/13] ARM: dts: omap3: Add omap control mmc data

Message ID 1367330633-5941-10-git-send-email-balajitk@ti.com (mailing list archive)
State New, archived
Headers show

Commit Message

Balaji T K April 30, 2013, 2:03 p.m. UTC
Add omap-hsmmc-control data to omap3.
Update with pbias and devconf0 register address for mmc1.
Update with devconf1 register address for mmc2

Signed-off-by: Balaji T K <balajitk@ti.com>
---
 arch/arm/boot/dts/omap3.dtsi |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)
diff mbox

Patch

diff --git a/arch/arm/boot/dts/omap3.dtsi b/arch/arm/boot/dts/omap3.dtsi
index 1acc261..c5c7d17 100644
--- a/arch/arm/boot/dts/omap3.dtsi
+++ b/arch/arm/boot/dts/omap3.dtsi
@@ -218,15 +218,32 @@ 
 			ti,spi-num-cs = <1>;
 		};
 
+		omap_control_mmc1: omap-hsmmc-control@48002520 {
+			compatible = "ti,omap-hsmmc-control";
+			reg = <0x48002520 0x4>,
+			      <0x48002274 0x4>;
+			reg-names = "pbias", "devconf0";
+			ctrl-type = <3>;
+		};
+
 		mmc1: mmc@4809c000 {
 			compatible = "ti,omap3-hsmmc";
 			ti,hwmods = "mmc1";
 			ti,dual-volt;
+			ctrl-module = <&omap_control_mmc1>;
+		};
+
+		omap_control_mmc2: omap-hsmmc-control@480022D8 {
+			compatible = "ti,omap-hsmmc-control";
+			reg = <0x480022D8 0x4>;
+			reg-names = "devconf1";
+			ctrl-type = <2>;
 		};
 
 		mmc2: mmc@480b4000 {
 			compatible = "ti,omap3-hsmmc";
 			ti,hwmods = "mmc2";
+			ctrl-module = <&omap_control_mmc2>;
 		};
 
 		mmc3: mmc@480ad000 {