[PATCH] rockchip: rk3308: add alias for emmc/sdmmc

Jagan Teki jagan at amarulasolutions.com
Wed Jan 8 10:43:55 CET 2020


On Wed, Jan 8, 2020 at 3:09 PM Kever Yang <kever.yang at rock-chips.com> wrote:
>
> Add alias for mmc/sdmmc so that we can have a fix mmc number for emmc.
>
> Signed-off-by: Kever Yang <kever.yang at rock-chips.com>
> ---
>
>  arch/arm/dts/rk3308-u-boot.dtsi | 7 +++++++
>  1 file changed, 7 insertions(+)
>
> diff --git a/arch/arm/dts/rk3308-u-boot.dtsi b/arch/arm/dts/rk3308-u-boot.dtsi
> index f5a595337e..4bfad31fba 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;
> +       };

Look like other rk* have similar issue, better to move this alias to
rockchip-u-boot.dtsi


More information about the U-Boot mailing list