rockchip: rk3308: add alias for emmc/sdmmc
authorKever Yang <kever.yang@rock-chips.com>
Wed, 8 Jan 2020 09:38:48 +0000 (17:38 +0800)
committerKever Yang <kever.yang@rock-chips.com>
Thu, 30 Jan 2020 03:44:02 +0000 (11:44 +0800)
Add alias for mmc/sdmmc so that we can have a fix mmc number for emmc.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
arch/arm/dts/rk3308-u-boot.dtsi

index f5a595337e55ac450becde2491bba42bd7e47cbd..4bfad31fbab15344f6a43f94aa069c99bc25d86a 100644 (file)
@@ -3,6 +3,13 @@
  *(C) Copyright 2019 Rockchip Electronics Co., Ltd
  */
 
+/ {
+       aliases {
+               mmc0 = &emmc;
+               mmc1 = &sdmmc;
+       };
+};
+
 &cru {
        u-boot,dm-pre-reloc;
 };