ARM: dts: rockchip: move rv1108 mmcx aliases to board dts files
authorHeiko Stuebner <heiko.stuebner@theobroma-systems.com>
Wed, 24 Mar 2021 12:22:30 +0000 (13:22 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 11 Apr 2021 09:11:42 +0000 (11:11 +0200)
As suggested by Arnd Bergmann, mmc-aliases are supposed to be
board-specific, so move the newly added general aliases to
the board-level on rv1108-based boards.

Suggested-by: Arnd Bergmann <arnd@kernel.org>
Signed-off-by: Heiko Stuebner <heiko.stuebner@theobroma-systems.com>
Link: https://lore.kernel.org/r/20210324122235.1059292-2-heiko@sntech.de
arch/arm/boot/dts/rv1108-elgin-r1.dts
arch/arm/boot/dts/rv1108-evb.dts
arch/arm/boot/dts/rv1108.dtsi

index b1db924..f62c9f7 100644 (file)
        model = "Elgin RV1108 R1 board";
        compatible = "elgin,rv1108-r1", "rockchip,rv1108";
 
+       aliases {
+               mmc0 = &emmc;
+       };
+
        memory@60000000 {
                device_type = "memory";
                reg = <0x60000000 0x08000000>;
index 30f3d04..fe5fc9b 100644 (file)
@@ -8,6 +8,10 @@
        model = "Rockchip RV1108 Evaluation board";
        compatible = "rockchip,rv1108-evb", "rockchip,rv1108";
 
+       aliases {
+               mmc0 = &sdmmc;
+       };
+
        memory@60000000 {
                device_type = "memory";
                reg = <0x60000000 0x08000000>;
index 68e2282..884872c 100644 (file)
@@ -19,9 +19,6 @@
                i2c1 = &i2c1;
                i2c2 = &i2c2;
                i2c3 = &i2c3;
-               mmc0 = &emmc;
-               mmc1 = &sdio;
-               mmc2 = &sdmmc;
                serial0 = &uart0;
                serial1 = &uart1;
                serial2 = &uart2;