2 * linux/arch/arm/mach-omap/board-h3.c
4 * This file contains OMAP1710 H3 specific code.
6 * Copyright (C) 2004 Texas Instruments, Inc.
7 * Copyright (C) 2002 MontaVista Software, Inc.
8 * Copyright (C) 2001 RidgeRun, Inc.
9 * Author: RidgeRun, Inc.
10 * Greg Lonnon (glonnon@ridgerun.com) or info@ridgerun.com
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License version 2 as
14 * published by the Free Software Foundation.
17 #include <linux/config.h>
18 #include <linux/types.h>
19 #include <linux/init.h>
20 #include <linux/major.h>
21 #include <linux/kernel.h>
22 #include <linux/device.h>
23 #include <linux/errno.h>
25 #include <asm/setup.h>
27 #include <asm/hardware.h>
28 #include <asm/mach/arch.h>
29 #include <asm/mach/map.h>
30 #include <asm/arch/irqs.h>
31 #include <asm/arch/gpio.h>
32 #include <asm/mach-types.h>
33 #include <asm/arch/serial.h>
37 void h3_init_irq(void)
42 static int __initdata h3_serial_ports[OMAP_MAX_NR_PORTS] = {1, 1, 1};
44 static struct resource smc91x_resources[] = {
46 .start = OMAP1710_ETHR_START, /* Physical */
47 .end = OMAP1710_ETHR_START + OMAP1710_ETHR_SIZE,
48 .flags = IORESOURCE_MEM,
53 .flags = IORESOURCE_IRQ,
57 static struct platform_device smc91x_device = {
60 .num_resources = ARRAY_SIZE(smc91x_resources),
61 .resource = smc91x_resources,
64 static struct platform_device *devices[] __initdata = {
68 static void __init h3_init(void)
70 (void) platform_add_devices(devices, ARRAY_SIZE(devices));
73 static void __init h3_map_io(void)
76 omap_serial_init(h3_serial_ports);
79 MACHINE_START(OMAP_H3, "TI OMAP1710 H3 board")
80 MAINTAINER("Texas Instruments, Inc.")
81 BOOT_MEM(0x10000000, 0xfff00000, 0xfef00000)
82 BOOT_PARAMS(0x10000100)