mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-02-15 04:42:02 +00:00
Update rockchip 5.15 patches
This commit is contained in:
parent
07d07219be
commit
91f1fe8b5a
2 changed files with 32 additions and 11 deletions
|
@ -10,19 +10,14 @@ register to match the blink behavior of the other port on the device.
|
||||||
Signed-off-by: David Bauer <mail@david-bauer.net>
|
Signed-off-by: David Bauer <mail@david-bauer.net>
|
||||||
---
|
---
|
||||||
arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s.dts | 7 +++++++
|
arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s.dts | 7 +++++++
|
||||||
1 file changed, 7 insertions(+)
|
1 file changed, 1 insertions(+)
|
||||||
|
|
||||||
--- a/arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s.dts
|
--- a/arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s.dts
|
||||||
+++ b/arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s.dts
|
+++ b/arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s.dts
|
||||||
@@ -403,4 +403,11 @@
|
@@ -404,6 +404,7 @@
|
||||||
&usbdrd_dwc3 {
|
rtl8153: device@2 {
|
||||||
dr_mode = "host";
|
compatible = "usbbda,8153";
|
||||||
status = "okay";
|
reg = <2>;
|
||||||
+
|
|
||||||
+ usb-eth@2 {
|
|
||||||
+ compatible = "realtek,rtl8153";
|
|
||||||
+ reg = <2>;
|
|
||||||
+
|
|
||||||
+ realtek,led-data = <0x87>;
|
+ realtek,led-data = <0x87>;
|
||||||
+ };
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -0,0 +1,26 @@
|
||||||
|
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>;
|
||||||
|
};
|
Loading…
Reference in a new issue