2 * linux/include/asm-arm/arch-pxa/poodle.h
4 * May be copied or modified under the terms of the GNU General Public
5 * License. See linux/COPYING for more information.
8 * linux/include/asm-arm/arch-sa1100/collie.h
11 * 04-06-2001 Lineo Japan, Inc.
12 * 04-16-2001 SHARP Corporation
13 * Update to 2.6 John Lenz
15 #ifndef __ASM_ARCH_POODLE_H
16 #define __ASM_ARCH_POODLE_H 1
22 #define POODLE_GPIO_ON_KEY (0)
23 #define POODLE_GPIO_AC_IN (1)
24 #define POODLE_GPIO_CO 16
25 #define POODLE_GPIO_TP_INT (5)
26 #define POODLE_GPIO_WAKEUP (11) /* change battery */
27 #define POODLE_GPIO_GA_INT (10)
28 #define POODLE_GPIO_IR_ON (22)
29 #define POODLE_GPIO_HP_IN (4)
30 #define POODLE_GPIO_CF_IRQ (17)
31 #define POODLE_GPIO_CF_CD (14)
32 #define POODLE_GPIO_CF_STSCHG (14)
33 #define POODLE_GPIO_SD_PWR (33)
34 #define POODLE_GPIO_nSD_CLK (6)
35 #define POODLE_GPIO_nSD_WP (7)
36 #define POODLE_GPIO_nSD_INT (8)
37 #define POODLE_GPIO_nSD_DETECT (9)
38 #define POODLE_GPIO_MAIN_BAT_LOW (13)
39 #define POODLE_GPIO_BAT_COVER (13)
40 #define POODLE_GPIO_ADC_TEMP_ON (21)
41 #define POODLE_GPIO_BYPASS_ON (36)
42 #define POODLE_GPIO_CHRG_ON (38)
43 #define POODLE_GPIO_CHRG_FULL (16)
46 #define POODLE_IRQ_GPIO_ON_KEY IRQ_GPIO0
47 #define POODLE_IRQ_GPIO_AC_IN IRQ_GPIO1
48 #define POODLE_IRQ_GPIO_HP_IN IRQ_GPIO4
49 #define POODLE_IRQ_GPIO_CO IRQ_GPIO16
50 #define POODLE_IRQ_GPIO_TP_INT IRQ_GPIO5
51 #define POODLE_IRQ_GPIO_WAKEUP IRQ_GPIO11
52 #define POODLE_IRQ_GPIO_GA_INT IRQ_GPIO10
53 #define POODLE_IRQ_GPIO_CF_IRQ IRQ_GPIO17
54 #define POODLE_IRQ_GPIO_CF_CD IRQ_GPIO14
55 #define POODLE_IRQ_GPIO_nSD_INT IRQ_GPIO8
56 #define POODLE_IRQ_GPIO_nSD_DETECT IRQ_GPIO9
57 #define POODLE_IRQ_GPIO_MAIN_BAT_LOW IRQ_GPIO13
60 #define POODLE_SCOOP_CHARGE_ON SCOOP_GPCR_PA11
61 #define POODLE_SCOOP_CP401 SCOOP_GPCR_PA13
62 #define POODLE_SCOOP_VPEN SCOOP_GPCR_PA18
63 #define POODLE_SCOOP_L_PCLK SCOOP_GPCR_PA20
64 #define POODLE_SCOOP_L_LCLK SCOOP_GPCR_PA21
65 #define POODLE_SCOOP_HS_OUT SCOOP_GPCR_PA22
67 #define POODLE_SCOOP_IO_DIR ( POODLE_SCOOP_VPEN | POODLE_SCOOP_HS_OUT )
68 #define POODLE_SCOOP_IO_OUT ( 0 )
70 #endif /* __ASM_ARCH_POODLE_H */