summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/rockchip/rk3399-excavator-sapphire.dtsi
diff options
context:
space:
mode:
authorwlq <wlq@rock-chips.com>2017-03-13 10:41:14 +0800
committerHuang, Tao <huangtao@rock-chips.com>2017-03-13 14:58:29 +0800
commit3f217d60ae1dfe991ae00c13ef6e57a97bab92a8 (patch)
treec78f38674d66965899aa674c49c82eb43318ee29 /arch/arm64/boot/dts/rockchip/rk3399-excavator-sapphire.dtsi
parent0e371c3c78c949d5a6c65c9b27ec53bb1008776e (diff)
ARM64: dts: rk3399: config rockchip_suspend
Change-Id: I41e7e77b1cc903200c7e1711bae15c629a616564 Signed-off-by: Wu Liangqing <wlq@rock-chips.com>
Diffstat (limited to 'arch/arm64/boot/dts/rockchip/rk3399-excavator-sapphire.dtsi')
-rw-r--r--arch/arm64/boot/dts/rockchip/rk3399-excavator-sapphire.dtsi29
1 files changed, 29 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-excavator-sapphire.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-excavator-sapphire.dtsi
index cff24402622c..ef749e2a560b 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-excavator-sapphire.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3399-excavator-sapphire.dtsi
@@ -178,6 +178,35 @@
status = "okay";
};
+&rockchip_suspend {
+ status = "okay";
+ rockchip,sleep-debug-en = <1>;
+ rockchip,sleep-mode-config = <
+ (0
+ | RKPM_SLP_ARMPD
+ | RKPM_SLP_PERILPPD
+ | RKPM_SLP_DDR_RET
+ | RKPM_SLP_PLLPD
+ | RKPM_SLP_CENTER_PD
+ | RKPM_SLP_AP_PWROFF
+ )
+ >;
+ rockchip,wakeup-config = <
+ (0
+ | RKPM_GPIO_WKUP_EN
+ | RKPM_PWM_WKUP_EN
+ )
+ >;
+ rockchip,pwm-regulator-config = <
+ (0
+ | PWM2_REGULATOR_EN
+ )
+ >;
+ rockchip,power-ctrl =
+ <&gpio1 17 GPIO_ACTIVE_HIGH>,
+ <&gpio1 14 GPIO_ACTIVE_HIGH>;
+};
+
&pinctrl {
sdio-pwrseq {
wifi_enable_h: wifi-enable-h {