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

33 lines
1 KiB
Diff
Raw Normal View History

2017-07-21 04:06:40 +00:00
From 1e15329db4b750d9e1aefc01d5ecb24b70458ac6 Mon Sep 17 00:00:00 2001
2016-11-13 01:53:28 +00:00
From: Kevin Mihelich <kevin@archlinuxarm.org>
Date: Sat, 5 Nov 2016 15:28:36 -0600
2017-07-21 04:06:40 +00:00
Subject: [PATCH 08/13] 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
2017-05-28 02:29:07 +00:00
index d64da67ef24d..b6e1835307e8 100644
2016-11-13 01:53:28 +00:00
--- a/arch/arm64/boot/dts/mediatek/mt8173-oak.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8173-oak.dtsi
2017-05-28 02:29:07 +00:00
@@ -420,10 +420,10 @@
2016-11-13 01:53:28 +00:00
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>;
--
2017-07-21 04:06:40 +00:00
2.13.3
2016-11-13 01:53:28 +00:00