]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: rk356x-generic: Fix eMMC and SD-card pinctrl
authorJonas Karlman <jonas@kwiboo.se>
Mon, 22 Apr 2024 06:29:00 +0000 (06:29 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 26 Apr 2024 07:47:05 +0000 (15:47 +0800)
Add missing emmc_datastrobe and sdmmc0_det pinctrl to fix possible issue
reading from eMMC or SD-card. Also use correct node for mmc1 alias.

Fixes: 683f61a13f16 ("rockchip: board: Add minimal generic RK3566/RK3568 board")
Fixes: 363cbd578169 ("rockchip: rk3568-generic: Enable eMMC HS200 mode")
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/dts/rk3568-generic.dts

index 88eb1bfd2aab4f89b1caa5283fa944739a553835..3b9bf80520465e202ec6c1c4245ce94d04c49491 100644 (file)
@@ -12,7 +12,7 @@
 
        aliases {
                mmc0 = &sdhci;
-               mmc1 = &sdmmc;
+               mmc1 = &sdmmc0;
        };
 
        chosen {
@@ -28,7 +28,7 @@
        no-sdio;
        non-removable;
        pinctrl-names = "default";
-       pinctrl-0 = <&emmc_bus8 &emmc_clk &emmc_cmd>;
+       pinctrl-0 = <&emmc_bus8 &emmc_clk &emmc_cmd &emmc_datastrobe>;
        status = "okay";
 };
 
@@ -39,7 +39,7 @@
        no-mmc;
        no-sdio;
        pinctrl-names = "default";
-       pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd>;
+       pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd &sdmmc0_det>;
        status = "okay";
 };