mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 18:41:58 +09:00
arm64: dts: rockchip: add rk3576-virtual-poweroff.dtsi to support virtual-poweroff for RK3576
Change-Id: Id5cbe1e34014382128f648b9d87b3002adfe63df Signed-off-by: Alex Wang <alex.wang@rock-chips.com>
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
|
||||
#include "rk3576.dtsi"
|
||||
#include "rk3576-evb1.dtsi"
|
||||
#include "rk3576-virtual-poweroff.dtsi"
|
||||
#include "rk3576-evb1-cam-dcphy0.dtsi"
|
||||
#include "rk3576-android9.dtsi"
|
||||
|
||||
|
||||
41
arch/arm64/boot/dts/rockchip/rk3576-virtual-poweroff.dtsi
Normal file
41
arch/arm64/boot/dts/rockchip/rk3576-virtual-poweroff.dtsi
Normal file
@@ -0,0 +1,41 @@
|
||||
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
||||
/*
|
||||
* Copyright (c) 2024 Rockchip Electronics Co., Ltd.
|
||||
*
|
||||
*/
|
||||
|
||||
&vcca_1v8_s0 {
|
||||
regulator-state-mem {
|
||||
regulator-on-in-suspend;
|
||||
};
|
||||
};
|
||||
|
||||
&rk806 {
|
||||
pinctrl-1 = <&rk806_dvs1_slp>;
|
||||
};
|
||||
|
||||
&rockchip_suspend {
|
||||
status = "okay";
|
||||
rockchip,sleep-debug-en = <1>;
|
||||
rockchip,virtual-poweroff = <1>;
|
||||
rockchip,virtual-poweroff-irqs = <132>;
|
||||
|
||||
rockchip,sleep-mode-config = <
|
||||
(0
|
||||
| RKPM_SLP_ARMOFF_LOGOFF
|
||||
)
|
||||
>;
|
||||
rockchip,wakeup-config = <
|
||||
(0
|
||||
| RKPM_GPIO_WKUP_EN
|
||||
| RKPM_PWM_WKUP_EN
|
||||
)
|
||||
>;
|
||||
rockchip,sleep-io-ret-config = <
|
||||
(0
|
||||
| RKPM_VCCIO3_RET_EN
|
||||
)
|
||||
>;
|
||||
|
||||
rockchip,regulator-on-before-mem = <&vdd_npu_s0>;
|
||||
};
|
||||
Reference in New Issue
Block a user