]> 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 extern void __init n800_flash_init(void);
15 extern void __init n800_mmc_init(void);
16 extern void __init n800_bt_init(void);
17 extern void __init n800_audio_init(struct tsc2301_platform_data *);
18 extern void __init n800_dsp_init(void);
19 extern void __init n800_usb_init(void);
20 extern void __init n800_pm_init(void);
21 extern int n800_audio_enable(struct dsp_kfunc_device *kdev, int stage);
22 extern int n800_audio_disable(struct dsp_kfunc_device *kdev, int stage);
23 extern void n800_mmc_slot1_cover_handler(void *arg, int state);
24
25 #define OMAP_TAG_NOKIA_BT       0x4e01
26 #define OMAP_TAG_WLAN_CX3110X   0x4e02
27 #define OMAP_TAG_CBUS           0x4e03
28 #define OMAP_TAG_EM_ASIC_BB5    0x4e04
29
30
31 #define BT_CHIP_CSR             1
32 #define BT_CHIP_TI              2
33
34 #define BT_SYSCLK_12            1
35 #define BT_SYSCLK_38_4          2
36
37 struct omap_bluetooth_config {
38         u8    chip_type;
39         u8    bt_wakeup_gpio;
40         u8    host_wakeup_gpio;
41         u8    reset_gpio;
42         u8    bt_uart;
43         u8    bd_addr[6];
44         u8    bt_sysclk;
45 };
46
47 struct omap_wlan_cx3110x_config {
48         u8  chip_type;
49         s16 power_gpio;
50         s16 irq_gpio;
51         s16 spi_cs_gpio;
52 };
53
54 struct omap_cbus_config {
55         s16 clk_gpio;
56         s16 dat_gpio;
57         s16 sel_gpio;
58 };
59
60 struct omap_em_asic_bb5_config {
61         s16 retu_irq_gpio;
62         s16 tahvo_irq_gpio;
63 };
64
65 #endif