• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * linux/arch/arm/mach-mmp/include/mach/regs-apbc.h
3  *
4  *   Application Peripheral Bus Clock Unit
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License version 2 as
8  * published by the Free Software Foundation.
9  */
10 
11 #ifndef __ASM_MACH_REGS_APBC_H
12 #define __ASM_MACH_REGS_APBC_H
13 
14 #include <mach/addr-map.h>
15 
16 /* Common APB clock register bit definitions */
17 #define APBC_APBCLK	(1 << 0)  /* APB Bus Clock Enable */
18 #define APBC_FNCLK	(1 << 1)  /* Functional Clock Enable */
19 #define APBC_RST	(1 << 2)  /* Reset Generation */
20 
21 /* Functional Clock Selection Mask */
22 #define APBC_FNCLKSEL(x)	(((x) & 0xf) << 4)
23 
24 #endif /* __ASM_MACH_REGS_APBC_H */
25