]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
rockchip: fix eMMC corruption on NanoPC-T6 with A3A444 chips 19926/head
authorGrzegorz Sterniczuk <grzegorz@sternicz.uk>
Sun, 13 Jul 2025 15:22:33 +0000 (17:22 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 1 Sep 2025 21:23:23 +0000 (23:23 +0200)
Some NanoPC-T6 boards with A3A444 eMMC chips experience I/O errors and
corruption when using HS400 mode. Downgrade to HS200 mode to ensure
stable operation.

Fixes: #18844
Signed-off-by: Grzegorz Sterniczuk <grzegorz@sternicz.uk>
Link: https://github.com/openwrt/openwrt/pull/19398
[Add patch header]
(cherry picked from commit c4586ceae85f7f8eefa08c71d0ef67bb07b5e0cc)
[Merge fixes into patch 121]
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
Link: https://github.com/openwrt/openwrt/pull/19926
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/rockchip/patches-6.6/121-arm64-dts-rockchip-lower-mmc-speed-for-nanopc-t6.patch

index 1b76fac103a7d5bb7075fe7de8b84fcfccd894d9..901fcf2bc05b793ed58777d7615210e5b9834e0e 100644 (file)
@@ -1,6 +1,16 @@
 --- a/arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dtsi
 +++ b/arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dtsi
-@@ -634,7 +634,7 @@
+@@ -621,8 +621,7 @@
+       no-sd;
+       non-removable;
+       max-frequency = <200000000>;
+-      mmc-hs400-1_8v;
+-      mmc-hs400-enhanced-strobe;
++      mmc-hs200-1_8v;
+       status = "okay";
+ };
+@@ -634,7 +633,7 @@
        disable-wp;
        no-mmc;
        no-sdio;