[PATCH 0/3] rockchip: Add support for onboard eMMC on Radxa E20C
From: Jonas Karlman
Date: Wed Mar 05 2025 - 16:43:50 EST
The Radxa E20C may come with an onboard eMMC (8GB / 16GB / 32GB / 64GB).
This series add dt-binding and SoC DT node for the SDHCI controller
and enable use of the SDCHI controller on the Radxa E20C.
This series add support for the onboard eMMC on Radxa E20C.
Driver changes to use different delay and tap num is needed to be able
to support HS400 modes, something for a future series. With this HS200
mode should work:
mmc0: SDHCI controller on ffbf0000.mmc [ffbf0000.mmc] using ADMA
mmc0: new HS200 MMC card at address 0001
mmcblk0: mmc0:0001 TLi16G 14.7 GiB
mmcblk0: p1 p2 p3
mmcblk0boot0: mmc0:0001 TLi16G 4.00 MiB
mmcblk0boot1: mmc0:0001 TLi16G 4.00 MiB
mmcblk0rpmb: mmc0:0001 TLi16G 4.00 MiB, chardev (499:0)
~ # cat /sys/kernel/debug/mmc0/ios
clock: 200000000 Hz
actual clock: 198000000 Hz
vdd: 21 (3.3 ~ 3.4V)
bus mode: 2 (push-pull)
chip select: 0 (don't care)
power mode: 2 (on)
bus width: 3 (8bits)
timing spec: 9 (mmc HS200)
signal voltage: 1 (1.80 V)
driver type: 0 (driver type B)
~ # hdparm -t /dev/mmcblk0p1
/dev/mmcblk0p1:
Timing buffered disk reads: 64 MB in 0.37 seconds = 173154 kB/s
This series depends on v2 of the "Support SD/SDIO controllers on RK3528"
series for a clean apply.
Jonas Karlman (3):
dt-bindings: mmc: sdhci-of-dwcmhsc: Add compatible string for RK3528
arm64: dts: rockchip: Add SDHCI controller for RK3528
arm64: dts: rockchip: Enable onboard eMMC on Radxa E20C
.../bindings/mmc/snps,dwcmshc-sdhci.yaml | 4 +++-
.../boot/dts/rockchip/rk3528-radxa-e20c.dts | 12 ++++++++++
arch/arm64/boot/dts/rockchip/rk3528.dtsi | 24 +++++++++++++++++++
3 files changed, 39 insertions(+), 1 deletion(-)
--
2.48.1