From: Fabio Estevam Date: Mon, 25 Aug 2014 17:26:44 +0000 (-0300) Subject: mx6: imx-regs: Provide a structure for GPC registers X-Git-Tag: v2014.10-rc3~66^2~3^2~6 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ac17dcf653138cd0e521142fdfdfdff8027d3a04;p=oweals%2Fu-boot.git mx6: imx-regs: Provide a structure for GPC registers Introduce a structure for accessing the General Power Controller block (GPC) registers. Signed-off-by: Fabio Estevam --- diff --git a/arch/arm/include/asm/arch-mx6/imx-regs.h b/arch/arm/include/asm/arch-mx6/imx-regs.h index 2631beb924..22614fcd0e 100644 --- a/arch/arm/include/asm/arch-mx6/imx-regs.h +++ b/arch/arm/include/asm/arch-mx6/imx-regs.h @@ -419,6 +419,19 @@ struct iomuxc { u32 gpr[14]; }; +struct gpc { + u32 cntr; + u32 pgr; + u32 imr1; + u32 imr2; + u32 imr3; + u32 imr4; + u32 isr1; + u32 isr2; + u32 isr3; + u32 isr4; +}; + #define IOMUXC_GPR2_COUNTER_RESET_VAL_OFFSET 20 #define IOMUXC_GPR2_COUNTER_RESET_VAL_MASK (3<