]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blob - include/asm-arm/arch-omap/board-nokia.h
ARM: OMAP: Merge board specific files from N800 tree
[linux-2.6-omap-h63xx.git] / include / asm-arm / arch-omap / board-nokia.h
1 /*
2  *  linux/include/asm-arm/arch-omap/board-nokia.h
3  *
4  *  Information structures for Nokia-specific board config data
5  *
6  *  Copyright (C) 2005  Nokia Corporation
7  */
8
9 #ifndef _OMAP_BOARD_NOKIA_H
10 #define _OMAP_BOARD_NOKIA_H
11
12 #include <linux/types.h>
13
14 struct tsc2301_platform_data;
15 struct dsp_kfunc_device;
16 extern void n800_bt_init(void);
17 extern void n800_dsp_init(void);
18 extern void n800_flash_init(void);
19 extern void n800_mmc_init(void);
20 extern void n800_pm_init(void);
21 extern void n800_usb_init(void);
22 extern void n800_audio_init(struct tsc2301_platform_data *);
23 extern int n800_audio_enable(struct dsp_kfunc_device *kdev, int stage);
24 extern int n800_audio_disable(struct dsp_kfunc_device *kdev, int stage);
25 extern void n800_mmc_slot1_cover_handler(void *arg, int state);
26
27 #define OMAP_TAG_NOKIA_BT       0x4e01
28 #define OMAP_TAG_WLAN_CX3110X   0x4e02
29 #define OMAP_TAG_CBUS           0x4e03
30 #define OMAP_TAG_EM_ASIC_BB5    0x4e04
31
32 #define BT_CHIP_CSR             1
33 #define BT_CHIP_TI              2
34
35 #define BT_SYSCLK_12            1
36 #define BT_SYSCLK_38_4          2
37
38 struct omap_bluetooth_config {
39         u8    chip_type;
40         u8    bt_wakeup_gpio;
41         u8    host_wakeup_gpio;
42         u8    reset_gpio;
43         u8    bt_uart;
44         u8    bd_addr[6];
45         u8    bt_sysclk;
46 };
47
48 struct omap_wlan_cx3110x_config {
49         u8  chip_type;
50         s16 power_gpio;
51         s16 irq_gpio;
52         s16 spi_cs_gpio;
53 };
54
55 struct omap_cbus_config {
56         s16 clk_gpio;
57         s16 dat_gpio;
58         s16 sel_gpio;
59 };
60
61 struct omap_em_asic_bb5_config {
62         s16 retu_irq_gpio;
63         s16 tahvo_irq_gpio;
64 };
65
66 #endif