[ARM] S3C64XX: Map timer memory and interrupts
Add the physical to virtual memory mapping and the necessary interrupt demuxing for the PWM timer blocks. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
This commit is contained in:
@ -10,7 +10,6 @@
|
||||
* S3C2410 Timer configuration
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __ASM_ARCH_REGS_TIMER_H
|
||||
#define __ASM_ARCH_REGS_TIMER_H
|
||||
|
||||
@ -21,6 +20,8 @@
|
||||
#define S3C2410_TCFG1 S3C_TIMERREG(0x04)
|
||||
#define S3C2410_TCON S3C_TIMERREG(0x08)
|
||||
|
||||
#define S3C64XX_TINT_CSTAT S3C_TIMERREG(0x44)
|
||||
|
||||
#define S3C2410_TCFG_PRESCALER0_MASK (255<<0)
|
||||
#define S3C2410_TCFG_PRESCALER1_MASK (255<<8)
|
||||
#define S3C2410_TCFG_PRESCALER1_SHIFT (8)
|
||||
|
Reference in New Issue
Block a user