]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: STi: DT: Add sdhci pin configuration for stih415
authorPeter Griffin <peter.griffin@linaro.org>
Wed, 9 Jul 2014 15:07:00 +0000 (17:07 +0200)
committerMaxime Coquelin <maxime.coquelin@st.com>
Fri, 31 Oct 2014 08:59:02 +0000 (09:59 +0100)
This patch adds the required pin config for the sdhci controller
present in the stih415 SoC.

Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Acked-by: Lee Jones <lee.jones@linaro.org>
Acked-by: Maxime Coquelin <maxime.coquelin@st.com>
Signed-off-by: Maxime Coquelin <maxime.coquelin@st.com>
arch/arm/boot/dts/stih415-pinctrl.dtsi

index 1c413013818cfed0b01f2987e6a337233d6b44c7..3791ad95dbaff9a35321dfa326c7af17e20d370b 100644 (file)
                                        };
                                };
                        };
+
+                       mmc0 {
+                               pinctrl_mmc0: mmc0 {
+                                       st,pins {
+                                               mmcclk = <&pio13 4 ALT4 BIDIR_PU NICLK 0 CLK_B>;
+                                               data0  = <&pio14 4 ALT4 BIDIR_PU BYPASS 0>;
+                                               data1  = <&pio14 5 ALT4 BIDIR_PU BYPASS 0>;
+                                               data2  = <&pio14 6 ALT4 BIDIR_PU BYPASS 0>;
+                                               data3  = <&pio14 7 ALT4 BIDIR_PU BYPASS 0>;
+                                               cmd    = <&pio15 1 ALT4 BIDIR_PU BYPASS 0>;
+                                               wp     = <&pio15 3 ALT4 IN>;
+                                               data4  = <&pio16 4 ALT4 BIDIR_PU BYPASS 0>;
+                                               data5  = <&pio16 5 ALT4 BIDIR_PU BYPASS 0>;
+                                               data6  = <&pio16 6 ALT4 BIDIR_PU BYPASS 0>;
+                                               data7  = <&pio16 7 ALT4 BIDIR_PU BYPASS 0>;
+                                               pwr    = <&pio17 1 ALT4 OUT>;
+                                               cd     = <&pio17 2 ALT4 IN>;
+                                               led    = <&pio17 3 ALT4 OUT>;
+                                       };
+                               };
+                       };
                };
 
                pin-controller-left {