]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: dts: socfpga: Add SD card detect
authorDinh Nguyen <dinguyen@opensource.altera.com>
Thu, 14 Aug 2014 15:21:48 +0000 (10:21 -0500)
committerDinh Nguyen <dinguyen@opensource.altera.com>
Thu, 4 Sep 2014 15:15:51 +0000 (10:15 -0500)
Revision D of the SOCFGPA devkit has a GPIO line used for SD/MMC card detect.

Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
Acked-by: Pavel Machek <pavel@denx.de>
arch/arm/boot/dts/socfpga_cyclone5.dtsi
arch/arm/boot/dts/socfpga_cyclone5_socdk.dts

index 1ee03c44fa5ef1c7f07c1c2f3b8d419f69713a9f..33cad8bcba18cf2e48afcf46efe1a7bce5bd1039 100644 (file)
@@ -28,7 +28,7 @@
                        };
                };
 
-               dwmmc0@ff704000 {
+               mmc0: dwmmc0@ff704000 {
                        num-slots = <1>;
                        broken-cd;
                        bus-width = <4>;
index 45de1514af0ac24f36c0cf5a737a70c7da555213..d7296a5f750cd5edef23d62078b47361027de785 100644 (file)
        };
 };
 
+&mmc0 {
+       cd-gpios = <&gpio1 18 0>;
+};
+
 &usb1 {
        status = "okay";
 };