ARM: dts: rockchip: Add mmc aliases for rk3288-veyron devices
From: Heiko Stuebner <heiko@...> Date: Mon, 6 Mar 2023 12:05:58 +0100
Commit-Message
All of them have an internal emmc that becomes mmc0 and devices including the sdmmc snippet get mmc1 for the external sd slot on suitable devices. Signed-off-by: Heiko Stuebner <heiko@...>
Patch-Comment
arch/arm/boot/dts/rk3288-veyron-sdmmc.dtsi | 6 ++++++ arch/arm/boot/dts/rk3288-veyron.dtsi | 4 ++++ 2 files changed, 10 insertions(+)
Statistics
- 10 lines added
- 0 lines removed
Changes
------------------ arch/arm/boot/dts/rk3288-veyron-sdmmc.dtsi ------------------
index 27fb06ce907e..8b58773e592e 100644
@@ -5,6 +5,12 @@
* Copyright 2015 Google, Inc
*/
+/ {
+ aliases {
+ mmc1 = &sdmmc;
+ };
+};
+
&io_domains {
sdcard-supply = <&vccio_sd>;
};
--------------------- arch/arm/boot/dts/rk3288-veyron.dtsi ---------------------
index e406c8c7c7e5..d838bf0d5d9a 100644
@@ -10,6 +10,10 @@
#include "rk3288.dtsi"
/ {
+ aliases {
+ mmc0 = &emmc;
+ };
+
chosen {
stdout-path = "serial2:115200n8";
};