diff options
Diffstat (limited to 'arch/arm/mach-davinci/dm644x.c')
-rw-r--r-- | arch/arm/mach-davinci/dm644x.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/dm644x.c b/arch/arm/mach-davinci/dm644x.c index 0419d571bdca..79f113698b0b 100644 --- a/arch/arm/mach-davinci/dm644x.c +++ b/arch/arm/mach-davinci/dm644x.c | |||
@@ -13,6 +13,8 @@ | |||
13 | #include <linux/clk.h> | 13 | #include <linux/clk.h> |
14 | #include <linux/platform_device.h> | 14 | #include <linux/platform_device.h> |
15 | 15 | ||
16 | #include <asm/mach/map.h> | ||
17 | |||
16 | #include <mach/dm644x.h> | 18 | #include <mach/dm644x.h> |
17 | #include <mach/clock.h> | 19 | #include <mach/clock.h> |
18 | #include <mach/cputype.h> | 20 | #include <mach/cputype.h> |
@@ -20,6 +22,7 @@ | |||
20 | #include <mach/irqs.h> | 22 | #include <mach/irqs.h> |
21 | #include <mach/psc.h> | 23 | #include <mach/psc.h> |
22 | #include <mach/mux.h> | 24 | #include <mach/mux.h> |
25 | #include <mach/common.h> | ||
23 | 26 | ||
24 | #include "clock.h" | 27 | #include "clock.h" |
25 | #include "mux.h" | 28 | #include "mux.h" |
@@ -463,8 +466,23 @@ void dm644x_init_emac(struct emac_platform_data *unused) {} | |||
463 | 466 | ||
464 | #endif | 467 | #endif |
465 | 468 | ||
469 | static struct map_desc dm644x_io_desc[] = { | ||
470 | { | ||
471 | .virtual = IO_VIRT, | ||
472 | .pfn = __phys_to_pfn(IO_PHYS), | ||
473 | .length = IO_SIZE, | ||
474 | .type = MT_DEVICE | ||
475 | }, | ||
476 | }; | ||
477 | |||
478 | static struct davinci_soc_info davinci_soc_info_dm644x = { | ||
479 | .io_desc = dm644x_io_desc, | ||
480 | .io_desc_num = ARRAY_SIZE(dm644x_io_desc), | ||
481 | }; | ||
482 | |||
466 | void __init dm644x_init(void) | 483 | void __init dm644x_init(void) |
467 | { | 484 | { |
485 | davinci_common_init(&davinci_soc_info_dm644x); | ||
468 | davinci_clk_init(dm644x_clks); | 486 | davinci_clk_init(dm644x_clks); |
469 | davinci_mux_register(dm644x_pins, ARRAY_SIZE(dm644x_pins)); | 487 | davinci_mux_register(dm644x_pins, ARRAY_SIZE(dm644x_pins)); |
470 | } | 488 | } |