mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 17:18:59 +00:00
acbe1d4d36
Add kernel 5.15 as testing kernel for the rockchip-armv8 target. Signed-off-by: Juergen Wurzer <wurzer.juergen@gmail.com> [squash commits, update commit message] Signed-off-by: David Bauer <mail@david-bauer.net>
27 lines
755 B
Diff
27 lines
755 B
Diff
From: David Bauer <mail@david-bauer.net>
|
|
Subject: arm64: dts: rockchip: disable UHS modes for NanoPi R4S
|
|
|
|
The NanoPi R4S leaves the SD card in 1.8V signalling when rebooting
|
|
while U-Boot requires the card to be in 3.3V mode.
|
|
|
|
Remove UHS support from the SD controller so the card remains in 3.3V
|
|
mode. This reduces transfer speeds but ensures a reboot whether from
|
|
userspace or following a kernel panic is always working.
|
|
|
|
Signed-off-by: David Bauer <mail@david-bauer.net>
|
|
|
|
--- a/arch/arm64/boot/dts/rockchip/rk3399-nanopi-r4s.dts
|
|
+++ b/arch/arm64/boot/dts/rockchip/rk3399-nanopi-r4s.dts
|
|
@@ -121,6 +121,11 @@
|
|
status = "disabled";
|
|
};
|
|
|
|
+&sdmmc {
|
|
+ /delete-property/ sd-uhs-sdr104;
|
|
+ cap-sd-highspeed;
|
|
+};
|
|
+
|
|
&u2phy0_host {
|
|
phy-supply = <&vdd_5v>;
|
|
};
|