/* On Assabet, we must probe for the Neponset board  */
static void __init map_sa1100_gpio_regs(void)
/* On Assabet, we must probe for the Neponset board  */
static void __init map_sa1100_gpio_regs(void)
{
	unsigned long phys = __PREG(GPLR) & PMD_MASK;
	unsigned long virt = io_p2v(phys);
	int prot = PMD_TYPE_SECT | PMD_SECT_AP_WRITE | PMD_DOMAIN(DOMAIN_IO);
	pmd_t *pmd;
	pmd = pmd_offset(pgd_offset_k(virt), virt);
	*pmd = __pmd(phys | prot);
	flush_pmd_entry(pmd);
}