suspend: rockchip: set the suspend config to ATF
[firefly-linux-kernel-4.4.55.git] / Documentation / devicetree / bindings / soc / rockchip / rockchip-pm-config.txt
1 * the suspend mode config
2
3 - compatible: "rockchip,pm-config"
4   Compatibility with rk3399
5
6 - rockchip,sleep-mode-config : the sleep mode config,
7   ARMOFF, OSC disabled ...
8
9 - rockchip,wakeup-config: the wake up sourece enable.
10   GPIO, USB, SD...
11
12 - rockchip,pwm-regulator-config: the pwm regulator name.
13
14 Example:
15         rockchip_suspend: rockchip_suspend {
16                 compatible = "rockchip,pm-rk3399";
17                 status = "okay";
18                 rockchip,sleep-mode-config = <
19                         (0
20                         | RKPM_SLP_ARMPD
21                         | RKPM_SLP_PERILPPD
22                         | RKPM_SLP_DDR_RET
23                         | RKPM_SLP_PLLPD
24                         | RKPM_SLP_OSC_DIS
25                         | RKPM_SLP_CENTER_PD
26                         | RKPM_SLP_AP_PWROFF
27                         )
28                 >;
29                 rockchip,wakeup-config = <
30                         (0 |
31                         RKPM_GPIO_WKUP_EN |
32                         RKPM_PWM_WKUP_EN)
33                 >;
34                 rockchip,pwm-regulator-config = <
35                         (0 |
36                         PWM2_REGULATOR_EN
37                         )
38                 >;
39         };