summaryrefslogtreecommitdiffstats
path: root/arch/arm/dts/imx8mq.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/imx8mq.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/imx8mq.dtsi')
-rw-r--r--arch/arm/dts/imx8mq.dtsi5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/dts/imx8mq.dtsi b/arch/arm/dts/imx8mq.dtsi
index e56cdfe130..d90afbe628 100644
--- a/arch/arm/dts/imx8mq.dtsi
+++ b/arch/arm/dts/imx8mq.dtsi
@@ -5,6 +5,11 @@
*/
/ {
+ aliases {
+ barebox,bootsource-mmc0 = &usdhc1;
+ barebox,bootsource-mmc1 = &usdhc2;
+ };
+
remoteproc_cm4: remoteproc-cm4 {
compatible = "fsl,imx8mq-cm4";
clocks = <&clk IMX8MQ_CLK_M4_CORE>;