瀏覽代碼

arm64: allwinner: dts: h6: fix Pine H64 MMC bus width

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.

Fixes: ecbd611882a1 ("arm64: allwinner: h6: enable MMC0/2 on Pine H64")
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Icenowy Zheng 7 年之前
父節點
當前提交
d177c8b61d
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts

+ 2 - 0
arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts

@@ -46,6 +46,7 @@
 	pinctrl-0 = <&mmc0_pins>;
 	pinctrl-0 = <&mmc0_pins>;
 	vmmc-supply = <&reg_cldo1>;
 	vmmc-supply = <&reg_cldo1>;
 	cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>;
 	cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>;
+	bus-width = <4>;
 	status = "okay";
 	status = "okay";
 };
 };
 
 
@@ -56,6 +57,7 @@
 	vqmmc-supply = <&reg_bldo2>;
 	vqmmc-supply = <&reg_bldo2>;
 	non-removable;
 	non-removable;
 	cap-mmc-hw-reset;
 	cap-mmc-hw-reset;
+	bus-width = <8>;
 	status = "okay";
 	status = "okay";
 };
 };