ARM64: dts: rk3399: enable rockchip-suspend for evb3
authorshengfei Xu <xsf@rock-chips.com>
Mon, 6 Feb 2017 07:45:12 +0000 (15:45 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Tue, 7 Feb 2017 03:42:37 +0000 (11:42 +0800)
Change-Id: I1d1511965c2eb7c04a7f91f093e95f2eceeb4790
Signed-off-by: shengfei Xu <xsf@rock-chips.com>
arch/arm64/boot/dts/rockchip/rk3399-evb-rev3.dtsi

index 90819898b5ae323907300288464333e9e085e59b..b523fe59a2ce326612c94e08ac64933058997c46 100644 (file)
@@ -41,6 +41,7 @@
  */
 
 #include "rk3399-evb.dtsi"
+#include <dt-bindings/suspend/rockchip-rk3399.h>
 
 / {
        compatible = "rockchip,rk3399-evb-rev3", "rockchip,rk3399";
                regulator-always-on;
                regulator-boot-on;
        };
+
+       rockchip_suspend: rockchip-suspend {
+               compatible = "rockchip,pm-rk3399";
+               status = "okay";
+               rockchip,sleep-debug-en = <1>;
+               rockchip,wakeup-config = <
+                       (0
+                       | RKPM_GPIO_WKUP_EN
+                       )
+               >;
+               rockchip,pwm-regulator-config = <
+                       (0
+                       | PWM2_REGULATOR_EN
+                       )
+               >;
+               rockchip,power-ctrl =
+                       <&gpio1 17 GPIO_ACTIVE_HIGH>;
+       };
 };
 
 &i2c0 {