From: shengfei Xu Date: Mon, 6 Feb 2017 07:45:12 +0000 (+0800) Subject: ARM64: dts: rk3399: enable rockchip-suspend for evb3 X-Git-Tag: firefly_0821_release~678 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4005deb0f5dacc6681a2f238ec8334afd49bbfd9;p=firefly-linux-kernel-4.4.55.git ARM64: dts: rk3399: enable rockchip-suspend for evb3 Change-Id: I1d1511965c2eb7c04a7f91f093e95f2eceeb4790 Signed-off-by: shengfei Xu --- 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 {