/* gpr_init() function is common for boards using MX6S, MX6DL, MX6D, MX6Q and MX6QP processors  */
void gpr_init(void)
/* gpr_init() function is common for boards using MX6S, MX6DL, MX6D, MX6Q and MX6QP processors  */
void gpr_init(void)
{
	struct iomuxc *iomux = (struct iomuxc *)IOMUXC_BASE_ADDR;
	if (!is_mx6dqp() && !is_mx6dq() && !is_mx6sdl())
		return;
	writel(0xF00000CF, &iomux->gpr[4]);
	if (is_mx6dqp()) {
		writel(0x77177717, &iomux->gpr[6]);
		writel(0x77177717, &iomux->gpr[7]);
	} else {
		writel(0x007F007F, &iomux->gpr[6]);
		writel(0x007F007F, &iomux->gpr[7]);
	}
}