diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2012-05-06 10:29:36 +0200 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2012-05-13 02:27:40 +0200 |
commit | be1ce30869b0bbdc3c807fc25a9dc6bfec8471a4 (patch) | |
tree | 396ec3db34a6d64b37b5b308eaab4e2cd7e47d0c /arch | |
parent | mmc: mxs-mmc: add device tree support (diff) | |
download | linux-be1ce30869b0bbdc3c807fc25a9dc6bfec8471a4.tar.xz linux-be1ce30869b0bbdc3c807fc25a9dc6bfec8471a4.zip |
ARM: dts: enable mmc for imx23-evk
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/boot/dts/imx23-evk.dts | 11 | ||||
-rw-r--r-- | 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 8cad51ee6f89..70bffa929b65 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>; + 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 26220550f2f8..8c5f9994f3fc 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"; }; |