diff --git a/board/nm/nmhw24/da9063.h b/board/nm/nmhw24/da9063.h index 76ac9bbb99..d0bde44d07 100644 --- a/board/nm/nmhw24/da9063.h +++ b/board/nm/nmhw24/da9063.h @@ -45,6 +45,18 @@ TODO: Add include for uint32_t (stdtypes.h) #define PMIC_REG_BUCK_ILIM_B 0x9B #define PMIC_REG_BUCK_ILIM_C 0x9C +#define PMIC_REG_BCORE1_CONF 0x9E /* Configuration register of BCORE1 */ +#define PMIC_REG_BCORE2_CONF 0x9D /* Configuration register of BCORE2 */ +#define PMIC_REG_BPERI_CONF 0xA2 /* Configuration register of BPERI */ +#define PMIC_REG_BIO_CONF 0xA0 /* Configuration register of BIO */ +#define PMIC_REG_BMEM_CONF 0xA1 /* Configuration register of BMEM */ + +#define PMIC_CONF_MODE_MASK 0xC0 +#define PMIC_CONF_MODE_SLEEP 0x40 +#define PMIC_CONF_MODE_SYNC 0x80 +#define PMIC_CONF_MODE_AUTO 0xC0 + + #define PMIC_REG_BBAT_CONT 0xC5 /* Control register for backup battery */ #define PMIC_REG_CONFIG_E 0x10A