diff options
author | Arnd Bergmann <arnd@arndb.de> | 2013-06-21 09:00:24 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2013-06-21 09:00:24 -0400 |
commit | e8f2ca97151892ab723dd8317313063cef79839d (patch) | |
tree | 147047c432e3af4cad25b4672b493b93edc32844 /arch/arm/plat-samsung | |
parent | 704b1005d1e23fa35a32e591a32183c309917bbd (diff) | |
parent | eff4e7c7f32a4e4be60b19b209ffab5cb430b385 (diff) |
Merge tag 'soc-exynos5420-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung into next/late
From Kukjin Kim:
based on tags/common-clk-audio
- add support for exynos5420 SoC
* tag 'soc-exynos5420-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung:
ARM: EXYNOS: extend soft-reset support for EXYNOS5420
ARM: EXYNOS: add secondary CPU boot base location for EXYNOS5420
clocksource: exynos_mct: use (request/free)_irq calls for local timer registration
ARM: dts: Add initial device tree support for EXYNOS5420
clk: exynos5420: register clocks using common clock framework
ARM: EXYNOS: use four additional chipid bits to identify EXYNOS family
serial: samsung: select EXYNOS specific driver data if ARCH_EXYNOS is defined
ARM: EXYNOS: Add support for EXYNOS5420 SoC
ARM: dts: list the CPU nodes for EXYNOS5250
ARM: dts: fork out common EXYNOS5 nodes
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/plat-samsung')
-rw-r--r-- | arch/arm/plat-samsung/include/plat/cpu.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/plat-samsung/include/plat/cpu.h b/arch/arm/plat-samsung/include/plat/cpu.h index 989fefe18be6..4fb1f03a10d1 100644 --- a/arch/arm/plat-samsung/include/plat/cpu.h +++ b/arch/arm/plat-samsung/include/plat/cpu.h | |||
@@ -46,6 +46,7 @@ extern unsigned long samsung_cpu_id; | |||
46 | #define EXYNOS4_CPU_MASK 0xFFFE0000 | 46 | #define EXYNOS4_CPU_MASK 0xFFFE0000 |
47 | 47 | ||
48 | #define EXYNOS5250_SOC_ID 0x43520000 | 48 | #define EXYNOS5250_SOC_ID 0x43520000 |
49 | #define EXYNOS5420_SOC_ID 0xE5420000 | ||
49 | #define EXYNOS5440_SOC_ID 0xE5440000 | 50 | #define EXYNOS5440_SOC_ID 0xE5440000 |
50 | #define EXYNOS5_SOC_MASK 0xFFFFF000 | 51 | #define EXYNOS5_SOC_MASK 0xFFFFF000 |
51 | 52 | ||
@@ -67,6 +68,7 @@ IS_SAMSUNG_CPU(exynos4210, EXYNOS4210_CPU_ID, EXYNOS4_CPU_MASK) | |||
67 | IS_SAMSUNG_CPU(exynos4212, EXYNOS4212_CPU_ID, EXYNOS4_CPU_MASK) | 68 | IS_SAMSUNG_CPU(exynos4212, EXYNOS4212_CPU_ID, EXYNOS4_CPU_MASK) |
68 | IS_SAMSUNG_CPU(exynos4412, EXYNOS4412_CPU_ID, EXYNOS4_CPU_MASK) | 69 | IS_SAMSUNG_CPU(exynos4412, EXYNOS4412_CPU_ID, EXYNOS4_CPU_MASK) |
69 | IS_SAMSUNG_CPU(exynos5250, EXYNOS5250_SOC_ID, EXYNOS5_SOC_MASK) | 70 | IS_SAMSUNG_CPU(exynos5250, EXYNOS5250_SOC_ID, EXYNOS5_SOC_MASK) |
71 | IS_SAMSUNG_CPU(exynos5420, EXYNOS5420_SOC_ID, EXYNOS5_SOC_MASK) | ||
70 | IS_SAMSUNG_CPU(exynos5440, EXYNOS5440_SOC_ID, EXYNOS5_SOC_MASK) | 72 | IS_SAMSUNG_CPU(exynos5440, EXYNOS5440_SOC_ID, EXYNOS5_SOC_MASK) |
71 | 73 | ||
72 | #if defined(CONFIG_CPU_S3C2410) || defined(CONFIG_CPU_S3C2412) || \ | 74 | #if defined(CONFIG_CPU_S3C2410) || defined(CONFIG_CPU_S3C2412) || \ |
@@ -142,6 +144,12 @@ IS_SAMSUNG_CPU(exynos5440, EXYNOS5440_SOC_ID, EXYNOS5_SOC_MASK) | |||
142 | # define soc_is_exynos5250() 0 | 144 | # define soc_is_exynos5250() 0 |
143 | #endif | 145 | #endif |
144 | 146 | ||
147 | #if defined(CONFIG_SOC_EXYNOS5420) | ||
148 | # define soc_is_exynos5420() is_samsung_exynos5420() | ||
149 | #else | ||
150 | # define soc_is_exynos5420() 0 | ||
151 | #endif | ||
152 | |||
145 | #if defined(CONFIG_SOC_EXYNOS5440) | 153 | #if defined(CONFIG_SOC_EXYNOS5440) |
146 | # define soc_is_exynos5440() is_samsung_exynos5440() | 154 | # define soc_is_exynos5440() is_samsung_exynos5440() |
147 | #else | 155 | #else |