[U-Boot] [PATCH v2 2/2] WIP: Test patch for dtoc

Simon Glass sjg at chromium.org
Wed Jun 14 03:10:07 UTC 2017


This patch is just for testing.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

Changes in v2: None

 arch/arm/dts/rk3399.dtsi         | 5 ++++-
 configs/firefly-rk3399_defconfig | 1 +
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/arch/arm/dts/rk3399.dtsi b/arch/arm/dts/rk3399.dtsi
index 7f1fc50f38..2ee4bd6872 100644
--- a/arch/arm/dts/rk3399.dtsi
+++ b/arch/arm/dts/rk3399.dtsi
@@ -260,6 +260,7 @@
 	};
 
 	sdmmc: dwmmc at fe320000 {
+		u-boot,dm-pre-reloc;
 		compatible = "rockchip,rk3399-dw-mshc",
 			     "rockchip,rk3288-dw-mshc";
 		reg = <0x0 0xfe320000 0x0 0x4000>;
@@ -272,7 +273,9 @@
 		power-domains = <&power RK3399_PD_SD>;
 		resets = <&cru SRST_SDMMC>;
 		reset-names = "reset";
-		status = "disabled";
+		status = "okay";
+                bus-width = <8>;
+                clock-freq-min-max = <0 0>;
 	};
 
 	sdhci: sdhci at fe330000 {
diff --git a/configs/firefly-rk3399_defconfig b/configs/firefly-rk3399_defconfig
index 0a4d005975..d6fae3a02d 100644
--- a/configs/firefly-rk3399_defconfig
+++ b/configs/firefly-rk3399_defconfig
@@ -63,3 +63,4 @@ CONFIG_USB_EHCI_GENERIC=y
 CONFIG_USB_STORAGE=y
 CONFIG_USE_TINY_PRINTF=y
 CONFIG_ERRNO_STR=y
+CONFIG_MMC_DW_ROCKCHIP=y
-- 
2.13.1.508.gb3defc5cc-goog



More information about the U-Boot mailing list