[PATCH] arm64: dts: rockchip: fix mmc aliases for Radxa ZERO 3E/3W

FUKAUMI Naoki naoki at radxa.com
Wed Jun 19 16:27:34 PDT 2024


align with other Radxa products.

- mmc0 is eMMC
- mmc1 is microSD

Fixes: 1a5c8d307c83 ("arm64: dts: rockchip: Add Radxa ZERO 3W/3E")
Signed-off-by: FUKAUMI Naoki <naoki at radxa.com>
---
 arch/arm64/boot/dts/rockchip/rk3566-radxa-zero-3.dtsi | 2 +-
 arch/arm64/boot/dts/rockchip/rk3566-radxa-zero-3w.dts | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/rockchip/rk3566-radxa-zero-3.dtsi b/arch/arm64/boot/dts/rockchip/rk3566-radxa-zero-3.dtsi
index 623d5939d194..85d76d535338 100644
--- a/arch/arm64/boot/dts/rockchip/rk3566-radxa-zero-3.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3566-radxa-zero-3.dtsi
@@ -7,7 +7,7 @@
 
 / {
 	aliases {
-		mmc0 = &sdmmc0;
+		mmc1 = &sdmmc0;
 	};
 
 	chosen {
diff --git a/arch/arm64/boot/dts/rockchip/rk3566-radxa-zero-3w.dts b/arch/arm64/boot/dts/rockchip/rk3566-radxa-zero-3w.dts
index 9bf4f464915f..188147c4b78b 100644
--- a/arch/arm64/boot/dts/rockchip/rk3566-radxa-zero-3w.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3566-radxa-zero-3w.dts
@@ -9,7 +9,7 @@ / {
 	compatible = "radxa,zero-3w", "rockchip,rk3566";
 
 	aliases {
-		mmc1 = &sdhci;
+		mmc0 = &sdhci;
 		mmc2 = &sdmmc1;
 	};
 
-- 
2.43.0




More information about the Linux-rockchip mailing list