PKGBUILDs/core/linux-oak/0009-Downgrade-mmc1-speed.patch

33 lines
1 KiB
Diff
Raw Normal View History

2016-11-13 01:53:28 +00:00
From d5962d619b422fe4b511ad2779a5ccf152052ace Mon Sep 17 00:00:00 2001
From: Kevin Mihelich <kevin@archlinuxarm.org>
Date: Sat, 5 Nov 2016 15:28:36 -0600
2016-12-09 02:42:05 +00:00
Subject: [PATCH 09/10] Downgrade mmc1 speed
2016-11-13 01:53:28 +00:00
200MHz causes errors reading the card and filesystem corruption.
Signed-off-by: Kevin Mihelich <kevin@archlinuxarm.org>
---
arch/arm64/boot/dts/mediatek/mt8173-oak.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/mediatek/mt8173-oak.dtsi b/arch/arm64/boot/dts/mediatek/mt8173-oak.dtsi
index 476ea16..c79cdbf 100644
--- a/arch/arm64/boot/dts/mediatek/mt8173-oak.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8173-oak.dtsi
@@ -418,10 +418,10 @@
pinctrl-0 = <&mmc1_pins_default>;
pinctrl-1 = <&mmc1_pins_uhs>;
bus-width = <4>;
- max-frequency = <200000000>;
+ max-frequency = <100000000>;
cap-sd-highspeed;
+ sd-uhs-sdr25;
sd-uhs-sdr50;
- sd-uhs-sdr104;
cd-gpios = <&pio 1 GPIO_ACTIVE_HIGH>;
wp-gpios = <&pio 42 GPIO_ACTIVE_HIGH>;
vmmc-supply = <&mt6397_vmch_reg>;
--
2.10.2