mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
ARM: EXYNOS4: Add SYSTIMER IO Address mapping for MCT
The MCT(Multi-Core Timer) is used for implementing kernel timers for EXYNOS4210. Signed-off-by: Changhwan Youn <chaos.youn@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
This commit is contained in:
parent
4dd508b524
commit
2b7401590d
@ -31,6 +31,11 @@ extern void combiner_cascade_irq(unsigned int combiner_nr, unsigned int irq);
|
|||||||
/* Initial IO mappings */
|
/* Initial IO mappings */
|
||||||
static struct map_desc exynos4_iodesc[] __initdata = {
|
static struct map_desc exynos4_iodesc[] __initdata = {
|
||||||
{
|
{
|
||||||
|
.virtual = (unsigned long)S5P_VA_SYSTIMER,
|
||||||
|
.pfn = __phys_to_pfn(EXYNOS4_PA_SYSTIMER),
|
||||||
|
.length = SZ_4K,
|
||||||
|
.type = MT_DEVICE,
|
||||||
|
}, {
|
||||||
.virtual = (unsigned long)S5P_VA_SYSRAM,
|
.virtual = (unsigned long)S5P_VA_SYSRAM,
|
||||||
.pfn = __phys_to_pfn(EXYNOS4_PA_SYSRAM),
|
.pfn = __phys_to_pfn(EXYNOS4_PA_SYSRAM),
|
||||||
.length = SZ_4K,
|
.length = SZ_4K,
|
||||||
|
@ -44,6 +44,7 @@
|
|||||||
#define EXYNOS4_PA_PMU 0x10020000
|
#define EXYNOS4_PA_PMU 0x10020000
|
||||||
#define EXYNOS4_PA_CMU 0x10030000
|
#define EXYNOS4_PA_CMU 0x10030000
|
||||||
|
|
||||||
|
#define EXYNOS4_PA_SYSTIMER 0x10050000
|
||||||
#define EXYNOS4_PA_WATCHDOG 0x10060000
|
#define EXYNOS4_PA_WATCHDOG 0x10060000
|
||||||
#define EXYNOS4_PA_RTC 0x10070000
|
#define EXYNOS4_PA_RTC 0x10070000
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user