2005-06-20 10:51:05 -07:00
|
|
|
/*
|
|
|
|
* linux/arch/arm/mach-aaec2000/aaed2000.c
|
|
|
|
*
|
|
|
|
* Support for the Agilent AAED-2000 Development Platform.
|
|
|
|
*
|
|
|
|
* Copyright (c) 2005 Nicolas Bellido Y Ortega
|
|
|
|
*
|
|
|
|
* 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 <linux/module.h>
|
|
|
|
#include <linux/kernel.h>
|
|
|
|
#include <linux/init.h>
|
|
|
|
#include <linux/device.h>
|
|
|
|
#include <linux/major.h>
|
|
|
|
#include <linux/interrupt.h>
|
|
|
|
|
|
|
|
#include <asm/setup.h>
|
|
|
|
#include <asm/memory.h>
|
|
|
|
#include <asm/mach-types.h>
|
|
|
|
#include <asm/hardware.h>
|
|
|
|
#include <asm/irq.h>
|
|
|
|
|
|
|
|
#include <asm/mach/arch.h>
|
|
|
|
#include <asm/mach/map.h>
|
|
|
|
#include <asm/mach/irq.h>
|
|
|
|
|
2005-10-28 08:51:40 -07:00
|
|
|
#include <asm/arch/aaed2000.h>
|
|
|
|
|
2005-06-20 10:51:05 -07:00
|
|
|
#include "core.h"
|
|
|
|
|
|
|
|
static void __init aaed2000_init_irq(void)
|
|
|
|
{
|
|
|
|
aaec2000_init_irq();
|
|
|
|
}
|
|
|
|
|
2005-10-28 08:51:40 -07:00
|
|
|
static struct map_desc aaed2000_io_desc[] __initdata = {
|
|
|
|
{ EXT_GPIO_VBASE, EXT_GPIO_PBASE, EXT_GPIO_LENGTH, MT_DEVICE }, /* Ext GPIO */
|
|
|
|
};
|
|
|
|
|
2005-06-20 10:51:05 -07:00
|
|
|
static void __init aaed2000_map_io(void)
|
|
|
|
{
|
|
|
|
aaec2000_map_io();
|
2005-10-28 08:51:40 -07:00
|
|
|
iotable_init(aaed2000_io_desc, ARRAY_SIZE(aaed2000_io_desc));
|
2005-06-20 10:51:05 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
MACHINE_START(AAED2000, "Agilent AAED-2000 Development Platform")
|
2005-07-03 09:38:58 -07:00
|
|
|
/* Maintainer: Nicolas Bellido Y Ortega */
|
|
|
|
.phys_ram = 0xf0000000,
|
|
|
|
.phys_io = PIO_BASE,
|
|
|
|
.io_pg_offst = ((VIO_BASE) >> 18) & 0xfffc,
|
|
|
|
.map_io = aaed2000_map_io,
|
|
|
|
.init_irq = aaed2000_init_irq,
|
2005-06-20 10:51:05 -07:00
|
|
|
.timer = &aaec2000_timer,
|
|
|
|
MACHINE_END
|