ARM: dts: enable mmc for imx23-evk
authorShawn Guo <shawn.guo@linaro.org>
Sun, 6 May 2012 08:29:36 +0000 (16:29 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Sun, 13 May 2012 00:27:40 +0000 (08:27 +0800)
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/boot/dts/imx23-evk.dts
arch/arm/boot/dts/imx23.dtsi

index 8cad51e..70bffa9 100644 (file)
        };
 
        apb@80000000 {
+               apbh@80000000 {
+                       ssp0: ssp@80010000 {
+                               compatible = "fsl,imx23-mmc";
+                               pinctrl-names = "default";
+                               pinctrl-0 = <&mmc0_8bit_pins_a &mmc0_pins_fixup>;
+                               bus-width = <8>;
+                               wp-gpios = <&gpio1 30 0>;
+                               status = "okay";
+                       };
+               };
+
                apbx@80040000 {
                        duart: serial@80070000 {
                                pinctrl-names = "default";
index 2622055..8c5f999 100644 (file)
@@ -69,6 +69,8 @@
 
                        ssp0: ssp@80010000 {
                                reg = <0x80010000 2000>;
+                               interrupts = <15 14>;
+                               fsl,ssp-dma-channel = <1>;
                                status = "disabled";
                        };
 
                                        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 {
 
                        ssp1: ssp@80034000 {
                                reg = <0x80034000 2000>;
+                               interrupts = <2 20>;
+                               fsl,ssp-dma-channel = <2>;
                                status = "disabled";
                        };