Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | * linux/include/asm-arm/arch-sa1100/jornada720.h |
| 3 | * |
| 4 | * Created 2000/11/29 by John Ankcorn <jca@lcs.mit.edu> |
| 5 | * |
| 6 | * This file contains the hardware specific definitions for HP Jornada 720 |
| 7 | * |
| 8 | */ |
| 9 | |
| 10 | #ifndef __ASM_ARCH_HARDWARE_H |
| 11 | #error "include <asm/hardware.h> instead" |
| 12 | #endif |
| 13 | |
| 14 | #define SA1111_BASE (0x40000000) |
| 15 | |
| 16 | #define GPIO_JORNADA720_KEYBOARD GPIO_GPIO(0) |
| 17 | #define GPIO_JORNADA720_MOUSE GPIO_GPIO(9) |
| 18 | |
| 19 | #define GPIO_JORNADA720_KEYBOARD_IRQ IRQ_GPIO0 |
| 20 | #define GPIO_JORNADA720_MOUSE_IRQ IRQ_GPIO9 |
| 21 | |
| 22 | #ifndef __ASSEMBLY__ |
| 23 | |
| 24 | void jornada720_mcu_init(void); |
| 25 | void jornada_contrast(int arg_contrast); |
| 26 | void jornada720_battery(void); |
| 27 | int jornada720_getkey(unsigned char *data, int size); |
| 28 | #endif |