]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: at91: pm9g45: add mmc support
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Mon, 19 Nov 2012 16:46:24 +0000 (00:46 +0800)
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Mon, 19 Nov 2012 17:10:28 +0000 (01:10 +0800)
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
arch/arm/boot/dts/pm9g45.dts

index b0c258dd19ed97dba554d8268fceee64717abcf7..387fedb58988bf4f54038f6a2466cd9290569e6d 100644 (file)
                                                         2 14 0x0 0x1>; /* PC14 gpio enable pin pull_up */
                                        };
                                };
+
+                               mmc {
+                                       pinctrl_board_mmc: mmc0-board {
+                                               atmel,pins =
+                                                       <3 6 0x0 0x5>;  /* PD6 gpio CD pin pull_up and deglitch */
+                                       };
+                               };
+                       };
+
+                       mmc0: mmc@fff80000 {
+                               pinctrl-0 = <
+                                       &pinctrl_board_mmc
+                                       &pinctrl_mmc0_slot0_clk_cmd_dat0
+                                       &pinctrl_mmc0_slot0_dat1_3>;
+                               status = "okay";
+                               slot@0 {
+                                       reg = <0>;
+                                       bus-width = <4>;
+                                       cd-gpios = <&pioD 6 0>;
+                               };
                        };
 
                        macb0: ethernet@fffbc000 {
                                phy-mode = "rmii";
                                status = "okay";
                        };
+
                };
 
                nand0: nand@40000000 {