ARM: dts: sun8i: r40: bananapi-m2-ultra: Limit eMMC clock to 37.5 MHz
Subsystems (2)
Jernej Skrabec
maintainerPATCH 1/1 ARM: dts: sun8i: r40: bananapi-m2-ultra: Limit eMMC clock to 37.5 MHz
The Samsung eMMC on Banana Pi M2 Ultra fails with "data error, sending stop command" within a second of sustained reads in DDR52 mode at 50 MHz. At 37.5 MHz the same board survives a long read/write soak.
Limit the eMMC clock to 37.5 MHz. Also enable the hardware reset line, which is routed to the controller (PC24), so the card can be recovered after such errors.
--- arch/arm/boot/dts/allwinner/sun8i-r40-bananapi-m2-ultra.dts | 2 ++ 1 file changed, 2 insertions(+)
arch/arm/boot/dts/allwinner/sun8i-r40-bananapi-m2-ultra.dts +2 -0
@@ -195,6 +195,8 @@ &mmc2 { vmmc-supply = <®_dcdc1>; vqmmc-supply = <®_dcdc1>; bus-width = <8>; + max-frequency = <37500000>; + cap-mmc-hw-reset; non-removable; status = "okay"; };
base-commit: 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4
Signature · 1 line
2.43.0
Quoted 9 lines · Jernej Skrabec
The Samsung eMMC on Banana Pi M2 Ultra fails with "data error, sending stop command" within a second of sustained reads in DDR52 mode at 50 MHz. At 37.5 MHz the same board survives a long read/write soak.
Limit the eMMC clock to 37.5 MHz. Also enable the hardware reset line, which is routed to the controller (PC24), so the card can be recovered after such errors.
[...]
Applied to sunxi/dt-for-7.5 in sunxi, thanks!
[1/1] ARM: dts: sun8i: r40: bananapi-m2-ultra: Limit eMMC clock to 37.5 MHz
https://git.kernel.org/sunxi/linux/c/160738a3721c
Best regards,
Signature · 1 line
Chen-Yu Tsai <[email protected]>