aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-05-06 04:33:34 -0400
committerShawn Guo <shawn.guo@linaro.org>2012-05-12 20:27:43 -0400
commit35d23047f8ba1b7cc9a067b9506352fd257c8df5 (patch)
treee75264ede619b021415a8bd2001d21869593f5ac
parentbe1ce30869b0bbdc3c807fc25a9dc6bfec8471a4 (diff)
ARM: dts: enable mmc for imx28-evk
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
-rw-r--r--arch/arm/boot/dts/imx28-evk.dts19
-rw-r--r--arch/arm/boot/dts/imx28.dtsi25
2 files changed, 44 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx28-evk.dts b/arch/arm/boot/dts/imx28-evk.dts
index 5aee8ed4c3ce..2b7c68e52e64 100644
--- a/arch/arm/boot/dts/imx28-evk.dts
+++ b/arch/arm/boot/dts/imx28-evk.dts
@@ -21,6 +21,25 @@
21 }; 21 };
22 22
23 apb@80000000 { 23 apb@80000000 {
24 apbh@80000000 {
25 ssp0: ssp@80010000 {
26 compatible = "fsl,imx28-mmc";
27 pinctrl-names = "default";
28 pinctrl-0 = <&mmc0_8bit_pins_a
29 &mmc0_cd_cfg &mmc0_sck_cfg>;
30 bus-width = <8>;
31 wp-gpios = <&gpio2 12 0>;
32 status = "okay";
33 };
34
35 ssp1: ssp@80012000 {
36 compatible = "fsl,imx28-mmc";
37 bus-width = <8>;
38 wp-gpios = <&gpio0 28 0>;
39 status = "okay";
40 };
41 };
42
24 apbx@80040000 { 43 apbx@80040000 {
25 duart: serial@80074000 { 44 duart: serial@80074000 {
26 pinctrl-names = "default"; 45 pinctrl-names = "default";
diff --git a/arch/arm/boot/dts/imx28.dtsi b/arch/arm/boot/dts/imx28.dtsi
index 1abd9b37691c..8596bdf9c19e 100644
--- a/arch/arm/boot/dts/imx28.dtsi
+++ b/arch/arm/boot/dts/imx28.dtsi
@@ -81,24 +81,28 @@
81 ssp0: ssp@80010000 { 81 ssp0: ssp@80010000 {
82 reg = <0x80010000 2000>; 82 reg = <0x80010000 2000>;
83 interrupts = <96 82>; 83 interrupts = <96 82>;
84 fsl,ssp-dma-channel = <0>;
84 status = "disabled"; 85 status = "disabled";
85 }; 86 };
86 87
87 ssp1: ssp@80012000 { 88 ssp1: ssp@80012000 {
88 reg = <0x80012000 2000>; 89 reg = <0x80012000 2000>;
89 interrupts = <97 83>; 90 interrupts = <97 83>;
91 fsl,ssp-dma-channel = <1>;
90 status = "disabled"; 92 status = "disabled";
91 }; 93 };
92 94
93 ssp2: ssp@80014000 { 95 ssp2: ssp@80014000 {
94 reg = <0x80014000 2000>; 96 reg = <0x80014000 2000>;
95 interrupts = <98 84>; 97 interrupts = <98 84>;
98 fsl,ssp-dma-channel = <2>;
96 status = "disabled"; 99 status = "disabled";
97 }; 100 };
98 101
99 ssp3: ssp@80016000 { 102 ssp3: ssp@80016000 {
100 reg = <0x80016000 2000>; 103 reg = <0x80016000 2000>;
101 interrupts = <99 85>; 104 interrupts = <99 85>;
105 fsl,ssp-dma-channel = <3>;
102 status = "disabled"; 106 status = "disabled";
103 }; 107 };
104 108
@@ -179,6 +183,27 @@
179 fsl,voltage = <1>; 183 fsl,voltage = <1>;
180 fsl,pull-up = <1>; 184 fsl,pull-up = <1>;
181 }; 185 };
186
187 mmc0_8bit_pins_a: mmc0-8bit@0 {
188 reg = <0>;
189 fsl,pinmux-ids = <0x2000 0x2010 0x2020
190 0x2030 0x2040 0x2050 0x2060
191 0x2070 0x2080 0x2090 0x20a0>;
192 fsl,drive-strength = <1>;
193 fsl,voltage = <1>;
194 fsl,pull-up = <1>;
195 };
196
197 mmc0_cd_cfg: mmc0-cd-cfg {
198 fsl,pinmux-ids = <0x2090>;
199 fsl,pull-up = <0>;
200 };
201
202 mmc0_sck_cfg: mmc0-sck-cfg {
203 fsl,pinmux-ids = <0x20a0>;
204 fsl,drive-strength = <2>;
205 fsl,pull-up = <0>;
206 };
182 }; 207 };
183 208
184 digctl@8001c000 { 209 digctl@8001c000 {