MX5: Add iomux structure

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
This commit is contained in:
Fabio Estevam 2011-06-07 07:02:51 +00:00 committed by Albert ARIBAUD
parent ac4020e3c0
commit a682b3f76b
1 changed files with 23 additions and 0 deletions

View 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;