aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorKever Yang2020-01-08 17:38:48 +0800
committerKever Yang2020-01-30 11:44:02 +0800
commita7eb9ae349a3b7d0c44c2afa073e5df14d2a18f6 (patch)
treef0aa3701715a6344390790d705b5758e85269aaf /arch
parent3c176ea7cef3de1e047d2572cd5bcc0171b97338 (diff)
rockchip: rk3308: add alias for emmc/sdmmc
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/dts/rk3308-u-boot.dtsi7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/dts/rk3308-u-boot.dtsi b/arch/arm/dts/rk3308-u-boot.dtsi
index f5a595337e5..4bfad31fbab 100644
--- a/arch/arm/dts/rk3308-u-boot.dtsi
+++ b/arch/arm/dts/rk3308-u-boot.dtsi
@@ -3,6 +3,13 @@
*(C) Copyright 2019 Rockchip Electronics Co., Ltd
*/
+/ {
+ aliases {
+ mmc0 = &emmc;
+ mmc1 = &sdmmc;
+ };
+};
+
&cru {
u-boot,dm-pre-reloc;
};