[brcm63xx] nb4: fix support, add support for SVC and CLIP BTN
[openwrt/svn-archive/archive.git] / target / linux / brcm63xx / patches-3.3 / 502-board-96338W2_E7T.patch
index 472ab1178c14568746afae0def2f63122f914272..12c7ac4f120a10dd5f809d4a93c1a9f51ce0a0d8 100644 (file)
@@ -1,8 +1,8 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -200,6 +200,38 @@ static struct board_info __initdata boar
-       .has_uart0                      = 1,
+@@ -140,6 +140,38 @@ static struct board_info __initdata boar
+               },
+       },
  };
 +
 +static struct board_info __initdata board_96338w2_e7t = {
 +
 +              .leds = {
 +              {
-+                      .name           = "ppp",
++                      .name           = "96338W2_E7T:green:ppp",
 +                      .gpio           = 4,
 +                      .active_low     = 1,
 +              },
 +              {
-+                      .name           = "ppp-fail",
++                      .name           = "96338W2_E7T:green:ppp-fail",
 +                      .gpio           = 5,
 +                      .active_low     = 1,
 +              },
 +              {
-+                      .name           = "power",
++                      .name           = "96338W2_E7T:green:power",
 +                      .gpio           = 0,
 +                      .active_low     = 1,
 +                      .default_trigger = "default-on",
@@ -39,7 +39,7 @@
  #endif
  
  /*
-@@ -1173,6 +1205,7 @@ static const struct board_info __initdat
+@@ -1263,6 +1295,7 @@ static const struct board_info __initdat
  #ifdef CONFIG_BCM63XX_CPU_6338
        &board_96338gw,
        &board_96338w,