[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220207212826.10307-5-digetx@gmail.com>
Date: Tue, 8 Feb 2022 00:28:26 +0300
From: Dmitry Osipenko <digetx@...il.com>
To: Thierry Reding <thierry.reding@...il.com>,
Jonathan Hunter <jonathanh@...dia.com>,
Svyatoslav Ryhel <clamor95@...il.com>,
David Heidelberg <david@...t.cz>,
Robert Eckelmann <longnoserob@...il.com>,
Agneli <poczt@...tonmail.ch>
Cc: linux-tegra@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH v1 4/4] ARM: tegra: paz00: Add MMC aliases
Add MMC aliases to ensure that the /dev/mmcblk IDs won't change depending
on the probe order of the MMC drivers.
Signed-off-by: Dmitry Osipenko <digetx@...il.com>
---
arch/arm/boot/dts/tegra20-paz00.dts | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/tegra20-paz00.dts b/arch/arm/boot/dts/tegra20-paz00.dts
index d53a175dc17a..0fb4b1f5bc1c 100644
--- a/arch/arm/boot/dts/tegra20-paz00.dts
+++ b/arch/arm/boot/dts/tegra20-paz00.dts
@@ -13,6 +13,8 @@ / {
compatible = "compal,paz00", "nvidia,tegra20";
aliases {
+ mmc0 = &sdmmc4; /* eMMC */
+ mmc1 = &sdmmc1; /* MicroSD */
rtc0 = "/i2c@...0d000/tps6586x@34";
rtc1 = "/rtc@...0e000";
serial0 = &uarta;
@@ -558,7 +560,7 @@ usb-phy@...08000 {
status = "okay";
};
- mmc@...00000 {
+ sdmmc1: mmc@...00000 {
status = "okay";
cd-gpios = <&gpio TEGRA_GPIO(V, 5) GPIO_ACTIVE_LOW>;
wp-gpios = <&gpio TEGRA_GPIO(H, 1) GPIO_ACTIVE_HIGH>;
@@ -566,7 +568,7 @@ mmc@...00000 {
bus-width = <4>;
};
- mmc@...00600 {
+ sdmmc4: mmc@...00600 {
status = "okay";
bus-width = <8>;
non-removable;
--
2.34.1
Powered by blists - more mailing lists