diff options
author | Chander Kashyap <chander.kashyap@linaro.org> | 2013-06-18 11:29:34 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2013-06-18 15:09:32 -0400 |
commit | 191d754f5bfd99d682cd496759f56d97294bfdf0 (patch) | |
tree | 7d570dcf2da8db88408a34e81d7df5afe588f79e /arch/arm/mach-exynos | |
parent | 1897d2f32fef9cb5caa9951b2cdc79b05bfb512d (diff) |
ARM: EXYNOS: Add support for EXYNOS5420 SoC
EXYNOS5420 is new SoC in Samsung's Exynos5 SoC series. Add
initial support for this new SoC.
Signed-off-by: Chander Kashyap <chander.kashyap@linaro.org>
Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-exynos')
-rw-r--r-- | arch/arm/mach-exynos/Kconfig | 10 | ||||
-rw-r--r-- | arch/arm/mach-exynos/common.c | 7 | ||||
-rw-r--r-- | arch/arm/mach-exynos/mach-exynos5-dt.c | 1 |
3 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig index ff18fc2ea46f..5ae41ecb0a02 100644 --- a/arch/arm/mach-exynos/Kconfig +++ b/arch/arm/mach-exynos/Kconfig | |||
@@ -71,6 +71,16 @@ config SOC_EXYNOS5250 | |||
71 | help | 71 | help |
72 | Enable EXYNOS5250 SoC support | 72 | Enable EXYNOS5250 SoC support |
73 | 73 | ||
74 | config SOC_EXYNOS5420 | ||
75 | bool "SAMSUNG EXYNOS5420" | ||
76 | default y | ||
77 | depends on ARCH_EXYNOS5 | ||
78 | select PM_GENERIC_DOMAINS if PM | ||
79 | select S5P_PM if PM | ||
80 | select S5P_SLEEP if PM | ||
81 | help | ||
82 | Enable EXYNOS5420 SoC support | ||
83 | |||
74 | config SOC_EXYNOS5440 | 84 | config SOC_EXYNOS5440 |
75 | bool "SAMSUNG EXYNOS5440" | 85 | bool "SAMSUNG EXYNOS5440" |
76 | default y | 86 | default y |
diff --git a/arch/arm/mach-exynos/common.c b/arch/arm/mach-exynos/common.c index f7e504b7874d..f323655737fb 100644 --- a/arch/arm/mach-exynos/common.c +++ b/arch/arm/mach-exynos/common.c | |||
@@ -64,6 +64,7 @@ static const char name_exynos4210[] = "EXYNOS4210"; | |||
64 | static const char name_exynos4212[] = "EXYNOS4212"; | 64 | static const char name_exynos4212[] = "EXYNOS4212"; |
65 | static const char name_exynos4412[] = "EXYNOS4412"; | 65 | static const char name_exynos4412[] = "EXYNOS4412"; |
66 | static const char name_exynos5250[] = "EXYNOS5250"; | 66 | static const char name_exynos5250[] = "EXYNOS5250"; |
67 | static const char name_exynos5420[] = "EXYNOS5420"; | ||
67 | static const char name_exynos5440[] = "EXYNOS5440"; | 68 | static const char name_exynos5440[] = "EXYNOS5440"; |
68 | 69 | ||
69 | static void exynos4_map_io(void); | 70 | static void exynos4_map_io(void); |
@@ -103,6 +104,12 @@ static struct cpu_table cpu_ids[] __initdata = { | |||
103 | .init = exynos_init, | 104 | .init = exynos_init, |
104 | .name = name_exynos5250, | 105 | .name = name_exynos5250, |
105 | }, { | 106 | }, { |
107 | .idcode = EXYNOS5420_SOC_ID, | ||
108 | .idmask = EXYNOS5_SOC_MASK, | ||
109 | .map_io = exynos5_map_io, | ||
110 | .init = exynos_init, | ||
111 | .name = name_exynos5420, | ||
112 | }, { | ||
106 | .idcode = EXYNOS5440_SOC_ID, | 113 | .idcode = EXYNOS5440_SOC_ID, |
107 | .idmask = EXYNOS5_SOC_MASK, | 114 | .idmask = EXYNOS5_SOC_MASK, |
108 | .map_io = exynos5440_map_io, | 115 | .map_io = exynos5440_map_io, |
diff --git a/arch/arm/mach-exynos/mach-exynos5-dt.c b/arch/arm/mach-exynos/mach-exynos5-dt.c index 753b94f3fca7..050a5b1247ef 100644 --- a/arch/arm/mach-exynos/mach-exynos5-dt.c +++ b/arch/arm/mach-exynos/mach-exynos5-dt.c | |||
@@ -57,6 +57,7 @@ static void __init exynos5_dt_machine_init(void) | |||
57 | 57 | ||
58 | static char const *exynos5_dt_compat[] __initdata = { | 58 | static char const *exynos5_dt_compat[] __initdata = { |
59 | "samsung,exynos5250", | 59 | "samsung,exynos5250", |
60 | "samsung,exynos5420", | ||
60 | "samsung,exynos5440", | 61 | "samsung,exynos5440", |
61 | NULL | 62 | NULL |
62 | }; | 63 | }; |