diff options
-rw-r--r-- | board/toradex/colibri-imx6ull/colibri_imx6ull.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/board/toradex/colibri-imx6ull/colibri_imx6ull.c b/board/toradex/colibri-imx6ull/colibri_imx6ull.c index a544d7166f..fba4f3666c 100644 --- a/board/toradex/colibri-imx6ull/colibri_imx6ull.c +++ b/board/toradex/colibri-imx6ull/colibri_imx6ull.c @@ -56,6 +56,8 @@ DECLARE_GLOBAL_DATA_PTR; #define NAND_PAD_READY0_CTRL (PAD_CTL_DSE_48ohm | PAD_CTL_PUS_22K_UP) +#define MX6_PAD_SNVS_PMIC_STBY_REQ_ADDR 0x2290040 + #define USB_CDET_GPIO IMX_GPIO_NR(7, 14) int dram_init(void) @@ -376,6 +378,14 @@ int board_late_init(void) setenv("variant", "-wifi"); #endif + /* + * Disable output driver of PAD CCM_PMIC_STBY_REQ. This prevents the + * SOC to request for a lower voltage during sleep. This is necessary + * because the voltage is changing too slow for the SOC to wake up + * properly. + */ + __raw_writel(0x8080, MX6_PAD_SNVS_PMIC_STBY_REQ_ADDR); + #ifdef CONFIG_CMD_BMODE add_board_boot_modes(board_boot_modes); #endif |