All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabio Estevam <festevam@gmail.com>
To: sbabic@denx.de
Cc: ian.ray@ge.com, martyn.welch@collabora.com, u-boot@lists.denx.de,
	Fabio Estevam <festevam@denx.de>
Subject: [PATCH 3/5] imx8mp-msc-sm2s: Add mmc aliases
Date: Tue, 13 Feb 2024 08:43:40 -0300	[thread overview]
Message-ID: <20240213114342.2728075-3-festevam@gmail.com> (raw)
In-Reply-To: <20240213114342.2728075-1-festevam@gmail.com>

From: Fabio Estevam <festevam@denx.de>

Add mmc alias so that the eMMC is mmc0 and the SD card
is mmc1 to have a well defined device numbering scheme.

Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 arch/arm/dts/imx8mp-msc-sm2s-u-boot.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/dts/imx8mp-msc-sm2s-u-boot.dtsi b/arch/arm/dts/imx8mp-msc-sm2s-u-boot.dtsi
index 1a7b530d9f..ce61ca6671 100644
--- a/arch/arm/dts/imx8mp-msc-sm2s-u-boot.dtsi
+++ b/arch/arm/dts/imx8mp-msc-sm2s-u-boot.dtsi
@@ -9,6 +9,11 @@
 	model = "MSC SM2S-IMX8MPLUS";
 	compatible = "avnet,sm2s-imx8mp", "fsl,imx8mp";
 
+	aliases {
+		mmc0 = &usdhc3;
+		mmc1 = &usdhc2;
+	};
+
 	wdt-reboot {
 		compatible = "wdt-reboot";
 		wdt = <&wdog1>;
-- 
2.34.1


  parent reply	other threads:[~2024-02-13 11:44 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-13 11:43 [PATCH 1/5] msc_sm2s_imx8mp: Convert to DM_SERIAL Fabio Estevam
2024-02-13 11:43 ` [PATCH 2/5] msc_sm2s_imx8mp: Make Ethernet functional Fabio Estevam
2024-02-15 12:05   ` EXT: " Ian Ray
2024-02-13 11:43 ` Fabio Estevam [this message]
2024-02-15 12:05   ` EXT: [PATCH 3/5] imx8mp-msc-sm2s: Add mmc aliases Ian Ray
2024-02-13 11:43 ` [PATCH 4/5] msc_sm2s_imx8mp: Add redundant environment support Fabio Estevam
2024-02-15 12:05   ` EXT: " Ian Ray
2024-02-13 11:43 ` [PATCH 5/5] msc_sm2s_imx8mp: Fix CONFIG_DEFAULT_FDT_FILE Fabio Estevam
2024-02-15 12:06   ` EXT: " Ian Ray
2024-02-15 12:05 ` EXT: [PATCH 1/5] msc_sm2s_imx8mp: Convert to DM_SERIAL Ian Ray
2024-02-19 13:15   ` Fabio Estevam

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=20240213114342.2728075-3-festevam@gmail.com \
    --to=festevam@gmail.com \
    --cc=festevam@denx.de \
    --cc=ian.ray@ge.com \
    --cc=martyn.welch@collabora.com \
    --cc=sbabic@denx.de \
    --cc=u-boot@lists.denx.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.