MOXA linux-2.6.x / linux-2.6.19-uc1 from UC-7110-LX-BOOTLOADER-1.9_VERSION-4.2.tgz
[linux-2.6.19-moxart.git] / arch / arm / mach-ks8695 / arch.c
bloba91fd36e88d9fdbed4e592c315bfd117c2fece71
1 /*
2 * linux/arch/arm/mach-ks8695/arch.c
4 * Copyright (C) 2002 Micrel Inc.
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 #include <linux/types.h>
22 #include <linux/init.h>
23 #include <asm/memory.h>
24 #include <asm/hardware.h>
25 #include <asm/setup.h>
26 #include <asm/mach-types.h>
27 #include <asm/mach/arch.h>
28 #include <asm/arch/ks8695-regs.h>
30 extern void ks8695_map_io(void);
31 extern void ks8695_init_irq(void);
32 extern struct sys_timer ks8695_timer;
34 #ifdef CONFIG_MACH_KS8695
35 MACHINE_START(KS8695, "Micrel-KS8695")
36 /* Micrel Inc. */
37 .phys_io = KS8695_IO_BASE,
38 .io_pg_offst = ((KS8695_IO_VIRT >> 18) & 0xfffc),
39 .map_io = ks8695_map_io,
40 .init_irq = ks8695_init_irq,
41 .timer = &ks8695_timer,
42 .boot_params = 0x100,
43 MACHINE_END
44 #endif
46 #ifdef CONFIG_MACH_DSM320
47 MACHINE_START(DSM320, "DLink-DSM320")
48 /* Maintainer: Ben Dooks <ben@simtec.co.uk> */
49 .phys_io = KS8695_IO_BASE,
50 .io_pg_offst = ((KS8695_IO_VIRT) >> 18) & 0xfffc,
51 .map_io = ks8695_map_io,
52 .init_irq = ks8695_init_irq,
53 .timer = &ks8695_timer,
54 .boot_params = 0x100,
55 MACHINE_END
56 #endif
58 #ifdef CONFIG_MACH_LITE300
59 MACHINE_START(KS8695, "Secure Computing SG300")
60 /* Secure Computing Inc. */
61 .phys_io = KS8695_IO_BASE,
62 .io_pg_offst = ((KS8695_IO_VIRT >> 18) & 0xfffc),
63 .map_io = ks8695_map_io,
64 .init_irq = ks8695_init_irq,
65 .timer = &ks8695_timer,
66 .boot_params = 0x100,
67 MACHINE_END
68 #endif
70 #ifdef CONFIG_MACH_SE4200
71 MACHINE_START(KS8695, "Secure Computing SE4200")
72 /* Secure Computing Inc. */
73 .phys_io = KS8695_IO_BASE,
74 .io_pg_offst = ((KS8695_IO_VIRT >> 18) & 0xfffc),
75 .map_io = ks8695_map_io,
76 .init_irq = ks8695_init_irq,
77 .timer = &ks8695_timer,
78 .boot_params = 0x100,
79 MACHINE_END
80 #endif
82 #ifdef CONFIG_MACH_CM4002
83 MACHINE_START(KS8695, "OpenGear/CM4002")
84 /* OpenGear Inc. */
85 .phys_io = KS8695_IO_BASE,
86 .io_pg_offst = ((KS8695_IO_VIRT >> 18) & 0xfffc),
87 .map_io = ks8695_map_io,
88 .init_irq = ks8695_init_irq,
89 .timer = &ks8695_timer,
90 .boot_params = 0x100,
91 MACHINE_END
92 #endif
94 #ifdef CONFIG_MACH_CM4008
95 MACHINE_START(KS8695, "OpenGear/CM4008")
96 /* OpenGear Inc. */
97 .phys_io = KS8695_IO_BASE,
98 .io_pg_offst = ((KS8695_IO_VIRT >> 18) & 0xfffc),
99 .map_io = ks8695_map_io,
100 .init_irq = ks8695_init_irq,
101 .timer = &ks8695_timer,
102 .boot_params = 0x100,
103 MACHINE_END
104 #endif
106 #ifdef CONFIG_MACH_CM41xx
107 MACHINE_START(KS8695, "OpenGear/CM41xx")
108 /* OpenGear Inc. */
109 .phys_io = KS8695_IO_BASE,
110 .io_pg_offst = ((KS8695_IO_VIRT >> 18) & 0xfffc),
111 .map_io = ks8695_map_io,
112 .init_irq = ks8695_init_irq,
113 .timer = &ks8695_timer,
114 .boot_params = 0x100,
115 MACHINE_END
116 #endif