[PATCH] ARM: dts: rockchip: Set sdmmc frequency at boot time

Paweł Jarosz paweljarosz3691 at gmail.com
Fri Nov 4 11:07:31 PDT 2016


Currently driver leaves sdmmc frequency at its default. So lets set this
to 50MHz.
This gives us performance boost in mmc transfers.

Signed-off-by: Paweł Jarosz <paweljarosz3691 at gmail.com>
---
 arch/arm/boot/dts/rk3066a.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/rk3066a.dtsi b/arch/arm/boot/dts/rk3066a.dtsi
index f3a5109..fc8dcc7 100644
--- a/arch/arm/boot/dts/rk3066a.dtsi
+++ b/arch/arm/boot/dts/rk3066a.dtsi
@@ -636,6 +636,8 @@
 };
 
 &mmc0 {
+	clock-frequency = <50000000>;
+	max-frequency = <50000000>;
 	pinctrl-names = "default";
 	pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_cd &sd0_bus4>;
 };
-- 
2.7.4




More information about the Linux-rockchip mailing list