diff options
-rw-r--r-- | firmware/target/arm/imx233/power-imx233.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/target/arm/imx233/power-imx233.h b/firmware/target/arm/imx233/power-imx233.h index c37fdd60d9..d0fe686888 100644 --- a/firmware/target/arm/imx233/power-imx233.h +++ b/firmware/target/arm/imx233/power-imx233.h | |||
@@ -40,6 +40,12 @@ | |||
40 | #define HW_POWER_MINPWR (*(volatile uint32_t *)(HW_POWER_BASE + 0x20)) | 40 | #define HW_POWER_MINPWR (*(volatile uint32_t *)(HW_POWER_BASE + 0x20)) |
41 | 41 | ||
42 | #define HW_POWER_CHARGE (*(volatile uint32_t *)(HW_POWER_BASE + 0x30)) | 42 | #define HW_POWER_CHARGE (*(volatile uint32_t *)(HW_POWER_BASE + 0x30)) |
43 | #define HW_POWER_CHARGE__BATTCHRG_I_BP 0 | ||
44 | #define HW_POWER_CHARGE__BATTCHRG_I_BM 0x3f | ||
45 | #define HW_POWER_CHARGE__STOP_ILIMIT_BP 8 | ||
46 | #define HW_POWER_CHARGE__STOP_ILIMIT_BM 0xf00 | ||
47 | #define HW_POWER_CHARGE__PWD_BATTCHRG (1 << 16) | ||
48 | #define HW_POWER_CHARGE__CHRG_STS_OFF (1 << 19) | ||
43 | 49 | ||
44 | #define HW_POWER_VDDDCTRL (*(volatile uint32_t *)(HW_POWER_BASE + 0x40)) | 50 | #define HW_POWER_VDDDCTRL (*(volatile uint32_t *)(HW_POWER_BASE + 0x40)) |
45 | #define HW_POWER_VDDDCTRL__TRG_BP 0 | 51 | #define HW_POWER_VDDDCTRL__TRG_BP 0 |