[U-Boot] [PATCH 5/7] rockchip: firefly-rk3399: dts: enable sdmmc device

Kever Yang kever.yang at rock-chips.com
Wed Jun 14 08:31:47 UTC 2017


Enable sdmmc device and add the spl boot device sequence.

Signed-off-by: Kever Yang <kever.yang at rock-chips.com>
---

 arch/arm/dts/rk3399-firefly.dts | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm/dts/rk3399-firefly.dts b/arch/arm/dts/rk3399-firefly.dts
index edf48fb..91d3193 100644
--- a/arch/arm/dts/rk3399-firefly.dts
+++ b/arch/arm/dts/rk3399-firefly.dts
@@ -16,6 +16,7 @@
 
 	chosen {
 		stdout-path = &uart2;
+		u-boot,spl-boot-order = &sdhci, &sdmmc;
 	};
 
 	backlight: backlight {
@@ -590,6 +591,12 @@
 	status = "okay";
 };
 
+&sdmmc {
+	u-boot,dm-pre-reloc;
+	bus-width = <4>;
+	status = "okay";
+};
+
 &sdhci {
 	bus-width = <8>;
 	keep-power-in-suspend;
-- 
1.9.1



More information about the U-Boot mailing list