Skip to contentSkip to conversation

ARM: dts: rockchip: Add mmc aliases for rk3288-veyron devices

PATCH Applied Heiko Stuebner 2 participants 3 messages Mar 7, 2023 – Mar 15, 2023

Subsystems (2)
lore
Share & tools
lore

Heiko Stuebner

author maintainer
#0 lore raw

PATCH 1/1 ARM: dts: rockchip: Add mmc aliases for rk3288-veyron devices

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.

---
 arch/arm/boot/dts/rk3288-veyron-sdmmc.dtsi | 6 ++++++
 arch/arm/boot/dts/rk3288-veyron.dtsi       | 4 ++++
 2 files changed, 10 insertions(+)
arch/arm/boot/dts/rk3288-veyron-sdmmc.dtsi +6 -0
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 +4 -0
index e406c8c7c7e5..d838bf0d5d9a 100644
@@ -10,6 +10,10 @@
 #include "rk3288.dtsi"
 
 / {
+	aliases {
+		mmc0 = &emmc;
+	};
+
 	chosen {
 		stdout-path = "serial2:115200n8";
 	};
Signature · 1 line
2.39.0
Reviewed-by on v1 1/1
#1 lore raw

Hi,

Quoted 10 lines · Heiko Stuebner

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.

---
 arch/arm/boot/dts/rk3288-veyron-sdmmc.dtsi | 6 ++++++
 arch/arm/boot/dts/rk3288-veyron.dtsi       | 4 ++++
 2 files changed, 10 insertions(+)

_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip

author maintainer Applied
#2 lore raw
In reply to Heiko Stuebner
Quoted 5 lines · Heiko Stuebner

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.

Applied, thanks!

[1/1] ARM: dts: rockchip: Add mmc aliases for rk3288-veyron devices

      commit: 56af59fc0be3fda8d8a32ed996dfb84758d4f431

Best regards,

Signature · 1 line
Heiko Stuebner <[email protected]>