arm: dts: rockchip: Fix eMMC write on RK3528
authorJonas Karlman <jonas@kwiboo.se>
Fri, 13 Jun 2025 22:43:40 +0000 (22:43 +0000)
committerTom Rini <trini@konsulko.com>
Sun, 15 Jun 2025 16:30:41 +0000 (10:30 -0600)
commitf8cb3fde935ed003ad1d7cf6a06d59586fe65cd5
tree16b945cda7ed24286e028665acba7acc17898e48
parent3507e6208f3df1fc1dedb8fce1e8b71c33b3b804
arm: dts: rockchip: Fix eMMC write on RK3528

Writing to eMMC on RK3528 is affected with the same or a similar issue
as on RK3588, where eMMC must init to HS200 at least once to fully work.

Trying to write u-boot-rockchip.bin to eMMC fails with:

  => mmc write $fileaddr 40 5000
  MMC write: dev # 0, block # 64, count 20480 ... mmc write failed
  0 blocks written: ERROR

For U-Boot to enable HS200 mode the mmc-hs200-1_8v prop must be defined
in the device tree. Linux does not seem to be affected and is able to
detect and use HS200 without this prop.

Enable use of HS200 and fix eMMC write on RK3528 by adding the missing
mmc-hs200-1_8v prop for affected boards:

  => mmc write $fileaddr 40 5000
  MMC write: dev # 0, block # 64, count 20480 ... 20480 blocks written: OK

Fixes: b112a44531cb ("board: rockchip: Add minimal generic RK3528 board")
Fixes: ccbddf645310 ("board: rockchip: Add Radxa E20C")
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
arch/arm/dts/rk3528-generic.dts
arch/arm/dts/rk3528-radxa-e20c-u-boot.dtsi