diff options
Diffstat (limited to 'arch/arm/mach-s5pv310/cpu.c')
-rw-r--r-- | arch/arm/mach-s5pv310/cpu.c | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/arch/arm/mach-s5pv310/cpu.c b/arch/arm/mach-s5pv310/cpu.c index e5b261a99ab2..4add39853ff9 100644 --- a/arch/arm/mach-s5pv310/cpu.c +++ b/arch/arm/mach-s5pv310/cpu.c | |||
@@ -31,9 +31,14 @@ extern void combiner_cascade_irq(unsigned int combiner_nr, unsigned int irq); | |||
31 | /* Initial IO mappings */ | 31 | /* Initial IO mappings */ |
32 | static struct map_desc s5pv310_iodesc[] __initdata = { | 32 | static struct map_desc s5pv310_iodesc[] __initdata = { |
33 | { | 33 | { |
34 | .virtual = (unsigned long)S5P_VA_COREPERI_BASE, | 34 | .virtual = (unsigned long)S5P_VA_SYSRAM, |
35 | .pfn = __phys_to_pfn(S5PV310_PA_COREPERI), | 35 | .pfn = __phys_to_pfn(S5PV310_PA_SYSRAM), |
36 | .length = SZ_8K, | 36 | .length = SZ_4K, |
37 | .type = MT_DEVICE, | ||
38 | }, { | ||
39 | .virtual = (unsigned long)S5P_VA_CMU, | ||
40 | .pfn = __phys_to_pfn(S5PV310_PA_CMU), | ||
41 | .length = SZ_128K, | ||
37 | .type = MT_DEVICE, | 42 | .type = MT_DEVICE, |
38 | }, { | 43 | }, { |
39 | .virtual = (unsigned long)S5P_VA_COMBINER_BASE, | 44 | .virtual = (unsigned long)S5P_VA_COMBINER_BASE, |
@@ -41,19 +46,24 @@ static struct map_desc s5pv310_iodesc[] __initdata = { | |||
41 | .length = SZ_4K, | 46 | .length = SZ_4K, |
42 | .type = MT_DEVICE, | 47 | .type = MT_DEVICE, |
43 | }, { | 48 | }, { |
49 | .virtual = (unsigned long)S5P_VA_COREPERI_BASE, | ||
50 | .pfn = __phys_to_pfn(S5PV310_PA_COREPERI), | ||
51 | .length = SZ_8K, | ||
52 | .type = MT_DEVICE, | ||
53 | }, { | ||
44 | .virtual = (unsigned long)S5P_VA_L2CC, | 54 | .virtual = (unsigned long)S5P_VA_L2CC, |
45 | .pfn = __phys_to_pfn(S5PV310_PA_L2CC), | 55 | .pfn = __phys_to_pfn(S5PV310_PA_L2CC), |
46 | .length = SZ_4K, | 56 | .length = SZ_4K, |
47 | .type = MT_DEVICE, | 57 | .type = MT_DEVICE, |
48 | }, { | 58 | }, { |
49 | .virtual = (unsigned long)S5P_VA_SYSRAM, | 59 | .virtual = (unsigned long)S5P_VA_GPIO, |
50 | .pfn = __phys_to_pfn(S5PV310_PA_SYSRAM), | 60 | .pfn = __phys_to_pfn(S5PV310_PA_GPIO1), |
51 | .length = SZ_4K, | 61 | .length = SZ_4K, |
52 | .type = MT_DEVICE, | 62 | .type = MT_DEVICE, |
53 | }, { | 63 | }, { |
54 | .virtual = (unsigned long)S5P_VA_CMU, | 64 | .virtual = (unsigned long)S3C_VA_UART, |
55 | .pfn = __phys_to_pfn(S5PV310_PA_CMU), | 65 | .pfn = __phys_to_pfn(S3C_PA_UART), |
56 | .length = SZ_128K, | 66 | .length = SZ_512K, |
57 | .type = MT_DEVICE, | 67 | .type = MT_DEVICE, |
58 | }, | 68 | }, |
59 | }; | 69 | }; |