mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
42 lines
1.2 KiB
Diff
42 lines
1.2 KiB
Diff
From 08528e4e847e16505bcb03e5d16bcd5081355dc2 Mon Sep 17 00:00:00 2001
|
|
From: Shawn Lin <shawn.lin@rock-chips.com>
|
|
Date: Fri, 21 Jul 2017 16:30:59 +0800
|
|
Subject: [PATCH 2/5] arm64: dts: rockchip: enable sdmmc controller on
|
|
rk3399-firefly
|
|
|
|
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>
|
|
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
|
|
---
|
|
arch/arm64/boot/dts/rockchip/rk3399-firefly.dts | 12 ++++++++++++
|
|
1 file changed, 12 insertions(+)
|
|
|
|
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-firefly.dts b/arch/arm64/boot/dts/rockchip/rk3399-firefly.dts
|
|
index ba1d9810ad1e..e01ef8a77f5e 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>;
|
|
keep-power-in-suspend;
|
|
--
|
|
2.14.1
|
|
|