[openwrt/openwrt] rockchip: disable UHS speed for ROC-RK3328-CC

LEDE Commits lede-commits at lists.infradead.org
Tue May 9 02:21:43 PDT 2023


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/b0e869501a6944bb91a2f2020a78df39bd4e9195

commit b0e869501a6944bb91a2f2020a78df39bd4e9195
Author: Tianling Shen <cnsztl at immortalwrt.org>
AuthorDate: Mon Apr 24 01:03:25 2023 +0800

    rockchip: disable UHS speed for ROC-RK3328-CC
    
    The previously stated speed of sdr-104 in is too high for the hardware
    to reliably communicate with some fast SD cards.
    Rockchip boards have a common bug when operating uhs speed, which will
    hang the system during a soft reboot.
    
    To be on the safe side, lower the speed to workaround.
    
    Signed-off-by: Tianling Shen <cnsztl at immortalwrt.org>
---
 .../rockchip/patches-5.15/105-nanopi-r4s-sd-signalling.patch   | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/target/linux/rockchip/patches-5.15/105-nanopi-r4s-sd-signalling.patch b/target/linux/rockchip/patches-5.15/105-nanopi-r4s-sd-signalling.patch
index a04c14b70a..856970738a 100644
--- a/target/linux/rockchip/patches-5.15/105-nanopi-r4s-sd-signalling.patch
+++ b/target/linux/rockchip/patches-5.15/105-nanopi-r4s-sd-signalling.patch
@@ -10,6 +10,16 @@ userspace or following a kernel panic is always working.
 
 Signed-off-by: David Bauer <mail at david-bauer.net>
 
+--- a/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts
++++ b/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts
+@@ -335,7 +335,6 @@
+ 	sd-uhs-sdr12;
+ 	sd-uhs-sdr25;
+ 	sd-uhs-sdr50;
+-	sd-uhs-sdr104;
+ 	vmmc-supply = <&vcc_sd>;
+ 	vqmmc-supply = <&vcc_sdio>;
+ 	status = "okay";
 --- a/arch/arm64/boot/dts/rockchip/rk3399-nanopi-r4s.dts
 +++ b/arch/arm64/boot/dts/rockchip/rk3399-nanopi-r4s.dts
 @@ -121,6 +121,11 @@




More information about the lede-commits mailing list