]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: rockchip: rk3568: Enable sdhci and sdmmc0 node
authorNico Cheng <nico.cheng@rock-chips.com>
Tue, 26 Oct 2021 02:42:20 +0000 (10:42 +0800)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 24 Dec 2021 03:10:24 +0000 (11:10 +0800)
Enable sdhci and sdmmc0 node in rk3568-u-boot.dtsi

Signed-off-by: Nico Cheng <nico.cheng@rock-chips.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/dts/rk3568-u-boot.dtsi

index 1570f13fc77630a0bce25f25d2ce0ae9ab73e720..5a80dda275b209971dc77f90b9a11363a78c1ca3 100644 (file)
@@ -9,6 +9,10 @@
                mmc1 = &sdmmc0;
        };
 
+       chosen {
+               u-boot,spl-boot-order = &sdhci, &sdmmc0;
+       };
+
        dmc: dmc {
                compatible = "rockchip,rk3568-dmc";
                u-boot,dm-pre-reloc;
        u-boot,dm-pre-reloc;
        status = "okay";
 };
+
+&sdmmc0 {
+       u-boot,dm-spl;
+       status = "okay";
+};
+
+&sdhci {
+       bus-width = <8>;
+       u-boot,dm-spl;
+       mmc-hs200-1_8v;
+       status = "okay";
+};
+