]> git.sur5r.net Git - u-boot/commitdiff
rockchip: firefly-rk3399: dts: enable sdmmc device
authorKever Yang <kever.yang@rock-chips.com>
Wed, 14 Jun 2017 08:31:47 +0000 (16:31 +0800)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tue, 11 Jul 2017 10:13:47 +0000 (12:13 +0200)
Enable sdmmc device and add the spl boot device sequence.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
arch/arm/dts/rk3399-firefly.dts

index edf48fbdd4b9011dac203420417de7a7f27a4fc1..91d3193c8556a0bb11c78734da3250db7d616925 100644 (file)
@@ -16,6 +16,7 @@
 
        chosen {
                stdout-path = &uart2;
+               u-boot,spl-boot-order = &sdhci, &sdmmc;
        };
 
        backlight: backlight {
        status = "okay";
 };
 
+&sdmmc {
+       u-boot,dm-pre-reloc;
+       bus-width = <4>;
+       status = "okay";
+};
+
 &sdhci {
        bus-width = <8>;
        keep-power-in-suspend;