diff mbox

arm64: dts: rockchip: enable sdmmc controller on rk3399-firefly

Message ID 1500625859-208199-1-git-send-email-shawn.lin@rock-chips.com (mailing list archive)
State New, archived
Headers show

Commit Message

Shawn Lin July 21, 2017, 8:30 a.m. UTC
This allows basic support for SD highspeed cards but no UHS-I mode
got ready due to the propagated defer-probe error from RK805.

Cc: Kever Yang <kever.yang@rock-chips.com>
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
---

 arch/arm64/boot/dts/rockchip/rk3399-firefly.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)

Comments

Heiko Stübner July 25, 2017, 7:50 p.m. UTC | #1
Am Freitag, 21. Juli 2017, 16:30:59 CEST schrieb Shawn Lin:
> This allows basic support for SD highspeed cards but no UHS-I mode
> got ready due to the propagated defer-probe error from RK805.
> 
> Cc: Kever Yang <kever.yang@rock-chips.com>
> Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>

applied for 4.14


Thanks
Heiko
diff mbox

Patch

diff --git a/arch/arm64/boot/dts/rockchip/rk3399-firefly.dts b/arch/arm64/boot/dts/rockchip/rk3399-firefly.dts
index 2821671..b118833 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-firefly.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3399-firefly.dts
@@ -630,6 +630,18 @@ 
 	status = "okay";
 };
 
+&sdmmc {
+	bus-width = <4>;
+	cap-mmc-highspeed;
+	cap-sd-highspeed;
+	cd-gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
+	disable-wp;
+	max-frequency = <150000000>;
+	pinctrl-names = "default";
+	pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_bus4>;
+	status = "okay";
+};
+
 &sdhci {
 	bus-width = <8>;
 	mmc-hs400-1_8v;