aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ux500/cpu-db8500.c
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2012-10-08 09:20:10 -0400
committerLee Jones <lee.jones@linaro.org>2012-11-01 08:02:20 -0400
commit661c6af0a5823870c986ab0c387b8ab8543edbd3 (patch)
treeebf7cafb782d62d2dbd03368cf14a0d572232b62 /arch/arm/mach-ux500/cpu-db8500.c
parentfd053c7dbdb412628a135c19d2c793c8e0af6c1a (diff)
ARM: ux500: Add support for ST-Ericsson's u9540 SoC
First level board support for the u9540. Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'arch/arm/mach-ux500/cpu-db8500.c')
-rw-r--r--arch/arm/mach-ux500/cpu-db8500.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/cpu-db8500.c b/arch/arm/mach-ux500/cpu-db8500.c
index 4fd6b7c85c75..0b15591a087d 100644
--- a/arch/arm/mach-ux500/cpu-db8500.c
+++ b/arch/arm/mach-ux500/cpu-db8500.c
@@ -17,6 +17,7 @@
17#include <linux/platform_device.h> 17#include <linux/platform_device.h>
18#include <linux/io.h> 18#include <linux/io.h>
19#include <linux/mfd/abx500/ab8500.h> 19#include <linux/mfd/abx500/ab8500.h>
20#include <linux/mfd/dbx500-prcmu.h>
20#include <linux/of.h> 21#include <linux/of.h>
21#include <linux/of_platform.h> 22#include <linux/of_platform.h>
22#include <linux/regulator/machine.h> 23#include <linux/regulator/machine.h>
@@ -319,6 +320,8 @@ static void __init u8500_init_machine(void)
319 snowball_pinmaps_init(); 320 snowball_pinmaps_init();
320 else if (of_machine_is_compatible("st-ericsson,hrefv60+")) 321 else if (of_machine_is_compatible("st-ericsson,hrefv60+"))
321 hrefv60_pinmaps_init(); 322 hrefv60_pinmaps_init();
323 else if (of_machine_is_compatible("st-ericsson,u9540")) {}
324 /* TODO: Add u9540 pinmaps. */
322 325
323 /* TODO: Export SoC, USB, cpu-freq and DMA40 */ 326 /* TODO: Export SoC, USB, cpu-freq and DMA40 */
324 parent = u8500_of_init_devices(); 327 parent = u8500_of_init_devices();
@@ -331,6 +334,7 @@ static const char * u8500_dt_board_compat[] = {
331 "calaosystems,snowball-a9500", 334 "calaosystems,snowball-a9500",
332 "st-ericsson,hrefv60+", 335 "st-ericsson,hrefv60+",
333 "st-ericsson,mop500", 336 "st-ericsson,mop500",
337 "st-ericsson,u9540",
334 NULL, 338 NULL,
335}; 339};
336 340
@@ -345,4 +349,14 @@ DT_MACHINE_START(U8500_DT, "ST-Ericsson U8500 platform (Device Tree Support)")
345 .dt_compat = u8500_dt_board_compat, 349 .dt_compat = u8500_dt_board_compat,
346MACHINE_END 350MACHINE_END
347 351
352DT_MACHINE_START(U9540_DT, "ST-Ericsson 9540 platform (Device Tree Support)")
353 .map_io = u8500_map_io,
354 .init_irq = ux500_init_irq,
355 .timer = &ux500_timer,
356 .handle_irq = gic_handle_irq,
357 .init_machine = u8500_init_machine,
358 .init_late = NULL,
359 .dt_compat = u8500_dt_board_compat,
360MACHINE_END
361
348#endif 362#endif