Skip to content

Commit

Permalink
ARM: dts: enable mmc for imx23-evk
Browse files Browse the repository at this point in the history
Signed-off-by: Shawn Guo <[email protected]>
  • Loading branch information
shawnguo2 committed May 13, 2012
1 parent 6de4d81 commit be1ce30
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
11 changes: 11 additions & 0 deletions arch/arm/boot/dts/imx23-evk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
19 changes: 19 additions & 0 deletions arch/arm/boot/dts/imx23.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@

ssp0: ssp@80010000 {
reg = <0x80010000 2000>;
interrupts = <15 14>;
fsl,ssp-dma-channel = <1>;
status = "disabled";
};

Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -161,6 +178,8 @@

ssp1: ssp@80034000 {
reg = <0x80034000 2000>;
interrupts = <2 20>;
fsl,ssp-dma-channel = <2>;
status = "disabled";
};

Expand Down

0 comments on commit be1ce30

Please sign in to comment.