[PATCH 11/11] imx35-regs: add CGR1 helper values
Marc Kleine-Budde
mkl at pengutronix.de
Mon Nov 23 07:06:23 EST 2009
Signed-off-by: Marc Kleine-Budde <mkl at pengutronix.de>
---
arch/arm/mach-imx/include/mach/imx35-regs.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-imx/include/mach/imx35-regs.h b/arch/arm/mach-imx/include/mach/imx35-regs.h
index 5805057..c394a2a 100644
--- a/arch/arm/mach-imx/include/mach/imx35-regs.h
+++ b/arch/arm/mach-imx/include/mach/imx35-regs.h
@@ -66,6 +66,9 @@
#define CCM_CGR2 0x34
#define CCM_CGR3 0x38
+#define CCM_CGR1_FEC_SHIFT 0
+#define CCM_CGR1_I2C1_SHIFT 10
+
#define PDR0_AUTO_MUX_DIV(x) (((x) & 0x7) << 9)
#define PDR0_CCM_PER_AHB(x) (((x) & 0x7) << 12)
#define PDR0_CON_MUX_DIV(x) (((x) & 0xf) << 16)
--
1.6.5.2
More information about the barebox
mailing list