| Uwe Kleine-König | 9918cda | 2007-02-16 15:36:55 +0100 | [diff] [blame] | 1 | /* | 
 | 2 |  * arch/arm/mach-ns9xxx/mach-cc9p9360dev.c | 
 | 3 |  * | 
| Uwe Kleine-König | 724ce5e | 2008-02-15 08:41:06 +0100 | [diff] [blame] | 4 |  * Copyright (C) 2006,2007 by Digi International Inc. | 
| Uwe Kleine-König | 9918cda | 2007-02-16 15:36:55 +0100 | [diff] [blame] | 5 |  * 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 |  | 
| Russell King | a09e64f | 2008-08-05 16:14:15 +0100 | [diff] [blame] | 14 | #include <mach/processor-ns9360.h> | 
| Uwe Kleine-König | 724ce5e | 2008-02-15 08:41:06 +0100 | [diff] [blame] | 15 |  | 
| Uwe Kleine-König | 9918cda | 2007-02-16 15:36:55 +0100 | [diff] [blame] | 16 | #include "board-a9m9750dev.h" | 
 | 17 | #include "generic.h" | 
 | 18 |  | 
 | 19 | static void __init mach_cc9p9360dev_map_io(void) | 
 | 20 | { | 
| Uwe Kleine-König | 724ce5e | 2008-02-15 08:41:06 +0100 | [diff] [blame] | 21 | 	ns9360_map_io(); | 
| Uwe Kleine-König | 9918cda | 2007-02-16 15:36:55 +0100 | [diff] [blame] | 22 | 	board_a9m9750dev_map_io(); | 
 | 23 | } | 
 | 24 |  | 
 | 25 | static void __init mach_cc9p9360dev_init_irq(void) | 
 | 26 | { | 
 | 27 | 	ns9xxx_init_irq(); | 
 | 28 | 	board_a9m9750dev_init_irq(); | 
 | 29 | } | 
 | 30 |  | 
 | 31 | static void __init mach_cc9p9360dev_init_machine(void) | 
 | 32 | { | 
 | 33 | 	ns9xxx_init_machine(); | 
 | 34 | 	board_a9m9750dev_init_machine(); | 
 | 35 | } | 
 | 36 |  | 
| Uwe Kleine-König | ce2b5ec | 2007-03-06 13:46:04 +0100 | [diff] [blame] | 37 | MACHINE_START(CC9P9360DEV, "Digi ConnectCore 9P 9360 on an A9M9750 Devboard") | 
| Uwe Kleine-König | 9918cda | 2007-02-16 15:36:55 +0100 | [diff] [blame] | 38 | 	.map_io = mach_cc9p9360dev_map_io, | 
 | 39 | 	.init_irq = mach_cc9p9360dev_init_irq, | 
 | 40 | 	.init_machine = mach_cc9p9360dev_init_machine, | 
| Uwe Kleine-König | 724ce5e | 2008-02-15 08:41:06 +0100 | [diff] [blame] | 41 | 	.timer = &ns9360_timer, | 
| Uwe Kleine-König | 9918cda | 2007-02-16 15:36:55 +0100 | [diff] [blame] | 42 | 	.boot_params = 0x100, | 
 | 43 | MACHINE_END |