From: Shengfei xu Date: Tue, 17 Jan 2017 07:15:03 +0000 (+0800) Subject: arm64: dts: rockchip: add rockchip-suspend node for rk3399 X-Git-Tag: firefly_0821_release~679 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5aeb4ebab7e89d24a0f9d050e6a11c69e1c4cd32;p=firefly-linux-kernel-4.4.55.git arm64: dts: rockchip: add rockchip-suspend node for rk3399 Change-Id: I6af1f487f40c0775102d3b9951617c5d03b884ef Signed-off-by: Shengfei xu --- diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index 2b67b2827a4b..7b0df6b87317 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -47,6 +47,7 @@ #include #include #include +#include #include #include "rk3399-dram-default-timing.dtsi" @@ -2639,4 +2640,27 @@ }; }; }; + + rockchip_suspend: rockchip-suspend { + compatible = "rockchip,pm-rk3399"; + status = "disabled"; + rockchip,sleep-debug-en = <0>; + rockchip,virtual-poweroff = <0>; + rockchip,sleep-mode-config = < + (0 + | RKPM_SLP_ARMPD + | RKPM_SLP_PERILPPD + | RKPM_SLP_DDR_RET + | RKPM_SLP_PLLPD + | RKPM_SLP_OSC_DIS + | RKPM_SLP_CENTER_PD + | RKPM_SLP_AP_PWROFF + ) + >; + rockchip,wakeup-config = < + (0 + | RKPM_GPIO_WKUP_EN + ) + >; + }; };