ARM: dts: imx27-phytec-phycard-s-rdk: Add pinctrl definitions for SDHC2
authorAlexander Shiyan <shc_work@mail.ru>
Tue, 4 Feb 2014 14:59:32 +0000 (18:59 +0400)
committerShawn Guo <shawn.guo@linaro.org>
Mon, 10 Feb 2014 03:10:43 +0000 (11:10 +0800)
This patch adds pinctrl definitions for SDHC2 for Phytec PCA100 RDK board.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/boot/dts/imx27-phytec-phycard-s-rdk.dts

index 04cadfc..1cd3a87 100644 (file)
                        >;
                };
 
+               pinctrl_sdhc2: sdhc2grp {
+                       fsl,pins = <
+                               MX27_PAD_SD2_CLK__SD2_CLK 0x0
+                               MX27_PAD_SD2_CMD__SD2_CMD 0x0
+                               MX27_PAD_SD2_D0__SD2_D0 0x0
+                               MX27_PAD_SD2_D1__SD2_D1 0x0
+                               MX27_PAD_SD2_D2__SD2_D2 0x0
+                               MX27_PAD_SD2_D3__SD2_D3 0x0
+                               MX27_PAD_SSI3_RXDAT__GPIO3_29 0x0 /* CD */
+                       >;
+               };
+
                pinctrl_uart1: uart1grp {
                        fsl,pins = <
                                MX27_PAD_UART1_TXD__UART1_TXD 0x0
 };
 
 &sdhci2 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_sdhc2>;
        cd-gpios = <&gpio3 29 GPIO_ACTIVE_HIGH>;
        status = "okay";
 };