Merge branch 'core/locking' into core/urgent
[linux-2.6] / arch / arm / plat-omap / include / mach / board-nokia.h
1 /*
2  *  arch/arm/plat-omap/include/mach/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 #define OMAP_TAG_NOKIA_BT       0x4e01
15 #define OMAP_TAG_WLAN_CX3110X   0x4e02
16 #define OMAP_TAG_CBUS           0x4e03
17 #define OMAP_TAG_EM_ASIC_BB5    0x4e04
18
19
20 #define BT_CHIP_CSR             1
21 #define BT_CHIP_TI              2
22
23 #define BT_SYSCLK_12            1
24 #define BT_SYSCLK_38_4          2
25
26 struct omap_bluetooth_config {
27         u8    chip_type;
28         u8    bt_wakeup_gpio;
29         u8    host_wakeup_gpio;
30         u8    reset_gpio;
31         u8    bt_uart;
32         u8    bd_addr[6];
33         u8    bt_sysclk;
34 };
35
36 struct omap_wlan_cx3110x_config {
37         u8  chip_type;
38         s16 power_gpio;
39         s16 irq_gpio;
40         s16 spi_cs_gpio;
41 };
42
43 struct omap_cbus_config {
44         s16 clk_gpio;
45         s16 dat_gpio;
46         s16 sel_gpio;
47 };
48
49 struct omap_em_asic_bb5_config {
50         s16 retu_irq_gpio;
51         s16 tahvo_irq_gpio;
52 };
53
54 #endif