diff options
Diffstat (limited to 'arch/arm/mach-davinci/dm355.c')
-rw-r--r-- | arch/arm/mach-davinci/dm355.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/dm355.c b/arch/arm/mach-davinci/dm355.c index c02115f1eb9b..6d1abfdcfb72 100644 --- a/arch/arm/mach-davinci/dm355.c +++ b/arch/arm/mach-davinci/dm355.c | |||
@@ -16,6 +16,8 @@ | |||
16 | 16 | ||
17 | #include <linux/spi/spi.h> | 17 | #include <linux/spi/spi.h> |
18 | 18 | ||
19 | #include <asm/mach/map.h> | ||
20 | |||
19 | #include <mach/dm355.h> | 21 | #include <mach/dm355.h> |
20 | #include <mach/clock.h> | 22 | #include <mach/clock.h> |
21 | #include <mach/cputype.h> | 23 | #include <mach/cputype.h> |
@@ -23,6 +25,7 @@ | |||
23 | #include <mach/psc.h> | 25 | #include <mach/psc.h> |
24 | #include <mach/mux.h> | 26 | #include <mach/mux.h> |
25 | #include <mach/irqs.h> | 27 | #include <mach/irqs.h> |
28 | #include <mach/common.h> | ||
26 | 29 | ||
27 | #include "clock.h" | 30 | #include "clock.h" |
28 | #include "mux.h" | 31 | #include "mux.h" |
@@ -522,8 +525,23 @@ static struct platform_device dm355_edma_device = { | |||
522 | 525 | ||
523 | /*----------------------------------------------------------------------*/ | 526 | /*----------------------------------------------------------------------*/ |
524 | 527 | ||
528 | static struct map_desc dm355_io_desc[] = { | ||
529 | { | ||
530 | .virtual = IO_VIRT, | ||
531 | .pfn = __phys_to_pfn(IO_PHYS), | ||
532 | .length = IO_SIZE, | ||
533 | .type = MT_DEVICE | ||
534 | }, | ||
535 | }; | ||
536 | |||
537 | static struct davinci_soc_info davinci_soc_info_dm355 = { | ||
538 | .io_desc = dm355_io_desc, | ||
539 | .io_desc_num = ARRAY_SIZE(dm355_io_desc), | ||
540 | }; | ||
541 | |||
525 | void __init dm355_init(void) | 542 | void __init dm355_init(void) |
526 | { | 543 | { |
544 | davinci_common_init(&davinci_soc_info_dm355); | ||
527 | davinci_clk_init(dm355_clks); | 545 | davinci_clk_init(dm355_clks); |
528 | davinci_mux_register(dm355_pins, ARRAY_SIZE(dm355_pins));; | 546 | davinci_mux_register(dm355_pins, ARRAY_SIZE(dm355_pins));; |
529 | } | 547 | } |