ARM: at91: dt: at91sam9: add mmc pinctrl support
[firefly-linux-kernel-4.4.55.git] / arch / arm / boot / dts / at91sam9x5.dtsi
index 7f56b07438a1bdfa4f33aba0092db3c858a0cf07..7ee49e8daf987af65060b8b058f8b29a6ff2e6d0 100644 (file)
                                        };
                                };
 
+                               mmc0 {
+                                       pinctrl_mmc0_slot0_clk_cmd_dat0: mmc0_slot0_clk_cmd_dat0-0 {
+                                               atmel,pins =
+                                                       <0 17 0x1 0x0   /* PA17 periph A */
+                                                        0 16 0x1 0x1   /* PA16 periph A with pullup */
+                                                        0 15 0x1 0x1>; /* PA15 periph A with pullup */
+                                       };
+
+                                       pinctrl_mmc0_slot0_dat1_3: mmc0_slot0_dat1_3-0 {
+                                               atmel,pins =
+                                                       <0 18 0x1 0x1   /* PA18 periph A with pullup */
+                                                        0 19 0x1 0x1   /* PA19 periph A with pullup */
+                                                        0 20 0x1 0x1>; /* PA20 periph A with pullup */
+                                       };
+                               };
+
+                               mmc1 {
+                                       pinctrl_mmc1_slot0_clk_cmd_dat0: mmc1_slot0_clk_cmd_dat0-0 {
+                                               atmel,pins =
+                                                       <0 13 0x2 0x0   /* PA13 periph B */
+                                                        0 12 0x2 0x1   /* PA12 periph B with pullup */
+                                                        0 11 0x2 0x1>; /* PA11 periph B with pullup */
+                                       };
+
+                                       pinctrl_mmc1_slot0_dat1_3: mmc1_slot0_dat1_3-0 {
+                                               atmel,pins =
+                                                       <0 2 0x2 0x1    /* PA2 periph B with pullup */
+                                                        0 3 0x2 0x1    /* PA3 periph B with pullup */
+                                                        0 4 0x2 0x1>;  /* PA4 periph B with pullup */
+                                       };
+                               };
+
                                pioA: gpio@fffff400 {
                                        compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
                                        reg = <0xfffff400 0x200>;