mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
ARM: dts: rockchip: rk3502-evb1-v10: Add suspend io config
Set these gpios to right state for system low power. Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I8e030a872209f9955834aab008b8059f4fb2d507
This commit is contained in:
@@ -410,6 +410,17 @@
|
||||
| RKPM_PWREN_SLEEP_GPIO0A0 | RKPM_PWREN_SLEEP_ACT_LOW
|
||||
)
|
||||
>;
|
||||
|
||||
#define GPIO0_IOC_GPIO0A_PULL_REG 0xff950200
|
||||
#define GPIO0_IOC_GPIO0C_PULL_REG 0xff950208
|
||||
#define GPIO0A3_PULL_DOWN 0x00c00080
|
||||
#define GPIO0C5_PULL_DOWN 0x0c000800
|
||||
|
||||
/* Note: support max 16 pairs */
|
||||
rockchip,sleep-io-config = <
|
||||
GPIO0_IOC_GPIO0C_PULL_REG GPIO0C5_PULL_DOWN /* PWM0_CH0_CPU */
|
||||
GPIO0_IOC_GPIO0A_PULL_REG GPIO0A3_PULL_DOWN /* PWM0_CH2_LCD_BL */
|
||||
>;
|
||||
};
|
||||
|
||||
&sai1 {
|
||||
|
||||
Reference in New Issue
Block a user