summaryrefslogtreecommitdiffstats
path: root/arch/arm/dts/imx51.dtsi
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2024-02-20 11:44:02 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2024-02-20 12:09:15 +0100
commit7eedf79ba92912455954ec178822f0a03e9c28e3 (patch)
tree4d34a1ee415dd478f6b44bfed1d78179330d7a58 /arch/arm/dts/imx51.dtsi
parentd8d5dc85ede05fcac231549f125b0b700d604987 (diff)
downloadbarebox-7eedf79ba92912455954ec178822f0a03e9c28e3.tar.gz
barebox-7eedf79ba92912455954ec178822f0a03e9c28e3.tar.xz
ARM: i.MX: add barebox,bootsource-mmc aliases
Several boards overwrite the standard mmc aliases to give them a board specific numbering. This breaks our assumption that the bootsource instance number matches the mmc alias numbering. barebox supports barebox,bootsource-mmc aliases to provide a mapping between the bootsource and the device nodes that provides them. Add these aliases for the newer i.MX SoCs. Link: https://lore.barebox.org/20240220104402.2475000-1-s.hauer@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/dts/imx51.dtsi')
-rw-r--r--arch/arm/dts/imx51.dtsi4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/dts/imx51.dtsi b/arch/arm/dts/imx51.dtsi
index 828a6c2e1b..2be6b955e2 100644
--- a/arch/arm/dts/imx51.dtsi
+++ b/arch/arm/dts/imx51.dtsi
@@ -2,5 +2,9 @@
aliases {
pwm0 = &pwm1;
pwm1 = &pwm2;
+ barebox,bootsource-mmc0 = &esdhc1;
+ barebox,bootsource-mmc1 = &esdhc2;
+ barebox,bootsource-mmc2 = &esdhc3;
+ barebox,bootsource-mmc3 = &esdhc4;
};
};