With Atmel SDHCI support incoming, we'll want the cards to have predictable names. Extend the sama5d2.dtsi with an /aliases node. Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> --- arch/arm/dts/at91-sama5d27_giantboard.dts | 2 ++ arch/arm/dts/at91-sama5d27_som1_ek.dts | 1 + arch/arm/dts/sama5d2.dtsi | 8 ++++++++ 3 files changed, 11 insertions(+) diff --git a/arch/arm/dts/at91-sama5d27_giantboard.dts b/arch/arm/dts/at91-sama5d27_giantboard.dts index 940379e43005..7e48fa18ae71 100644 --- a/arch/arm/dts/at91-sama5d27_giantboard.dts +++ b/arch/arm/dts/at91-sama5d27_giantboard.dts @@ -17,6 +17,8 @@ #include <dt-bindings/gpio/gpio.h> #include <dt-bindings/regulator/active-semi,8945a-regulator.h> +#include "sama5d2.dtsi" + / { model = "Giant Board"; compatible = "groboards,sama5d27-giantboard", "atmel,sama5d27", "atmel,sama5d2", "atmel,sama5"; diff --git a/arch/arm/dts/at91-sama5d27_som1_ek.dts b/arch/arm/dts/at91-sama5d27_som1_ek.dts index 936f07eac45e..cd038dc7c169 100644 --- a/arch/arm/dts/at91-sama5d27_som1_ek.dts +++ b/arch/arm/dts/at91-sama5d27_som1_ek.dts @@ -4,6 +4,7 @@ */ #include <arm/at91-sama5d27_som1_ek.dts> +#include "sama5d2.dtsi" / { chosen { diff --git a/arch/arm/dts/sama5d2.dtsi b/arch/arm/dts/sama5d2.dtsi index e69de29bb2d1..51e964fc0ff6 100644 --- a/arch/arm/dts/sama5d2.dtsi +++ b/arch/arm/dts/sama5d2.dtsi @@ -0,0 +1,8 @@ +// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) + +/ { + aliases { + mmc0 = &sdmmc0; + mmc1 = &sdmmc1; + }; +}; -- 2.26.0.rc2 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox