ARM i.MX53: tqma53: add WP/CD pinctrl and vmmc to esdhc2
authorSteffen Trumtrar <s.trumtrar@pengutronix.de>
Thu, 6 Jun 2013 09:49:36 +0000 (11:49 +0200)
committerShawn Guo <shawn.guo@linaro.org>
Mon, 17 Jun 2013 08:04:26 +0000 (16:04 +0800)
Add WP/CD pinctrl for esdhc2.
Also, add vmmc-supply for esdhc2.

Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/boot/dts/imx53-tqma53.dtsi

index 450e4de..abd72af 100644 (file)
@@ -35,7 +35,9 @@
 
 &esdhc2 {
        pinctrl-names = "default";
-       pinctrl-0 = <&pinctrl_esdhc2_1>;
+       pinctrl-0 = <&pinctrl_esdhc2_1>,
+                   <&pinctrl_tqma53_esdhc2_2>;
+       vmmc-supply = <&reg_3p3v>;
        wp-gpios = <&gpio1 2 0>;
        cd-gpios = <&gpio1 4 0>;
        status = "disabled";
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_hog>;
 
+       esdhc2_2 {
+               pinctrl_tqma53_esdhc2_2: esdhc2-tqma53-grp2 {
+                       fsl,pins = <
+                               MX53_PAD_GPIO_4__GPIO1_4        0x80000000 /* SD2_CD */
+                               MX53_PAD_GPIO_2__GPIO1_2        0x80000000 /* SD2_WP */
+                       >;
+               };
+       };
+
        i2s {
                pinctrl_i2s_1: i2s-grp1 {
                        fsl,pins = <