Skip to content
Snippets Groups Projects
Commit be0b2d9c authored by Ye Li's avatar Ye Li
Browse files

MLK-13331 mx6sll_arm2: Output WDOG_B signal to reset PMIC


Since the LPDDR2/3 does not have reset pin, to keep safe reset, we need
to use WDOG_B to reset PMIC. Add pinmux and relevant settings.

Signed-off-by: default avatarYe Li <ye.li@nxp.com>
parent 92946cba
No related branches found
No related tags found
No related merge requests found
......@@ -105,6 +105,10 @@ int dram_init(void)
return 0;
}
static iomux_v3_cfg_t const wdog_pads[] = {
MX6_PAD_WDOG_B__WDOG1_B | MUX_PAD_CTRL(NO_PAD_CTRL),
};
static iomux_v3_cfg_t const led_pads[] = {
MX6_PAD_EPDC_VCOM1__GPIO2_IO04 | MUX_PAD_CTRL(UART_PAD_CTRL),
};
......@@ -503,6 +507,10 @@ int board_late_init(void)
board_late_mmc_env_init();
#endif
imx_iomux_v3_setup_multiple_pads(wdog_pads, ARRAY_SIZE(wdog_pads));
set_wdog_reset((struct wdog_regs *)WDOG1_BASE_ADDR);
return 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment