MX5: Add iomux structure
authorFabio Estevam <fabio.estevam@freescale.com>
Tue, 7 Jun 2011 07:02:51 +0000 (07:02 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Mon, 4 Jul 2011 08:55:26 +0000 (10:55 +0200)
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
arch/arm/include/asm/arch-mx5/imx-regs.h

index e136607ccd2dae95a3b04ac907e90a1130a1b238..1dac6fa1459e62faf9b5bba6b12f7ed77fe24646 100644 (file)
@@ -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;