.. | .. |
---|
51 | 51 | #define RKPM_PWM1_M0_REGULATOR_EN BIT(1) |
---|
52 | 52 | #define RKPM_PWM2_M0_REGULATOR_EN BIT(2) |
---|
53 | 53 | |
---|
| 54 | +/* sleep pin */ |
---|
| 55 | +#define RKPM_SLEEP_PIN0_EN BIT(0) /* GPIO4_C2 */ |
---|
| 56 | +#define RKPM_SLEEP_PIN1_EN BIT(1) /* GPIO4_B6 */ |
---|
| 57 | +#define RKPM_SLEEP_PIN2_EN BIT(2) /* GPIO0_A0 */ |
---|
| 58 | +#define RKPM_SLEEP_PIN3_EN BIT(3) /* GPIO0_A1 */ |
---|
| 59 | +#define RKPM_SLEEP_PIN4_EN BIT(4) /* GPIO0_A2 */ |
---|
| 60 | +#define RKPM_SLEEP_PIN5_EN BIT(5) /* GPIO0_A3 */ |
---|
| 61 | +#define RKPM_SLEEP_PIN6_EN BIT(6) /* GPIO0_A4 */ |
---|
| 62 | +#define RKPM_SLEEP_PIN7_EN BIT(7) /* GPIO0_A5 */ |
---|
| 63 | + |
---|
| 64 | +#define RKPM_SLEEP_PIN0_ACT_LOW BIT(0) /* GPIO4_C2 */ |
---|
| 65 | +#define RKPM_SLEEP_PIN1_ACT_LOW BIT(1) /* GPIO4_B6 */ |
---|
| 66 | +#define RKPM_SLEEP_PIN2_7_ACT_LOW 0xfc /* GPIO0_A0~5 */ |
---|
54 | 67 | #endif |
---|