ath25: switch default kernel to 5.15
[openwrt/openwrt.git] / target / linux / rockchip / patches-5.10 / 105-nanopi-r4s-sd-signalling.patch
1 From: David Bauer <mail@david-bauer.net>
2 Subject: arm64: dts: rockchip: disable UHS modes for NanoPi R4S
3
4 The NanoPi R4S leaves the SD card in 1.8V signalling when rebooting
5 while U-Boot requires the card to be in 3.3V mode.
6
7 Remove UHS support from the SD controller so the card remains in 3.3V
8 mode. This reduces transfer speeds but ensures a reboot whether from
9 userspace or following a kernel panic is always working.
10
11 Signed-off-by: David Bauer <mail@david-bauer.net>
12
13 --- a/arch/arm64/boot/dts/rockchip/rk3399-nanopi-r4s.dts
14 +++ b/arch/arm64/boot/dts/rockchip/rk3399-nanopi-r4s.dts
15 @@ -121,6 +121,11 @@
16 status = "disabled";
17 };
18
19 +&sdmmc {
20 + /delete-property/ sd-uhs-sdr104;
21 + cap-sd-highspeed;
22 +};
23 +
24 &u2phy0_host {
25 phy-supply = <&vdd_5v>;
26 };