diff mbox

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

Message ID 1497429109-11885-6-git-send-email-kever.yang@rock-chips.com
State Accepted
Commit 522cd5807763eeb0f995814920c06223d272d3cb
Delegated to: Philipp Tomsich
Headers show

Commit Message

Kever Yang June 14, 2017, 8:31 a.m. UTC
Enable sdmmc device and add the spl boot device sequence.

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

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

Comments

Simon Glass June 17, 2017, 3:42 a.m. UTC | #1
On 14 June 2017 at 02:31, Kever Yang <kever.yang@rock-chips.com> wrote:
> Enable sdmmc device and add the spl boot device sequence.
>
> Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
> ---
>
>  arch/arm/dts/rk3399-firefly.dts | 7 +++++++
>  1 file changed, 7 insertions(+)

Reviewed-by: Simon Glass <sjg@chromium.org>
Philipp Tomsich June 25, 2017, 11:14 p.m. UTC | #2
> 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>
> ---
> 
>  arch/arm/dts/rk3399-firefly.dts | 7 +++++++
>  1 file changed, 7 insertions(+)
> 

Applied to u-boot-rockchip/next, thanks!
diff mbox

Patch

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;