OMAP3: PM: Ensure MUSB block can idle when driver not loaded
[linux-ginger.git] / arch / arm / mach-pxa / include / mach / zylonite.h
blobbf6785adccf45a02e725422994d17d77138d2bf9
1 #ifndef __ASM_ARCH_ZYLONITE_H
2 #define __ASM_ARCH_ZYLONITE_H
4 #define ZYLONITE_ETH_PHYS 0x14000000
6 #define EXT_GPIO(x) (128 + (x))
8 /* the following variables are processor specific and initialized
9 * by the corresponding zylonite_pxa3xx_init()
11 struct platform_mmc_slot {
12 int gpio_cd;
13 int gpio_wp;
16 extern struct platform_mmc_slot zylonite_mmc_slot[];
18 extern int gpio_eth_irq;
19 extern int gpio_debug_led1;
20 extern int gpio_debug_led2;
22 extern int wm9713_irq;
24 extern int lcd_id;
25 extern int lcd_orientation;
27 #ifdef CONFIG_CPU_PXA300
28 extern void zylonite_pxa300_init(void);
29 #else
30 static inline void zylonite_pxa300_init(void)
32 if (cpu_is_pxa300() || cpu_is_pxa310())
33 panic("%s: PXA300/PXA310 not supported\n", __func__);
35 #endif
37 #ifdef CONFIG_CPU_PXA320
38 extern void zylonite_pxa320_init(void);
39 #else
40 static inline void zylonite_pxa320_init(void)
42 if (cpu_is_pxa320())
43 panic("%s: PXA320 not supported\n", __func__);
45 #endif
47 #endif /* __ASM_ARCH_ZYLONITE_H */