mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-02-01 11:53:16 +01:00
ramips: mt762{0,8}: reduce default MMC clock to 24 MHz
The upstream mtk-sd driver did not perform specific timing
optimization for MT762x series SoC, hence the SDHC peripheral
of some boards cannot run at too high frequency. Reduce the
maximum clock frequency to fix the mmc read/write error.
Closes: https://github.com/openwrt/openwrt/issues/17364
Signed-off-by: Shiji Yang <yangshiji66@qq.com>
Link: https://github.com/openwrt/openwrt/pull/17375
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit de0c143742)
This commit is contained in:
parent
fe8812ab96
commit
cc733e7e2a
3 changed files with 2 additions and 6 deletions
|
|
@ -540,7 +540,7 @@
|
|||
interrupt-parent = <&intc>;
|
||||
interrupts = <14>;
|
||||
|
||||
max-frequency = <48000000>;
|
||||
max-frequency = <24000000>;
|
||||
|
||||
pinctrl-names = "default", "state_uhs";
|
||||
pinctrl-0 = <&sdhci_pins>;
|
||||
|
|
|
|||
|
|
@ -108,10 +108,6 @@
|
|||
};
|
||||
};
|
||||
|
||||
&sdhci {
|
||||
max-frequency = <24000000>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
pinctrl-names = "default", "pa_gpio";
|
||||
pinctrl-0 = <&pa_pins>;
|
||||
|
|
|
|||
|
|
@ -394,7 +394,7 @@
|
|||
interrupt-parent = <&intc>;
|
||||
interrupts = <14>;
|
||||
|
||||
max-frequency = <48000000>;
|
||||
max-frequency = <24000000>;
|
||||
|
||||
pinctrl-names = "default", "state_uhs";
|
||||
pinctrl-0 = <&sdxc_pins>;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue