arm64: dts: freescale: use fixed index mmcN for NXP layerscape reference boards
authorYangbo Lu <yangbo.lu@nxp.com>
Tue, 5 Jan 2021 03:32:59 +0000 (11:32 +0800)
committerShawn Guo <shawnguo@kernel.org>
Tue, 5 Jan 2021 03:53:05 +0000 (11:53 +0800)
The eSDHC driver has converted to use asynchronous probe.
Let's use fixed index mmcN for eSDHC controllers, so that
we can ignore the effect on usage, and avoid problem on
previous use cases with fixed index mmcblkN.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts
arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts
arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts
arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts
arch/arm64/boot/dts/freescale/fsl-lx2162a-qds.dts

index 449475a97bf1dcf1ed77df68e23e7cebda22ea68..e22c5e77fecdc233cb5df7c6a78a089bc9925111 100644 (file)
        model = "LS1012A QDS Board";
        compatible = "fsl,ls1012a-qds", "fsl,ls1012a";
 
+       aliases {
+               mmc0 = &esdhc0;
+               mmc1 = &esdhc1;
+       };
+
        sys_mclk: clock-mclk {
                compatible = "fixed-clock";
                #clock-cells = <0>;
index d45c17620b98cf35f7fb5e9250b7b39688af5f9a..f939d656898b7dcf15ec44bc577b10241725103e 100644 (file)
 / {
        model = "LS1012A RDB Board";
        compatible = "fsl,ls1012a-rdb", "fsl,ls1012a";
+
+       aliases {
+               mmc0 = &esdhc0;
+               mmc1 = &esdhc1;
+       };
 };
 
 &duart0 {
index 2d1fe6c3797fffeb3b945278d48ed97adf30232b..16ae3b00cf480affa0e1878ea7cc90e9aeb5dc2c 100644 (file)
@@ -14,6 +14,8 @@
 
        aliases {
                crypto = &crypto;
+               mmc0 = &esdhc0;
+               mmc1 = &esdhc1;
                serial0 = &uart0;
        };
 
index eb88de7f3a9c496464373282a51deac739979a74..6f82759f0ce44f0e9f65196f4d5fe3e3965cf768 100644 (file)
@@ -14,6 +14,8 @@
 
        aliases {
                crypto = &crypto;
+               mmc0 = &esdhc0;
+               mmc1 = &esdhc1;
                serial0 = &uart0;
        };
 
index 91786848bd30effd4ef89d38cb9ca5b33fcc6429..e1defee1ad27a1384a690b240a3912c601a6e509 100644 (file)
@@ -14,6 +14,8 @@
 
        aliases {
                crypto = &crypto;
+               mmc0 = &esdhc0;
+               mmc1 = &esdhc1;
                serial0 = &uart0;
        };