arm/dts: OMAP4: Add mmc controller nodes and board data
authorRajendra Nayak <rnayak@ti.com>
Tue, 4 Oct 2011 11:40:27 +0000 (17:10 +0530)
committerBenoit Cousson <b-cousson@ti.com>
Wed, 14 Mar 2012 20:48:51 +0000 (21:48 +0100)
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>
arch/arm/boot/dts/omap4-panda.dts
arch/arm/boot/dts/omap4-sdp.dts
arch/arm/boot/dts/omap4.dtsi

index 29646dc..ea6f5bb 100644 (file)
 &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>;
+};
index 31938c1..67b2e98 100644 (file)
                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;
+};
index 6c58453..359c497 100644 (file)
                        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;
+               };
        };
 };