]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
arm64: dts: rockchip: move mmc aliases to board dts on rk3308
authorHeiko Stuebner <heiko.stuebner@theobroma-systems.com>
Wed, 24 Mar 2021 12:22:32 +0000 (13:22 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 11 Apr 2021 09:13:06 +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-4-heiko@sntech.de
arch/arm64/boot/dts/rockchip/rk3308-roc-cc.dts
arch/arm64/boot/dts/rockchip/rk3308.dtsi

index 7a96be10eaf0d3431f5602bb41edef94af7ca67d..3dddd4742c3a0ea0cdcb1f92738103eb374e5deb 100644 (file)
@@ -9,6 +9,12 @@
 / {
        model = "Firefly ROC-RK3308-CC board";
        compatible = "firefly,roc-rk3308-cc", "rockchip,rk3308";
+
+       aliases {
+               mmc0 = &sdmmc;
+               mmc1 = &emmc;
+       };
+
        chosen {
                stdout-path = "serial2:1500000n8";
        };
index 00844a0e0021ac69b68c5b017372d3cceb9e6c01..0c5fa9801e6fd0299a9e2f9e50f7029af95e17d5 100644 (file)
@@ -24,9 +24,6 @@
                i2c1 = &i2c1;
                i2c2 = &i2c2;
                i2c3 = &i2c3;
-               mmc0 = &sdmmc;
-               mmc1 = &emmc;
-               mmc2 = &sdio;
                serial0 = &uart0;
                serial1 = &uart1;
                serial2 = &uart2;