]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: STi: DT: Enable mmc0 for both stih415 and stih416 SoCs
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:03 +0000 (09:59 +0100)
Because the first sdhci controller is present on both stih415 and
stih416 SoC which can both populate the b2020 board, it can be
enabled in the generic DT file.

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/stih41x-b2020.dtsi
arch/arm/boot/dts/stih41x-b2020x.dtsi

index c0f50e9515542549aed4c050c1485e932df29d1e..487d7d87dbefb1127a1de540c5a839145e0325ad 100644 (file)
@@ -74,5 +74,9 @@
 
                        pinctrl-0       = <&pinctrl_rgmii1>;
                };
+
+               mmc0: sdhci@fe81e000 {
+                       bus-width = <8>;
+               };
        };
 };
index df01c1211b329fc0d271de5498316b74f56f9bce..f797a0607382f35ce1b0cb9b60debeb6ee586446 100644 (file)
@@ -8,6 +8,10 @@
  */
 / {
        soc {
+               mmc0: sdhci@fe81e000 {
+                       status = "okay";
+               };
+
                spifsm: spifsm@fe902000 {
                        #address-cells = <1>;
                        #size-cells    = <1>;