blob: 5033c030a3f24f0c296d16e1c94aaf341cd61212 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
2 * Hardware definitions for Compaq iPAQ H3xxx Handheld Computers
3 *
4 * Copyright 2000,1 Compaq Computer Corporation.
5 *
6 * Use consistent with the GNU GPL is permitted,
7 * provided that this copyright notice is
8 * preserved in its entirety in all copies and derived works.
9 *
10 * COMPAQ COMPUTER CORPORATION MAKES NO WARRANTIES, EXPRESSED OR IMPLIED,
11 * AS TO THE USEFULNESS OR CORRECTNESS OF THIS CODE OR ITS
12 * FITNESS FOR ANY PARTICULAR PURPOSE.
13 *
14 * Author: Jamey Hicks.
15 *
16 * History:
17 *
18 * 2001-10-?? Andrew Christian Added support for iPAQ H3800
19 * and abstracted EGPIO interface.
20 *
21 */
Linus Torvalds1da177e2005-04-16 15:20:36 -070022#include <linux/module.h>
23#include <linux/init.h>
24#include <linux/kernel.h>
25#include <linux/tty.h>
26#include <linux/pm.h>
27#include <linux/device.h>
28#include <linux/mtd/mtd.h>
29#include <linux/mtd/partitions.h>
30#include <linux/serial_core.h>
Russell King0831e3e2009-10-06 14:35:16 +010031#include <linux/gpio.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070032
33#include <asm/irq.h>
Russell Kinga09e64f2008-08-05 16:14:15 +010034#include <mach/hardware.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070035#include <asm/mach-types.h>
36#include <asm/setup.h>
37
38#include <asm/mach/irq.h>
39#include <asm/mach/arch.h>
40#include <asm/mach/flash.h>
41#include <asm/mach/irda.h>
42#include <asm/mach/map.h>
43#include <asm/mach/serial_sa1100.h>
44
Russell Kinga09e64f2008-08-05 16:14:15 +010045#include <mach/h3600.h>
Russell Kinga09e64f2008-08-05 16:14:15 +010046#include <mach/h3600_gpio.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070047
48#include "generic.h"
49
Dmitry Artamonow607b0672009-03-15 19:14:27 +010050void (*assign_h3600_egpio)(enum ipaq_egpio_type x, int level);
51EXPORT_SYMBOL(assign_h3600_egpio);
Linus Torvalds1da177e2005-04-16 15:20:36 -070052
Russell King0831e3e2009-10-06 14:35:16 +010053struct gpio_default_state {
54 int gpio;
55 int mode;
56 const char *name;
57};
58
59#define GPIO_MODE_IN -1
60#define GPIO_MODE_OUT0 0
61#define GPIO_MODE_OUT1 1
62
63static void h3xxx_init_gpio(struct gpio_default_state *s, size_t n)
64{
65 while (n--) {
66 const char *name = s->name;
67 int err;
68
69 if (!name)
70 name = "[init]";
71 err = gpio_request(s->gpio, name);
72 if (err) {
73 printk(KERN_ERR "gpio%u: unable to request: %d\n",
74 s->gpio, err);
75 continue;
76 }
77 if (s->mode >= 0) {
78 err = gpio_direction_output(s->gpio, s->mode);
79 } else {
80 err = gpio_direction_input(s->gpio);
81 }
82 if (err) {
83 printk(KERN_ERR "gpio%u: unable to set direction: %d\n",
84 s->gpio, err);
85 continue;
86 }
87 if (!s->name)
88 gpio_free(s->gpio);
89 s++;
90 }
91}
92
93
Russell King6e21ee62009-10-06 15:16:27 +010094/*
95 * H3xxx flash support
96 */
Linus Torvalds1da177e2005-04-16 15:20:36 -070097static struct mtd_partition h3xxx_partitions[] = {
98 {
99 .name = "H3XXX boot firmware",
100 .size = 0x00040000,
101 .offset = 0,
102 .mask_flags = MTD_WRITEABLE, /* force read-only */
103 }, {
Dmitry Artamonowf110b3f2009-03-15 19:09:50 +0100104 .name = "H3XXX rootfs",
Linus Torvalds1da177e2005-04-16 15:20:36 -0700105 .size = MTDPART_SIZ_FULL,
106 .offset = 0x00040000,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700107 }
108};
109
110static void h3xxx_set_vpp(int vpp)
111{
112 assign_h3600_egpio(IPAQ_EGPIO_VPP_ON, vpp);
113}
114
115static struct flash_platform_data h3xxx_flash_data = {
116 .map_name = "cfi_probe",
117 .set_vpp = h3xxx_set_vpp,
118 .parts = h3xxx_partitions,
119 .nr_parts = ARRAY_SIZE(h3xxx_partitions),
120};
121
122static struct resource h3xxx_flash_resource = {
123 .start = SA1100_CS0_PHYS,
124 .end = SA1100_CS0_PHYS + SZ_32M - 1,
125 .flags = IORESOURCE_MEM,
126};
127
Linus Torvalds1da177e2005-04-16 15:20:36 -0700128
129/*
Russell King6e21ee62009-10-06 15:16:27 +0100130 * H3xxx uart support
Linus Torvalds1da177e2005-04-16 15:20:36 -0700131 */
Russell King6e21ee62009-10-06 15:16:27 +0100132static void h3xxx_uart_set_mctrl(struct uart_port *port, u_int mctrl)
Linus Torvalds1da177e2005-04-16 15:20:36 -0700133{
134 if (port->mapbase == _Ser3UTCR0) {
Russell King6e21ee62009-10-06 15:16:27 +0100135 gpio_set_value(H3XXX_GPIO_COM_RTS, !(mctrl & TIOCM_RTS));
Linus Torvalds1da177e2005-04-16 15:20:36 -0700136 }
137}
138
Russell King6e21ee62009-10-06 15:16:27 +0100139static u_int h3xxx_uart_get_mctrl(struct uart_port *port)
Linus Torvalds1da177e2005-04-16 15:20:36 -0700140{
141 u_int ret = TIOCM_CD | TIOCM_CTS | TIOCM_DSR;
142
143 if (port->mapbase == _Ser3UTCR0) {
Russell King6e21ee62009-10-06 15:16:27 +0100144 /*
145 * DCD and CTS bits are inverted in GPLR by RS232 transceiver
146 */
147 if (gpio_get_value(H3XXX_GPIO_COM_DCD))
Linus Torvalds1da177e2005-04-16 15:20:36 -0700148 ret &= ~TIOCM_CD;
Russell King6e21ee62009-10-06 15:16:27 +0100149 if (gpio_get_value(H3XXX_GPIO_COM_CTS))
Linus Torvalds1da177e2005-04-16 15:20:36 -0700150 ret &= ~TIOCM_CTS;
151 }
152
153 return ret;
154}
155
Russell King6e21ee62009-10-06 15:16:27 +0100156static void h3xxx_uart_pm(struct uart_port *port, u_int state, u_int oldstate)
Linus Torvalds1da177e2005-04-16 15:20:36 -0700157{
Dmitry Artamonow2a151a02009-11-27 11:10:58 +0100158 if (port->mapbase == _Ser3UTCR0)
Linus Torvalds1da177e2005-04-16 15:20:36 -0700159 assign_h3600_egpio(IPAQ_EGPIO_RS232_ON, !state);
Linus Torvalds1da177e2005-04-16 15:20:36 -0700160}
161
162/*
163 * Enable/Disable wake up events for this serial port.
164 * Obviously, we only support this on the normal COM port.
165 */
Russell King6e21ee62009-10-06 15:16:27 +0100166static int h3xxx_uart_set_wake(struct uart_port *port, u_int enable)
Linus Torvalds1da177e2005-04-16 15:20:36 -0700167{
168 int err = -EINVAL;
169
170 if (port->mapbase == _Ser3UTCR0) {
171 if (enable)
172 PWER |= PWER_GPIO23 | PWER_GPIO25; /* DCD and CTS */
173 else
174 PWER &= ~(PWER_GPIO23 | PWER_GPIO25); /* DCD and CTS */
175 err = 0;
176 }
177 return err;
178}
179
Russell King6e21ee62009-10-06 15:16:27 +0100180static struct sa1100_port_fns h3xxx_port_fns __initdata = {
181 .set_mctrl = h3xxx_uart_set_mctrl,
182 .get_mctrl = h3xxx_uart_get_mctrl,
183 .pm = h3xxx_uart_pm,
184 .set_wake = h3xxx_uart_set_wake,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700185};
186
Russell King6e21ee62009-10-06 15:16:27 +0100187
Dmitry Artamonowe55b20e2009-11-27 11:06:46 +0100188static void __init h3xxx_mach_init(void)
Russell King6e21ee62009-10-06 15:16:27 +0100189{
190 sa1100_register_uart_fns(&h3xxx_port_fns);
191 sa11x0_register_mtd(&h3xxx_flash_data, &h3xxx_flash_resource, 1);
192}
193
Linus Torvalds1da177e2005-04-16 15:20:36 -0700194/*
195 * helper for sa1100fb
196 */
197static void h3xxx_lcd_power(int enable)
198{
199 assign_h3600_egpio(IPAQ_EGPIO_LCD_POWER, enable);
200}
201
202static struct map_desc h3600_io_desc[] __initdata = {
Deepak Saxena92519d82005-10-28 15:19:04 +0100203 { /* static memory bank 2 CS#2 */
204 .virtual = H3600_BANK_2_VIRT,
205 .pfn = __phys_to_pfn(SA1100_CS2_PHYS),
206 .length = 0x02800000,
207 .type = MT_DEVICE
208 }, { /* static memory bank 4 CS#4 */
209 .virtual = H3600_BANK_4_VIRT,
210 .pfn = __phys_to_pfn(SA1100_CS4_PHYS),
211 .length = 0x00800000,
212 .type = MT_DEVICE
213 }, { /* EGPIO 0 CS#5 */
214 .virtual = H3600_EGPIO_VIRT,
215 .pfn = __phys_to_pfn(H3600_EGPIO_PHYS),
216 .length = 0x01000000,
217 .type = MT_DEVICE
218 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700219};
220
221/*
222 * Common map_io initialization
223 */
224
225static void __init h3xxx_map_io(void)
226{
227 sa1100_map_io();
228 iotable_init(h3600_io_desc, ARRAY_SIZE(h3600_io_desc));
229
Linus Torvalds1da177e2005-04-16 15:20:36 -0700230 sa1100_register_uart(0, 3); /* Common serial port */
231// sa1100_register_uart(1, 1); /* Microcontroller on 3100/3600 */
232
233 /* Ensure those pins are outputs and driving low */
234 PPDR |= PPC_TXD4 | PPC_SCLK | PPC_SFRM;
235 PPSR &= ~(PPC_TXD4 | PPC_SCLK | PPC_SFRM);
236
237 /* Configure suspend conditions */
238 PGSR = 0;
Russell King0fb85a52009-10-06 16:40:24 +0100239 PWER = PWER_GPIO0;
Linus Torvalds1da177e2005-04-16 15:20:36 -0700240 PCFR = PCFR_OPDE;
241 PSDR = 0;
242
243 sa1100fb_lcd_power = h3xxx_lcd_power;
244}
245
Linus Torvalds1da177e2005-04-16 15:20:36 -0700246/************************* H3100 *************************/
247
248#ifdef CONFIG_SA1100_H3100
249
250#define H3100_EGPIO (*(volatile unsigned int *)H3600_EGPIO_VIRT)
251static unsigned int h3100_egpio = 0;
252
253static void h3100_control_egpio(enum ipaq_egpio_type x, int setp)
254{
255 unsigned int egpio = 0;
256 long gpio = 0;
257 unsigned long flags;
258
259 switch (x) {
260 case IPAQ_EGPIO_LCD_POWER:
261 egpio |= EGPIO_H3600_LCD_ON;
262 gpio |= GPIO_H3100_LCD_3V_ON;
Linus Torvalds1da177e2005-04-16 15:20:36 -0700263 break;
264 case IPAQ_EGPIO_LCD_ENABLE:
265 break;
266 case IPAQ_EGPIO_CODEC_NRESET:
267 egpio |= EGPIO_H3600_CODEC_NRESET;
268 break;
269 case IPAQ_EGPIO_AUDIO_ON:
270 gpio |= GPIO_H3100_AUD_PWR_ON
271 | GPIO_H3100_AUD_ON;
272 break;
273 case IPAQ_EGPIO_QMUTE:
274 gpio |= GPIO_H3100_QMUTE;
275 break;
276 case IPAQ_EGPIO_OPT_NVRAM_ON:
277 egpio |= EGPIO_H3600_OPT_NVRAM_ON;
278 break;
279 case IPAQ_EGPIO_OPT_ON:
280 egpio |= EGPIO_H3600_OPT_ON;
281 break;
282 case IPAQ_EGPIO_CARD_RESET:
283 egpio |= EGPIO_H3600_CARD_RESET;
284 break;
285 case IPAQ_EGPIO_OPT_RESET:
286 egpio |= EGPIO_H3600_OPT_RESET;
287 break;
288 case IPAQ_EGPIO_IR_ON:
289 gpio |= GPIO_H3100_IR_ON;
290 break;
291 case IPAQ_EGPIO_IR_FSEL:
292 gpio |= GPIO_H3100_IR_FSEL;
293 break;
294 case IPAQ_EGPIO_RS232_ON:
295 egpio |= EGPIO_H3600_RS232_ON;
296 break;
297 case IPAQ_EGPIO_VPP_ON:
298 egpio |= EGPIO_H3600_VPP_ON;
299 break;
300 }
301
302 if (egpio || gpio) {
303 local_irq_save(flags);
304 if (setp) {
305 h3100_egpio |= egpio;
306 GPSR = gpio;
307 } else {
308 h3100_egpio &= ~egpio;
309 GPCR = gpio;
310 }
311 H3100_EGPIO = h3100_egpio;
312 local_irq_restore(flags);
313 }
314}
315
Linus Torvalds1da177e2005-04-16 15:20:36 -0700316#define H3100_DIRECT_EGPIO (GPIO_H3100_BT_ON \
317 | GPIO_H3100_GPIO3 \
318 | GPIO_H3100_QMUTE \
319 | GPIO_H3100_LCD_3V_ON \
320 | GPIO_H3100_AUD_ON \
321 | GPIO_H3100_AUD_PWR_ON \
322 | GPIO_H3100_IR_ON \
323 | GPIO_H3100_IR_FSEL)
324
325static void __init h3100_map_io(void)
326{
327 h3xxx_map_io();
328
329 /* Initialize h3100-specific values here */
330 GPCR = 0x0fffffff; /* All outputs are set low by default */
Russell King6e21ee62009-10-06 15:16:27 +0100331 GPDR = GPIO_H3600_L3_CLOCK |
Linus Torvalds1da177e2005-04-16 15:20:36 -0700332 GPIO_H3600_L3_MODE | GPIO_H3600_L3_DATA |
333 GPIO_H3600_CLK_SET1 | GPIO_H3600_CLK_SET0 |
334 H3100_DIRECT_EGPIO;
335
336 /* Older bootldrs put GPIO2-9 in alternate mode on the
337 assumption that they are used for video */
338 GAFR &= ~H3100_DIRECT_EGPIO;
339
340 H3100_EGPIO = h3100_egpio;
Dmitry Artamonow607b0672009-03-15 19:14:27 +0100341 assign_h3600_egpio = h3100_control_egpio;
Linus Torvalds1da177e2005-04-16 15:20:36 -0700342}
343
Russell Kinga5d176a2009-10-06 14:22:23 +0100344/*
345 * This turns the IRDA power on or off on the Compaq H3100
346 */
347static int h3100_irda_set_power(struct device *dev, unsigned int state)
348{
Russell King9c196f02009-10-06 14:36:05 +0100349 gpio_set_value(H3100_GPIO_IR_ON, state);
Russell Kinga5d176a2009-10-06 14:22:23 +0100350 return 0;
351}
352
353static void h3100_irda_set_speed(struct device *dev, unsigned int speed)
354{
Russell King9c196f02009-10-06 14:36:05 +0100355 gpio_set_value(H3100_GPIO_IR_FSEL, !(speed < 4000000));
Russell Kinga5d176a2009-10-06 14:22:23 +0100356}
357
358static struct irda_platform_data h3100_irda_data = {
359 .set_power = h3100_irda_set_power,
360 .set_speed = h3100_irda_set_speed,
361};
362
Russell King9c196f02009-10-06 14:36:05 +0100363static struct gpio_default_state h3100_default_gpio[] = {
364 { H3100_GPIO_IR_ON, GPIO_MODE_OUT0, "IrDA power" },
365 { H3100_GPIO_IR_FSEL, GPIO_MODE_OUT0, "IrDA fsel" },
Russell King6e21ee62009-10-06 15:16:27 +0100366 { H3XXX_GPIO_COM_DCD, GPIO_MODE_IN, "COM DCD" },
367 { H3XXX_GPIO_COM_CTS, GPIO_MODE_IN, "COM CTS" },
368 { H3XXX_GPIO_COM_RTS, GPIO_MODE_OUT0, "COM RTS" },
Russell King9c196f02009-10-06 14:36:05 +0100369};
370
Dmitry Artamonowe55b20e2009-11-27 11:06:46 +0100371static void __init h3100_mach_init(void)
Russell King898e8102009-10-06 14:19:44 +0100372{
Russell King9c196f02009-10-06 14:36:05 +0100373 h3xxx_init_gpio(h3100_default_gpio, ARRAY_SIZE(h3100_default_gpio));
Russell King898e8102009-10-06 14:19:44 +0100374 h3xxx_mach_init();
Russell Kinga5d176a2009-10-06 14:22:23 +0100375 sa11x0_register_irda(&h3100_irda_data);
Russell King898e8102009-10-06 14:19:44 +0100376}
377
Linus Torvalds1da177e2005-04-16 15:20:36 -0700378MACHINE_START(H3100, "Compaq iPAQ H3100")
Russell Kinge9dea0c2005-07-03 17:38:58 +0100379 .phys_io = 0x80000000,
380 .io_pg_offst = ((0xf8000000) >> 18) & 0xfffc,
381 .boot_params = 0xc0000100,
382 .map_io = h3100_map_io,
383 .init_irq = sa1100_init_irq,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700384 .timer = &sa1100_timer,
Russell King898e8102009-10-06 14:19:44 +0100385 .init_machine = h3100_mach_init,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700386MACHINE_END
387
388#endif /* CONFIG_SA1100_H3100 */
389
390/************************* H3600 *************************/
391
392#ifdef CONFIG_SA1100_H3600
393
394#define H3600_EGPIO (*(volatile unsigned int *)H3600_EGPIO_VIRT)
395static unsigned int h3600_egpio = EGPIO_H3600_RS232_ON;
396
397static void h3600_control_egpio(enum ipaq_egpio_type x, int setp)
398{
399 unsigned int egpio = 0;
400 unsigned long flags;
401
402 switch (x) {
403 case IPAQ_EGPIO_LCD_POWER:
404 egpio |= EGPIO_H3600_LCD_ON |
405 EGPIO_H3600_LCD_PCI |
406 EGPIO_H3600_LCD_5V_ON |
407 EGPIO_H3600_LVDD_ON;
Linus Torvalds1da177e2005-04-16 15:20:36 -0700408 break;
409 case IPAQ_EGPIO_LCD_ENABLE:
410 break;
411 case IPAQ_EGPIO_CODEC_NRESET:
412 egpio |= EGPIO_H3600_CODEC_NRESET;
413 break;
414 case IPAQ_EGPIO_AUDIO_ON:
415 egpio |= EGPIO_H3600_AUD_AMP_ON |
416 EGPIO_H3600_AUD_PWR_ON;
417 break;
418 case IPAQ_EGPIO_QMUTE:
419 egpio |= EGPIO_H3600_QMUTE;
420 break;
421 case IPAQ_EGPIO_OPT_NVRAM_ON:
422 egpio |= EGPIO_H3600_OPT_NVRAM_ON;
423 break;
424 case IPAQ_EGPIO_OPT_ON:
425 egpio |= EGPIO_H3600_OPT_ON;
426 break;
427 case IPAQ_EGPIO_CARD_RESET:
428 egpio |= EGPIO_H3600_CARD_RESET;
429 break;
430 case IPAQ_EGPIO_OPT_RESET:
431 egpio |= EGPIO_H3600_OPT_RESET;
432 break;
433 case IPAQ_EGPIO_IR_ON:
434 egpio |= EGPIO_H3600_IR_ON;
435 break;
436 case IPAQ_EGPIO_IR_FSEL:
437 egpio |= EGPIO_H3600_IR_FSEL;
438 break;
439 case IPAQ_EGPIO_RS232_ON:
440 egpio |= EGPIO_H3600_RS232_ON;
441 break;
442 case IPAQ_EGPIO_VPP_ON:
443 egpio |= EGPIO_H3600_VPP_ON;
444 break;
445 }
446
447 if (egpio) {
448 local_irq_save(flags);
449 if (setp)
450 h3600_egpio |= egpio;
451 else
452 h3600_egpio &= ~egpio;
453 H3600_EGPIO = h3600_egpio;
454 local_irq_restore(flags);
455 }
456}
457
Linus Torvalds1da177e2005-04-16 15:20:36 -0700458static void __init h3600_map_io(void)
459{
460 h3xxx_map_io();
461
462 /* Initialize h3600-specific values here */
463
464 GPCR = 0x0fffffff; /* All outputs are set low by default */
Russell King6e21ee62009-10-06 15:16:27 +0100465 GPDR = GPIO_H3600_L3_CLOCK |
Linus Torvalds1da177e2005-04-16 15:20:36 -0700466 GPIO_H3600_L3_MODE | GPIO_H3600_L3_DATA |
467 GPIO_H3600_CLK_SET1 | GPIO_H3600_CLK_SET0 |
468 GPIO_LDD15 | GPIO_LDD14 | GPIO_LDD13 | GPIO_LDD12 |
469 GPIO_LDD11 | GPIO_LDD10 | GPIO_LDD9 | GPIO_LDD8;
470
471 H3600_EGPIO = h3600_egpio; /* Maintains across sleep? */
Dmitry Artamonow607b0672009-03-15 19:14:27 +0100472 assign_h3600_egpio = h3600_control_egpio;
Linus Torvalds1da177e2005-04-16 15:20:36 -0700473}
474
Russell Kinga5d176a2009-10-06 14:22:23 +0100475/*
476 * This turns the IRDA power on or off on the Compaq H3600
477 */
478static int h3600_irda_set_power(struct device *dev, unsigned int state)
479{
480 assign_h3600_egpio(IPAQ_EGPIO_IR_ON, state);
481 return 0;
482}
483
484static void h3600_irda_set_speed(struct device *dev, unsigned int speed)
485{
486 assign_h3600_egpio(IPAQ_EGPIO_IR_FSEL, !(speed < 4000000));
487}
488
489static struct irda_platform_data h3600_irda_data = {
490 .set_power = h3600_irda_set_power,
491 .set_speed = h3600_irda_set_speed,
492};
493
Russell King6e21ee62009-10-06 15:16:27 +0100494static struct gpio_default_state h3600_default_gpio[] = {
495 { H3XXX_GPIO_COM_DCD, GPIO_MODE_IN, "COM DCD" },
496 { H3XXX_GPIO_COM_CTS, GPIO_MODE_IN, "COM CTS" },
497 { H3XXX_GPIO_COM_RTS, GPIO_MODE_OUT0, "COM RTS" },
498};
499
Dmitry Artamonowe55b20e2009-11-27 11:06:46 +0100500static void __init h3600_mach_init(void)
Russell King898e8102009-10-06 14:19:44 +0100501{
Russell King6e21ee62009-10-06 15:16:27 +0100502 h3xxx_init_gpio(h3600_default_gpio, ARRAY_SIZE(h3600_default_gpio));
Russell King898e8102009-10-06 14:19:44 +0100503 h3xxx_mach_init();
Russell Kinga5d176a2009-10-06 14:22:23 +0100504 sa11x0_register_irda(&h3600_irda_data);
Russell King898e8102009-10-06 14:19:44 +0100505}
506
Linus Torvalds1da177e2005-04-16 15:20:36 -0700507MACHINE_START(H3600, "Compaq iPAQ H3600")
Russell Kinge9dea0c2005-07-03 17:38:58 +0100508 .phys_io = 0x80000000,
509 .io_pg_offst = ((0xf8000000) >> 18) & 0xfffc,
510 .boot_params = 0xc0000100,
511 .map_io = h3600_map_io,
512 .init_irq = sa1100_init_irq,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700513 .timer = &sa1100_timer,
Russell King898e8102009-10-06 14:19:44 +0100514 .init_machine = h3600_mach_init,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700515MACHINE_END
516
517#endif /* CONFIG_SA1100_H3600 */
518