Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 342184
b: refs/heads/master
c: 661c6af
h: refs/heads/master
v: v3
  • Loading branch information
Lee Jones committed Nov 1, 2012
1 parent 00bfd64 commit 080550d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fd053c7dbdb412628a135c19d2c793c8e0af6c1a
refs/heads/master: 661c6af0a5823870c986ab0c387b8ab8543edbd3
14 changes: 14 additions & 0 deletions trunk/arch/arm/mach-ux500/cpu-db8500.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include <linux/platform_device.h>
#include <linux/io.h>
#include <linux/mfd/abx500/ab8500.h>
#include <linux/mfd/dbx500-prcmu.h>
#include <linux/of.h>
#include <linux/of_platform.h>
#include <linux/regulator/machine.h>
Expand Down Expand Up @@ -319,6 +320,8 @@ static void __init u8500_init_machine(void)
snowball_pinmaps_init();
else if (of_machine_is_compatible("st-ericsson,hrefv60+"))
hrefv60_pinmaps_init();
else if (of_machine_is_compatible("st-ericsson,u9540")) {}
/* TODO: Add u9540 pinmaps. */

/* TODO: Export SoC, USB, cpu-freq and DMA40 */
parent = u8500_of_init_devices();
Expand All @@ -331,6 +334,7 @@ static const char * u8500_dt_board_compat[] = {
"calaosystems,snowball-a9500",
"st-ericsson,hrefv60+",
"st-ericsson,mop500",
"st-ericsson,u9540",
NULL,
};

Expand All @@ -345,4 +349,14 @@ DT_MACHINE_START(U8500_DT, "ST-Ericsson U8500 platform (Device Tree Support)")
.dt_compat = u8500_dt_board_compat,
MACHINE_END

DT_MACHINE_START(U9540_DT, "ST-Ericsson 9540 platform (Device Tree Support)")
.map_io = u8500_map_io,
.init_irq = ux500_init_irq,
.timer = &ux500_timer,
.handle_irq = gic_handle_irq,
.init_machine = u8500_init_machine,
.init_late = NULL,
.dt_compat = u8500_dt_board_compat,
MACHINE_END

#endif

0 comments on commit 080550d

Please sign in to comment.