| 1 | /* |
| 2 | * |
| 3 | * Definitions for H3600 Handheld Computer |
| 4 | * |
| 5 | * Copyright 2000 Compaq Computer Corporation. |
| 6 | * |
| 7 | * Use consistent with the GNU GPL is permitted, |
| 8 | * provided that this copyright notice is |
| 9 | * preserved in its entirety in all copies and derived works. |
| 10 | * |
| 11 | * COMPAQ COMPUTER CORPORATION MAKES NO WARRANTIES, EXPRESSED OR IMPLIED, |
| 12 | * AS TO THE USEFULNESS OR CORRECTNESS OF THIS CODE OR ITS |
| 13 | * FITNESS FOR ANY PARTICULAR PURPOSE. |
| 14 | * |
| 15 | * Author: Jamey Hicks. |
| 16 | * |
| 17 | * History: |
| 18 | * |
| 19 | * 2001-10-?? Andrew Christian Added support for iPAQ H3800 |
| 20 | * |
| 21 | */ |
| 22 | |
| 23 | #ifndef _INCLUDE_H3600_H_ |
| 24 | #define _INCLUDE_H3600_H_ |
| 25 | |
| 26 | /* Physical memory regions corresponding to chip selects */ |
| 27 | #define H3600_EGPIO_PHYS (SA1100_CS5_PHYS + 0x01000000) |
| 28 | #define H3600_BANK_2_PHYS SA1100_CS2_PHYS |
| 29 | #define H3600_BANK_4_PHYS SA1100_CS4_PHYS |
| 30 | |
| 31 | /* Virtual memory regions corresponding to chip selects 2 & 4 (used on sleeves) */ |
| 32 | #define H3600_EGPIO_VIRT 0xf0000000 |
| 33 | #define H3600_BANK_2_VIRT 0xf1000000 |
| 34 | #define H3600_BANK_4_VIRT 0xf3800000 |
| 35 | |
| 36 | /* |
| 37 | Machine-independent GPIO definitions |
| 38 | --- these are common across all current iPAQ platforms |
| 39 | */ |
| 40 | |
| 41 | #define GPIO_H3600_NPOWER_BUTTON GPIO_GPIO (0) /* Also known as the "off button" */ |
| 42 | |
| 43 | #define GPIO_H3600_PCMCIA_CD1 GPIO_GPIO (10) |
| 44 | #define GPIO_H3600_PCMCIA_IRQ1 GPIO_GPIO (11) |
| 45 | |
| 46 | /* UDA1341 L3 Interface */ |
| 47 | #define GPIO_H3600_L3_DATA GPIO_GPIO (14) |
| 48 | #define GPIO_H3600_L3_MODE GPIO_GPIO (15) |
| 49 | #define GPIO_H3600_L3_CLOCK GPIO_GPIO (16) |
| 50 | |
| 51 | #define GPIO_H3600_PCMCIA_CD0 GPIO_GPIO (17) |
| 52 | #define GPIO_H3600_SYS_CLK GPIO_GPIO (19) |
| 53 | #define GPIO_H3600_PCMCIA_IRQ0 GPIO_GPIO (21) |
| 54 | |
| 55 | #define GPIO_H3600_COM_DCD GPIO_GPIO (23) |
| 56 | #define GPIO_H3600_OPT_IRQ GPIO_GPIO (24) |
| 57 | #define GPIO_H3600_COM_CTS GPIO_GPIO (25) |
| 58 | #define GPIO_H3600_COM_RTS GPIO_GPIO (26) |
| 59 | |
| 60 | #endif /* _INCLUDE_H3600_H_ */ |