diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2011-06-07 07:02:51 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2011-07-04 10:55:26 +0200 |
commit | a682b3f76bf441e7ccafa402b60ca30bc62751df (patch) | |
tree | b5084ff7a486637f393c09f2d9275d5a550363dc /arch/arm/include/asm | |
parent | ac4020e3c0337d449e0cd20ff7e9f0744a5f131b (diff) | |
download | u-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/asm')
-rw-r--r-- | arch/arm/include/asm/arch-mx5/imx-regs.h | 23 |
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; |