brcm63xx: Fix gpio-buttons and add LED and buttons for Tecom IGW6200 and Comtrend...
[openwrt/openwrt.git] / target / linux / brcm63xx / files / include / asm-mips / mach-bcm63xx / board_bcm963xx.h
index 2f357fa87ef12598648b3fc8a38f67c46f1ba64e..e5b916036f1a650c46cc72d146d725ff5844a5ab 100644 (file)
@@ -2,7 +2,10 @@
 #define BOARD_BCM963XX_H_
 
 #include <linux/types.h>
+#include <linux/gpio.h>
+#include <linux/leds.h>
 #include <bcm63xx_dev_enet.h>
+#include <bcm63xx_dev_dsp.h>
 
 /*
  * flash mapping
@@ -42,10 +45,20 @@ struct board_info {
        unsigned int    has_ohci0:1;
        unsigned int    has_ehci0:1;
        unsigned int    has_udc0:1;
+       unsigned int    has_dsp:1;
 
        /* ethernet config */
        struct bcm63xx_enet_platform_data enet0;
        struct bcm63xx_enet_platform_data enet1;
+
+       /* DSP config */
+       struct bcm63xx_dsp_platform_data dsp;
+
+       /* GPIO LEDs */
+       struct gpio_led leds[8];
+
+       /* Reset button */
+       struct gpio_button reset_buttons[1];
 };
 
 #endif /* ! BOARD_BCM963XX_H_ */