[brcm63xx] fix alarm led color for board 96348A-122
[openwrt.git] / target / linux / brcm63xx / patches-3.3 / 520-bcm63xx-add-support-for-96368MVWG-board.patch
index 8866ece505f04cd7e01bdbe4f83104fd68fc97c6..f408a8c737a37acc8b44904e55dc23a989c17572 100644 (file)
@@ -10,7 +10,7 @@ Subject: [PATCH 32/63] bcm63xx: add support for 96368MVWG board.
 
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -2016,6 +2016,80 @@ static struct board_info __initdata boar
+@@ -2015,6 +2015,80 @@ static struct board_info __initdata boar
  #endif
  
  /*
@@ -57,27 +57,27 @@ Subject: [PATCH 32/63] bcm63xx: add support for 96368MVWG board.
 +
 +      .leds = {
 +              {
-+                      .name           = "adsl",
++                      .name           = "96368MVWG:green:adsl",
 +                      .gpio           = 2,
 +                      .active_low     = 1,
 +              },
 +              {
-+                      .name           = "ppp",
++                      .name           = "96368MVWG:green:ppp",
 +                      .gpio           = 5,
 +              },
 +              {
-+                      .name           = "power",
++                      .name           = "96368MVWG:green:power",
 +                      .gpio           = 22,
 +                      .active_low     = 1,
 +                      .default_trigger = "default-on",
 +              },
 +              {
-+                      .name           = "wps",
++                      .name           = "96368MVWG:green:wps",
 +                      .gpio           = 23,
 +                      .active_low     = 1,
 +              },
 +              {
-+                      .name           = "ppp-fail",
++                      .name           = "96368MVWG:green:ppp-fail",
 +                      .gpio           = 31,
 +              },
 +      },
@@ -91,7 +91,7 @@ Subject: [PATCH 32/63] bcm63xx: add support for 96368MVWG board.
   * all boards
   */
  static const struct board_info __initdata *bcm963xx_boards[] = {
-@@ -2064,6 +2138,10 @@ static const struct board_info __initdat
+@@ -2063,6 +2137,10 @@ static const struct board_info __initdat
        &board_HW553,
        &board_spw303v,
  #endif
@@ -102,7 +102,7 @@ Subject: [PATCH 32/63] bcm63xx: add support for 96368MVWG board.
  };
  
  static void __init nb4_nvram_fixup(void)
-@@ -2280,12 +2358,25 @@ void __init board_prom_init(void)
+@@ -2240,12 +2318,25 @@ void __init board_prom_init(void)
        if (board.has_pci) {
                if (BCMCPU_IS_6348())
                        val |= GPIO_MODE_6348_G2_PCI;