arm: dts: rk3288: add rockchip-suspend node
authorshengfei Xu <xsf@rock-chips.com>
Fri, 5 May 2017 07:38:27 +0000 (15:38 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Thu, 11 May 2017 11:27:17 +0000 (19:27 +0800)
Change-Id: Id5700548a6034248ed5ad3226dd652d0833eec13
Signed-off-by: shengfei Xu <xsf@rock-chips.com>
arch/arm/boot/dts/rk3288.dtsi

index fd691b5677ad53b7f997e72144bcddf681cca1fe..2751f3fe6b23e633ae41483be95f40c91a29b337 100644 (file)
@@ -46,6 +46,7 @@
 #include <dt-bindings/thermal/thermal.h>
 #include <dt-bindings/power/rk3288-power.h>
 #include <dt-bindings/soc/rockchip,boot-mode.h>
+#include <dt-bindings/suspend/rockchip-rk3288.h>
 #include <dt-bindings/display/drm_mipi_dsi.h>
 #include "skeleton.dtsi"
 
                };
 
        };
+       rockchip_suspend: rockchip-suspend {
+               compatible = "rockchip,pm-rk3288";
+               status = "disabled";
+               rockchip,sleep-mode-config = <
+                       (0
+                       |RKPM_CTR_PWR_DMNS
+                       |RKPM_CTR_GTCLKS
+                       |RKPM_CTR_PLLS
+                       |RKPM_CTR_ARMOFF_LPMD
+                       )
+               >;
+               rockchip,wakeup-config = <
+                       (0
+                       | RKPM_GPIO_WKUP_EN
+                       )
+               >;
+               rockchip,pwm-regulator-config = <
+                       (0
+                       | PWM2_REGULATOR_EN
+                       )
+               >;
+       };
 };