Эх сурвалжийг харах

ARM: STi: DT: Enable mmc0 for both stih415 and stih416 SoCs

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>
Peter Griffin 11 жил өмнө
parent
commit
6919edc84c

+ 4 - 0
arch/arm/boot/dts/stih41x-b2020.dtsi

@@ -74,5 +74,9 @@
 
 
 			pinctrl-0	= <&pinctrl_rgmii1>;
 			pinctrl-0	= <&pinctrl_rgmii1>;
 		};
 		};
+
+		mmc0: sdhci@fe81e000 {
+			bus-width = <8>;
+		};
 	};
 	};
 };
 };

+ 4 - 0
arch/arm/boot/dts/stih41x-b2020x.dtsi

@@ -8,6 +8,10 @@
  */
  */
 / {
 / {
 	soc {
 	soc {
+		mmc0: sdhci@fe81e000 {
+			status = "okay";
+		};
+
 		spifsm: spifsm@fe902000 {
 		spifsm: spifsm@fe902000 {
 			#address-cells = <1>;
 			#address-cells = <1>;
 			#size-cells    = <1>;
 			#size-cells    = <1>;