
Currently the enabled MMC controllers on Pine H64 do not have bus-width set, which make them fall back to 1-bit mode and become quite slow.
Fix this by add the corresponding bus-width properties.
Same commit is there in mailing-list, but yet to merge, commit fb8971bea0910a3172cd8ce75ccc01b50104ebf7 Author: Icenowy Zheng icenowy@aosc.io Date: Thu Jul 26 12:41:27 2018 +0800
arm64: allwinner: dts: h6: fix Pine H64 MMC bus width
Cc: Icenowy Zheng icenowy@aosc.io Signed-off-by: Jagan Teki jagan@amarulasolutions.com --- arch/arm/dts/sun50i-h6-pine-h64.dts | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/arch/arm/dts/sun50i-h6-pine-h64.dts b/arch/arm/dts/sun50i-h6-pine-h64.dts index ceffc40810..48daec7f78 100644 --- a/arch/arm/dts/sun50i-h6-pine-h64.dts +++ b/arch/arm/dts/sun50i-h6-pine-h64.dts @@ -46,6 +46,7 @@ pinctrl-0 = <&mmc0_pins>; vmmc-supply = <®_cldo1>; cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; + bus-width = <4>; status = "okay"; };
@@ -56,6 +57,7 @@ vqmmc-supply = <®_bldo2>; non-removable; cap-mmc-hw-reset; + bus-width = <8>; status = "okay"; };