]> pilppa.org Git - linux-2.6-omap-h63xx.git/blob - include/asm-arm/arch-pxa/zylonite.h
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/juhl/trivial
[linux-2.6-omap-h63xx.git] / include / asm-arm / arch-pxa / zylonite.h
1 #ifndef __ASM_ARCH_ZYLONITE_H
2 #define __ASM_ARCH_ZYLONITE_H
3
4 #define ZYLONITE_ETH_PHYS       0x14000000
5
6 #define EXT_GPIO(x)             (128 + (x))
7
8 /* the following variables are processor specific and initialized
9  * by the corresponding zylonite_pxa3xx_init()
10  */
11 struct platform_mmc_slot {
12         int gpio_cd;
13         int gpio_wp;
14 };
15
16 extern struct platform_mmc_slot zylonite_mmc_slot[];
17
18 extern int gpio_backlight;
19 extern int gpio_eth_irq;
20
21 extern int wm9713_irq;
22
23 extern int lcd_id;
24 extern int lcd_orientation;
25
26 #ifdef CONFIG_CPU_PXA300
27 extern void zylonite_pxa300_init(void);
28 #else
29 static inline void zylonite_pxa300_init(void)
30 {
31         if (cpu_is_pxa300() || cpu_is_pxa310())
32                 panic("%s: PXA300/PXA310 not supported\n", __FUNCTION__);
33 }
34 #endif
35
36 #ifdef CONFIG_CPU_PXA320
37 extern void zylonite_pxa320_init(void);
38 #else
39 static inline void zylonite_pxa320_init(void)
40 {
41         if (cpu_is_pxa320())
42                 panic("%s: PXA320 not supported\n", __FUNCTION__);
43 }
44 #endif
45
46 #endif /* __ASM_ARCH_ZYLONITE_H */