]> git.sur5r.net Git - u-boot/commitdiff
arm: socfpga: Make the DT mmc node consistent
authorMarek Vasut <marex@denx.de>
Sun, 2 Aug 2015 20:55:24 +0000 (22:55 +0200)
committerMarek Vasut <marex@denx.de>
Sun, 23 Aug 2015 09:56:19 +0000 (11:56 +0200)
The socfpga_cyclone5.dtsi has an mmc0 node, socrates has mmc node.
This makes aliases not very usable, so make everything into mmc0.
Moreover, zap the useless mmc alias while at this.

Signed-off-by: Marek Vasut <marex@denx.de>
arch/arm/dts/socfpga.dtsi
arch/arm/dts/socfpga_cyclone5_socrates.dts

index e17e9f4a3ca8807fa401d18613244465e260ae17..ded3093a6be35ab70fb02244ad0d6fab3fb664aa 100644 (file)
@@ -23,7 +23,6 @@
                spi0 = &qspi;
                spi1 = &spi0;
                spi2 = &spi1;
-               mmc = &mmc;
        };
 
        cpus {
                        arm,data-latency = <2 1 1>;
                };
 
-               mmc: dwmmc0@ff704000 {
+               mmc0: dwmmc0@ff704000 {
                        compatible = "altr,socfpga-dw-mshc";
                        reg = <0xff704000 0x1000>;
                        interrupts = <0 139 4>;
index 00b1830485a098dcfd583a7af6ed63dea112899d..3c985584d13b67d901780642d401e5959a456720 100644 (file)
@@ -34,7 +34,7 @@
        };
 };
 
-&mmc {
+&mmc0 {
        status = "okay";
 };