arm64: dts: rockchip: move mmc aliases to board dts on rk3368
authorHeiko Stuebner <heiko.stuebner@theobroma-systems.com>
Wed, 24 Mar 2021 12:22:34 +0000 (13:22 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 11 Apr 2021 09:13:07 +0000 (11:13 +0200)
As suggested by Arnd Bergmann, the newly added mmc aliases
should be board specific, so move them from the general dtsi
to the individual 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-6-heiko@sntech.de
arch/arm64/boot/dts/rockchip/rk3368-evb.dtsi
arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
arch/arm64/boot/dts/rockchip/rk3368-lion-haikou.dts
arch/arm64/boot/dts/rockchip/rk3368-lion.dtsi
arch/arm64/boot/dts/rockchip/rk3368-orion-r68-meta.dts
arch/arm64/boot/dts/rockchip/rk3368-px5-evb.dts
arch/arm64/boot/dts/rockchip/rk3368-r88.dts
arch/arm64/boot/dts/rockchip/rk3368.dtsi

index 87fabc6..15d1fc5 100644 (file)
@@ -8,6 +8,10 @@
 #include "rk3368.dtsi"
 
 / {
+       aliases {
+               mmc0 = &emmc;
+       };
+
        chosen {
                stdout-path = "serial2:115200n8";
        };
index 46357d1..62aa97a 100644 (file)
        model = "GeekBox";
        compatible = "geekbuying,geekbox", "rockchip,rk3368";
 
+       aliases {
+               mmc0 = &emmc;
+       };
+
        chosen {
                stdout-path = "serial2:115200n8";
        };
index 7fcb1ea..cae01d3 100644 (file)
        model = "Theobroma Systems RK3368-uQ7 Baseboard";
        compatible = "tsd,rk3368-lion-haikou", "rockchip,rk3368";
 
+       aliases {
+               mmc1 = &sdmmc;
+       };
+
        chosen {
                stdout-path = "serial0:115200n8";
        };
index 24d28be..bcd7977 100644 (file)
@@ -7,6 +7,10 @@
 #include "rk3368.dtsi"
 
 / {
+       aliases {
+               mmc0 = &emmc;
+       };
+
        chosen {
                stdout-path = "serial0:115200n8";
        };
index ecce16e..3ebe15e 100644 (file)
        model = "Rockchip Orion R68";
        compatible = "tronsmart,orion-r68-meta", "rockchip,rk3368";
 
+       aliases {
+               mmc0 = &sdmmc;
+               mmc1 = &emmc;
+       };
+
        chosen {
                stdout-path = "serial2:115200n8";
        };
index 5ffd7b4..5ccaa5f 100644 (file)
        model = "Rockchip PX5 EVB";
        compatible = "rockchip,px5-evb", "rockchip,px5", "rockchip,rk3368";
 
+       aliases {
+               mmc0 = &sdmmc;
+               mmc1 = &emmc;
+       };
+
        chosen {
                stdout-path = "serial4:115200n8";
        };
index 2582fa4..959d3cc 100644 (file)
        model = "Rockchip R88";
        compatible = "rockchip,r88", "rockchip,rk3368";
 
+       aliases {
+               mmc0 = &sdio0;
+               mmc1 = &emmc;
+       };
+
        chosen {
                stdout-path = "serial2:115200n8";
        };
index 61b0a2a..242f821 100644 (file)
@@ -25,9 +25,6 @@
                i2c3 = &i2c3;
                i2c4 = &i2c4;
                i2c5 = &i2c5;
-               mmc0 = &sdmmc;
-               mmc1 = &sdio0;
-               mmc2 = &emmc;
                serial0 = &uart0;
                serial1 = &uart1;
                serial2 = &uart2;