Signed-off-by: Shawn Guo <[email protected]>
---
 arch/arm/boot/dts/imx23-evk.dts |   11 +++++++++++
 arch/arm/boot/dts/imx23.dtsi    |   19 +++++++++++++++++++
 2 files changed, 30 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boot/dts/imx23-evk.dts b/arch/arm/boot/dts/imx23-evk.dts
index 8cad51e..a7408f6 100644
--- a/arch/arm/boot/dts/imx23-evk.dts
+++ b/arch/arm/boot/dts/imx23-evk.dts
@@ -21,6 +21,17 @@
        };
 
        apb@80000000 {
+               apbh@80000000 {
+                       ssp0: ssp@80010000 {
+                               compatible = "fsl,imx23-mmc";
+                               pinctrl-names = "default";
+                               pinctrl-0 = <&mmc0_8bit_pins_a 
&mmc0_pins_fixup>;
+                               fsl,bus-width = <8>;
+                               wp-gpios = <&gpio1 30 0>;
+                               status = "okay";
+                       };
+               };
+
                apbx@80040000 {
                        duart: serial@80070000 {
                                pinctrl-names = "default";
diff --git a/arch/arm/boot/dts/imx23.dtsi b/arch/arm/boot/dts/imx23.dtsi
index 36c6057..37069b6 100644
--- a/arch/arm/boot/dts/imx23.dtsi
+++ b/arch/arm/boot/dts/imx23.dtsi
@@ -69,6 +69,8 @@
 
                        ssp0: ssp@80010000 {
                                reg = <0x80010000 2000>;
+                               interrupts = <15 14>;
+                               fsl,ssp-dma-channel = <1>;
                                status = "disabled";
                        };
 
@@ -117,6 +119,21 @@
                                        fsl,voltage = <1>;
                                        fsl,pull-up = <0>;
                                };
+
+                               mmc0_8bit_pins_a: mmc0-8bit@0 {
+                                       reg = <0>;
+                                       fsl,pinmux-ids = <0x2020 0x2030 0x2040
+                                               0x2050 0x0082 0x0092 0x00a2
+                                               0x00b2 0x2000 0x2010 0x2060>;
+                                       fsl,drive-strength = <1>;
+                                       fsl,voltage = <1>;
+                                       fsl,pull-up = <1>;
+                               };
+
+                               mmc0_pins_fixup: mmc0-pins-fixup {
+                                       fsl,pinmux-ids = <0x2010 0x2060>;
+                                       fsl,pull-up = <0>;
+                               };
                        };
 
                        digctl@8001c000 {
@@ -161,6 +178,8 @@
 
                        ssp1: ssp@80034000 {
                                reg = <0x80034000 2000>;
+                               interrupts = <2 20>;
+                               fsl,ssp-dma-channel = <2>;
                                status = "disabled";
                        };
 
-- 
1.7.5.4

--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to