summaryrefslogtreecommitdiff
path: root/arch/arm/include
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2011-06-07 07:02:51 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-07-04 10:55:26 +0200
commita682b3f76bf441e7ccafa402b60ca30bc62751df (patch)
treeb5084ff7a486637f393c09f2d9275d5a550363dc /arch/arm/include
parentac4020e3c0337d449e0cd20ff7e9f0744a5f131b (diff)
downloadu-boot-imx-a682b3f76bf441e7ccafa402b60ca30bc62751df.zip
u-boot-imx-a682b3f76bf441e7ccafa402b60ca30bc62751df.tar.gz
u-boot-imx-a682b3f76bf441e7ccafa402b60ca30bc62751df.tar.bz2
MX5: Add iomux structure
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'arch/arm/include')
-rw-r--r--arch/arm/include/asm/arch-mx5/imx-regs.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-mx5/imx-regs.h b/arch/arm/include/asm/arch-mx5/imx-regs.h
index e136607..1dac6fa 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;