summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/rockchip/rk3308.dtsi
diff options
context:
space:
mode:
authorJoseph Chen <chenjh@rock-chips.com>2018-05-09 16:07:15 +0800
committerTao Huang <huangtao@rock-chips.com>2018-05-11 14:44:53 +0800
commitb053b22930d9980a5c8487013ed5939527e72569 (patch)
tree764cd5cb2ce8c70ce41f046f2945d534c72fc059 /arch/arm64/boot/dts/rockchip/rk3308.dtsi
parent418ecc848d789528c084edaacdc338fbeeff895d (diff)
arm64: dts: rockchip: rk3308: add rockchip_suspend node
Change-Id: Ib3a2d78da9a1c6a093b1c49c6393f098b2e03a8a Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Diffstat (limited to 'arch/arm64/boot/dts/rockchip/rk3308.dtsi')
-rw-r--r--arch/arm64/boot/dts/rockchip/rk3308.dtsi17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3308.dtsi b/arch/arm64/boot/dts/rockchip/rk3308.dtsi
index 361f7f5611a4..814ddf2282e2 100644
--- a/arch/arm64/boot/dts/rockchip/rk3308.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3308.dtsi
@@ -11,6 +11,7 @@
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/pinctrl/rockchip.h>
#include <dt-bindings/soc/rockchip,boot-mode.h>
+#include <dt-bindings/suspend/rockchip-rk3308.h>
#include <dt-bindings/thermal/thermal.h>
/ {
@@ -249,6 +250,22 @@
};
};
+ rockchip_suspend: rockchip-suspend {
+ compatible = "rockchip,pm-rk3308";
+ status = "disabled";
+ rockchip,sleep-mode-config = <
+ (0
+ | RKPM_PMU_HW_PLLS_PD
+ | RKPM_DBG_FSM_SOUT
+ )
+ >;
+ rockchip,wakeup-config = <
+ (0
+ | RKPM_GPIO0_WAKEUP_EN
+ )
+ >;
+ };
+
timer {
compatible = "arm,armv8-timer";
interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,