diff options
author | Uwe Kleine-König <ukleinek@informatik.uni-freiburg.de> | 2007-04-02 16:09:31 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2007-04-21 15:52:30 -0400 |
commit | 13ea55b04eaafb60cd7df759c8d92566d1f19351 (patch) | |
tree | c9a4be45076f156d15d85543ba8fedcf1a8c2abc /arch/arm/mach-ns9xxx | |
parent | f86bd61fd70af02e666a893aaf22653181423e99 (diff) |
[ARM] 4301/1: add mach type cc9p9360js
The support for that machine is not yet complete, but it's enough to
be useful as a test platform for the serial and ethernet driver.
Moreover a typo in the product name is fixed that I missed in the
last patch.
Signed-off-by: Uwe Kleine-König <ukleinek@informatik.uni-freiburg.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-ns9xxx')
-rw-r--r-- | arch/arm/mach-ns9xxx/Kconfig | 15 | ||||
-rw-r--r-- | arch/arm/mach-ns9xxx/Makefile | 1 | ||||
-rw-r--r-- | arch/arm/mach-ns9xxx/board-jscc9p9360.c | 17 | ||||
-rw-r--r-- | arch/arm/mach-ns9xxx/board-jscc9p9360.h | 13 | ||||
-rw-r--r-- | arch/arm/mach-ns9xxx/mach-cc9p9360js.c | 29 |
5 files changed, 73 insertions, 2 deletions
diff --git a/arch/arm/mach-ns9xxx/Kconfig b/arch/arm/mach-ns9xxx/Kconfig index 8175ba92a2fa..8584ed107991 100644 --- a/arch/arm/mach-ns9xxx/Kconfig +++ b/arch/arm/mach-ns9xxx/Kconfig | |||
@@ -3,19 +3,30 @@ if ARCH_NS9XXX | |||
3 | menu "NS9xxx Implementations" | 3 | menu "NS9xxx Implementations" |
4 | 4 | ||
5 | config MACH_CC9P9360DEV | 5 | config MACH_CC9P9360DEV |
6 | bool "Connect Core 9P 9360 on an A9M9750 Devboard" | 6 | bool "ConnectCore 9P 9360 on an A9M9750 Devboard" |
7 | select PROCESSOR_NS9360 | 7 | select PROCESSOR_NS9360 |
8 | select BOARD_A9M9750DEV | 8 | select BOARD_A9M9750DEV |
9 | help | 9 | help |
10 | Say Y here if you are using the Digi Connect Core 9P 9360 | 10 | Say Y here if you are using the Digi ConnectCore 9P 9360 |
11 | on an A9M9750 Development Board. | 11 | on an A9M9750 Development Board. |
12 | 12 | ||
13 | config MACH_CC9P9360JS | ||
14 | bool "ConnectCore 9P 9360 on a JSCC9P9360 Devboard" | ||
15 | select PROCESSOR_NS9360 | ||
16 | select BOARD_JSCC9P9360 | ||
17 | help | ||
18 | Say Y here if you are using the Digi ConnectCore 9P 9360 | ||
19 | on an JSCC9P9360 Development Board. | ||
20 | |||
13 | config PROCESSOR_NS9360 | 21 | config PROCESSOR_NS9360 |
14 | bool | 22 | bool |
15 | 23 | ||
16 | config BOARD_A9M9750DEV | 24 | config BOARD_A9M9750DEV |
17 | bool | 25 | bool |
18 | 26 | ||
27 | config BOARD_JSCC9P9360 | ||
28 | bool | ||
29 | |||
19 | endmenu | 30 | endmenu |
20 | 31 | ||
21 | endif | 32 | endif |
diff --git a/arch/arm/mach-ns9xxx/Makefile b/arch/arm/mach-ns9xxx/Makefile index 91e945f5e16d..53213a69f601 100644 --- a/arch/arm/mach-ns9xxx/Makefile +++ b/arch/arm/mach-ns9xxx/Makefile | |||
@@ -3,3 +3,4 @@ obj-y := irq.o time.o generic.o | |||
3 | obj-$(CONFIG_MACH_CC9P9360DEV) += mach-cc9p9360dev.o | 3 | obj-$(CONFIG_MACH_CC9P9360DEV) += mach-cc9p9360dev.o |
4 | 4 | ||
5 | obj-$(CONFIG_BOARD_A9M9750DEV) += board-a9m9750dev.o | 5 | obj-$(CONFIG_BOARD_A9M9750DEV) += board-a9m9750dev.o |
6 | obj-$(CONFIG_BOARD_JSCC9P9360) += board-jscc9p9360.o | ||
diff --git a/arch/arm/mach-ns9xxx/board-jscc9p9360.c b/arch/arm/mach-ns9xxx/board-jscc9p9360.c new file mode 100644 index 000000000000..4bd3eec04bfe --- /dev/null +++ b/arch/arm/mach-ns9xxx/board-jscc9p9360.c | |||
@@ -0,0 +1,17 @@ | |||
1 | /* | ||
2 | * arch/arm/mach-ns9xxx/board-jscc9p9360.c | ||
3 | * | ||
4 | * Copyright (C) 2006,2007 by Digi International Inc. | ||
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 "board-jscc9p9360.h" | ||
12 | |||
13 | void __init board_jscc9p9360_init_machine(void) | ||
14 | { | ||
15 | /* TODO: reserve GPIOs for push buttons, etc pp */ | ||
16 | } | ||
17 | |||
diff --git a/arch/arm/mach-ns9xxx/board-jscc9p9360.h b/arch/arm/mach-ns9xxx/board-jscc9p9360.h new file mode 100644 index 000000000000..1a81a074df45 --- /dev/null +++ b/arch/arm/mach-ns9xxx/board-jscc9p9360.h | |||
@@ -0,0 +1,13 @@ | |||
1 | /* | ||
2 | * arch/arm/mach-ns9xxx/board-jscc9p9360.h | ||
3 | * | ||
4 | * Copyright (C) 2006 by Digi International Inc. | ||
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 <linux/init.h> | ||
12 | |||
13 | void __init board_jscc9p9360_init_machine(void); | ||
diff --git a/arch/arm/mach-ns9xxx/mach-cc9p9360js.c b/arch/arm/mach-ns9xxx/mach-cc9p9360js.c new file mode 100644 index 000000000000..d09d5fa5620a --- /dev/null +++ b/arch/arm/mach-ns9xxx/mach-cc9p9360js.c | |||
@@ -0,0 +1,29 @@ | |||
1 | /* | ||
2 | * arch/arm/mach-ns9xxx/mach-cc9p9360js.c | ||
3 | * | ||
4 | * Copyright (C) 2006 by Digi International Inc. | ||
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 | |||
14 | #include "board-jscc9p9360.h" | ||
15 | #include "generic.h" | ||
16 | |||
17 | static void __init mach_cc9p9360js_init_machine(void) | ||
18 | { | ||
19 | ns9xxx_init_machine(); | ||
20 | board_jscc9p9360_init_machine(); | ||
21 | } | ||
22 | |||
23 | MACHINE_START(CC9P9360DEV, "Digi ConnectCore 9P 9360 on an JSCC9P9360 Devboard") | ||
24 | .map_io = ns9xxx_map_io, | ||
25 | .init_irq = ns9xxx_init_irq, | ||
26 | .init_machine = mach_cc9p9360js_init_machine, | ||
27 | .timer = &ns9xxx_timer, | ||
28 | .boot_params = 0x100, | ||
29 | MACHINE_END | ||