Commit 91f69147 authored by Marek Vasut's avatar Marek Vasut Committed by Dinh Nguyen

ARM: socfpga: dts: Enable MMC support at correct place in the DT

The socfpga.dtsi explicitly enabled MMC support, but not all boards are
equiped with an MMC card. There are setups which only have QSPI NOR.
Therefore, disable the MMC support on socfpga.dtsi level and enable it
on per-board basis.
Signed-off-by: default avatarMarek Vasut <marex@denx.de>
Cc: Alan Tull <atull@altera.com>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
Cc: Marek Vasut <marex@denx.de>
Cc: Olof Johansson <olof@lixom.net>
Cc: Thor Thayer <tthayer@altera.com>
Cc: Vince Bridgers <vbridgers2013@gmail.com>
Signed-off-by: default avatarDinh Nguyen <dinguyen@opensource.altera.com>
parent dfd35b77
...@@ -677,6 +677,7 @@ mmc: dwmmc0@ff704000 { ...@@ -677,6 +677,7 @@ mmc: dwmmc0@ff704000 {
#size-cells = <0>; #size-cells = <0>;
clocks = <&l4_mp_clk>, <&sdmmc_clk_divided>; clocks = <&l4_mp_clk>, <&sdmmc_clk_divided>;
clock-names = "biu", "ciu"; clock-names = "biu", "ciu";
status = "disabled";
}; };
ocram: sram@ffff0000 { ocram: sram@ffff0000 {
......
...@@ -79,6 +79,7 @@ rtc@68 { ...@@ -79,6 +79,7 @@ rtc@68 {
&mmc0 { &mmc0 {
vmmc-supply = <&regulator_3_3v>; vmmc-supply = <&regulator_3_3v>;
vqmmc-supply = <&regulator_3_3v>; vqmmc-supply = <&regulator_3_3v>;
status = "okay";
}; };
&usb1 { &usb1 {
......
...@@ -100,6 +100,7 @@ adxl345: adxl345@0 { ...@@ -100,6 +100,7 @@ adxl345: adxl345@0 {
&mmc0 { &mmc0 {
vmmc-supply = <&regulator_3_3v>; vmmc-supply = <&regulator_3_3v>;
vqmmc-supply = <&regulator_3_3v>; vqmmc-supply = <&regulator_3_3v>;
status = "okay";
}; };
&uart0 { &uart0 {
......
...@@ -30,4 +30,5 @@ memory { ...@@ -30,4 +30,5 @@ memory {
&mmc0 { /* On-SoM eMMC */ &mmc0 { /* On-SoM eMMC */
bus-width = <8>; bus-width = <8>;
status = "okay";
}; };
...@@ -84,6 +84,7 @@ &mmc0 { ...@@ -84,6 +84,7 @@ &mmc0 {
cd-gpios = <&portb 18 0>; cd-gpios = <&portb 18 0>;
vmmc-supply = <&regulator_3_3v>; vmmc-supply = <&regulator_3_3v>;
vqmmc-supply = <&regulator_3_3v>; vqmmc-supply = <&regulator_3_3v>;
status = "okay";
}; };
&usb1 { &usb1 {
......
...@@ -80,6 +80,7 @@ accel1: accelerometer@53 { ...@@ -80,6 +80,7 @@ accel1: accelerometer@53 {
&mmc0 { &mmc0 {
vmmc-supply = <&regulator_3_3v>; vmmc-supply = <&regulator_3_3v>;
vqmmc-supply = <&regulator_3_3v>; vqmmc-supply = <&regulator_3_3v>;
status = "okay";
}; };
&usb1 { &usb1 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment