blob: 9623fff6b3bcc48f93375572402a9b16339af8d0 [file] [log] [blame]
Uwe Kleine-König9918cda2007-02-16 15:36:55 +01001/*
2 * arch/arm/mach-ns9xxx/mach-cc9p9360dev.c
3 *
Uwe Kleine-König724ce5e2008-02-15 08:41:06 +01004 * Copyright (C) 2006,2007 by Digi International Inc.
Uwe Kleine-König9918cda2007-02-16 15:36:55 +01005 * All rights reserved.
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License version 2 as published by
9 * the Free Software Foundation.
10 */
11#include <asm/mach/arch.h>
12#include <asm/mach-types.h>
13
Uwe Kleine-König724ce5e2008-02-15 08:41:06 +010014#include <asm/arch-ns9xxx/processor-ns9360.h>
15
Uwe Kleine-König9918cda2007-02-16 15:36:55 +010016#include "board-a9m9750dev.h"
17#include "generic.h"
18
19static void __init mach_cc9p9360dev_map_io(void)
20{
Uwe Kleine-König724ce5e2008-02-15 08:41:06 +010021 ns9360_map_io();
Uwe Kleine-König9918cda2007-02-16 15:36:55 +010022 board_a9m9750dev_map_io();
23}
24
25static void __init mach_cc9p9360dev_init_irq(void)
26{
27 ns9xxx_init_irq();
28 board_a9m9750dev_init_irq();
29}
30
31static void __init mach_cc9p9360dev_init_machine(void)
32{
33 ns9xxx_init_machine();
34 board_a9m9750dev_init_machine();
35}
36
Uwe Kleine-Königce2b5ec2007-03-06 13:46:04 +010037MACHINE_START(CC9P9360DEV, "Digi ConnectCore 9P 9360 on an A9M9750 Devboard")
Uwe Kleine-König9918cda2007-02-16 15:36:55 +010038 .map_io = mach_cc9p9360dev_map_io,
39 .init_irq = mach_cc9p9360dev_init_irq,
40 .init_machine = mach_cc9p9360dev_init_machine,
Uwe Kleine-König724ce5e2008-02-15 08:41:06 +010041 .timer = &ns9360_timer,
Uwe Kleine-König9918cda2007-02-16 15:36:55 +010042 .boot_params = 0x100,
43MACHINE_END