aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRajendra Nayak <rnayak@ti.com>2011-10-04 07:40:27 -0400
committerBenoit Cousson <b-cousson@ti.com>2012-03-14 16:48:51 -0400
commit7498176803ca57200ce658da3850abcabb5cff84 (patch)
tree41c5d5fe36a92a09e5cb1d2b4ecbd2c9ef796b02
parentecc7b060a76d2b454be79abe2c6b934dee850413 (diff)
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>
-rw-r--r--arch/arm/boot/dts/omap4-panda.dts22
-rw-r--r--arch/arm/boot/dts/omap4-sdp.dts24
-rw-r--r--arch/arm/boot/dts/omap4.dtsi31
3 files changed, 77 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap4-panda.dts b/arch/arm/boot/dts/omap4-panda.dts
index 29646dc97229..ea6f5bb8a120 100644
--- a/arch/arm/boot/dts/omap4-panda.dts
+++ b/arch/arm/boot/dts/omap4-panda.dts
@@ -52,3 +52,25 @@
52&i2c4 { 52&i2c4 {
53 clock-frequency = <400000>; 53 clock-frequency = <400000>;
54}; 54};
55
56&mmc1 {
57 vmmc-supply = <&vmmc>;
58 ti,bus-width = <8>;
59};
60
61&mmc2 {
62 status = "disable";
63};
64
65&mmc3 {
66 status = "disable";
67};
68
69&mmc4 {
70 status = "disable";
71};
72
73&mmc5 {
74 ti,non-removable;
75 ti,bus-width = <4>;
76};
diff --git a/arch/arm/boot/dts/omap4-sdp.dts b/arch/arm/boot/dts/omap4-sdp.dts
index 31938c1c3f14..67b2e98074c6 100644
--- a/arch/arm/boot/dts/omap4-sdp.dts
+++ b/arch/arm/boot/dts/omap4-sdp.dts
@@ -91,3 +91,27 @@
91 vdd-supply = <&vdd_eth>; 91 vdd-supply = <&vdd_eth>;
92 }; 92 };
93}; 93};
94
95&mmc1 {
96 vmmc-supply = <&vmmc>;
97 ti,bus-width = <8>;
98};
99
100&mmc2 {
101 vmmc-supply = <&vaux1>;
102 ti,bus-width = <8>;
103 ti,non-removable;
104};
105
106&mmc3 {
107 status = "disable";
108};
109
110&mmc4 {
111 status = "disable";
112};
113
114&mmc5 {
115 ti,bus-width = <4>;
116 ti,non-removable;
117};
diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi
index 6c584534c290..359c4979c8aa 100644
--- a/arch/arm/boot/dts/omap4.dtsi
+++ b/arch/arm/boot/dts/omap4.dtsi
@@ -241,5 +241,36 @@
241 ti,hwmods = "mcspi4"; 241 ti,hwmods = "mcspi4";
242 ti,spi-num-cs = <1>; 242 ti,spi-num-cs = <1>;
243 }; 243 };
244
245 mmc1: mmc@4809c000 {
246 compatible = "ti,omap4-hsmmc";
247 ti,hwmods = "mmc1";
248 ti,dual-volt;
249 ti,needs-special-reset;
250 };
251
252 mmc2: mmc@480b4000 {
253 compatible = "ti,omap4-hsmmc";
254 ti,hwmods = "mmc2";
255 ti,needs-special-reset;
256 };
257
258 mmc3: mmc@480ad000 {
259 compatible = "ti,omap4-hsmmc";
260 ti,hwmods = "mmc3";
261 ti,needs-special-reset;
262 };
263
264 mmc4: mmc@480d1000 {
265 compatible = "ti,omap4-hsmmc";
266 ti,hwmods = "mmc4";
267 ti,needs-special-reset;
268 };
269
270 mmc5: mmc@480d5000 {
271 compatible = "ti,omap4-hsmmc";
272 ti,hwmods = "mmc5";
273 ti,needs-special-reset;
274 };
244 }; 275 };
245}; 276};