arm64: dts: rockchip: add rockchip-suspend node for rk3399
authorShengfei xu <xsf@rock-chips.com>
Tue, 17 Jan 2017 07:15:03 +0000 (15:15 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Tue, 7 Feb 2017 03:42:36 +0000 (11:42 +0800)
Change-Id: I6af1f487f40c0775102d3b9951617c5d03b884ef
Signed-off-by: Shengfei xu <xsf@rock-chips.com>
arch/arm64/boot/dts/rockchip/rk3399.dtsi

index 2b67b2827a4b618dff04b6a972a6020b92292bd0..7b0df6b873171ac23c7586ce3ec9a3cdd77eeb85 100644 (file)
@@ -47,6 +47,7 @@
 #include <dt-bindings/pinctrl/rockchip.h>
 #include <dt-bindings/power/rk3399-power.h>
 #include <dt-bindings/soc/rockchip,boot-mode.h>
+#include <dt-bindings/suspend/rockchip-rk3399.h>
 #include <dt-bindings/thermal/thermal.h>
 
 #include "rk3399-dram-default-timing.dtsi"
                        };
                };
        };
+
+       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
+                       )
+               >;
+       };
 };