Skip to content
Snippets Groups Projects

Update from unstable

Merged Denis Pynkin requested to merge wip/d4s/update-from-bullseye into apertis/v2021dev3
All threads resolved!
3 files
+ 67
0
Compare changes
  • Side-by-side
  • Inline
Files
3
From: Denis Pynkin <denis.pynkin@collabora.com>
Date: Mon, 15 Jun 2020 19:18:00 +0300
Subject: rockchip: rockpro64: limit the max frequency of MMC
With the default frequency a lot of SD-cards works incorrectly:
problems with MMC detection and incorrect read of large files (like
kernel/initramfs). Hence limit the maximal frequency by 25MHz to avoid
read problems on slow cards.
Kudos to Vasily Khoruzhick for advice.
Signed-off-by: Denis Pynkin <denis.pynkin@collabora.com>
---
arch/arm/dts/rk3399-rockpro64.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/dts/rk3399-rockpro64.dts b/arch/arm/dts/rk3399-rockpro64.dts
index e544deb..60eae20 100644
--- a/arch/arm/dts/rk3399-rockpro64.dts
+++ b/arch/arm/dts/rk3399-rockpro64.dts
@@ -627,7 +627,7 @@
cap-sd-highspeed;
cd-gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
disable-wp;
- max-frequency = <150000000>;
+ max-frequency = <25000000>;
pinctrl-names = "default";
pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_bus4>;
status = "okay";
Loading