armbian-build/patch/kernel/archive/rockchip64-5.14/board-nanopi-m4v2-dts-fix-stability-issues.patch
Igor Pečovnik 744ea89a58
Bumping EDGE kernel to 5.14.y (#3125)
* Bumping EDGE kernel to 5.14.y

Meson64:
- removing Odroid reboot shutdown patch since its probably not needed anymore

Rockchip64:
- removing Rockpi S. No interest to maintain this any further
- removing PBP suspend. Doesn’t align. Need inspection if some other way was mainstreamed
- temporally removing Orangepi R1

* Re-adding rockpis, pbp suspend, HFLPS170 wifi and cleanup

* Removing deprecated patch, fixing ap6256 wifi

* Re-enable Opi R1 plus, untest

* Add and fix Radxa Zero
2021-09-08 17:51:34 +02:00

30 lines
886 B
Diff

By default rk808's buck regulators switch voltage in multiple 100mV jumps.
This seems to be too much for NanoPi M4V2 and makes it unstable.
Shortening the steps to 50mV (4 multiple of base buck step which is 12.5mV)
makes the NanoPi M4V2 stable.
Tested with multiple hours of running memtester without a single failure.
Signed-off-by: Piotr Szczepanik <piter75@gmail.com>
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-nanopi-m4v2.dts b/arch/arm64/boot/dts/rockchip/rk3399-nanopi-m4v2.dts
index 2dcaf497c..094440ce3 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-nanopi-m4v2.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3399-nanopi-m4v2.dts
@@ -64,6 +64,10 @@ &gmac {
rx_delay = <0x16>;
};
+&rk808 {
+ max-buck-steps-per-change = <4>;
+};
+
&vcc3v3_sys {
vin-supply = <&vcc5v0_core>;
};
@@ -80,3 +84,4 @@ &vbus_typec {
regulator-always-on;
vin-supply = <&vdd_5v>;
};
+