Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
board_bcm963xx.h
Go to the documentation of this file.
1 #ifndef BOARD_BCM963XX_H_
2 #define BOARD_BCM963XX_H_
3 
4 #include <linux/types.h>
5 #include <linux/gpio.h>
6 #include <linux/leds.h>
7 #include <bcm63xx_dev_enet.h>
8 #include <bcm63xx_dev_usb_usbd.h>
9 #include <bcm63xx_dev_dsp.h>
10 
11 /*
12  * flash mapping
13  */
14 #define BCM963XX_CFE_VERSION_OFFSET 0x570
15 #define BCM963XX_NVRAM_OFFSET 0x580
16 
17 /*
18  * nvram structure
19  */
22  u8 reserved1[256];
23  u8 name[16];
30  u8 reserved3[720];
32 };
33 
34 /*
35  * board definition
36  */
37 struct board_info {
38  u8 name[16];
39  unsigned int expected_cpu_id;
40 
41  /* enabled feature/device */
42  unsigned int has_enet0:1;
43  unsigned int has_enet1:1;
44  unsigned int has_pci:1;
45  unsigned int has_pccard:1;
46  unsigned int has_ohci0:1;
47  unsigned int has_ehci0:1;
48  unsigned int has_usbd:1;
49  unsigned int has_dsp:1;
50  unsigned int has_uart0:1;
51  unsigned int has_uart1:1;
52 
53  /* ethernet config */
56 
57  /* USB config */
59 
60  /* DSP config */
62 
63  /* GPIO LEDs */
64  struct gpio_led leds[5];
65 };
66 
67 #endif /* ! BOARD_BCM963XX_H_ */