arm64: dts: allwinner: a100: set maximum MMC frequency
Subsystems (2)
PATCH 1/1 arm64: dts: allwinner: a100: set maximum MMC frequency
The manual for the Allwinner A133 SoC mentions that the maximum supported MMC frequency is 150 MHz, for all of the MMC devices.
Describe that in the DT entry, to help drivers setting the right interface frequency.
---
Hi,
the Linux and FreeBSD kernels limit the MMC bus frequency to 52 MHz, unless explicitly told otherwise via this property. So this patch increases the performance of HS-200 eMMC from ~44 MB/s to 129 MB/s.
Cheers,
Andre
arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi | 3 +++ 1 file changed, 3 insertions(+)
arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi +3 -0
@@ -267,6 +267,7 @@ mmc0: mmc@4020000 { interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>; pinctrl-names = "default"; pinctrl-0 = <&mmc0_pins>; + max-frequency = <150000000>; status = "disabled"; #address-cells = <1>; #size-cells = <0>;
@@ -282,6 +283,7 @@ mmc1: mmc@4021000 { interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>; pinctrl-names = "default"; pinctrl-0 = <&mmc1_pins>; + max-frequency = <150000000>; status = "disabled"; #address-cells = <1>; #size-cells = <0>;
@@ -297,6 +299,7 @@ mmc2: mmc@4022000 { interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>; pinctrl-names = "default"; pinctrl-0 = <&mmc2_pins>; + max-frequency = <150000000>; status = "disabled"; #address-cells = <1>; #size-cells = <0>;
Signature · 1 line
2.46.3
Chen-Yu Tsai
AppliedQuoted 8 lines · Andre Przywara
The manual for the Allwinner A133 SoC mentions that the maximum supported MMC frequency is 150 MHz, for all of the MMC devices.
Describe that in the DT entry, to help drivers setting the right interface frequency.
[...]
Applied to sunxi/dt-for-6.16 in sunxi/linux.git, thanks!
[1/1] arm64: dts: allwinner: a100: set maximum MMC frequency
https://git.kernel.org/sunxi/linux/c/d8f10550448b
Best regards,
Signature · 1 line
Chen-Yu Tsai <[email protected]>