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

align with other Radxa products.

- mmc0 is eMMC
- mmc1 is microSD

for ZERO 3E, there is no eMMC, but aliases should start at 0, so mmc0
is microSD as exception.

Fixes: 1a5c8d307c ("arm64: dts: rockchip: Add Radxa ZERO 3W/3E")
Signed-off-by: FUKAUMI Naoki <naoki@radxa.com>

Changes in v3:
- fix syntax error in rk3566-radxa-zero-3e.dts
Changes in v2:
- microSD is mmc0 instead of mmc1 for ZERO 3E

Link: https://lore.kernel.org/r/20240620224435.2752-1-naoki@radxa.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
This commit is contained in:
FUKAUMI Naoki
2024-06-21 07:44:35 +09:00
committed by Heiko Stuebner
parent 7b4a8097e5
commit 060c195003
3 changed files with 3 additions and 5 deletions
@@ -6,10 +6,6 @@
#include "rk3566.dtsi"
/ {
aliases {
mmc0 = &sdmmc0;
};
chosen {
stdout-path = "serial2:1500000n8";
};
@@ -10,6 +10,7 @@
aliases {
ethernet0 = &gmac1;
mmc0 = &sdmmc0;
};
};
@@ -9,7 +9,8 @@
compatible = "radxa,zero-3w", "rockchip,rk3566";
aliases {
mmc1 = &sdhci;
mmc0 = &sdhci;
mmc1 = &sdmmc0;
mmc2 = &sdmmc1;
};