ARM: socfpga: dts: Enable MMC support at correct place in the DT
authorMarek Vasut <marex@denx.de>
Mon, 21 Dec 2015 06:42:01 +0000 (00:42 -0600)
committerDinh Nguyen <dinh.linux@gmail.com>
Mon, 21 Dec 2015 06:44:21 +0000 (00:44 -0600)
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: Marek 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: Dinh Nguyen <dinguyen@opensource.altera.com>
arch/arm/boot/dts/socfpga.dtsi
arch/arm/boot/dts/socfpga_arria5_socdk.dts
arch/arm/boot/dts/socfpga_cyclone5_de0_sockit.dts
arch/arm/boot/dts/socfpga_cyclone5_mcv.dtsi
arch/arm/boot/dts/socfpga_cyclone5_socdk.dts
arch/arm/boot/dts/socfpga_cyclone5_sockit.dts

index 39c470e291f96fa42c6d7b3740d63a96b2131194..3ed4abdaaa9cc4efe8b8c169b01a49f8e6b938fd 100644 (file)
                        #size-cells = <0>;
                        clocks = <&l4_mp_clk>, <&sdmmc_clk_divided>;
                        clock-names = "biu", "ciu";
+                       status = "disabled";
                };
 
                ocram: sram@ffff0000 {
index a75a666032b2fca76997546ffedc7c7cd7962e12..3c8867862b0dbece25f0dd5a68ac5bc0f6c2dde1 100644 (file)
@@ -79,6 +79,7 @@
 &mmc0 {
        vmmc-supply = <&regulator_3_3v>;
        vqmmc-supply = <&regulator_3_3v>;
+       status = "okay";
 };
 
 &usb1 {
index 555e9caf21e160112ff24490a6a776c2e6de746d..afea3645ada43500eb0f2903b904760b169eddde 100644 (file)
 &mmc0 {
        vmmc-supply = <&regulator_3_3v>;
        vqmmc-supply = <&regulator_3_3v>;
+       status = "okay";
 };
 
 &uart0 {
index baecd983d0560f311d6d2a993fda508595e277f4..f86f9c060d7a2aca5fb4890f55c35b2aabedc1e1 100644 (file)
@@ -30,4 +30,5 @@
 
 &mmc0 {        /* On-SoM eMMC */
        bus-width = <8>;
+       status = "okay";
 };
index d4d0a28fb331a76caf611e3335e2b70ba984d549..15e43f43f24480efcbeca00930844e9a72bc2e1e 100644 (file)
@@ -84,6 +84,7 @@
        cd-gpios = <&portb 18 0>;
        vmmc-supply = <&regulator_3_3v>;
        vqmmc-supply = <&regulator_3_3v>;
+       status = "okay";
 };
 
 &usb1 {
index 48bf651bd7625d960cfade4d55bd02326ae5cb84..b61f22f9ac9f5f7da550e8ac61150c31eaf387ac 100644 (file)
@@ -80,6 +80,7 @@
 &mmc0 {
        vmmc-supply = <&regulator_3_3v>;
        vqmmc-supply = <&regulator_3_3v>;
+       status = "okay";
 };
 
 &usb1 {