From 21d52845a515377b4f9aaa652d938d1c0027a3c1 Mon Sep 17 00:00:00 2001 From: XiaoDong Huang Date: Mon, 11 May 2020 11:59:21 +0800 Subject: [PATCH] ARM: dts: rockchip: rv1126: add rockchip-suspend node Change-Id: I948b343220030982b019f63150cddcb2971dbe36 Signed-off-by: XiaoDong Huang --- arch/arm/boot/dts/rv1126.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/rv1126.dtsi b/arch/arm/boot/dts/rv1126.dtsi index 9717a081bfee..2bf59c425679 100644 --- a/arch/arm/boot/dts/rv1126.dtsi +++ b/arch/arm/boot/dts/rv1126.dtsi @@ -11,6 +11,7 @@ #include #include #include +#include #include "rv1126-dram-default-timing.dtsi" / { @@ -209,6 +210,25 @@ ramoops: ramoops@8000000 { }; }; + rockchip_suspend: rockchip-suspend { + compatible = "rockchip,pm-rv1126"; + status = "disabled"; + rockchip,sleep-debug-en = <0>; + rockchip,sleep-mode-config = < + (0 + | RKPM_SLP_ARMOFF + | RKPM_SLP_PMU_PMUALIVE_32K + | RKPM_SLP_PMU_DIS_OSC + | RKPM_SLP_PMIC_LP + ) + >; + rockchip,wakeup-config = < + (0 + | RKPM_GPIO_WKUP_EN + ) + >; + }; + thermal_zones: thermal-zones { cpu_thermal: cpu-thermal { polling-delay-passive = <20>; /* milliseconds */