summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx23-evk.dts
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-06-28 11:44:59 +0800
committerShawn Guo <shawn.guo@linaro.org>2012-07-03 13:25:00 +0800
commit72beabae635b9485510ccf8093df319f59eb6688 (patch)
treee01b23031dbc4058b842fd9b47ced7f79931d2a4 /arch/arm/boot/dts/imx23-evk.dts
parentd54dbb5000fca9863e8a2cb0e6467a424a1eb6e0 (diff)
ARM: dts: imx23-evk: updates for mmc device
The 8-bit mode mmc has pin conflicts with display. Let's use 4-bit mode by default, so that display can be enabled together later. Also add vmmc-supply for mmc device. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/imx23-evk.dts')
-rw-r--r--arch/arm/boot/dts/imx23-evk.dts17
1 files changed, 15 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/imx23-evk.dts b/arch/arm/boot/dts/imx23-evk.dts
index 6a0912b286a0..8321fa3f0cf2 100644
--- a/arch/arm/boot/dts/imx23-evk.dts
+++ b/arch/arm/boot/dts/imx23-evk.dts
@@ -25,9 +25,10 @@
ssp0: ssp@80010000 {
compatible = "fsl,imx23-mmc";
pinctrl-names = "default";
- pinctrl-0 = <&mmc0_8bit_pins_a &mmc0_pins_fixup>;
- bus-width = <8>;
+ pinctrl-0 = <&mmc0_4bit_pins_a &mmc0_pins_fixup>;
+ bus-width = <4>;
wp-gpios = <&gpio1 30 0>;
+ vmmc-supply = <&reg_vddio_sd0>;
status = "okay";
};
@@ -57,4 +58,16 @@
};
};
};
+
+ regulators {
+ compatible = "simple-bus";
+
+ reg_vddio_sd0: vddio-sd0 {
+ compatible = "regulator-fixed";
+ regulator-name = "vddio-sd0";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ gpio = <&gpio1 29 0>;
+ };
+ };
};