]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - arch/arm/mach-pxa/include/mach/colibri.h
[ARM] pxa/ezx: set IRQ_BOARD_END for EZX
[mirror_ubuntu-bionic-kernel.git] / arch / arm / mach-pxa / include / mach / colibri.h
CommitLineData
4e4fc05a
DM
1#ifndef _COLIBRI_H_
2#define _COLIBRI_H_
8a28b10e
DM
3
4#include <net/ax88796.h>
5
5fc9f9a1
DM
6/*
7 * common settings for all modules
8 */
4e4fc05a 9
acb36559
DM
10#if defined(CONFIG_MMC_PXA) || defined(CONFIG_MMC_PXA_MODULE)
11extern void colibri_pxa3xx_init_mmc(mfp_cfg_t *pins, int len, int detect_pin);
12#else
0e983d3c 13static inline void colibri_pxa3xx_init_mmc(mfp_cfg_t *pins, int len, int detect_pin) {}
acb36559
DM
14#endif
15
91fcfb90
DM
16#if defined(CONFIG_FB_PXA) || defined(CONFIG_FB_PXA_MODULE)
17extern void colibri_pxa3xx_init_lcd(int bl_pin);
18#else
0e983d3c 19static inline void colibri_pxa3xx_init_lcd(int bl_pin) {}
91fcfb90
DM
20#endif
21
22a0200b
DM
22#if defined(CONFIG_AX88796)
23extern void colibri_pxa3xx_init_eth(struct ax_plat_data *plat_data);
24#endif
25
4e4fc05a 26/* physical memory regions */
4e4fc05a
DM
27#define COLIBRI_SDRAM_BASE 0xa0000000 /* SDRAM region */
28
5fc9f9a1
DM
29/* definitions for Colibri PXA270 */
30
5c0dbb8f
DM
31#define COLIBRI_PXA270_FLASH_PHYS (PXA_CS0_PHYS) /* Flash region */
32#define COLIBRI_PXA270_ETH_PHYS (PXA_CS2_PHYS) /* Ethernet */
33#define COLIBRI_PXA270_ETH_IRQ_GPIO 114
34#define COLIBRI_PXA270_ETH_IRQ \
35 gpio_to_irq(mfp_to_gpio(COLIBRI_PXA270_ETH_IRQ_GPIO))
4e4fc05a
DM
36
37#endif /* _COLIBRI_H_ */
5c0dbb8f 38