Merge tag 'kvm-arm-for-v4.7-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git...
[deliverable/linux.git] / arch / arm / mach-pxa / zylonite.h
CommitLineData
2c8086a5 1#ifndef __ASM_ARCH_ZYLONITE_H
2#define __ASM_ARCH_ZYLONITE_H
3
4#define ZYLONITE_ETH_PHYS 0x14000000
5
fafc9d3f
BW
6#define EXT_GPIO(x) (128 + (x))
7
6ac6b817
HZ
8#define ZYLONITE_NR_IRQS (IRQ_BOARD_START + 32)
9
2c8086a5 10/* the following variables are processor specific and initialized
11 * by the corresponding zylonite_pxa3xx_init()
12 */
2c8086a5 13extern int gpio_eth_irq;
5c9f50e9
EM
14extern int gpio_debug_led1;
15extern int gpio_debug_led2;
2c8086a5 16
768dec4c
MB
17extern int wm9713_irq;
18
2c8086a5 19extern int lcd_id;
20extern int lcd_orientation;
21
ec135920 22#ifdef CONFIG_MACH_ZYLONITE300
2c8086a5 23extern void zylonite_pxa300_init(void);
24#else
25static inline void zylonite_pxa300_init(void)
26{
27 if (cpu_is_pxa300() || cpu_is_pxa310())
653c0316 28 panic("%s: PXA300/PXA310 not supported\n", __func__);
2c8086a5 29}
30#endif
31
ec135920 32#ifdef CONFIG_MACH_ZYLONITE320
2c8086a5 33extern void zylonite_pxa320_init(void);
34#else
35static inline void zylonite_pxa320_init(void)
36{
37 if (cpu_is_pxa320())
653c0316 38 panic("%s: PXA320 not supported\n", __func__);
2c8086a5 39}
40#endif
41
42#endif /* __ASM_ARCH_ZYLONITE_H */
This page took 0.618677 seconds and 5 git commands to generate.