diff mbox

[13/13] ARM: dts: am3517: add omap_control_mmc

Message ID 1367330633-5941-14-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 am3517 board.
Update with devconf1 register address, used for loopback clock configuration
in mmc2.

Signed-off-by: Balaji T K <balajitk@ti.com>
---
 arch/arm/boot/dts/am3517-evm.dts        |   20 ++++++++++++++++++++
 arch/arm/boot/dts/am3517_mt_ventoux.dts |   20 ++++++++++++++++++++
 2 files changed, 40 insertions(+), 0 deletions(-)
diff mbox

Patch

diff --git a/arch/arm/boot/dts/am3517-evm.dts b/arch/arm/boot/dts/am3517-evm.dts
index 474f760..2775c51 100644
--- a/arch/arm/boot/dts/am3517-evm.dts
+++ b/arch/arm/boot/dts/am3517-evm.dts
@@ -30,3 +30,23 @@ 
 &i2c3 {
 	clock-frequency = <400000>;
 };
+
+&omap_control_mmc1 {
+	compatible = "ti,omap-hsmmc-control";
+	ctrl-type = <0>;
+};
+
+omap_control_mmc2: omap-hsmmc-control@480022D8 {
+	compatible = "ti,omap-hsmmc-control";
+	reg = <0x480022D8 0x4>;
+	reg-names = "devconf1";
+	ctrl-type = <2>;
+};
+
+&mmc1 {
+	bus-width = <8>;
+};
+
+&mmc2 {
+	status = "disabled";
+};
diff --git a/arch/arm/boot/dts/am3517_mt_ventoux.dts b/arch/arm/boot/dts/am3517_mt_ventoux.dts
index 5eb26d7..2a15345 100644
--- a/arch/arm/boot/dts/am3517_mt_ventoux.dts
+++ b/arch/arm/boot/dts/am3517_mt_ventoux.dts
@@ -25,3 +25,23 @@ 
 		};
 	};
 };
+
+&omap_control_mmc1 {
+	compatible = "ti,omap-hsmmc-control";
+	ctrl-type = <0>;
+};
+
+omap_control_mmc2: omap-hsmmc-control@480022D8 {
+	compatible = "ti,omap-hsmmc-control";
+	reg = <0x480022D8 0x4>;
+	reg-names = "devconf1";
+	ctrl-type = <2>;
+};
+
+&mmc1 {
+	bus-width = <8>;
+};
+
+&mmc2 {
+	status = "disabled";
+};