pmaports/device/testing/linux-google-nyan/0001-ARM-dts-tegra-nyan-add-mmc-aliases.patch

31 lines
921 B
Diff
Raw Normal View History

From ef83570613d2ab81e0b9fd39067bfa1ec000add7 Mon Sep 17 00:00:00 2001
From: Anton Bambura <jenneron@protonmail.com>
Date: Sat, 18 Jun 2022 17:44:06 +0300
Subject: [PATCH] ARM: dts: tegra: nyan: add mmc aliases
Add aliases for eMMC, SD card and WiFi, so nubmers will not be
changed anymore.
Signed-off-by: Anton Bambura <jenneron@protonmail.com>
---
arch/arm/boot/dts/nvidia/tegra124-nyan.dtsi | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/boot/dts/nvidia/tegra124-nyan.dtsi b/arch/arm/boot/dts/nvidia/tegra124-nyan.dtsi
index 63a812703..84a97e32d 100644
--- a/arch/arm/boot/dts/nvidia/tegra124-nyan.dtsi
+++ b/arch/arm/boot/dts/nvidia/tegra124-nyan.dtsi
@@ -4,6 +4,9 @@
/ {
aliases {
+ mmc0 = "/mmc@700b0600"; /* eMMC */
+ mmc1 = "/mmc@700b0400"; /* SD */
+ mmc2 = "/mmc@700b0000"; /* WiFi/BT */
rtc0 = "/i2c@7000d000/pmic@40";
rtc1 = "/rtc@7000e000";
serial0 = &uarta;
--
2.36.1