Skip to content
Browse files

arm/dts: OMAP4: Add mmc controller nodes and board data

Add OMAP mmc related device tree data for OMAP4.
Currenly limited to only omap4-panda and omap4-sdp
boards.

Signed-off-by: Rajendra Nayak <rnayak@ti.com>
Signed-off-by: Benoit Cousson <b-cousson@ti.com>
  • Loading branch information...
1 parent ecc7b06 commit 7498176803ca57200ce658da3850abcabb5cff84 Rajendra Nayak committed with bcousson Oct 4, 2011
Showing with 77 additions and 0 deletions.
  1. +22 −0 arch/arm/boot/dts/omap4-panda.dts
  2. +24 −0 arch/arm/boot/dts/omap4-sdp.dts
  3. +31 −0 arch/arm/boot/dts/omap4.dtsi
View
22 arch/arm/boot/dts/omap4-panda.dts
@@ -52,3 +52,25 @@
&i2c4 {
clock-frequency = <400000>;
};
+
+&mmc1 {
+ vmmc-supply = <&vmmc>;
+ ti,bus-width = <8>;
+};
+
+&mmc2 {
+ status = "disable";
+};
+
+&mmc3 {
+ status = "disable";
+};
+
+&mmc4 {
+ status = "disable";
+};
+
+&mmc5 {
+ ti,non-removable;
+ ti,bus-width = <4>;
+};
View
24 arch/arm/boot/dts/omap4-sdp.dts
@@ -91,3 +91,27 @@
vdd-supply = <&vdd_eth>;
};
};
+
+&mmc1 {
+ vmmc-supply = <&vmmc>;
+ ti,bus-width = <8>;
+};
+
+&mmc2 {
+ vmmc-supply = <&vaux1>;
+ ti,bus-width = <8>;
+ ti,non-removable;
+};
+
+&mmc3 {
+ status = "disable";
+};
+
+&mmc4 {
+ status = "disable";
+};
+
+&mmc5 {
+ ti,bus-width = <4>;
+ ti,non-removable;
+};
View
31 arch/arm/boot/dts/omap4.dtsi
@@ -241,5 +241,36 @@
ti,hwmods = "mcspi4";
ti,spi-num-cs = <1>;
};
+
+ 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;
+ };
};
};

0 comments on commit 7498176

Please sign in to comment.
Something went wrong with that request. Please try again.