bcm63xx: Add a fixup for rt2x00 devices.
[openwrt.git] / target / linux / brcm63xx / patches-3.3 / 500-board-D4PW.patch
index 5a769dc..278f426 100644 (file)
@@ -1,8 +1,8 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -129,6 +129,55 @@ static struct board_info __initdata boar
-               },
-       },
+@@ -470,6 +470,54 @@ static struct board_info __initdata boar
+       .has_ohci0 = 1,
  };
 +
 +static struct board_info __initdata board_96348_D4PW = {
 +
 +      .leds = {
 +              {
-+                      .name           = "power:green",
++                      .name           = "D-4P-W:green:power",
 +                      .gpio           = 0,
 +                      .active_low     = 1,
 +              },
 +              {
-+                      .name           = "status",
++                      .name           = "D-4P-W::status",
 +                      .gpio           = 3,
 +                      .active_low     = 1,
 +              },
 +              {
-+                      .name           = "internet:green",
++                      .name           = "D-4P-W:green:internet",
 +                      .gpio           = 4,
 +                      .active_low     = 1,
 +              },
 +              {
-+                      .name           = "internet:red",
++                      .name           = "D-4P-W:red:internet",
 +                      .gpio           = 5,
 +                      .active_low     = 1,
 +              },
 +                      .active_low     = 1,
 +                      .type           = EV_KEY,
 +                      .code           = KEY_RESTART,
-+                      .debounce_interval = 60,
++                      .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
 +              },
 +      },
 +};
-+
  #endif
  
  /*
-@@ -637,6 +686,7 @@ static const struct board_info __initdat
+@@ -641,6 +689,7 @@ static const struct board_info __initdat
        &board_DV201AMR,
        &board_96348gw_a,
        &board_rta1025w_16,