]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: dts: rockchip: fix mmc aliases for Radxa ZERO 3E/3W
authorFUKAUMI Naoki <naoki@radxa.com>
Fri, 2 Aug 2024 22:12:20 +0000 (22:12 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 9 Aug 2024 10:35:23 +0000 (18:35 +0800)
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: 1a5c8d307c83 ("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>
[ upstream commit: 060c1950037e4c54ca4d8186a8f46269e35db901 ]

(cherry picked from commit 8324bc7493e4088013c62bc41f49d6d181575493)
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
dts/upstream/src/arm64/rockchip/rk3566-radxa-zero-3.dtsi
dts/upstream/src/arm64/rockchip/rk3566-radxa-zero-3e.dts
dts/upstream/src/arm64/rockchip/rk3566-radxa-zero-3w.dts

index 623d5939d1949c0cbdf1c270efd1f986de6fe3b2..081be841b2868cbb7df0fdf65b497053391160ec 100644 (file)
@@ -6,10 +6,6 @@
 #include "rk3566.dtsi"
 
 / {
-       aliases {
-               mmc0 = &sdmmc0;
-       };
-
        chosen {
                stdout-path = "serial2:1500000n8";
        };
index e166d66990b9c74893eda58cf280c86986477c91..4a830eb09f0b830db689ff2c6e8d2c3090b0c8a3 100644 (file)
@@ -10,6 +10,7 @@
 
        aliases {
                ethernet0 = &gmac1;
+               mmc0 = &sdmmc0;
        };
 };
 
index 9bf4f464915f1c65e83adb62873d08a60622b2a3..f92475c59deb45b9ad8fc8bb842244d86bd2653c 100644 (file)
@@ -9,7 +9,8 @@
        compatible = "radxa,zero-3w", "rockchip,rk3566";
 
        aliases {
-               mmc1 = &sdhci;
+               mmc0 = &sdhci;
+               mmc1 = &sdmmc0;
                mmc2 = &sdmmc1;
        };