pmaports/device/testing/linux-google-nyan/0001-ARM-dts-tegra-nyan-add-mmc-aliases.patch
Anton Bambura 08096700f0
linux-google-nyan: upgrade to 6.1.27 (MR 4074)
Also, make it smaller and more modular
2023-05-16 23:18:01 +03:00

30 lines
886 B
Diff

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/tegra124-nyan.dtsi | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/boot/dts/tegra124-nyan.dtsi b/arch/arm/boot/dts/tegra124-nyan.dtsi
index 63a812703..84a97e32d 100644
--- a/arch/arm/boot/dts/tegra124-nyan.dtsi
+++ b/arch/arm/boot/dts/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