[U-Boot] [PATCH] arm64: dts: rockchip: Fix io power source for sdmmc0 on Firefly-RK3399

Maruyama Shohei cheat.sc.linux at outlook.com
Sun Mar 3 11:44:21 UTC 2019


From: Shohei Maruyama <cheat.sc.linux at outlook.com>

This commit fixes the following error:

  Card did not respond to voltage select!

The error occurs due to it does not describe correct io power source for
the sdmmc0.

Signed-off-by: Shohei Maruyama <cheat.sc.linux at outlook.com>
---
 arch/arm/dts/rk3399-firefly.dts | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/dts/rk3399-firefly.dts b/arch/arm/dts/rk3399-firefly.dts
index f90e7e88db1..496be656d92 100644
--- a/arch/arm/dts/rk3399-firefly.dts
+++ b/arch/arm/dts/rk3399-firefly.dts
@@ -594,6 +594,14 @@
 &sdmmc {
 	u-boot,dm-pre-reloc;
 	bus-width = <4>;
+	vqmmc-supply = <&vcc_sd>;
+	cap-mmc-highspeed;
+	cap-sd-highspeed;
+	cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>;
+	disable-wp;
+	max-frequency = <150000000>;
+	pinctrl-names = "default";
+	pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_bus4>;
 	status = "okay";
 };
 
-- 
2.21.0



More information about the U-Boot mailing list