mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Fabian Pfitzner <f.pfitzner@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Fabian Pfitzner <f.pfitzner@pengutronix.de>
Subject: [PATCH] dts: arm: imx6: remove mmc1 alias
Date: Tue, 21 Oct 2025 16:42:44 +0200	[thread overview]
Message-ID: <20251021144243.1231871-2-f.pfitzner@pengutronix.de> (raw)

Setting the mmc1 alias to usdhc4 in the dts overwrites the mmc1 alias set in
the included imx6dl.dtsi file. This causes mmc1 and mmc3 pointing to the same address.

This creates the device name as /dev/mmc1* instead of the expected /dev/mmc3* name.
As the barebox update handler is configured for mmc3, updating is not
possible anymore.

This patch solves this by removing the mmc1 alias from the dts.

Signed-off-by: Fabian Pfitzner <f.pfitzner@pengutronix.de>
---
 dts/src/arm/nxp/imx/imx6s-btx53lb000.dts | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/dts/src/arm/nxp/imx/imx6s-btx53lb000.dts b/dts/src/arm/nxp/imx/imx6s-btx53lb000.dts
index f8141832cd..c395bffe06 100644
--- a/dts/src/arm/nxp/imx/imx6s-btx53lb000.dts
+++ b/dts/src/arm/nxp/imx/imx6s-btx53lb000.dts
@@ -9,10 +9,6 @@ / {
 	model = "Waygate BTX53LB000v2";
 	compatible = "karo,imx6dl-tx6dl", "fsl,imx6dl";
 
-	aliases {
-		mmc1 = &usdhc4;
-	};
-
 	backlight: backlight {
 		compatible = "pwm-backlight";
 		pinctrl-0 = <&pinctrl_backlight>;
-- 
2.47.3




             reply	other threads:[~2025-10-21 14:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-21 14:42 Fabian Pfitzner [this message]
2025-10-21 15:03 ` Ahmad Fatoum

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251021144243.1231871-2-f.pfitzner@pengutronix.de \
    --to=f.pfitzner@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox