sync hh.org
[hh.org.git] / include / asm-arm / arch-pxa / htcbeetles-asic.h
blob1f932fc4af04c173811be566aa709ea80bfc5550
1 /*
2 * include/asm/arm/arch-pxa/htcbeetles-asic.h
4 * Authors: Giuseppe Zompatori <giuseppe_zompatori@yahoo.it>
6 * based on previews work, see below:
7 *
8 * include/asm/arm/arch-pxa/hx4700-asic.h
9 * Copyright (c) 2004 SDG Systems, LLC
13 #ifndef _HTCBEETLES_ASIC_H_
14 #define _HTCBEETLES_ASIC_H_
16 #include <asm/hardware/ipaq-asic3.h>
18 /* ASIC3 */
20 #define HTCBEETLES_ASIC3_GPIO_PHYS PXA_CS4_PHYS
21 #define HTCBEETLES_ASIC3_MMC_PHYS PXA_CS3_PHYS+0x02000000
23 /* TODO: some information is missing here :) */
25 /* ASIC3 GPIO A bank */
27 #define GPIOA_USB_PUEN 7 /* Output */
29 /* ASIC3 GPIO B bank */
31 #define GPIOB_USB_DETECT 6 /* Input */
33 /* ASIC3 GPIO C bank */
35 /* ASIC3 GPIO D bank */
37 #endif /* _HTCBEETLES_ASIC_H_ */
39 extern struct platform_device htcbeetles_asic3;