X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=arch%2Farm%2Fmach-omap1%2Fboard-h6300.c;fp=arch%2Farm%2Fmach-omap1%2Fboard-h6300.c;h=94b9c1458d64adc4494df9ea2b8df6c16edbcb1e;hb=cd29551da8a020f19e6895e56919ecb8ef58228c;hp=0000000000000000000000000000000000000000;hpb=79d042a081d3e467c735bb0d9569ed6296f85a3c;p=linux-2.6-omap-h63xx.git diff --git a/arch/arm/mach-omap1/board-h6300.c b/arch/arm/mach-omap1/board-h6300.c new file mode 100644 index 00000000000..94b9c1458d6 --- /dev/null +++ b/arch/arm/mach-omap1/board-h6300.c @@ -0,0 +1,60 @@ +/* + * linux/arch/arm/mach-omap1/board-h6300.c + * + * Modified from board-innovator.c + * + * Board specific inits for OMAP-1510 based iPAQ h63xx series of mobile phones. + * (h6315, h6340 and h6365) + * + * Copyright (C) 2009 Mika Laitio + * Copyright (C) 2009 Husam Senussi + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +#include +#include +#include +#include + +#include + +#include +#include +#include +#include + +#include +#include +#include + +static void __init h6300_init_irq(void) +{ + omap1_init_common_hw(); + omap_init_irq(); + omap_gpio_init(); +} + +static void __init h6300_init(void) +{ + omap_serial_init(); + omap_register_i2c_bus(1, 100, NULL, 0); +} + +static void __init h6300_map_io(void) +{ + omap1_map_common_io(); +} + +MACHINE_START(OMAP_H6300, "HP iPAQ h6300") + /* MAINTAINER("Mika Laitio ") */ + .phys_io = 0xfff00000, + .io_pg_offst = ((0xfef00000) >> 18) & 0xfffc, + .boot_params = 0x10000100, + .map_io = h6300_map_io, + .init_irq = h6300_init_irq, + .init_machine = h6300_init, + .timer = &omap_timer, +MACHINE_END