From 4005deb0f5dacc6681a2f238ec8334afd49bbfd9 Mon Sep 17 00:00:00 2001 From: shengfei Xu Date: Mon, 6 Feb 2017 15:45:12 +0800 Subject: [PATCH] ARM64: dts: rk3399: enable rockchip-suspend for evb3 Change-Id: I1d1511965c2eb7c04a7f91f093e95f2eceeb4790 Signed-off-by: shengfei Xu --- .../boot/dts/rockchip/rk3399-evb-rev3.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-evb-rev3.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-evb-rev3.dtsi index 90819898b5ae..b523fe59a2ce 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-evb-rev3.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-evb-rev3.dtsi @@ -41,6 +41,7 @@ */ #include "rk3399-evb.dtsi" +#include / { compatible = "rockchip,rk3399-evb-rev3", "rockchip,rk3399"; @@ -65,6 +66,24 @@ 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 { -- 2.34.1