From a682b3f76bf441e7ccafa402b60ca30bc62751df Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Tue, 7 Jun 2011 07:02:51 +0000 Subject: [PATCH] MX5: Add iomux structure Signed-off-by: Fabio Estevam --- arch/arm/include/asm/arch-mx5/imx-regs.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/arch/arm/include/asm/arch-mx5/imx-regs.h b/arch/arm/include/asm/arch-mx5/imx-regs.h index e136607ccd..1dac6fa145 100644 --- a/arch/arm/include/asm/arch-mx5/imx-regs.h +++ b/arch/arm/include/asm/arch-mx5/imx-regs.h @@ -358,6 +358,29 @@ struct weim { u32 ear; }; +#if defined(CONFIG_MX51) +struct iomuxc { + u32 gpr0; + u32 gpr1; + u32 omux0; + u32 omux1; + u32 omux2; + u32 omux3; + u32 omux4; +}; +#elif defined(CONFIG_MX53) +struct iomuxc { + u32 gpr0; + u32 gpr1; + u32 gpr2; + u32 omux0; + u32 omux1; + u32 omux2; + u32 omux3; + u32 omux4; +}; +#endif + /* GPIO Registers */ struct gpio_regs { u32 gpio_dr; -- 2.25.1