aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-arm/platforms/exynos5.h
blob: ee5bdfa05f5934deccf134562fb295ebd5a5d4fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#ifndef __ASM_ARM_PLATFORMS_EXYNOS5_H
#define __ASM_ASM_PLATFORMS_EXYSNO5_H

#define EXYNOS5_MCT_BASE            0x101c0000
#define EXYNOS5_MCT_G_TCON          0x240       /* Relative to MCT_BASE */
#define EXYNOS5_MCT_G_TCON_START    (1 << 8)

#define EXYNOS5_PA_CHIPID           0x10000000
#define EXYNOS5_PA_TIMER            0x12dd0000
/* Base address of system controller */
#define EXYNOS5_PA_PMU              0x10040000

#define EXYNOS5_SWRESET             0x0400      /* Relative to PA_PMU */

#define S5P_PA_SYSRAM   0x02020000

/* Constants below is only used in assembly because the DTS is not yet parsed */
#ifdef __ASSEMBLY__

/* GIC Base Address */
#define EXYNOS5_GIC_BASE_ADDRESS    0x10480000

/* Timer's frequency */
#define EXYNOS5_TIMER_FREQUENCY     (24 * 1000 * 1000) /* 24 MHz */

/* Arndale machine ID */
#define MACH_TYPE_SMDK5250          3774

#endif /* __ASSEMBLY__ */

#endif /* __ASM_ARM_PLATFORMS_EXYNOS5_H */
/*
 * Local variables:
 * mode: C
 * c-file-style: "BSD"
 * c-basic-offset: 4
 * indent-tabs-mode: nil
 * End:
 */