ARM: dts: imx25-pdk: Add esdhc1 support
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 5 Mar 2014 20:30:40 +0000 (17:30 -0300)
committerShawn Guo <shawn.guo@freescale.com>
Wed, 30 Apr 2014 05:35:19 +0000 (13:35 +0800)
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/boot/dts/imx25-pdk.dts

index 9d14fbc155dc76d18a214c41a2208865309b66ec..7a6d21fb6e6efa70059cbbaa8cec82760e99b6e0 100644 (file)
        };
 };
 
+&esdhc1 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_esdhc1>;
+       cd-gpios = <&gpio2 1 0>;
+       wp-gpios = <&gpio2 0 0>;
+       status = "okay";
+};
+
 &fec {
        phy-mode = "rmii";
        pinctrl-names = "default";
 
 &iomuxc {
        imx25-pdk {
+               pinctrl_esdhc1: esdhc1grp {
+                       fsl,pins = <
+                               MX25_PAD_SD1_CMD__SD1_CMD               0x80000000
+                               MX25_PAD_SD1_CLK__SD1_CLK               0x80000000
+                               MX25_PAD_SD1_DATA0__SD1_DATA0           0x80000000
+                               MX25_PAD_SD1_DATA1__SD1_DATA1           0x80000000
+                               MX25_PAD_SD1_DATA2__SD1_DATA2           0x80000000
+                               MX25_PAD_SD1_DATA3__SD1_DATA3           0x80000000
+                               MX25_PAD_A14__GPIO_2_0                  0x80000000
+                               MX25_PAD_A15__GPIO_2_1                  0x80000000
+                       >;
+               };
+
                pinctrl_fec: fecgrp {
                        fsl,pins = <
                                MX25_PAD_FEC_MDC__FEC_MDC               0x80000000