forked from luck/tmp_suning_uos_patched
ARM: S5PV210: Add Register definition for CMU
This patch adds some CMU(Clock Management Unit) registers for supporting CPUFREQ and some drivers. Signed-off-by: Jaecheol Lee <jc.lee@samsung.com> Signed-off-by: Sangbeom Kim <sbkim73@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
This commit is contained in:
parent
08f49d118e
commit
3c5992160d
@ -67,11 +67,28 @@
|
||||
#define S5P_CLKGATE_BUS1 S5P_CLKREG(0x488)
|
||||
#define S5P_CLK_OUT S5P_CLKREG(0x500)
|
||||
|
||||
/* DIV/MUX STATUS */
|
||||
#define S5P_CLKDIV_STAT0 S5P_CLKREG(0x1000)
|
||||
#define S5P_CLKDIV_STAT1 S5P_CLKREG(0x1004)
|
||||
#define S5P_CLKMUX_STAT0 S5P_CLKREG(0x1100)
|
||||
#define S5P_CLKMUX_STAT1 S5P_CLKREG(0x1104)
|
||||
|
||||
/* CLKSRC0 */
|
||||
#define S5P_CLKSRC0_MUX200_MASK (0x1<<16)
|
||||
#define S5P_CLKSRC0_MUX200_SHIFT (16)
|
||||
#define S5P_CLKSRC0_MUX200_MASK (0x1 << S5P_CLKSRC0_MUX200_SHIFT)
|
||||
#define S5P_CLKSRC0_MUX166_MASK (0x1<<20)
|
||||
#define S5P_CLKSRC0_MUX133_MASK (0x1<<24)
|
||||
|
||||
/* CLKSRC2 */
|
||||
#define S5P_CLKSRC2_G3D_SHIFT (0)
|
||||
#define S5P_CLKSRC2_G3D_MASK (0x3 << S5P_CLKSRC2_G3D_SHIFT)
|
||||
#define S5P_CLKSRC2_MFC_SHIFT (4)
|
||||
#define S5P_CLKSRC2_MFC_MASK (0x3 << S5P_CLKSRC2_MFC_SHIFT)
|
||||
|
||||
/* CLKSRC6*/
|
||||
#define S5P_CLKSRC6_ONEDRAM_SHIFT (24)
|
||||
#define S5P_CLKSRC6_ONEDRAM_MASK (0x3 << S5P_CLKSRC6_ONEDRAM_SHIFT)
|
||||
|
||||
/* CLKDIV0 */
|
||||
#define S5P_CLKDIV0_APLL_SHIFT (0)
|
||||
#define S5P_CLKDIV0_APLL_MASK (0x7 << S5P_CLKDIV0_APLL_SHIFT)
|
||||
@ -90,8 +107,20 @@
|
||||
#define S5P_CLKDIV0_PCLK66_SHIFT (28)
|
||||
#define S5P_CLKDIV0_PCLK66_MASK (0x7 << S5P_CLKDIV0_PCLK66_SHIFT)
|
||||
|
||||
/* CLKDIV2 */
|
||||
#define S5P_CLKDIV2_G3D_SHIFT (0)
|
||||
#define S5P_CLKDIV2_G3D_MASK (0xF << S5P_CLKDIV2_G3D_SHIFT)
|
||||
#define S5P_CLKDIV2_MFC_SHIFT (4)
|
||||
#define S5P_CLKDIV2_MFC_MASK (0xF << S5P_CLKDIV2_MFC_SHIFT)
|
||||
|
||||
/* CLKDIV6 */
|
||||
#define S5P_CLKDIV6_ONEDRAM_SHIFT (28)
|
||||
#define S5P_CLKDIV6_ONEDRAM_MASK (0xF << S5P_CLKDIV6_ONEDRAM_SHIFT)
|
||||
|
||||
#define S5P_SWRESET S5P_CLKREG(0x2000)
|
||||
|
||||
#define S5P_ARM_MCS_CON S5P_CLKREG(0x6100)
|
||||
|
||||
/* Registers related to power management */
|
||||
#define S5P_PWR_CFG S5P_CLKREG(0xC000)
|
||||
#define S5P_EINT_WAKEUP_MASK S5P_CLKREG(0xC004)
|
||||
|
Loading…
Reference in New Issue
Block a user