Merge current mainline tree into linux-omap tree
[pandora-kernel.git] / arch / arm / mach-omap2 / board-n810.c
1 /*
2  * linux/arch/arm/mach-omap2/board-n810.c
3  *
4  * Copyright (C) 2007 Nokia
5  * Author: Lauri Leukkunen <lauri.leukkunen@nokia.com>
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License version 2 as
9  * published by the Free Software Foundation.
10  */
11
12 #include <linux/init.h>
13 #include <linux/i2c.h>
14 #include <linux/i2c/lm8323.h>
15
16 #include <mach/hardware.h>
17 #include <asm/mach-types.h>
18 #include <asm/mach/arch.h>
19 #include <mach/board.h>
20 #include <mach/common.h>
21
22 #include "board-n800.h"
23
24 static void __init nokia_n810_init(void)
25 {
26         nokia_n800_common_init();
27 }
28
29 MACHINE_START(NOKIA_N810, "Nokia N810")
30         .phys_io        = 0x48000000,
31         .io_pg_offst    = ((0xd8000000) >> 18) & 0xfffc,
32         .boot_params    = 0x80000100,
33         .map_io         = nokia_n800_map_io,
34         .init_irq       = nokia_n800_init_irq,
35         .init_machine   = nokia_n810_init,
36         .timer          = &omap_timer,
37 MACHINE_END
38
39 MACHINE_START(NOKIA_N810_WIMAX, "Nokia N810 WiMAX")
40         .phys_io        = 0x48000000,
41         .io_pg_offst    = ((0xd8000000) >> 18) & 0xfffc,
42         .boot_params    = 0x80000100,
43         .map_io         = nokia_n800_map_io,
44         .init_irq       = nokia_n800_init_irq,
45         .init_machine   = nokia_n810_init,
46         .timer          = &omap_timer,
47 MACHINE_END