9
0
Fork 0

imx35-regs: add CGR1 helper values

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
This commit is contained in:
Marc Kleine-Budde 2009-11-20 10:22:36 +01:00
parent 3d381d7955
commit 1177321b22
1 changed files with 3 additions and 0 deletions

View File

@ -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)