[brcm63xx] nb4: fix support, add support for SVC and CLIP BTN
[openwrt/svn-archive/archive.git] / target / linux / brcm63xx / patches-3.3 / 520-bcm63xx-add-support-for-96368MVWG-board.patch
index 729e1056caa2d88a658f7dbb99d264fc531c16d2..f2e5dba04da9c19da47dad14aacd7c45fac0debd 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
-@@ -2015,6 +2015,80 @@ static struct board_info __initdata boar
+@@ -2105,6 +2105,78 @@ static struct board_info __initdata boar
  #endif
  
  /*
@@ -42,14 +42,12 @@ Subject: [PATCH 32/63] bcm63xx: add support for 96368MVWG board.
 +                      [4] = {
 +                              .used   = 1,
 +                              .phy_id = 0x12,
-+                              .external_phy = 1,
 +                              .name   = "port0",
 +                      },
 +
 +                      [5] = {
 +                              .used   = 1,
 +                              .phy_id = 0x11,
-+                              .external_phy = 1,
 +                              .name   = "port3",
 +                      },
 +              },
@@ -57,27 +55,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 +89,7 @@ Subject: [PATCH 32/63] bcm63xx: add support for 96368MVWG board.
   * all boards
   */
  static const struct board_info __initdata *bcm963xx_boards[] = {
-@@ -2063,6 +2137,10 @@ static const struct board_info __initdat
+@@ -2153,6 +2225,10 @@ static const struct board_info __initdat
        &board_HW553,
        &board_spw303v,
  #endif
@@ -101,8 +99,8 @@ Subject: [PATCH 32/63] bcm63xx: add support for 96368MVWG board.
 +#endif
  };
  
- static void __init nb4_nvram_fixup(void)
-@@ -2280,12 +2358,25 @@ void __init board_prom_init(void)
+ /*
+@@ -2324,12 +2400,25 @@ void __init board_prom_init(void)
                bcm63xx_pci_enabled = 1;
                if (BCMCPU_IS_6348())
                        val |= GPIO_MODE_6348_G2_PCI;