Skip to content

Commit e82f642

Browse files
QSchulzmmind
authored andcommitted
arm64: dts: rockchip: force PMIC reset behavior to restart PMU on RK3588 Tiger
The bootloader for RK3588 Tiger currently forces the PMIC reset behavior (stored in RST_FUN bitfield in register SYS_CFG3 of the PMIC) to 0b1X which is incorrect for our devices. It is required to restart the PMU as otherwise the companion microcontroller cannot detect the PMIC (and by extension the full product and main SoC) being rebooted which is an issue as that is used to reset a few things like the PWM beeper and watchdogs. Let's add the new rockchip,reset-mode property to make sure the PMIC reset behavior is the expected one. Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de> Link: https://lore.kernel.org/r/20250627-rk8xx-rst-fun-v4-5-ce05d041b45f@cherry.de Signed-off-by: Heiko Stuebner <heiko@sntech.de>
1 parent ee90711 commit e82f642

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

arch/arm64/boot/dts/rockchip/rk3588-tiger.dtsi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#include <dt-bindings/gpio/gpio.h>
77
#include <dt-bindings/leds/common.h>
88
#include <dt-bindings/pinctrl/rockchip.h>
9+
#include "rk8xx.h"
910
#include "rk3588.dtsi"
1011

1112
/ {
@@ -440,6 +441,7 @@
440441
vcc13-supply = <&vcc_1v1_nldo_s3>;
441442
vcc14-supply = <&vcc_1v1_nldo_s3>;
442443
vcca-supply = <&vcc5v0_sys>;
444+
rockchip,reset-mode = <RK806_RESTART>;
443445

444446
rk806_dvs1_null: dvs1-null-pins {
445447
pins = "gpio_pwrctrl1";

0 commit comments

Comments
 (0)