]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: dts: imx6dl-wandboard: Add SDHC1 and SDHC2 ports
authorFabio Estevam <fabio.estevam@freescale.com>
Fri, 12 Jul 2013 12:49:32 +0000 (09:49 -0300)
committerShawn Guo <shawn.guo@linaro.org>
Thu, 22 Aug 2013 15:29:20 +0000 (23:29 +0800)
Wandboard has a SD card slot on the baseboard connected to SDHC1 and a
BCM4329 (Wifi + Bluetooth chip) connected to SDHC2.

Add support for these ports.

While at it, provide the card detect gpio on SDHC3 and also fix indentation on
MX6QDL_PAD_GPIO_0__CCM_CLKO1 hog pin.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/boot/dts/imx6dl-wandboard.dts

index fbe0f1916f6ad05bd21fd819ff89d3e5b5913caa..fe9a01d01538ece823ef8354d2d7166d746cc525 100644 (file)
@@ -82,7 +82,9 @@
        hog {
                pinctrl_hog: hoggrp {
                        fsl,pins = <
-                               MX6QDL_PAD_GPIO_0__CCM_CLKO1 0x130b0
+                               MX6QDL_PAD_GPIO_0__CCM_CLKO1    0x130b0
+                               MX6QDL_PAD_GPIO_2__GPIO1_IO02   0x80000000
+                               MX6QDL_PAD_EIM_DA9__GPIO3_IO09  0x80000000
                        >;
                };
        };
        status = "okay";
 };
 
+&usdhc1 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_usdhc1_2>;
+       cd-gpios = <&gpio1 2 0>;
+       status = "okay";
+};
+
+&usdhc2 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_usdhc2_2>;
+       non-removable;
+       status = "okay";
+};
+
 &usdhc3 {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_usdhc3_2>;
+       cd-gpios = <&gpio3 9 0>;
        status = "okay";
 };