arm64: dts: rockchip: Update eMMC, SD aliases for Radxa SoM boards
authorJagan Teki <jagan@amarulasolutions.com>
Wed, 18 Jan 2023 08:04:53 +0000 (13:34 +0530)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 19 Jan 2023 09:50:07 +0000 (10:50 +0100)
Radxa has produced Compute Modules like RK3399pro VMARC and CM3i with
onboarding eMMC flash, so the eMMC is the primary MMC device.

On the other hand, Rockchip boot orders start from eMMC from an MMC
device perspective.

Mark, the eMMC has mmc0 to satisfy the above two conditions.

Reported-by: FUKAUMI Naoki <naoki@radxa.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Link: https://lore.kernel.org/r/20230118080454.11643-1-jagan@amarulasolutions.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi
arch/arm64/boot/dts/rockchip/rk3568-radxa-e25.dts

index bf9eb04..8b8992a 100644 (file)
@@ -13,8 +13,8 @@
        compatible = "vamrs,rk3399pro-vmarc-som", "rockchip,rk3399pro";
 
        aliases {
-               mmc0 = &sdmmc;
-               mmc1 = &sdhci;
+               mmc0 = &sdhci;
+               mmc1 = &sdmmc;
        };
 
        vcc3v3_pcie: vcc-pcie-regulator {
index fb96019..0372dd9 100644 (file)
@@ -8,8 +8,7 @@
        compatible = "radxa,e25", "rockchip,rk3568";
 
        aliases {
-               mmc0 = &sdmmc0;
-               mmc1 = &sdhci;
+               mmc1 = &sdmmc0;
        };
 
        pwm-leds {